Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

HappyPants

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About HappyPants

  • Rank
    Tree Puncher

Recent Profile Visitors

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

  1. Theres actually a better way to do this, by calling the setDefaultBlock function in GenerationSettings @Override public ChunkGenerator<?> createChunkGenerator(World world) { OverworldGenSettings settings = new OverworldGenSettings(); settings.setDefaultBlock(Blocks.GRANITE.getDefaultState()); return new OverworldChunkGenerator(world, new ModBiomeProvider(), settings) ; }
  2. I created a new class that extends the OverWorldGenSetttings, and override the function to get the block state. Heres the code my world type where I use my custom Gen Settings that extend OverWorldGenSettings public class ModWorldType extends WorldType { public ModWorldType() { super("modworld_type"); } @Override public ChunkGenerator<?> createChunkGenerator(World world) { ModGenSettings settings = new ModGenSettings(); SingleBiomeProviderSettings single = new SingleBiomeProviderSettings(world.getWorldInfo()); return new OverworldChunkGenerator(world, new ModBi
  3. So I have created a world type that currently spawns my own custom biome and I also found a way to override stone as the block type, and I can set the world to generate and block that I wish. Structures like mineshafts spawn in this world because I have them added in the biome, however caves won't be generated. I think this is because my block isn't set as a carvable type of block which are found in the WorldCarver class. I'm not sure how I would set my Custom block to be carved for caves.
  4. Thanks, I forgot to change my eclipse to run on Java 8, so that was causing the issue!
  5. Hello, I just started creating a mod and minecraft crashes when launching through Eclipse. However, the game loads fine if I type gradlew runClient through command line. (It even loads my 1 item) Here is the crash report: ---- Minecraft Crash Report ---- // Don't do that. Time: 2/11/20, 6:22 PM Description: Initializing game java.lang.ExceptionInInitializerError: null at net.minecraftforge.fml.ModLoader.<init>(ModLoader.java:121) ~[forge-1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading} at net.minecraftforge.fml.ModLoader.get(ModLoader.java:146)
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.