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