Advertisement
Guest User

Untitled

a guest
Jan 17th, 2020
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. {
  2. "type": "minecraft:block",
  3. "pools": [
  4. {
  5. "rolls": 1,
  6. "entries": [
  7. {
  8. "type": "alternatives",
  9. "children": [
  10. {
  11. "type": "minecraft:item",
  12. "name": "mobjar:mob_jar",
  13. "functions": [
  14. {
  15. "function": "copy_nbt",
  16. "source": "block_entity",
  17. "ops": [
  18. {
  19. "source": "entityName",
  20. "target": "entityName",
  21. "op": "replace"
  22. },
  23. {
  24. "source": "customName",
  25. "target": "customName",
  26. "op": "replace"
  27. },
  28. {
  29. "source": "entityId",
  30. "target": "entityId",
  31. "op": "replace"
  32. },
  33. {
  34. "source": "entityData",
  35. "target": "entityData",
  36. "op": "replace"
  37. }
  38. ]
  39. }
  40. ],
  41. "conditions": [
  42. {
  43. "condition": "minecraft:survives_explosion"
  44. },
  45. {
  46. "condition": "entity_properties",
  47. "entity": "this",
  48. "predicate": {
  49. "flags": {
  50. "is_sneaking": "true"
  51. }
  52. }
  53. }
  54. ]
  55. },
  56. {
  57. "type": "minecraft:item",
  58. "name": "mobjar:mob_jar",
  59. "conditions": [
  60. {
  61. "condition": "minecraft:survives_explosion"
  62. },
  63. {
  64. "condition": "entity_properties",
  65. "entity": "this",
  66. "predicate": {
  67. "flags": {
  68. "is_sneaking": "false"
  69. }
  70. }
  71. }
  72. ]
  73. }
  74. ]
  75. }
  76. ]
  77. }
  78. ]
  79. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement