Jump to content

sabrinastar

Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

sabrinastar's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I've made satisfactory progress on code that will generate a complex of structures, but I'm still finding undesirable side effects like: my structures overlapping with standard-game villages plants, animals being killed/harvested (with items left floating in the structures) Is there a way to detect whether a village is already spawned in a chunk? Also I'd like for my structure generation to happen before plants and animals are spawned, is there a way to time it so? Thanks in advance!
  2. Thanks! That led me to this, which works: IBlockState stone = Blocks.STONE.getDefaultState().withProperty(BlockStone.VARIANT, BlockStone.EnumType.DIORITE_SMOOTH);
  3. In a worldgen.generate() function, this returns null: IBlockState stone = Block.getBlockFromName("minecraft:polished_diorite").getDefaultState(); but this returns a valid state: IBlockState stone = Block.getBlockFromName("minecraft:stone").getDefaultState(); Also this returns a valid state: IBlockState stone = Blocks.STONE.getDefaultState(); So how would I create a polished diorite? As far as I can tell "minecraft:polished_diorite" is the correct name, but it is not recognized. Also there is no Blocks.POLISHED_DIORITE or anything like it. Thanks!
  4. Thank you for that suggestion, but I had already tried that. In 1.12 and 1.13, I was able to find them: import net.minecraft.world.chunk.IChunkProvider; import net.minecraft.world.gen.IChunkGenerator; But these are red in the 1.14.3 project and I could not find anything else that resembles them in net.minecraft.world.chunk or net.minecraft.world.gen, or from any other path.
  5. Hi all, new to this forum and to minecraft modding. I was able to download and install the forge setup for 1.14.3 and even get the example mod running. This took some fiddling with Java versions, but I got it running. The problem I'm having in taking the next step is the relative lack of documentation on 1.14.3. For example the first idea I had is basically a building generator mod and the sample code I've found on github typically involves creating an object which implements net.minecraftforge.fml.common.IWorldGenerator and overrides the function generate(), which in earlier versions looks like this: @Override public void generate(Random random, int chunkX, int chunkZ, World world, IChunkGenerator chunkGenerator, IChunkProvider chunkProvider) { } The problem is that the new version of net.minecraft.world.chunk no longer has IChunkGenerator or IChunkProvider (at least according to IntelliJ, which doesn't recognize them), so I assume that the IWorldGenerator.generate() function must look different now. But I can't find any documentation or examples anywhere that show the new syntax. Does anyone know the answer? But more generally, how can I find out more about the 1.14.3 API without documentation or examples? Just fumble around and guess until I stumble on the right syntax? Thanks in advance! Edit to add: I wasn't able to complete the task ./gradlew decompileMC as mentioned in the "Getting Started" tutorial because it doesn't seem to be actually listed in the gradle tasks anymore. Is that correct?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.