Jump to content

Animefan8888

Forge Modder
  • Posts

    6157
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by Animefan8888

  1. May I reccommend checking out my github link in my signature and looking at RegistryHelper.registerBlock(Block block, String registryName) and comparing it to yours and looking at RegistryHelper.registerBlockModel(Block block, meta) *Edit and RegistryHelper.registerCustomItemBlockAndBlock
  2. So if I understand correctly what you want to do is... 1. Run /AFK command 2. If the player that ran the command is AFK and receives a whisper/msg then send a reply back saying This player is AFK Am I right?
  3. Sending chat messages is handled server side on servers, because it is the only way for other players to the the message though you could probably have your command run the other command to possibly fix that.
  4. You are trying to create a mod that needs to have access to the server....
  5. Well sometimes eclipse doesn't care about something that forge cares about when outside the dev environment. Try moving the registration code to your init method.
  6. You could ask them if it will change and I agree that they should if it doesn't cause problems, because it looks better.
  7. What is the error and please use the code/spoilers.
  8. First thing is first WHAT? Who said anything about id? And you don't need to add your mod id when registering. Search your workspace for guru. and see what comes up.
  9. guru.guru:fire_orb=guru:fire_orb though it might not work I am looking into how the summon command grabs entities by name.
  10. You have a lang file I presume. Try localizing the name passed in currently to the command aka guru.guru:fire_orb
  11. Remove Reference.modid when registering. Try localizing its name.
  12. Try basing it off EntityHorse because AIControlledByPlayer seems to be used for EntityPig and the Carrot On A Stick item.
  13. What version of minecraft are you using as it should exist in Entity in 1.10.2
  14. In the overlay you create a new instance of the inventory but never load the itemstacks to the inventory.
  15. You will need to call readFromNBT to make sure the itemstacks in the array are not equal to null.
  16. Actually you did initialize it i didnt seenit and of course it does otherwise you would pass in a null object. Try overriding getControllingPassenger
  17. Look into ContainerFurnace and look for IContainerListener (not sure if container ia correct) that is how data is synced between server to client when dealing with guis
  18. I have multiple ways you could do this. 1. In the constructor of the class you can add this to an array in a class then have a method that loops through all of the values in the array and register them. 2. You could pass a string into the constructor of your items class and register them there as you said.
  19. You sre handling the inventory on the clients s8de of things it needs to be handled server side, aince you are trying to make it only client side you should use some of the default packets if there are any.
  20. Yes it is the only way as items dont have a "TE" to work with you must handle it directly through nbt
×
×
  • Create New...

Important Information

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