Jump to content

TheCatMorris

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by TheCatMorris

  1. Frankly, if you're just getting started with modding maybe 1.12.2 would be better? Many experienced modders are still waiting for the 1.13.2 forge version to become stable and to set-up the dev environment as has been done with past versions -- Forge for 1.13.2 is still beta after all, more a test than a production version.
  2. The basics aren't that hard. The world type class itself looks like this: package your.mod.generation; import javax.annotation.Nonnull; import net.minecraft.world.World; import net.minecraft.world.WorldType; import net.minecraft.world.biome.BiomeProvider; import net.minecraft.world.chunk.IChunkProvider; import net.minecraft.world.gen.ChunkGeneratorOverworld; import net.minecraft.world.gen.IChunkGenerator; public class YourWorldType extends WorldType { private static BiomeProvider biomeProvider; public static IChunkProvider chunkProvider; public YourWorldType() { super("name of your world type"); } public IChunkGenerator getChunkGenerator(World world, String generatorOptions) { return new ChunkGeneratorOverworld(world, world.getSeed(), world.getWorldInfo().isMapFeaturesEnabled(), generatorOptions); } @Override @Nonnull public BiomeProvider getBiomeProvider(@Nonnull World world) { //return a copy of your biome provider (could even be from vanilla) } } Your main mod class should have an instance of the type, and preinit should have a line that initializes it. What you actually do with it, from there (biomes, biome / chunk providers, etc.) is up to you, and could be simple or very complicated. This is to create a new type and add it as an option to the start menus for starting a new world (the name should be unlocalized, keyed to lang files). If you want to create a dimension with its own world type I would recommend the "Up To Date Minecraft Modding" Youtube series by Harry Talks.
  3. This is very simple, very general, and works beautifully for simple projectiles: https://github.com/Sunconure11/dungeon-mobs/blob/master/src/main/java/com/gw/dm/render/RenderProjectile.java
  4. I always preferred CopyGirl's Wearable Backpacks, but there are many choices and that's a good thing.
×
×
  • Create New...

Important Information

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