TheCatMorris
Members-
Posts
4 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
TheCatMorris's Achievements
Tree Puncher (2/8)
2
Reputation
-
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.
-
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.
-
[1.12.2] How to render a custom projectile?
TheCatMorris replied to Korlimann's topic in Modder Support
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 -
Is there someone who can help me update a 1.7.10 mod to 1.12.2?
TheCatMorris replied to Amond's topic in Modder Support
I always preferred CopyGirl's Wearable Backpacks, but there are many choices and that's a good thing.