Jump to content

Orion31

Members
  • Posts

    7
  • Joined

  • Last visited

Orion31's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Ok thank you so much for your help.
  2. Would this work with multiverse? I don't rly care if it does but it's nice to know.
  3. Would the dimension id work with other mods?
  4. Is it possible to store a world in NBT tags? For example, if I want an item to teleport the player to where the item was crafted, I can do this with coordinates but not the actual world the item was crafted in.
  5. Ok thank you and @DavidM so much!
  6. Ok but can I call get tag from onItemRightClick? I'm not at a computer rn but when I checked I don't think I could.
  7. Ok which functions should I use for reading and writing? The docs don't really explain this ?. Thanks for your help
  8. Ok, so maybe I'm googling the wrong thing, but I've looked through tons of stuff on NBT and capabilities and I can't seem to figure this out. I have a block that provides the player with 7 "bungee" items that when used will teleport you back to the block you got the item from. However, I can't seem to figure out how to get this to work. Say my code is this: i.insertItem(0, new ItemStack(new WaypointBungee(pos), 7), false); Not only does the item not appear in the inventory, but when I register the item, I have nothing to put as the constructor parameter. So if I create a method that adds the BlockPos, then I solve the ladder problem but not the former. How can I make it so that I can add a custom location to this item?
×
×
  • Create New...

Important Information

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