Posted January 21, 20196 yr I'm trying to generate lava springs that flow (e.g. single source blocks of lava that pour down mountainsides) but unfortunately whenever I create such lava springs they just stand still like this: How would I fix it, or cause it to flow by itself (preferably have it finish flowing by the time it comes into view, if that's even possible).
January 21, 20196 yr I think you have to call world#notifyBlockUpdate or a similar method About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
January 22, 20196 yr Author How exactly would I do that? Here is my current code in the biome decorator class: BlockPos spoutTop = new BlockPos(x, y, z); IBlockState lava = Blocks.LAVA.getDefaultState(); world.setBlockState(spoutTop, lava); world.notifyBlockUpdate(spoutTop, lava, lava, 0); System.out.println(spoutTop); I have verified that spoutTop does indeed contain a lava block in-game, but it stands still like in the screenshots above. Would prefer it to have already flown down all the way, but not sure if that's possible. Edited January 22, 20196 yr by lightningdragonx5
January 22, 20196 yr You might want to look at the flags in notifyBlockUpdate, I don’t think 0 is what you want About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
January 22, 20196 yr Author 31 minutes ago, Cadiboo said: You might want to look at the flags in notifyBlockUpdate, I don’t think 0 is what you want Tried it with flags 0, 1, 2, 3, still nothing.
January 22, 20196 yr Author Never mind, fixed. Apparently I had to use FLOWING_LAVA instead of LAVA. Edited January 22, 20196 yr by lightningdragonx5
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.