Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Trnrr
Last active April 22, 2019 23:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Trnrr/b0b34e98c77ae66002c5271da7a32ffc to your computer and use it in GitHub Desktop.
Save Trnrr/b0b34e98c77ae66002c5271da7a32ffc to your computer and use it in GitHub Desktop.
virtualchest {
TextTitle = "&d&lStone"
Rows = 3
AcceptableActionIntervalTick = 20
Slot0 = {
Item {
Count = 1
ItemType = "minecraft:stained_glass_pane"
UnsafeDamage = 14
DisplayName = "&d&nSell 27 Stacks"
ItemLore = [
"&r",
"&dInformation:",
"&d&l* &7Quantity: &d1728",
"&d&l* &7Sell Price: &d$9",
"&r",
"&d&l(*) &dClick to sell this item!"
]
}
PrimaryAction {
Command = "cost-item: 1728; cost: -9; tell: &a&l(*) &aYou sold &a&n64x&r &a&nStone&r &afor &n$9&a."
HandheldItem {
ItemType = "minecraft:stone"
Count = 64
UnsafeDamage = 0
SearchInventory = true
}
KeepInventoryOpen = true
}
Requirements = "cost-item:1728 >= 1728"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment