Jump to content

shadowfacts

Forge Modder
  • Posts

    588
  • Joined

  • Last visited

Everything posted by shadowfacts

  1. If is the video you followed then you did it wronge. You have to open up your mod's folder in the command prompt and run the command gradlew build. If you are 100% sure you used gradlew build, the post your build.gradle file.
  2. I don't know, open a new thread.
  3. How did you build your mod? If you didn't use gradlew build, then you need to. When Gradle builds your mod it automagically reobfuscates it. The error you are gettin is because you are trying to use an deobfuscated method in an obfuscated environment.
  4. That's not how proxies work. You should be using the @SidedProxy annotation on one field which is an instance of CommonProxy, call all your proxy methods on that.
  5. Jack2611, if you just have a simple item which doesn't do anything other than what a plain old vanilla item can do, using Item is fine.
  6. For all of the items except for oStick, you've forgotten the : after your mod id. If that still doesn't fix it then, what the exact path case sensitive to the resource.
  7. Hold on, let me get this straight. You are making a Java mod for Minecraft to load Ruby mods for Minecraft? Why?
  8. Using NEI, if you press F9 it will highlight chunks.
  9. You should only need to call this method the first time when your item enters the hotbar and when a player that has the item rejoins the server.
  10. It is quite simple, just need to call setBlockReachDistance like so: ((EntityPlayerMP)entity).theItemInWorldManager.setBlockReachDistance(double distance); You just need to call this method with a double, (the default reach distance according to ItemInWorldManager is 5.0D).
  11. You'll need to use packets to spawn the item on a server.
  12. What do you mean "send an itemstack to a server"? What do you want the server to do with it?
  13. shadowfacts

    Vec3

    It is a vector in three dimensions, hence the name Vec3. What do you want to use it for?
  14. Is there a problem with it? Or, do you just want us to do the work for you?
  15. Do you mean for a recipe that you added or a recipe from Vanilla Minecraft? If you mean your own recipe, just change the constructor you use for the result ItemStack to new ItemStack(YourItem, qty) where qty is the number of items to output. If you want to modify a recipe from Vanilla, then don't. It is generally a bad idea to mess with Vanilla, you might break compatibility with other mods.
  16. Sessional, nidico100 wants their block to look like the slime block. What he/she wants would not involve using custom bounding box.
  17. Instead of using event.player.openGui(...) try using FMLNetworkHandler to open the GUI. This is the code I used to open the GUI for my custom furnace.
  18. You'll also need to either save the UUID to NBT or make the Anti-Grief TileEntity also be a chunkloader.
  19. Too bad, if you want to make a mod for Minecraft you will have to learn Java, because MINECRAFT IS BUILT IN JAVA.
  20. You could have the damage for your weapon be something along the lines of MAX_INT. Or when your weapon is used to attack something, you could find the entity being attacked and just set its health to 0.
  21. Ok, so? Did it work? Or is there still a problem?
  22. Yay! We can use Markdown instead of BBCode for formatting!
  23. Show your build.gradle file.
  24. Why are you trying to spawn the entity at (maxDamage, maxDamage, maxDamage)? All three instance of "maxDamage" should be replaced with the x, y, and z coordinates respectively.
  25. Where do you create the field "thePlayer". If you use something like Minecraft.getMinecraft().thePlayer, it only works on the client side. It might be helpful to look at how Vazkii does it.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.