Jump to content

Bunnly

Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by Bunnly

  1. I fixed it by removing the !pLevel.isclientside()
  2. Hello, I have a block entity and I made it so it places a item into its input slot when you right click it. But when I right click with a block, it places the block and the block disappears shortly after and the block is inside the block entity. How can I prevent the short block placing?
  3. I solved it. I made a public Boolean() and a few others to do this. blockEntity.blah() I am so bad at explaining
  4. Hello! I have a tile entity and want it so if a player is holding an item and right clicks my tile entity, the item will be inserted in slot 5. How can I do this? I have a use() and made it so the inventory gui will open if you shift right click the block.
  5. Thank you so much! I was able to get it to work with the updateShape().
  6. Hello! I have a block and I used canSurvive() and made it so it can't be placed on top of air. But when I break the block underneath the block, it wouldn't break. How can I fix this?
  7. player.openMenu Solved!
  8. Hello, I tried using NetworkHooks.openScreen but I found out it doesn't work on 1.20.2 or above. How can I do this? Someone told me to do ServerPlayer.openMenu but that also didn't work. I am making a block entity.
  9. I figured it out thanks for the help!
  10. Does this use json? Please tell me how I can get the strings out of my json file. I am very new to this kind of thing.
  11. Hello, I am making a mod and need to get a ItemStack from a json like this: { "items" : [ { "item_1" : "minecraft:wheat_seeds" }, { "item_2" : "minecraft:apple" } ] } How can I do this?
  12. I got it to work but I don't know how?
  13. Hello, I want to add more memory to the RunClient gradle task. I added VM options into the configurations and put in "-Xms256m -Xmx2048m" but it doesn't work.
×
×
  • Create New...

Important Information

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