Tool:ShopB: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<syntaxhighlight lang="java"> | <syntaxhighlight lang="java"> | ||
library | library fromcommandoverwrite schema_t_shopb minecraft:birch_sign{display:{Lore:['{"text":"@Tool:t_shopb"}'],Name:'[{"text":"[","color":"#AA0A0A"},{"text":"⚒","color":"gold","bold":true},{"text":"] ","color":"#AA0A0A"},{"text":"Shop: Birch","color":"dark_green"}]'}} | ||
fcraft enabled t_shopb false | fcraft enabled t_shopb false | ||
Line 8: | Line 6: | ||
fcraft delete t_shopb | fcraft delete t_shopb | ||
fcraft create t_shopb bookshelf,bookshelf,bookshelf,bookshelf, | fcraft create t_shopb bookshelf,bookshelf,bookshelf,bookshelf,birchsign,bookshelf,bookshelf,chest,bookshelf schema_t_shopb | ||
fcraft description t_shopb 1 "Allows you to creat shops with a birch sign" | #fcraft description t_shopb 1 "Allows you to creat shops with a birch sign" | ||
fcraft shaped t_shopb true | fcraft shaped t_shopb true | ||
Line 18: | Line 16: | ||
ftool linkrecipe t_shopb true | ftool linkrecipe t_shopb true | ||
ftool setEventTrigger t_shopb org.bukkit.event. | ftool setEventTrigger t_shopb org.bukkit.event.player.PlayerInteractEvent | ||
ftool setmethodname t_shopb createShop 2 | ftool setmethodname t_shopb createShop 2 | ||
#ftool setmethodparam t_shopb 0 | #ftool setmethodparam t_shopb 0 etm.kadi.api.features.tools.IToolData | ||
ftool setmethodparam t_shopb 1 org.bukkit.Material BIRCH_WALL_SIGN | |||
ftool testmethod t_shopb | ftool testmethod t_shopb | ||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 20:53, 16 October 2020
library fromcommandoverwrite schema_t_shopb minecraft:birch_sign{display:{Lore:['{"text":"@Tool:t_shopb"}'],Name:'[{"text":"[","color":"#AA0A0A"},{"text":"⚒","color":"gold","bold":true},{"text":"] ","color":"#AA0A0A"},{"text":"Shop: Birch","color":"dark_green"}]'}}
fcraft enabled t_shopb false
ftool delete t_shopb
fcraft delete t_shopb
fcraft create t_shopb bookshelf,bookshelf,bookshelf,bookshelf,birchsign,bookshelf,bookshelf,chest,bookshelf schema_t_shopb
#fcraft description t_shopb 1 "Allows you to creat shops with a birch sign"
fcraft shaped t_shopb true
ftool create t_shopb schema_t_shopb
ftool unique t_shopb true
ftool soulbound t_shopb true
ftool limiteduse t_shopb true 100
ftool linkrecipe t_shopb true
ftool setEventTrigger t_shopb org.bukkit.event.player.PlayerInteractEvent
ftool setmethodname t_shopb createShop 2
#ftool setmethodparam t_shopb 0 etm.kadi.api.features.tools.IToolData
ftool setmethodparam t_shopb 1 org.bukkit.Material BIRCH_WALL_SIGN
ftool testmethod t_shopb