Jump to content

Animefan8888

Forge Modder
  • Posts

    6157
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by Animefan8888

  1. Why not create a new ResourceLocation... ResourceLocation resourcelocation = new ResourceLocation(soundNameIn);
  2. Oh that is right it changed in 1.9 right, I just remembered back to when I started in 1.5.2 I made armor that would make you invincible until it broke unless you took major damage like from one of the custom swords.
  3. And if the int[] total reaches 25 you will be invincible(side note I don't know if that is true and I don't think it is because of the way armor reduction works), why would you want it to go that high Diamond Armor only goes to 20 and that is the max displayable amount of armor bars normally but you can customize Armor by implementing ISpecialArmor in your Armor Class.
  4. Alright I have never made an only server side mod or a client side mod before good to know.
  5. Actually I did not though I makes sense that there is those sound mighty useful, though I have never had to do anything like that before. But is it possible to register GuiOpenEvent only client side and have it work?
  6. BTW when I said move I meant copy otherwise it won't work if you switch to a different item.
  7. You only tell it to turn fly off if the players heldItem not the Stack is != null.
  8. You would have to override when the player right clicks on the Villager and display a new gui/container which you can't do on a vanilla server. Actually you may be able to subscribe to a ClientTickEvent and check if the players currentScreen is the villager one and if so replace it. Though client tick event could cause lag.
  9. Is it possible that one of the icons you register could be null?
  10. What do you mean automatic? Are you going to make a new block that opens a Gui and allows players to select possible villager trades? Or is the block going to be placed next to a villager and it will access that inventory to deal with trades?
  11. It is okay Draco18 I went into a Discord "call" and settled this, in his code there were many errors, caused by not properly Overriding and slot index's were set up incorrrecy, but thank you for the example I will look at it when I get some rest.
  12. In my forge version there is no public constructor, maybe I should update.
  13. Your model handles all textures and you don't register multiple models for metadata. This blockstate JSON is an example of the forge variant system that I made for BlockPlanks.
  14. New Registry system And you don't add models for multiple metadata.
  15. You will have a class that acts exactly like ItemAxe and you can extend/use that class for your Axe(s).
  16. Just create a class that is an exact copy of ItemAxe
  17. May I see the code you used to register the potions?
×
×
  • Create New...

Important Information

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