Tool:ShopB: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
ftool setEventTrigger t_shopb org.bukkit.event.player.PlayerInteractEvent | 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 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