Unpick entity flags and pufferfish states (#2368)

This commit is contained in:
YanisBft 2021-05-04 10:47:02 +02:00 committed by GitHub
parent 17fead3d2e
commit df864131d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,72 @@
v2
constant bee_flags net/minecraft/entity/passive/BeeEntity NEAR_TARGET_FLAG
constant bee_flags net/minecraft/entity/passive/BeeEntity HAS_STUNG_FLAG
constant bee_flags net/minecraft/entity/passive/BeeEntity HAS_NECTAR_FLAG
target_method net/minecraft/entity/passive/BeeEntity getBeeFlag (I)Z
param 0 bee_flags
target_method net/minecraft/entity/passive/BeeEntity setBeeFlag (IZ)V
param 0 bee_flags
constant fox_flags net/minecraft/entity/passive/FoxEntity SITTING_FLAG
constant fox_flags net/minecraft/entity/passive/FoxEntity CROUCHING_FLAG
constant fox_flags net/minecraft/entity/passive/FoxEntity ROLLING_HEAD_FLAG
constant fox_flags net/minecraft/entity/passive/FoxEntity CHASING_FLAG
constant fox_flags net/minecraft/entity/passive/FoxEntity SLEEPING_FLAG
constant fox_flags net/minecraft/entity/passive/FoxEntity WALKING_FLAG
constant fox_flags net/minecraft/entity/passive/FoxEntity AGGRESSIVE_FLAG
target_method net/minecraft/entity/passive/FoxEntity getFoxFlag (I)Z
param 0 fox_flags
target_method net/minecraft/entity/passive/FoxEntity setFoxFlag (IZ)V
param 0 fox_flags
constant horse_flags net/minecraft/entity/passive/HorseBaseEntity TAMED_FLAG
constant horse_flags net/minecraft/entity/passive/HorseBaseEntity SADDLED_FLAG
constant horse_flags net/minecraft/entity/passive/HorseBaseEntity BRED_FLAG
constant horse_flags net/minecraft/entity/passive/HorseBaseEntity EATING_GRASS_FLAG
constant horse_flags net/minecraft/entity/passive/HorseBaseEntity ANGRY_FLAG
constant horse_flags net/minecraft/entity/passive/HorseBaseEntity EATING_FLAG
target_method net/minecraft/entity/passive/HorseBaseEntity getHorseFlag (I)Z
param 0 horse_flags
target_method net/minecraft/entity/passive/HorseBaseEntity setHorseFlag (IZ)V
param 0 horse_flags
constant living_entity_flags net/minecraft/entity/LivingEntity USING_ITEM_FLAG
constant living_entity_flags net/minecraft/entity/LivingEntity OFF_HAND_ACTIVE_FLAG
constant living_entity_flags net/minecraft/entity/LivingEntity USING_RIPTIDE_FLAG
target_method net/minecraft/entity/LivingEntity setLivingFlag (IZ)V
param 0 living_entity_flags
constant panda_flags net/minecraft/entity/passive/PandaEntity SNEEZING_FLAG
constant panda_flags net/minecraft/entity/passive/PandaEntity PLAYING_FLAG
constant panda_flags net/minecraft/entity/passive/PandaEntity SCARED_FLAG
constant panda_flags net/minecraft/entity/passive/PandaEntity LYING_ON_BACK_FLAG
target_method net/minecraft/entity/passive/PandaEntity hasPandaFlag (I)Z
param 0 panda_flags
target_method net/minecraft/entity/passive/PandaEntity setPandaFlag (IZ)V
param 0 panda_flags
constant persistent_projectile_flags net/minecraft/entity/projectile/PersistentProjectileEntity CRITICAL_FLAG
constant persistent_projectile_flags net/minecraft/entity/projectile/PersistentProjectileEntity NO_CLIP_FLAG
constant persistent_projectile_flags net/minecraft/entity/projectile/PersistentProjectileEntity SHOT_FROM_CROSSBOW_FLAG
target_method net/minecraft/entity/projectile/PersistentProjectileEntity setProjectileFlag (IZ)V
param 0 persistent_projectile_flags
constant vex_flags net/minecraft/entity/mob/VexEntity CHARGING_FLAG
target_method net/minecraft/entity/mob/VexEntity areFlagsSet (I)Z
param 0 vex_flags
target_method net/minecraft/entity/mob/VexEntity setVexFlag (IZ)V
param 0 vex_flags

View File

@ -0,0 +1,8 @@
v2
constant pufferfish_states net/minecraft/entity/passive/PufferfishEntity NOT_PUFFED
constant pufferfish_states net/minecraft/entity/passive/PufferfishEntity SEMI_PUFFED
constant pufferfish_states net/minecraft/entity/passive/PufferfishEntity FULLY_PUFFED
target_method net/minecraft/entity/passive/PufferfishEntity setPuffState (I)V
param 0 pufferfish_states