Entity stuff (#3382)

Just a few misc things in the entity package
This commit is contained in:
Shnupbups 2022-11-04 11:32:56 +11:00 committed by GitHub
parent e488670b8d
commit 19e4d58a9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 3 deletions

View File

@ -0,0 +1,3 @@
CLASS net/minecraft/class_5766 net/minecraft/entity/ai/pathing/AmphibiousSwimNavigation
METHOD <init> (Lnet/minecraft/class_1308;Lnet/minecraft/class_1937;)V
ARG 2 world

View File

@ -4,6 +4,8 @@ CLASS net/minecraft/class_1409 net/minecraft/entity/ai/pathing/MobNavigation
ARG 1 pathType
METHOD method_35139 setCanEnterOpenDoors (Z)V
ARG 1 canEnterOpenDoors
METHOD method_46645 setCanWalkOverFences (Z)V
ARG 1 canWalkOverFences
METHOD method_6361 setAvoidSunlight (Z)V
ARG 1 avoidSunlight
METHOD method_6362 getPathfindingY ()I

View File

@ -8,6 +8,7 @@ CLASS net/minecraft/class_8 net/minecraft/entity/ai/pathing/PathNodeMaker
FIELD field_31 entityBlockXSize I
FIELD field_32 pathNodeCache Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
FIELD field_33 entity Lnet/minecraft/class_1308;
FIELD field_40927 canWalkOverFences Z
METHOD method_12 init (Lnet/minecraft/class_1950;Lnet/minecraft/class_1308;)V
ARG 1 cachedWorld
ARG 2 entity
@ -55,3 +56,6 @@ CLASS net/minecraft/class_8 net/minecraft/entity/ai/pathing/PathNodeMaker
ARG 1 pos
METHOD method_43568 asTargetPathNode (Lnet/minecraft/class_9;)Lnet/minecraft/class_4459;
ARG 1 node
METHOD method_46737 setCanWalkOverFences (Z)V
ARG 1 canWalkOverFences
METHOD method_46738 canWalkOverFences ()Z

View File

@ -11,6 +11,8 @@ CLASS net/minecraft/class_1291 net/minecraft/entity/effect/StatusEffect
METHOD method_42126 setFactorCalculationDataSupplier (Ljava/util/function/Supplier;)Lnet/minecraft/class_1291;
ARG 1 factorCalculationDataSupplier
METHOD method_42127 getFactorCalculationDataSupplier ()Ljava/util/Optional;
METHOD method_43257 getRawIdNullable (Lnet/minecraft/class_1291;)I
ARG 0 type
METHOD method_5552 canApplyUpdateEffect (II)Z
ARG 1 duration
ARG 2 amplifier

View File

@ -1,3 +0,0 @@
CLASS net/minecraft/class_5766 net/minecraft/entity/passive/AxolotlSwimNavigation
METHOD <init> (Lnet/minecraft/class_1308;Lnet/minecraft/class_1937;)V
ARG 2 world

View File

@ -182,6 +182,7 @@ CLASS net/minecraft/class_4019 net/minecraft/entity/passive/FoxEntity
METHOD method_18311 fromId (I)Lnet/minecraft/class_4019$class_4039;
ARG 0 id
METHOD method_18313 fromBiome (Lnet/minecraft/class_6880;)Lnet/minecraft/class_4019$class_4039;
ARG 0 biome
METHOD method_18314 byName (Ljava/lang/String;)Lnet/minecraft/class_4019$class_4039;
ARG 0 name
METHOD method_18317 getId ()I