Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command {
- cooldownSeconds=0
- effects {
- idle {
- particles=[
- {
- animationPreset=orbit
- color=[
- 0,
- 255,
- 0
- ]
- type="minecraft:redstone_dust"
- },
- {
- animationPreset=counterorbit
- color=[
- 255,
- 0,
- 255
- ]
- type="minecraft:redstone_dust"
- }
- ]
- }
- reject {
- duration=16
- loop=false
- resetOnTimeout=true
- particles=[
- {
- type="minecraft:redstone_dust"
- amount=10
- # Custom animation code. Neat, right? Read on for more info.
- animationCode="var spin = time/3; x=Math.sin(spin + num)*0.7; y=(time/8) - 0.5; z=Math.cos(spin + num)*0.7;"
- }
- ]
- }
- }
- hologram {
- lines=[
- "&3Command Crate",
- "&cWoah!!"
- ]
- }
- localKey {
- id="minecraft:dirt"
- name="&3Command Crate&r Key"
- }
- name="&3Command Crate"
- slots=[
- {
- chance=1.0
- displayItem {
- count=1
- id="minecraft:diamond"
- lore=[
- "10 Minecraft Diamond"
- ]
- name="Diamond Box"
- }
- pickSize=1
- rewards=
- [
- {
- data="You're an idiot",
- type=usermessage
- },
- {
- data="%p is an idiot"
- type=servermessage
- }
- ]
- }
- ]
- useLocalKey=true
- acceptedKeys=[
- "testKey",
- "fakeKey"
- ]
- viewOptions {
- borderItem{
- displayItem {
- count=1
- id="minecraft:diamond"
- lore=[
- "10 Minecraft Diamond"
- ]
- name="Diamond Box"
- }
- }
- selectorItem{
- displayItem {
- count=1
- id="minecraft:diamond"
- lore=[
- "10 Minecraft Diamond"
- ]
- name="Diamond Box"
- }
- }
- tickDelayMultiplier=1.025
- ticksToSelection=100
- ticksToSelectionVariance=3
- }
- viewType=roulette
- messages {
- rejectionNeedKey="you need a key you dummy."
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement