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.

Luis_ST

Members
  • Joined

  • Last visited

Everything posted by Luis_ST

  1. only moderators can do this, and why do you want to close the topic
  2. post your updated code and take a look at some vanilla TEs, how they synchronize the TE data with the client
  3. you can use null Capability#getDefaultInstance do the same as the ItemStackHandler#new and if you use an ItemStackHandler as I explained above, your error would simply be fixed this is the simplest solution for your problem: https://pastebin.com/ntZssi9b Edit: another issue in your code, you call the write inside the getUpdatePacket method of your TE
  4. why do you use IItemHandler as inventory? Edit: use ItemStackHandler instead, reason: you use Capability#getDefaultInstance to get an IItemHandler, why don't you use a new ItemStackHandler that contains the methods serializeNBT and deserializeNBT which you can execute in read and write the TE, wich is very simple
  5. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  6. i don't know all 1.15 events, but i think that there is no 1.15 event for that the best way would be to update your mod from 1.15 to 1.16.5, because you can then use the event and as soon as forge 1.17 released, your version will no longer be supported
  7. the Event was added in 1.16, so it doesn't exist in 1.15
  8. which minecraft version did you use?
  9. the event is fired after changing the items, so canceling the event wouldn't have any effects
  10. okay weird because i need this for my model
  11. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  12. if you want to generate the VoxelShape for a model, you can use the Blockbench with the plugin "Mod Utils".
  13. did you sprite the texture in TextureStitchEvent.Pre? and don't use @OnlyIn
  14. talk to the mod author because something is wrong with the recipe or the recipe serializer which version of the mod galacticraft did you use?
  15. I don't think, you could also take a look at the fill command but basically you need an for-each-loop, for x, y, z. then get the block at the position, and add them to a list
  16. since your mod list contains Redstone Flux (only for 1.12): 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  17. what's your problem are the any errors on the log? and which version did you use?
  18. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  19. Unfortunately not, if you want to prevent a player from being banned, take a look at this
  20. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  21. are the mods you are talking about needed to use your mod? if not, there will be errors when executing the command. what exactly does the command?
  22. I can remember that there was a Dummy CommandSource, unfortunately I don't know whether it still exists and if so in which class, I also don't know whether you should use it. which command do you want to execute? since there is usually another possibility to execute the command code without using a command

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.