use of gregapi.item.multiitem.behaviors.Behavior_Switch_Metadata in project gregtech6 by GregTech6.
the class GT_Tool_Pocket_Chisel method onStatsAddedToTool.
@Override
public void onStatsAddedToTool(MultiItemTool aItem, int aID) {
super.onStatsAddedToTool(aItem, aID);
aItem.addItemBehavior(aID, new Behavior_Switch_Metadata(mSwitchIndex, T, T));
}
use of gregapi.item.multiitem.behaviors.Behavior_Switch_Metadata in project gregtech6 by GregTech6.
the class GT_Tool_Pocket_File method onStatsAddedToTool.
@Override
public void onStatsAddedToTool(MultiItemTool aItem, int aID) {
super.onStatsAddedToTool(aItem, aID);
aItem.addItemBehavior(aID, new Behavior_Switch_Metadata(mSwitchIndex, T, T));
}
use of gregapi.item.multiitem.behaviors.Behavior_Switch_Metadata in project gregtech6 by GregTech6.
the class GT_Tool_Pocket_Saw method onStatsAddedToTool.
@Override
public void onStatsAddedToTool(MultiItemTool aItem, int aID) {
super.onStatsAddedToTool(aItem, aID);
aItem.addItemBehavior(aID, new Behavior_Switch_Metadata(mSwitchIndex, T, T));
}
use of gregapi.item.multiitem.behaviors.Behavior_Switch_Metadata in project gregtech6 by GregTech6.
the class GT_Tool_Pocket_Scissors method onStatsAddedToTool.
@Override
public void onStatsAddedToTool(MultiItemTool aItem, int aID) {
super.onStatsAddedToTool(aItem, aID);
aItem.addItemBehavior(aID, new Behavior_Switch_Metadata(mSwitchIndex, T, T));
}
use of gregapi.item.multiitem.behaviors.Behavior_Switch_Metadata in project gregtech6 by GregTech6.
the class GT_Tool_MonkeyWrench_HV method onStatsAddedToTool.
@Override
public void onStatsAddedToTool(MultiItemTool aItem, int aID) {
aItem.addItemBehavior(aID, new Behavior_Tool(TOOL_monkeywrench, SFX.GT_WRENCH, 100, !canBlock(), T));
aItem.addItemBehavior(aID, new Behavior_Switch_Metadata(mSwitchIndex, T, F));
}
Aggregations