Everything posted by coolboy4531
-
[1.7.2] Spear
Have you even registered your Render class with your Entity?
-
Galacticraft Addon Error
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.
-
Crash on taking custom item from furnace
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)
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.
They shouldn't work in Init. Forge has changed dramatically - ForgeGradle, and I recommend that you use preInit for everything.
-
Full Armor Set Potion Effect
What error?
-
[1.7.2] denying all mob spawns
I have never done that before. I usually do seperate event classes if it uses another bus. Try and seperate them apart.
-
Full Armor Set Potion Effect
Define didn't work.
-
[1.7.2] denying all mob spawns
Tell me why the heck you didn't remove: MinecraftForge.EVENT_BUS.register(new NGUEventHandler()); I usually post my events on postInit(FMLPostInitializationEvent event)
-
[1.7.2] denying all mob spawns
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.
-
Block PlaceEvent
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.
-
Add Hyperlink to Player's Chat
Correct me if I'm wrong, but I thought it's suppose to be: http://www.google.com/
-
Full Armor Set Potion Effect
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)
-
[1.7.2] denying all mob spawns
How have you been registering it? Show me you main class.
-
[1.7.2]Custom sound register and play
Okay okay. If you take a look. fluffy (is not the same as) lantern. It should be assets/lantern/sounds
-
[1.7.2] denying all mob spawns
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.
-
Can't link en_US.lang to my mod
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
code code code code code.
-
[1.7.2] Biome registration
Look at another forum. http://www.minecraftforge.net/forum/index.php?topic=17011.0
-
Can't link en_US.lang to my mod
Show us your main class (as of now)
-
[1.7.2]Custom sound register and play
Try this. http://www.youtube.com/watch?v=MTGJXO_2Kks
-
[1.7.2]Item Won't Appear In-Game
You did everything in FMLInitializationEvent. Starting - 1.7, Forge now loads things with FMLPreInitializationEvent In other words change init(load) to preInit.
-
[SOLVED]Quick class question.
Imports? Not exactly sure what you're looking for though.
-
[1.7.2] Texture Locations {mobs}
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)
-
ASM : changing fields.
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."
IPS spam blocked by CleanTalk.