Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Animefan8888

Forge Modder
  • Joined

  • Last visited

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. What are you trying to do with /AFK?
  5. You are trying to create a mod that needs to have access to the server....
  6. 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.
  7. You could ask them if it will change and I agree that they should if it doesn't cause problems, because it looks better.
  8. What is the error and please use the code/spoilers.
  9. 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.
  10. guru.guru:fire_orb=guru:fire_orb though it might not work I am looking into how the summon command grabs entities by name.
  11. You have a lang file I presume. Try localizing the name passed in currently to the command aka guru.guru:fire_orb
  12. Remove Reference.modid when registering. Try localizing its name.
  13. Try basing it off EntityHorse because AIControlledByPlayer seems to be used for EntityPig and the Carrot On A Stick item.
  14. What version of minecraft are you using as it should exist in Entity in 1.10.2
  15. In the overlay you create a new instance of the inventory but never load the itemstacks to the inventory.
  16. You will need to call readFromNBT to make sure the itemstacks in the array are not equal to null.
  17. Actually you did initialize it i didnt seenit and of course it does otherwise you would pass in a null object. Try overriding getControllingPassenger
  18. Does aiControlledByPlayer every get initialized?
  19. 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
  20. 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.
  21. 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.
  22. Yes it is the only way as items dont have a "TE" to work with you must handle it directly through nbt

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.