Leaderboard
Popular Content
Showing content with the highest reputation on 12/03/19 in all areas
-
Does your Forge version end in 101? There was a bug in the camera code in that version that got fixed in 102.1 point
-
1 point
-
Thank you all for the replies, it finally worked! In case anyone else has this same problem and finds this topic, this is what I did: I created this class: public class OreDisabler { @SubscribeEvent public static void vanillaGenerationAttempt(GenerateMinable event){ if(event.getType().equals(EventType.IRON)){ event.setResult(Result.DENY); } } } And change IRON with whatever ore you want to disable. Also make sure to import the right EventType, the one from GenerateMinable. Then added this: MinecraftForge.ORE_GEN_BUS.register(OreDisabler.class); inside this method of my main mod class: @EventHandler public void init(FMLInitializationEvent event) { ModRecipes.init(); MinecraftForge.ORE_GEN_BUS.register(OreDisabler.class); } Hopefully I can save someone from having the same confusion as I had!1 point
-
Hello guys, I want to present my upcoming mod for minecraft 1.12.2. I haven't finished it yet, but sure it will be cool. The mod basically adds a lot of weapons, objects, wearables, minerals, decorations, new crafting tables, godly items... It's just HUGE. Below i am leaving some of the crafting recipes and items of the mod. Credits to Diamond Nuggets for some of the textures.1 point
-
You never seem to set any actual attack AI. The targeting AI just sets the target but doesn't do any movement or attack. You need something like EntityAIAttackMelee() also added to the tasks list. In other words, the targeting and the actual attack are meant to be separate AI and if you want the entity to move towards the target you need to add that AI as well.1 point