
coolboy4531
Members-
Posts
584 -
Joined
-
Last visited
Everything posted by coolboy4531
-
Have you even registered your Render class with your Entity?
-
1) config cannot be resolved 2) The method registerProviderType(int, Class<? extends WorldProvider>, boolean) in the type DimensionManager is not applicable for the arguments (int, PlanetWorldProvider, boolean) Come on dude, this is basic stuff; basic Java, casting. 1) The code doesn't even know where "config" is. Where you load your config, and save you config is where you should put it. Why put it in load, when Forge doesn't even read it? 2) Class<? extends WorldProvider> (does not equal) PlanetWorldProvider. You need to make your PlanetWorldProvider "extend" WorldProvider. One more thing, you don't even know how to use configs. You have to create a new instance of the int in your mod, and set the value later. You can't even receive (ExoplanetaryExploration.config) because it isn't static. Please please please, don't come here until you fully understand how casting works and how fields work.
-
We need to see your main class (Arcano), and which includes your registration stuff.
-
[1.6.4] Replacing an in-class AI entry (Skeleton, e.g)
coolboy4531 replied to Targren's topic in Modder Support
I had an issue (exactly like yours) to nerf the skeleton attack speed, I ended up giving up and creating a new skeleton (identical to the vanilla one). Canceling it upon EntityJoinWorldEvent and replacing the skeleton with a new skeleton. -
[1.7.2] Buckets yo!... and now an Init discussion.
coolboy4531 replied to Pandassaurus's topic in Modder Support
They shouldn't work in Init. Forge has changed dramatically - ForgeGradle, and I recommend that you use preInit for everything. -
What error?
-
I have never done that before. I usually do seperate event classes if it uses another bus. Try and seperate them apart.
-
Define didn't work.
-
Tell me why the heck you didn't remove: MinecraftForge.EVENT_BUS.register(new NGUEventHandler()); I usually post my events on postInit(FMLPostInitializationEvent event)
-
That's exactly the problem, wrong event bus. The event is an FML event. You should use: FMLCommonHandler.instance().bus().register(Object obj); #obj = your event handler class.
-
You can use Java Reflection, to solve that issue. There is a method (onBlockPlaced) in vanilla Minecraft classes, (super.onBlockPlaced(***)) is required of course. If you would like to cancel it, you could use Reflection and modify the Block class at runtime.
-
Correct me if I'm wrong, but I thought it's suppose to be: http://www.google.com/
-
Use: @Override public void onArmorTickUpdate(World world, EntityPlayer player, ItemStack stack) { } Check whether or not the slot is equipped with what item you want. Psuedo Code: @Override public void onArmorTickUpdate(World world, EntityPlayer player, ItemStack stack) { if (player.getCurrentArmor(0) == ZealCraft.quickBoots) { //do action } } 0 - Boots 1 - Leggings 2 - Chestplate 3 - Helmet (correct me, if I'm wrong)
-
How have you been registering it? Show me you main class.
-
Okay okay. If you take a look. fluffy (is not the same as) lantern. It should be assets/lantern/sounds
-
Not that I know of, you can look at how Minecraft does it with the difficulties. The only way (complex) I can think of right now is EntityJoinWorldEvent. You can check for mobs and cancel the event.
-
Let me tell you this, the best way for us to help you is... to post your code everytime you fix something.
-
[1.7.2] Block/Furnace changes at Achievment
coolboy4531 replied to Alexander0507's topic in Modder Support
code code code code code. -
Look at another forum. http://www.minecraftforge.net/forum/index.php?topic=17011.0
-
Show us your main class (as of now)
-
Try this. http://www.youtube.com/watch?v=MTGJXO_2Kks
-
You did everything in FMLInitializationEvent. Starting - 1.7, Forge now loads things with FMLPreInitializationEvent In other words change init(load) to preInit.
-
Imports? Not exactly sure what you're looking for though.
-
Okay, sorry. I'm not familiar with 1.7.2, so I need help. How/Where do I set the texture for my custom mob? (noob question, I know, sorry)
-
However, I really don't want to turn my mod into a coremod. I prefer using Java reflection. @diesieben: I got 2 questions. How would I change the field value? new EntityAIArrowAttack(this, 1.0D, 60, 60, 15.0F); For "getDeclaredField(String field)" Do I use the SRG name (func_****, field_****) or compiled names (aiArrowAttack)? I really couldn't understand what you were trying to tell me "both ways."