Skip to content

Commit

Permalink
feat(trigger)!: craft to be_crafted
Browse files Browse the repository at this point in the history
Signed-off-by: SettingDust <[email protected]>
  • Loading branch information
SettingDust committed Jun 6, 2022
1 parent b6b5aff commit 250e3fc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/main/java/team/ebi/epicbanitem/EBIRegistries.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public void onRegisterRegistry(RegisterRegistryEvent.EngineScoped<Server> event)
.put(EpicBanItem.key("equip"), injector.getInstance(EquipRestrictionTrigger.class))
// .put(EpicBanItem.key("be_equipped"),
// injector.getInstance(BeEquippedRestrictionTrigger.class))
.put(EpicBanItem.key("craft"), injector.getInstance(CraftRestrictionTrigger.class))
.put(EpicBanItem.key("craft"), injector.getInstance(BeCraftedRestrictionTrigger.class))
.put(EpicBanItem.key("store"), injector.getInstance(StoreRestrictionTrigger.class))
// .put(EpicBanItem.key("click"), new RestrictionTriggerImpl())
.build());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
import team.ebi.epicbanitem.EpicBanItem;

@Singleton
public class CraftRestrictionTrigger extends EBIRestrictionTrigger {
public class BeCraftedRestrictionTrigger extends EBIRestrictionTrigger {

public CraftRestrictionTrigger() {
super(EpicBanItem.key("craft"));
public BeCraftedRestrictionTrigger() {
super(EpicBanItem.key("be_crafted"));
}

@Listener
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ epicbanitem.trigger.epicbanitem\:use=Use
epicbanitem.trigger.epicbanitem\:throw=Throw
epicbanitem.trigger.epicbanitem\:pickup=Pickup
epicbanitem.trigger.epicbanitem\:drop=Drop
epicbanitem.trigger.epicbanitem\:craft=Craft
epicbanitem.trigger.epicbanitem\:be_crafted=Cratted
epicbanitem.trigger.epicbanitem\:click=Click
epicbanitem.trigger.epicbanitem\:store=Store
epicbanitem.trigger.epicbanitem\:equip=Equip
Expand All @@ -22,7 +22,7 @@ epicbanitem.trigger.epicbanitem\:use.description=Item(s) is used
epicbanitem.trigger.epicbanitem\:throw.description=Item(s) is thrown
epicbanitem.trigger.epicbanitem\:pickup.description=Item(s) are picked
epicbanitem.trigger.epicbanitem\:drop.description=Item(s) are dropped
epicbanitem.trigger.epicbanitem\:craft.description=Item(s) is crafted
epicbanitem.trigger.epicbanitem\:be_crafted.description=Item(s) is crafted
epicbanitem.trigger.epicbanitem\:click.description=Item(s) is clicked
epicbanitem.trigger.epicbanitem\:store.description=Item(s) is store to container
epicbanitem.trigger.epicbanitem\:equip.description=Current equipment when changing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ epicbanitem.trigger.epicbanitem\:use=使用
epicbanitem.trigger.epicbanitem\:throw=丢弃
epicbanitem.trigger.epicbanitem\:pickup=拾取
epicbanitem.trigger.epicbanitem\:drop=掉落
epicbanitem.trigger.epicbanitem\:craft=合成
epicbanitem.trigger.epicbanitem\:be_crafted=被合成
epicbanitem.trigger.epicbanitem\:click=点击
epicbanitem.trigger.epicbanitem\:store=存入
epicbanitem.trigger.epicbanitem\:equip=装备
Expand All @@ -22,7 +22,7 @@ epicbanitem.trigger.epicbanitem\:use.description=被使用的物品
epicbanitem.trigger.epicbanitem\:throw.description=被丢弃的物品
epicbanitem.trigger.epicbanitem\:pickup.description=被拾取的掉落物
epicbanitem.trigger.epicbanitem\:drop.description=掉落的物品
epicbanitem.trigger.epicbanitem\:craft.description=被合成的物品
epicbanitem.trigger.epicbanitem\:be_crafted.description=被合成的物品
epicbanitem.trigger.epicbanitem\:click.description=鼠标点击的物品
epicbanitem.trigger.epicbanitem\:store.description=存入容器内的物品
epicbanitem.trigger.epicbanitem\:equip.description=更换装备时当前装备
Expand Down

0 comments on commit 250e3fc

Please sign in to comment.