Jump to content

Luis_ST

Members
  • Posts

    5704
  • Joined

  • Last visited

  • Days Won

    72

Everything posted by Luis_ST

  1. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  2. only moderators can do this, and why do you want to close the topic
  3. post your updated code and take a look at some vanilla TEs, how they synchronize the TE data with the client
  4. 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
  5. 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
  6. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  7. 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
  8. the Event was added in 1.16, so it doesn't exist in 1.15
  9. which minecraft version did you use?
  10. the event is fired after changing the items, so canceling the event wouldn't have any effects
  11. okay weird because i need this for my model
  12. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  13. if you want to generate the VoxelShape for a model, you can use the Blockbench with the plugin "Mod Utils".
  14. did you sprite the texture in TextureStitchEvent.Pre? and don't use @OnlyIn
  15. 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?
  16. 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
  17. 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.
  18. what's your problem are the any errors on the log? and which version did you use?
  19. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  20. Unfortunately not, if you want to prevent a player from being banned, take a look at this
  21. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  22. 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?
×
×
  • Create New...

Important Information

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