Advertisement
Guest User

Untitled

a guest
Apr 24th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.70 KB | None | 0 0
  1. command {
  2. cooldownSeconds=0
  3. effects {
  4. idle {
  5. particles=[
  6. {
  7. animationPreset=orbit
  8. color=[
  9. 0,
  10. 255,
  11. 0
  12. ]
  13. type="minecraft:redstone_dust"
  14. },
  15. {
  16. animationPreset=counterorbit
  17. color=[
  18. 255,
  19. 0,
  20. 255
  21. ]
  22. type="minecraft:redstone_dust"
  23. }
  24. ]
  25. }
  26. reject {
  27. duration=16
  28. loop=false
  29. resetOnTimeout=true
  30. particles=[
  31. {
  32. type="minecraft:redstone_dust"
  33. amount=10
  34.  
  35. # Custom animation code. Neat, right? Read on for more info.
  36. animationCode="var spin = time/3; x=Math.sin(spin + num)*0.7; y=(time/8) - 0.5; z=Math.cos(spin + num)*0.7;"
  37. }
  38. ]
  39. }
  40. }
  41. hologram {
  42. lines=[
  43. "&3Command Crate",
  44. "&cWoah!!"
  45. ]
  46. }
  47. localKey {
  48. id="minecraft:dirt"
  49. name="&3Command Crate&r Key"
  50. }
  51. name="&3Command Crate"
  52. slots=[
  53. {
  54. chance=1.0
  55. displayItem {
  56. count=1
  57. id="minecraft:diamond"
  58. lore=[
  59. "10 Minecraft Diamond"
  60. ]
  61. name="Diamond Box"
  62. }
  63. pickSize=1
  64. rewards=
  65. [
  66. {
  67. data="You're an idiot",
  68. type=usermessage
  69. },
  70. {
  71. data="%p is an idiot"
  72. type=servermessage
  73. }
  74. ]
  75.  
  76. }
  77. ]
  78. useLocalKey=true
  79. acceptedKeys=[
  80. "testKey",
  81. "fakeKey"
  82. ]
  83. viewOptions {
  84. borderItem{
  85. displayItem {
  86. count=1
  87. id="minecraft:diamond"
  88. lore=[
  89. "10 Minecraft Diamond"
  90. ]
  91. name="Diamond Box"
  92. }
  93.  
  94. }
  95. selectorItem{
  96. displayItem {
  97. count=1
  98. id="minecraft:diamond"
  99. lore=[
  100. "10 Minecraft Diamond"
  101. ]
  102. name="Diamond Box"
  103. }
  104.  
  105. }
  106. tickDelayMultiplier=1.025
  107. ticksToSelection=100
  108. ticksToSelectionVariance=3
  109. }
  110. viewType=roulette
  111. messages {
  112. rejectionNeedKey="you need a key you dummy."
  113. }
  114. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement