shulker_box.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "type": "minecraft:block",
  3. "pools": [
  4. {
  5. "rolls": 1.0,
  6. "bonus_rolls": 0.0,
  7. "entries": [
  8. {
  9. "type": "minecraft:item",
  10. "functions": [
  11. {
  12. "function": "minecraft:copy_name",
  13. "source": "block_entity"
  14. },
  15. {
  16. "function": "minecraft:copy_nbt",
  17. "source": "block_entity",
  18. "ops": [
  19. {
  20. "source": "Lock",
  21. "target": "BlockEntityTag.Lock",
  22. "op": "replace"
  23. },
  24. {
  25. "source": "LootTable",
  26. "target": "BlockEntityTag.LootTable",
  27. "op": "replace"
  28. },
  29. {
  30. "source": "LootTableSeed",
  31. "target": "BlockEntityTag.LootTableSeed",
  32. "op": "replace"
  33. }
  34. ]
  35. },
  36. {
  37. "function": "minecraft:set_contents",
  38. "type": "minecraft:shulker_box",
  39. "entries": [
  40. {
  41. "type": "minecraft:dynamic",
  42. "name": "minecraft:contents"
  43. }
  44. ]
  45. }
  46. ],
  47. "name": "minecraft:shulker_box"
  48. }
  49. ]
  50. }
  51. ]
  52. }