public static void set2Handing(EntityLivingBase entity, boolean value) { if (is2Handing(entity) != value) { DataWatcherFlag.IS_2_HANDING.set(entity, value); // updateStrengthDamage(entity); } }
public static boolean is2Handing(EntityLivingBase entity) { return null != entity && DataWatcherFlag.IS_2_HANDING.get(entity); }