Uses of Interface
com.ericlam.mc.eld.services.ItemStackService.ItemFactory
Packages that use ItemStackService.ItemFactory
-
Uses of ItemStackService.ItemFactory in com.ericlam.mc.eld.services
Methods in com.ericlam.mc.eld.services that return ItemStackService.ItemFactoryModifier and TypeMethodDescriptionItemStackService.ItemFactory.amount(int amount) 修改數量建立物品ItemStackService.ItemFactory.destroyClickerEvent()解除進食事件ItemStackService.ItemFactory.destroyInteractEvent()解除左右鍵事件顯示名稱ItemStackService.ItemFactory.durability(int damage) 修改耐久度編輯物品ItemStackService.ItemFactory.editItemMeta(Consumer<ItemMeta> meta) 編輯物品ItemStackService.ItemFactory.editPersisData(Consumer<PersistentDataContainer> dataEditor) 設置物品數據儲存器ItemStackService.ItemFactory.enchant(Consumer<Map<Enchantment, Integer>> enchantEditor) 修改附魔ItemStackService.ItemFactory.enchant(Map<Enchantment, Integer> enchants) 設置附魔ItemStackService.ItemFactory.enchant(Enchantment enchantment, int level) 新增附魔設置頭顱皮膚, 物品必須為 PLAYER_HEADItemStackService.ItemFactory.head(OfflinePlayer player) Deprecated.設置 item flags新增敘述修改敘述設置敘述修改類別ItemStackService.ItemFactory.modelData(int modelData) 設置 model dataItemStackService.ItemFactory.onConsumeEvent(String keyExecute) 執行進食事件ItemStackService.ItemFactory.onConsumeEventTemp(Consumer<PlayerItemConsumeEvent> handler) 執行臨時的進食事件 (伺服器重啟後消失)ItemStackService.ItemFactory.onInteractEvent(String keyExecute) 執行左右鍵事件ItemStackService.ItemFactory.onInteractEventTemp(Consumer<PlayerInteractEvent> handler) 執行臨時的左右鍵事件 (伺服器重啟後消失)ItemStackService.ItemFactory.unbreakable(boolean unbreakable) 設置不可破壞
head(String)