Jump to content

Bunnly

Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by Bunnly

  1. 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?
  2. I solved it. I made a public Boolean() and a few others to do this. blockEntity.blah() I am so bad at explaining
  3. 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.
  4. Thank you so much! I was able to get it to work with the updateShape().
  5. 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?
  6. 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.
  7. 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.
  8. 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?
  9. 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.