Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Everything posted by coolboy4531

  1. Here you go. Fixed it for you. [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 13:39:18.274 !! [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:javac] C:\Users\Angus\Java\MCreator\forge\build\tmp\recompileMc\sources\net\minecraftforge\client\model\ModelDynBucket.java:126: error: unmappable character for encoding utf-8 13:39:18.274 !! [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:javac] // if the fluid is a gas wi manipulate the initial state to be rotated
  2. Alright, thanks. Do you have any basic guidelines w/ the new system?
  3. Yeah. Where would I start with replacement; there are so many methods missing from 1.7/1.8.
  4. ASM is no longer supported--I was forced to use this in previous MC versions. I'm trying to increase the enchantment level cap on all the vanilla enchantments. Is there a work around to this? Do I need to create new custom enchantments with a different level cap? If possible, how do I apply these "custom enchantments" with the vanilla Enchantment table? Thanks
  5. Back in 1.7.10, I was told that ASM had to be used--I'm not sure if I still need to use it though. I'm trying to change the enchantment level cap. Is there an alternative way other than ASM?
  6. Are coremods something that isn't supported anymore, obviously because it's bad. If I wanted to use ASM to edit a base class--would that still be possible? Thanks guys.
  7. I can't build my gradle workspace because of this error. Here is my --info log: * Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':recompileMc'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46) at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35) at org.grad
  8. For some strange reason, the mod won't run outside of Eclipse environment. It doesn't initialize and the mod won't run. Code: FMLLoadingPlugin package com.sec; import java.util.Map; import cpw.mods.fml.common.Mod; import cpw.mods.fml.relauncher.IFMLLoadingPlugin; import cpw.mods.fml.relauncher.IFMLLoadingPlugin.MCVersion; @MCVersion(value = "1.7.10") public class SEFMLLoadingPlugin implements IFMLLoadingPlugin { @Override public String[] getASMTransformerClass() { return new String[]{ SEClassTransformer.class.getName() }; } @Override public String getModContainerClass()
  9. Which would would be better if I were to change the enchantment level caps on all enchantments? Such as Protection 5 to Protection (insert number). Would Reflection be a solid choice and would that work? Or am I forced to use ASM? Also, where do I find the location of obfuscated field names/class names such as it used to be fields.csv (a long time ago) and notch-mcp.srg (dunno where I last saw this)?
  10. Yes. You need to create an ItemBlock. Not sure if this is outdated or not, but back then I used this: When you register your block: GameRegistry.registerBlock(randomBlock, RandomItemBlock.class, "randomBlock"); For the ItemBlock just create a class (as an example I used RandomItemBlock.class) - make it extend ItemBlock, then do the regular methods as it is just like an Item now which you can use addInformation and other Item methods.
  11. That is quite off-topic. But, whatever, maybe you should browser around more often. http://www.minecraftforge.net/forum/index.php/topic,15345.0.html
  12. I'm pretty sure it is being fired twice on the server.
  13. If I remember, you need to include a targetTask. Example: this.targetTasks.addTask(1, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 16F, 0, true));
  14. All Forge Wiki Tutorials are pretty self-explanatory and easy to follow. Use ones such as the one RafaelVN suggested. Good luck c:
  15. I'm guessing it has something to do with this: [20:30:24] [server thread/INFO] [FML/]: The state engine was in incorrect state POSTINITIALIZATION and forced into state SERVER_STOPPED. Errors may have been discarded. Strangely, it said "Attempting connection with missing mods" at 20:30:23. xPP
  16. You can create a keyhandler. You can use ClientRegistry#registerKeyBinding to bind the keys you want. Forge Wiki Page: http://www.minecraftforge.net/wiki/Key_Binding PM me if you want further help, or just reply to this post for others to help you. Good luck c:
  17. You need to return the "stack" not the originally itemStack field.
  18. You got to check if heldItem is null in the first place. (*insert null check*) if (heldItem != null) --continue with code--
  19. Just create a new field of Item. I don't think you can compare like that. Item heldItem = player.getHeldItem().getItem(); if (heldItem != Items.stone_pickaxe ...etc...)
  20. I use EntityJoinWorldEvent (it's a MinecraftForge event). If I were you, I'd check if the "event.entity" that is spawned is an instance of EntitySheep. I then would cancel the event to cancel the spawning of the sheep: event.setCancelled(true); If you want, you can use event.world (as the parameter in your custom Sheep class) and spawn it in the world in place of the vanilla sheep that spawned (event.entity.posX, event.entity.posY, event.entity.posZ
  21. Remove construct MainClass() - the thing below public MainClass() {} First things first, you should always initalize your stuff in PreInit, never in Init (in your case, load). Move all the block registration methods (GameRegistry#registerBlock) from your construct MainClass() to PreInit, be sure to put it after you initialize the object (which is myPane)!
  22. This can happen if you call GameRegistry#registerBlock before you actually initialize your object.
  23. Yes, I believe there is a code when it is placed on a netherrack block.
  24. Does it print out "ON ITEM USE" when you use the item?
  25. @Kriki98 I don't think you understand what @Instance really does...
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.