Skip to content

Commit

Permalink
MobEntityWithAi -> PathAwareEntity (FabricMC#1517)
Browse files Browse the repository at this point in the history
  • Loading branch information
YanisBft authored Jun 28, 2020
1 parent 2fa42f8 commit 9937826
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ CLASS net/minecraft/class_1343 net/minecraft/entity/ai/goal/DoorInteractGoal
FIELD field_6412 doorValid Z
FIELD field_6413 mob Lnet/minecraft/class_1308;
FIELD field_6414 doorPos Lnet/minecraft/class_2338;
METHOD <init> (Lnet/minecraft/class_1308;)V
ARG 1 mob
METHOD method_19995 setDoorOpen (Z)V
ARG 1 open
METHOD method_6256 isDoorOpen ()Z
2 changes: 2 additions & 0 deletions mappings/net/minecraft/entity/mob/EndermanEntity.mapping
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
CLASS net/minecraft/class_1560 net/minecraft/entity/mob/EndermanEntity
FIELD field_18126 PLAYER_ENDERMITE_PREDICATE Ljava/util/function/Predicate;
FIELD field_20618 PROVOKED Lnet/minecraft/class_2940;
FIELD field_25376 angerTime I
FIELD field_25377 targetUuid Ljava/util/UUID;
FIELD field_7252 ATTACKING_SPEED_BOOST Lnet/minecraft/class_1322;
FIELD field_7253 lastAngrySoundAge I
FIELD field_7254 ageWhenTargetSet I
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_1314 net/minecraft/entity/mob/MobEntityWithAi
CLASS net/minecraft/class_1314 net/minecraft/entity/mob/PathAwareEntity
METHOD method_6142 updateForLeashLength (F)V
ARG 1 leashLength
METHOD method_6144 getPathfindingFavor (Lnet/minecraft/class_2338;Lnet/minecraft/class_4538;)F
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
CLASS net/minecraft/class_1590 net/minecraft/entity/mob/ZombifiedPiglinEntity
FIELD field_25380 angerTime I
FIELD field_25381 targetUuid Ljava/util/UUID;
FIELD field_7307 ATTACKING_SPEED_BOOST Lnet/minecraft/class_1322;
FIELD field_7308 angrySoundDelay I
FIELD field_7311 ATTACKING_SPEED_BOOST_ID Ljava/util/UUID;
Expand Down
1 change: 1 addition & 0 deletions mappings/net/minecraft/entity/passive/BeeEntity.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ CLASS net/minecraft/class_4466 net/minecraft/entity/passive/BeeEntity
FIELD field_21644 ticksUntilCanPollinate I
FIELD field_21645 moveToHiveGoal Lnet/minecraft/class_4466$class_4472;
FIELD field_21646 moveToFlowerGoal Lnet/minecraft/class_4466$class_4473;
FIELD field_25364 targetUuid Ljava/util/UUID;
METHOD method_21769 addParticle (Lnet/minecraft/class_1937;DDDDDLnet/minecraft/class_2394;)V
ARG 1 world
ARG 2 lastX
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/entity/passive/PolarBearEntity.mapping
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
CLASS net/minecraft/class_1456 net/minecraft/entity/passive/PolarBearEntity
FIELD field_25368 targetUuid Ljava/util/UUID;
FIELD field_25370 angerTime I
FIELD field_6837 warningAnimationProgress F
FIELD field_6838 lastWarningAnimationProgress F
FIELD field_6839 warningSoundCooldown I
Expand Down
2 changes: 1 addition & 1 deletion mappings/net/minecraft/entity/passive/WolfEntity.mapping
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CLASS net/minecraft/class_1493 net/minecraft/entity/passive/WolfEntity
FIELD field_18004 FOLLOW_TAMED_PREDICATE Ljava/util/function/Predicate;
FIELD field_25371 ANGER_TIME_RANGE Lnet/minecraft/class_4801;
FIELD field_25372 angryAt Ljava/util/UUID;
FIELD field_25372 targetUuid Ljava/util/UUID;
FIELD field_25373 ANGER_TIME Lnet/minecraft/class_2940;
FIELD field_6944 furWet Z
FIELD field_6945 lastShakeProgress F
Expand Down

0 comments on commit 9937826

Please sign in to comment.