mirror of https://github.com/FabricMC/yarn.git
AI Mappings (#2298)
* 21w13/14a classes * Fill holes in existing classes * Update mappings/net/minecraft/entity/ai/brain/task/WalkTask.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: YanisBft <doublecraft.official@gmail.com> * leaping -> noInertia (to better reflect what it does) * EXPIRY -> POI_EXPIRY + javadoc * Update mappings/net/minecraft/entity/LivingEntity.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/LivingEntity.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: YanisBft <doublecraft.official@gmail.com>
This commit is contained in:
parent
19c661296a
commit
8eb917d43a
|
@ -8,6 +8,7 @@ CLASS net/minecraft/class_1309 net/minecraft/entity/LivingEntity
|
|||
FIELD field_22418 climbingPos Ljava/util/Optional;
|
||||
FIELD field_23128 SOUL_SPEED_BOOST_ID Ljava/util/UUID;
|
||||
FIELD field_27859 POWDER_SNOW_SLOW_ID Ljava/util/UUID;
|
||||
FIELD field_30082 noDrag Z
|
||||
FIELD field_6210 bodyTrackingIncrements I
|
||||
FIELD field_6211 lastLimbDistance F
|
||||
FIELD field_6212 sidewaysSpeed F
|
||||
|
@ -260,6 +261,9 @@ CLASS net/minecraft/class_1309 net/minecraft/entity/LivingEntity
|
|||
METHOD method_33190 canTakeDamage ()Z
|
||||
METHOD method_33579 readFromPacket (Lnet/minecraft/class_2610;)V
|
||||
ARG 1 packet
|
||||
METHOD method_35053 hasNoDrag ()Z
|
||||
METHOD method_35054 setNoDrag (Z)V
|
||||
ARG 1 noDrag
|
||||
METHOD method_5973 canTarget (Lnet/minecraft/class_1299;)Z
|
||||
ARG 1 type
|
||||
METHOD method_5989 getLootTable ()Lnet/minecraft/class_2960;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
CLASS net/minecraft/class_5535 net/minecraft/entity/ai/FuzzyPositions
|
||||
FIELD field_30264 GAUSS_RANGE I
|
||||
METHOD method_31537 towardTarget (Lnet/minecraft/class_1314;ILjava/util/Random;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
|
||||
COMMENT Adjusts the input {@code fuzz} slightly toward the given {@code entity}'s
|
||||
COMMENT {@link net.minecraft.entity.mob.MobEntity#getPositionTarget() position target}
|
||||
|
|
|
@ -7,6 +7,7 @@ CLASS net/minecraft/class_4051 net/minecraft/entity/ai/TargetPredicate
|
|||
FIELD field_18097 ignoreEntityTargetRules Z
|
||||
FIELD field_18098 useDistanceScalingFactor Z
|
||||
FIELD field_28405 predicate Ljava/util/function/Predicate;
|
||||
FIELD field_30263 MIN_DISTANCE D
|
||||
METHOD method_18417 includeInvulnerable ()Lnet/minecraft/class_4051;
|
||||
METHOD method_18418 setBaseMaxDistance (D)Lnet/minecraft/class_4051;
|
||||
ARG 1 baseMaxDistance
|
||||
|
|
|
@ -3,6 +3,8 @@ CLASS net/minecraft/class_4168 net/minecraft/entity/ai/brain/Activity
|
|||
FIELD field_23827 hashCode I
|
||||
METHOD <init> (Ljava/lang/String;)V
|
||||
ARG 1 id
|
||||
METHOD equals (Ljava/lang/Object;)Z
|
||||
ARG 1 o
|
||||
METHOD method_19210 register (Ljava/lang/String;)Lnet/minecraft/class_4168;
|
||||
ARG 0 id
|
||||
METHOD method_19634 getId ()Ljava/lang/String;
|
||||
|
|
|
@ -13,6 +13,7 @@ CLASS net/minecraft/class_4095 net/minecraft/entity/ai/brain/Brain
|
|||
COMMENT completed.
|
||||
FIELD field_24656 LOGGER Lorg/apache/logging/log4j/Logger;
|
||||
FIELD field_24657 codecSupplier Ljava/util/function/Supplier;
|
||||
FIELD field_30096 ACTIVITY_REFRESH_COOLDOWN I
|
||||
METHOD <init> (Ljava/util/Collection;Ljava/util/Collection;Lcom/google/common/collect/ImmutableList;Ljava/util/function/Supplier;)V
|
||||
ARG 1 memories
|
||||
ARG 2 sensors
|
||||
|
|
|
@ -4,3 +4,4 @@ CLASS net/minecraft/class_4102 net/minecraft/entity/ai/brain/EntityLookTarget
|
|||
METHOD <init> (Lnet/minecraft/class_1297;Z)V
|
||||
ARG 1 entity
|
||||
ARG 2 useEyeHeight
|
||||
METHOD method_35066 getEntity ()Lnet/minecraft/class_1297;
|
||||
|
|
|
@ -17,3 +17,4 @@ CLASS net/minecraft/class_4831 net/minecraft/entity/ai/brain/Memory
|
|||
METHOD method_28355 permanent (Ljava/lang/Object;)Lnet/minecraft/class_4831;
|
||||
COMMENT Creates a memory without an expiry time.
|
||||
ARG 0 value
|
||||
METHOD method_35127 getExpiry ()J
|
||||
|
|
|
@ -7,3 +7,6 @@ CLASS net/minecraft/class_4173 net/minecraft/entity/ai/brain/ScheduleRule
|
|||
ARG 1 startTime
|
||||
ARG 2 priority
|
||||
METHOD method_19229 sort ()V
|
||||
METHOD method_35214 getEntries ()Lcom/google/common/collect/ImmutableList;
|
||||
METHOD method_35215 add (Ljava/util/Collection;)Lnet/minecraft/class_4173;
|
||||
ARG 1 entries
|
||||
|
|
|
@ -2,6 +2,10 @@ CLASS net/minecraft/class_4142 net/minecraft/entity/ai/brain/WalkTarget
|
|||
FIELD field_18460 lookTarget Lnet/minecraft/class_4115;
|
||||
FIELD field_18461 speed F
|
||||
FIELD field_18462 completionRange I
|
||||
METHOD <init> (Lnet/minecraft/class_1297;FI)V
|
||||
ARG 1 entity
|
||||
ARG 2 speed
|
||||
ARG 3 completionRange
|
||||
METHOD <init> (Lnet/minecraft/class_2338;FI)V
|
||||
ARG 1 pos
|
||||
ARG 2 speed
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
CLASS net/minecraft/class_4307 net/minecraft/entity/ai/brain/sensor/GolemLastSeenSensor
|
||||
FIELD field_30249 RUN_TIME I
|
||||
FIELD field_30250 GOLEM_DETECTED_WARMUP I
|
||||
METHOD method_20656 senseIronGolem (Lnet/minecraft/class_1309;)V
|
||||
ARG 0 entity
|
||||
METHOD method_30233 rememberIronGolem (Lnet/minecraft/class_1309;)V
|
||||
|
|
|
@ -2,3 +2,6 @@ CLASS net/minecraft/class_4256 net/minecraft/entity/ai/brain/sensor/NearestBedSe
|
|||
FIELD field_20295 positionToExpiryTime Lit/unimi/dsi/fastutil/longs/Long2LongMap;
|
||||
FIELD field_20296 tries I
|
||||
FIELD field_20297 expiryTime J
|
||||
FIELD field_30251 REMEMBER_TIME I
|
||||
FIELD field_30252 MAX_TRIES I
|
||||
FIELD field_30253 MAX_EXPIRY_TIME I
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
CLASS net/minecraft/class_4833 net/minecraft/entity/ai/brain/sensor/NearestItemsSensor
|
||||
FIELD field_30254 MAX_RANGE I
|
||||
FIELD field_30255 HORIZONTAL_RANGE J
|
||||
FIELD field_30256 VERTICAL_RANGE J
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
CLASS net/minecraft/class_4221 net/minecraft/entity/ai/brain/sensor/SecondaryPointsOfInterestSensor
|
||||
FIELD field_30257 RUN_TIME I
|
||||
|
|
|
@ -4,6 +4,8 @@ CLASS net/minecraft/class_4148 net/minecraft/entity/ai/brain/sensor/Sensor
|
|||
FIELD field_19294 RANDOM Ljava/util/Random;
|
||||
FIELD field_26630 TARGET_PREDICATE Lnet/minecraft/class_4051;
|
||||
FIELD field_26631 TARGET_PREDICATE_IGNORE_DISTANCE_SCALING Lnet/minecraft/class_4051;
|
||||
FIELD field_30258 BASE_MAX_DISTANCE I
|
||||
FIELD field_30259 DEFAULT_RUN_TIME I
|
||||
METHOD <init> (I)V
|
||||
ARG 1 senseInterval
|
||||
METHOD method_19099 getOutputMemoryModules ()Ljava/util/Set;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
CLASS net/minecraft/class_5760 net/minecraft/entity/ai/brain/sensor/TemptationsSensor
|
||||
FIELD field_28330 TEMPTER_PREDICATE Lnet/minecraft/class_4051;
|
||||
FIELD field_28331 ingredient Lnet/minecraft/class_1856;
|
||||
FIELD field_30262 MAX_DISTANCE I
|
||||
METHOD <init> (Lnet/minecraft/class_1856;)V
|
||||
ARG 1 ingredient
|
||||
METHOD method_33214 (Lnet/minecraft/class_1314;Lnet/minecraft/class_3222;)Z
|
||||
|
|
|
@ -3,6 +3,7 @@ CLASS net/minecraft/class_4982 net/minecraft/entity/ai/brain/task/BoneMealTask
|
|||
FIELD field_23223 lastEndEntityAge J
|
||||
FIELD field_23224 duration I
|
||||
FIELD field_23225 pos Ljava/util/Optional;
|
||||
FIELD field_30184 MAX_DURATION I
|
||||
METHOD method_26324 addLookWalkTargets (Lnet/minecraft/class_1646;)V
|
||||
ARG 1 villager
|
||||
METHOD method_26326 canBoneMeal (Lnet/minecraft/class_2338;Lnet/minecraft/class_3218;)Z
|
||||
|
|
|
@ -2,6 +2,9 @@ CLASS net/minecraft/class_4806 net/minecraft/entity/ai/brain/task/BreedTask
|
|||
FIELD field_22283 targetType Lnet/minecraft/class_1299;
|
||||
FIELD field_22284 breedTime J
|
||||
FIELD field_23129 speed F
|
||||
FIELD field_30104 MAX_RANGE I
|
||||
FIELD field_30105 MIN_BREED_TIME I
|
||||
FIELD field_30106 RUN_TIME I
|
||||
METHOD <init> (Lnet/minecraft/class_1299;F)V
|
||||
ARG 1 targetType
|
||||
ARG 2 speed
|
||||
|
|
|
@ -17,6 +17,7 @@ CLASS net/minecraft/class_4103 net/minecraft/entity/ai/brain/task/CompositeTask
|
|||
ARG 1 list
|
||||
CLASS class_4216 RunMode
|
||||
METHOD method_19559 run (Ljava/util/stream/Stream;Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V
|
||||
ARG 1 tasks
|
||||
ARG 2 world
|
||||
ARG 3 entity
|
||||
ARG 4 time
|
||||
|
|
|
@ -7,9 +7,16 @@ CLASS net/minecraft/class_4820 net/minecraft/entity/ai/brain/task/ConditionalTas
|
|||
ARG 2 condition
|
||||
ARG 3 delegate
|
||||
ARG 4 allowsContinuation
|
||||
METHOD <init> (Ljava/util/Map;Lnet/minecraft/class_4097;)V
|
||||
ARG 1 memory
|
||||
ARG 2 delegate
|
||||
METHOD <init> (Ljava/util/function/Predicate;Lnet/minecraft/class_4097;)V
|
||||
ARG 1 condition
|
||||
ARG 2 delegate
|
||||
METHOD <init> (Ljava/util/function/Predicate;Lnet/minecraft/class_4097;Z)V
|
||||
ARG 1 condition
|
||||
ARG 2 delegate
|
||||
ARG 3 allowsContinuation
|
||||
METHOD method_24597 merge (Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
|
||||
ARG 0 first
|
||||
ARG 1 second
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
CLASS net/minecraft/class_4810 net/minecraft/entity/ai/brain/task/CrossbowAttackTask
|
||||
FIELD field_22293 chargingCooldown I
|
||||
FIELD field_22294 state Lnet/minecraft/class_4810$class_4811;
|
||||
FIELD field_30114 RUN_TIME I
|
||||
METHOD method_24568 getAttackTarget (Lnet/minecraft/class_1309;)Lnet/minecraft/class_1309;
|
||||
ARG 0 entity
|
||||
METHOD method_24569 tickState (Lnet/minecraft/class_1308;Lnet/minecraft/class_1309;)V
|
||||
|
|
|
@ -3,6 +3,8 @@ CLASS net/minecraft/class_4217 net/minecraft/entity/ai/brain/task/FarmerVillager
|
|||
FIELD field_18861 nextResponseTime J
|
||||
FIELD field_19239 ticksRan I
|
||||
FIELD field_19351 targetPositions Ljava/util/List;
|
||||
FIELD field_30123 WALK_SPEED F
|
||||
FIELD field_30124 MAX_RUN_TIME I
|
||||
METHOD method_20640 isSuitableTarget (Lnet/minecraft/class_2338;Lnet/minecraft/class_3218;)Z
|
||||
ARG 1 pos
|
||||
ARG 2 world
|
||||
|
|
|
@ -24,3 +24,10 @@ CLASS net/minecraft/class_4106 net/minecraft/entity/ai/brain/task/FindEntityTask
|
|||
ARG 1 entity
|
||||
METHOD method_24583 testPredicate (Lnet/minecraft/class_1309;)Z
|
||||
ARG 1 entity
|
||||
METHOD method_35071 create (Lnet/minecraft/class_1299;ILjava/util/function/Predicate;Lnet/minecraft/class_4140;FI)Lnet/minecraft/class_4106;
|
||||
ARG 0 entityType
|
||||
ARG 1 maxDistance
|
||||
ARG 2 condition
|
||||
ARG 3 moduleType
|
||||
ARG 4 speed
|
||||
ARG 5 completionRange
|
||||
|
|
|
@ -4,23 +4,37 @@ CLASS net/minecraft/class_4096 net/minecraft/entity/ai/brain/task/FindPointOfInt
|
|||
FIELD field_19287 poiType Lnet/minecraft/class_4158;
|
||||
FIELD field_19289 foundPositionsToExpiry Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
|
||||
FIELD field_20287 targetMemoryModuleType Lnet/minecraft/class_4140;
|
||||
FIELD field_25812 entityStatus Ljava/util/Optional;
|
||||
FIELD field_30098 POI_SORTING_RADIUS I
|
||||
FIELD field_30099 MAX_POSITIONS_PER_RUN I
|
||||
FIELD field_30100 POSITION_EXPIRE_INTERVAL I
|
||||
METHOD <init> (Lnet/minecraft/class_4158;Lnet/minecraft/class_4140;Lnet/minecraft/class_4140;ZLjava/util/Optional;)V
|
||||
ARG 1 poiType
|
||||
ARG 2 moduleType
|
||||
ARG 3 targetMemoryModuleType
|
||||
ARG 4 onlyRunIfChild
|
||||
ARG 5 entityStatus
|
||||
METHOD <init> (Lnet/minecraft/class_4158;Lnet/minecraft/class_4140;ZLjava/util/Optional;)V
|
||||
ARG 1 poiType
|
||||
ARG 2 moduleType
|
||||
ARG 3 onlyRunIfChild
|
||||
ARG 4 entityStatus
|
||||
METHOD method_29245 create (Lnet/minecraft/class_4140;Lnet/minecraft/class_4140;)Lcom/google/common/collect/ImmutableMap;
|
||||
ARG 0 firstModule
|
||||
ARG 1 secondModule
|
||||
CLASS class_5397 RetryMarker
|
||||
FIELD field_25600 random Ljava/util/Random;
|
||||
FIELD field_25601 previousAttemptAt J
|
||||
FIELD field_25602 nextScheduledAttemptAt J
|
||||
FIELD field_25603 currentDelay I
|
||||
FIELD field_30101 MIN_DELAY I
|
||||
FIELD field_30103 ATTEMPT_DURATION I
|
||||
METHOD <init> (Ljava/util/Random;J)V
|
||||
ARG 1 random
|
||||
ARG 2 time
|
||||
METHOD method_29926 (J)V
|
||||
METHOD method_29926 setAttemptTime (J)V
|
||||
ARG 1 time
|
||||
METHOD method_29927 (J)Z
|
||||
METHOD method_29927 isAttempting (J)Z
|
||||
ARG 1 time
|
||||
METHOD method_29928 (J)Z
|
||||
METHOD method_29928 shouldRetry (J)Z
|
||||
ARG 1 time
|
||||
|
|
|
@ -2,6 +2,8 @@ CLASS net/minecraft/class_4117 net/minecraft/entity/ai/brain/task/FindWalkTarget
|
|||
FIELD field_18375 walkSpeed F
|
||||
FIELD field_19352 maxHorizontalDistance I
|
||||
FIELD field_19353 maxVerticalDistance I
|
||||
FIELD field_30186 MIN_RUN_TIME I
|
||||
FIELD field_30187 MAX_RUN_TIME I
|
||||
METHOD <init> (F)V
|
||||
ARG 1 walkSpeed
|
||||
METHOD <init> (FII)V
|
||||
|
|
|
@ -10,4 +10,8 @@ CLASS net/minecraft/class_4119 net/minecraft/entity/ai/brain/task/FollowMobTask
|
|||
ARG 1 entityType
|
||||
ARG 2 maxDistance
|
||||
METHOD <init> (Lnet/minecraft/class_1311;F)V
|
||||
ARG 1 group
|
||||
ARG 2 maxDistance
|
||||
METHOD <init> (Lnet/minecraft/class_3494;F)V
|
||||
ARG 1 entityType
|
||||
ARG 2 maxDistance
|
||||
|
|
|
@ -1,7 +1,14 @@
|
|||
CLASS net/minecraft/class_4828 net/minecraft/entity/ai/brain/task/ForgetAttackTargetTask
|
||||
FIELD field_22329 alternativeCondition Ljava/util/function/Predicate;
|
||||
FIELD field_30177 REMEMBER_TIME I
|
||||
FIELD field_30178 forgetCallback Ljava/util/function/Consumer;
|
||||
METHOD <init> (Ljava/util/function/Consumer;)V
|
||||
ARG 1 forgetCallback
|
||||
METHOD <init> (Ljava/util/function/Predicate;)V
|
||||
ARG 1 alternativeCondition
|
||||
METHOD <init> (Ljava/util/function/Predicate;Ljava/util/function/Consumer;)V
|
||||
ARG 1 condition
|
||||
ARG 2 forgetCallback
|
||||
METHOD method_24621 cannotReachTarget (Lnet/minecraft/class_1309;)Z
|
||||
ARG 0 entity
|
||||
METHOD method_24622 isAttackTargetInAnotherWorld (Lnet/minecraft/class_1308;)Z
|
||||
|
|
|
@ -2,6 +2,7 @@ CLASS net/minecraft/class_4252 net/minecraft/entity/ai/brain/task/ForgetBellRing
|
|||
FIELD field_19000 maxHiddenTicks I
|
||||
FIELD field_19001 hiddenTicks I
|
||||
FIELD field_19154 distance I
|
||||
FIELD field_30165 MIN_HEARD_BELL_TIME I
|
||||
METHOD <init> (II)V
|
||||
ARG 1 maxHiddenSeconds
|
||||
ARG 2 distance
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
CLASS net/minecraft/class_4128 net/minecraft/entity/ai/brain/task/ForgetCompletedPointOfInterestTask
|
||||
FIELD field_18390 memoryModule Lnet/minecraft/class_4140;
|
||||
FIELD field_18391 condition Ljava/util/function/Predicate;
|
||||
FIELD field_30185 MAX_RANGE I
|
||||
METHOD <init> (Lnet/minecraft/class_4158;Lnet/minecraft/class_4140;)V
|
||||
ARG 1 poiType
|
||||
ARG 2 memoryModule
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
CLASS net/minecraft/class_4126 net/minecraft/entity/ai/brain/task/GatherItemsVillagerTask
|
||||
FIELD field_18389 items Ljava/util/Set;
|
||||
FIELD field_30182 MAX_RANGE I
|
||||
FIELD field_30183 WALK_TOGETHER_SPEED F
|
||||
METHOD method_19013 giveHalfOfStack (Lnet/minecraft/class_1646;Ljava/util/Set;Lnet/minecraft/class_1309;)V
|
||||
ARG 0 villager
|
||||
ARG 1 validItems
|
||||
|
|
|
@ -3,6 +3,10 @@ CLASS net/minecraft/class_4243 net/minecraft/entity/ai/brain/task/GiveGiftsToHer
|
|||
FIELD field_18985 ticksLeft I
|
||||
FIELD field_18986 done Z
|
||||
FIELD field_18987 startTime J
|
||||
FIELD field_30117 MAX_DISTANCE I
|
||||
FIELD field_30118 DEFAULT_DURATION I
|
||||
FIELD field_30120 RUN_TIME I
|
||||
FIELD field_30121 WALK_SPEED F
|
||||
METHOD <init> (I)V
|
||||
ARG 1 delay
|
||||
METHOD method_19956 getGifts (Lnet/minecraft/class_1646;)Ljava/util/List;
|
||||
|
|
|
@ -2,6 +2,11 @@ CLASS net/minecraft/class_4116 net/minecraft/entity/ai/brain/task/GoToIfNearbyTa
|
|||
FIELD field_18372 target Lnet/minecraft/class_4140;
|
||||
FIELD field_18373 nextUpdateTime J
|
||||
FIELD field_18374 maxDistance I
|
||||
FIELD field_25752 walkSpeed F
|
||||
FIELD field_30179 UPDATE_INTERVAL I
|
||||
FIELD field_30180 HORIZONTAL_RANGE I
|
||||
FIELD field_30181 VERTICAL_RANGE I
|
||||
METHOD <init> (Lnet/minecraft/class_4140;FI)V
|
||||
ARG 1 target
|
||||
ARG 2 walkSpeed
|
||||
ARG 3 maxDistance
|
||||
|
|
|
@ -3,7 +3,9 @@ CLASS net/minecraft/class_4219 net/minecraft/entity/ai/brain/task/GoToNearbyPosi
|
|||
FIELD field_18863 completionRange I
|
||||
FIELD field_18864 maxDistance I
|
||||
FIELD field_18865 nextRunTime J
|
||||
FIELD field_25753 walkSpeed F
|
||||
METHOD <init> (Lnet/minecraft/class_4140;FII)V
|
||||
ARG 1 memoryModuleType
|
||||
ARG 2 walkSpeed
|
||||
ARG 3 completionRange
|
||||
ARG 4 maxDistance
|
||||
|
|
|
@ -4,6 +4,8 @@ CLASS net/minecraft/class_4130 net/minecraft/entity/ai/brain/task/HoldTradeOffer
|
|||
FIELD field_18394 offerShownTicks I
|
||||
FIELD field_18395 offerIndex I
|
||||
FIELD field_18396 ticksLeft I
|
||||
FIELD field_30167 RUN_INTERVAL I
|
||||
FIELD field_30168 OFFER_SHOWING_INTERVAL I
|
||||
METHOD <init> (II)V
|
||||
ARG 1 minRunTime
|
||||
ARG 2 maxRunTime
|
||||
|
|
|
@ -4,6 +4,10 @@ CLASS net/minecraft/class_4245 net/minecraft/entity/ai/brain/task/JumpInBedTask
|
|||
FIELD field_18990 ticksOutOfBedUntilStopped I
|
||||
FIELD field_18991 jumpsRemaining I
|
||||
FIELD field_18992 ticksToNextJump I
|
||||
FIELD field_30128 MAX_TICKS_OUT_OF_BED I
|
||||
FIELD field_30129 MIN_JUMP_TICKS I
|
||||
FIELD field_30130 JUMP_TIME_VARIANCE I
|
||||
FIELD field_30131 TICKS_TO_NEXT_JUMP I
|
||||
METHOD <init> (F)V
|
||||
ARG 1 walkSpeed
|
||||
METHOD method_19969 getNearestBed (Lnet/minecraft/class_1308;)Ljava/util/Optional;
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
CLASS net/minecraft/class_6029 net/minecraft/entity/ai/brain/task/LeapingChargeTask
|
||||
FIELD field_30132 RUN_TIME I
|
||||
FIELD field_30133 cooldownRange Lnet/minecraft/class_6019;
|
||||
METHOD <init> (Lnet/minecraft/class_6019;)V
|
||||
ARG 1 cooldownRange
|
|
@ -0,0 +1,41 @@
|
|||
CLASS net/minecraft/class_6030 net/minecraft/entity/ai/brain/task/LongJumpTask
|
||||
FIELD field_30134 RUN_TIME I
|
||||
FIELD field_30135 MAX_COOLDOWN I
|
||||
FIELD field_30136 TARGET_RETAIN_TIME I
|
||||
FIELD field_30137 PATHING_DISTANCE I
|
||||
FIELD field_30138 cooldownRange Lnet/minecraft/class_6019;
|
||||
FIELD field_30139 verticalRange I
|
||||
FIELD field_30140 horizontalRange I
|
||||
FIELD field_30141 maxRange F
|
||||
FIELD field_30142 targets Ljava/util/List;
|
||||
FIELD field_30143 lastPos Ljava/util/Optional;
|
||||
FIELD field_30144 lastTarget Ljava/util/Optional;
|
||||
FIELD field_30145 cooldown I
|
||||
FIELD field_30146 targetTime J
|
||||
METHOD <init> (Lnet/minecraft/class_6019;IIF)V
|
||||
ARG 1 cooldownRange
|
||||
ARG 2 verticalRange
|
||||
ARG 3 horizontalRange
|
||||
ARG 4 maxRange
|
||||
METHOD method_35078 getRammingVelocity (Lnet/minecraft/class_1308;Lnet/minecraft/class_243;)Ljava/util/Optional;
|
||||
ARG 1 entity
|
||||
ARG 2 pos
|
||||
METHOD method_35079 getRammingVelocity (Lnet/minecraft/class_1308;Lnet/minecraft/class_243;I)Ljava/util/Optional;
|
||||
ARG 1 entity
|
||||
ARG 2 pos
|
||||
ARG 3 range
|
||||
METHOD method_35080 canReach (Lnet/minecraft/class_1308;Lnet/minecraft/class_243;Lnet/minecraft/class_243;)Z
|
||||
ARG 1 entity
|
||||
ARG 2 startPos
|
||||
ARG 3 endPos
|
||||
METHOD method_35081 (Lnet/minecraft/class_2338;DLnet/minecraft/class_243;)V
|
||||
ARG 4 vel
|
||||
CLASS class_6031 Target
|
||||
FIELD field_30147 pos Lnet/minecraft/class_2338;
|
||||
FIELD field_30148 ramVelocity Lnet/minecraft/class_243;
|
||||
METHOD <init> (Lnet/minecraft/class_2338;Lnet/minecraft/class_243;I)V
|
||||
ARG 1 pos
|
||||
ARG 2 ramVelocity
|
||||
ARG 3 weight
|
||||
METHOD method_35084 getPos ()Lnet/minecraft/class_2338;
|
||||
METHOD method_35085 getRammingVelocity ()Lnet/minecraft/class_243;
|
|
@ -67,9 +67,14 @@ CLASS net/minecraft/class_4215 net/minecraft/entity/ai/brain/task/LookTargetUtil
|
|||
METHOD method_25940 isTargetWithinAttackRange (Lnet/minecraft/class_1308;Lnet/minecraft/class_1309;I)Z
|
||||
ARG 0 source
|
||||
ARG 1 target
|
||||
ARG 2 rangedWeaponReachReduction
|
||||
METHOD method_25941 isTargetWithinMeleeRange (Lnet/minecraft/class_1308;Lnet/minecraft/class_1309;)Z
|
||||
ARG 0 source
|
||||
ARG 1 target
|
||||
METHOD method_29248 streamSeenVillagers (Lnet/minecraft/class_1646;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
|
||||
ARG 0 villager
|
||||
ARG 1 filter
|
||||
METHOD method_33193 find (Lnet/minecraft/class_1314;II)Lnet/minecraft/class_243;
|
||||
ARG 0 entity
|
||||
ARG 1 horizontalRange
|
||||
ARG 2 verticalRange
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
CLASS net/minecraft/class_4124 net/minecraft/entity/ai/brain/task/MeetVillagerTask
|
||||
FIELD field_30176 WALK_SPEED F
|
||||
|
|
|
@ -1,5 +1,27 @@
|
|||
CLASS net/minecraft/class_4107 net/minecraft/entity/ai/brain/task/OpenDoorsTask
|
||||
FIELD field_26387 pathNode Lnet/minecraft/class_9;
|
||||
FIELD field_26388 ticks I
|
||||
FIELD field_30125 RUN_TIME I
|
||||
FIELD field_30126 PATHING_DISTANCE D
|
||||
FIELD field_30127 REACH_DISTANCE D
|
||||
METHOD method_30760 pathToDoor (Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;Lnet/minecraft/class_9;Lnet/minecraft/class_9;)V
|
||||
ARG 0 world
|
||||
ARG 1 entity
|
||||
ARG 2 lastNode
|
||||
ARG 3 currentNode
|
||||
METHOD method_30761 hasOtherMobReachedDoor (Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;Lnet/minecraft/class_2338;)Z
|
||||
ARG 0 world
|
||||
ARG 1 entity
|
||||
ARG 2 pos
|
||||
METHOD method_30762 cannotReachDoor (Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;Lnet/minecraft/class_4208;)Z
|
||||
ARG 0 world
|
||||
ARG 1 entity
|
||||
ARG 2 doorPos
|
||||
METHOD method_30766 hasReached (Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;Lnet/minecraft/class_2338;)Z
|
||||
ARG 0 world
|
||||
ARG 1 entity
|
||||
ARG 2 pos
|
||||
METHOD method_30767 rememberToCloseDoor (Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;Lnet/minecraft/class_2338;)V
|
||||
ARG 1 world
|
||||
ARG 2 entity
|
||||
ARG 3 pos
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
CLASS net/minecraft/class_4218 net/minecraft/entity/ai/brain/task/PlayWithVillagerBabiesTask
|
||||
FIELD field_30151 HORIZONTAL_RANGE I
|
||||
FIELD field_30152 VERTICAL_RANGE I
|
||||
FIELD field_30153 WALK_SPEED F
|
||||
FIELD field_30154 PLAYING_WALK_SPEED F
|
||||
FIELD field_30155 MAX_BABY_INTERACTION_COUNT I
|
||||
FIELD field_30156 RUN_CHANCE I
|
||||
METHOD method_19576 getInteractionTarget (Lnet/minecraft/class_1309;)Lnet/minecraft/class_1309;
|
||||
ARG 1 entity
|
||||
METHOD method_19577 isInteractionTargetOf (Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
CLASS net/minecraft/class_4822 net/minecraft/entity/ai/brain/task/RangedApproachTask
|
||||
FIELD field_22323 speed Ljava/util/function/Function;
|
||||
FIELD field_30166 WEAPON_REACH_REDUCTION I
|
||||
METHOD <init> (F)V
|
||||
ARG 1 speed
|
||||
METHOD <init> (Ljava/util/function/Function;)V
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
CLASS net/minecraft/class_4251 net/minecraft/entity/ai/brain/task/RingBellTask
|
||||
FIELD field_30159 MAX_DISTANCE I
|
||||
FIELD field_30160 RUN_CHANCE F
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
CLASS net/minecraft/class_4123 net/minecraft/entity/ai/brain/task/SleepTask
|
||||
FIELD field_18848 startTime J
|
||||
FIELD field_30175 RUN_TIME I
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
CLASS net/minecraft/class_4817 net/minecraft/entity/ai/brain/task/StartRidingTask
|
||||
FIELD field_23132 speed F
|
||||
FIELD field_30149 COMPLETION_RANGE I
|
||||
METHOD <init> (F)V
|
||||
ARG 1 speed
|
||||
METHOD method_24591 isRideTargetClose (Lnet/minecraft/class_1309;)Z
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
CLASS net/minecraft/class_4100 net/minecraft/entity/ai/brain/task/StopPanickingTask
|
||||
FIELD field_30188 MAX_DISTANCE I
|
||||
METHOD method_19557 wasHurtByNearbyEntity (Lnet/minecraft/class_1646;)Z
|
||||
ARG 0 entity
|
||||
|
|
|
@ -2,9 +2,13 @@ CLASS net/minecraft/class_4818 net/minecraft/entity/ai/brain/task/StrollTask
|
|||
FIELD field_22310 speed F
|
||||
FIELD field_22311 horizontalRadius I
|
||||
FIELD field_22312 verticalRadius I
|
||||
FIELD field_30157 MIN_RUN_TIME I
|
||||
FIELD field_30158 MAX_RUN_TIME I
|
||||
METHOD <init> (F)V
|
||||
ARG 1 speed
|
||||
METHOD <init> (FII)V
|
||||
ARG 1 speed
|
||||
ARG 2 horizontalRadius
|
||||
ARG 3 verticalRadius
|
||||
METHOD method_33201 findWalkTarget (Lnet/minecraft/class_1314;)Lnet/minecraft/class_243;
|
||||
ARG 1 entity
|
||||
|
|
|
@ -4,6 +4,7 @@ CLASS net/minecraft/class_4097 net/minecraft/entity/ai/brain/task/Task
|
|||
FIELD field_18335 minRunTime I
|
||||
FIELD field_18336 maxRunTime I
|
||||
FIELD field_19291 requiredMemoryStates Ljava/util/Map;
|
||||
FIELD field_30112 DEFAULT_RUN_TIME I
|
||||
METHOD <init> (Ljava/util/Map;)V
|
||||
ARG 1 requiredMemoryState
|
||||
METHOD <init> (Ljava/util/Map;I)V
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
CLASS net/minecraft/class_5754 net/minecraft/entity/ai/brain/task/TemptTask
|
||||
FIELD field_28316 speed Ljava/util/function/Function;
|
||||
FIELD field_30115 TEMPTATION_COOLDOWN_TICKS I
|
||||
METHOD <init> (Ljava/util/function/Function;)V
|
||||
ARG 1 speed
|
||||
METHOD method_33196 getSpeed (Lnet/minecraft/class_1314;)F
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
CLASS net/minecraft/class_5753 net/minecraft/entity/ai/brain/task/TemptationCooldownTask
|
||||
FIELD field_30113 moduleType Lnet/minecraft/class_4140;
|
||||
METHOD <init> (Lnet/minecraft/class_4140;)V
|
||||
ARG 1 moduleType
|
||||
METHOD method_33194 getTemptationCooldownTicks (Lnet/minecraft/class_1309;)Ljava/util/Optional;
|
||||
ARG 1 entity
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
CLASS net/minecraft/class_4111 net/minecraft/entity/ai/brain/task/VillagerBreedTask
|
||||
FIELD field_18368 breedEndTime J
|
||||
FIELD field_30190 MAX_DISTANCE I
|
||||
FIELD field_30191 APPROACH_SPEED F
|
||||
METHOD method_18970 createChild (Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;Lnet/minecraft/class_1646;)Ljava/util/Optional;
|
||||
ARG 1 world
|
||||
ARG 2 parent
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
CLASS net/minecraft/class_4133 net/minecraft/entity/ai/brain/task/VillagerWorkTask
|
||||
FIELD field_19426 lastCheckedTime J
|
||||
FIELD field_30192 RUN_TIME I
|
||||
FIELD field_30193 MAX_DISTANCE D
|
||||
METHOD method_26335 performAdditionalWork (Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)V
|
||||
ARG 1 world
|
||||
ARG 2 entity
|
||||
|
|
|
@ -3,5 +3,11 @@ CLASS net/minecraft/class_4290 net/minecraft/entity/ai/brain/task/WalkHomeTask
|
|||
FIELD field_20290 speed F
|
||||
FIELD field_20291 positionToExpiry Lit/unimi/dsi/fastutil/longs/Long2LongMap;
|
||||
FIELD field_20292 tries I
|
||||
FIELD field_30161 POI_EXPIRY I
|
||||
COMMENT Represents the number of ticks ({@value}) that this task will
|
||||
COMMENT remember a point of interest after starting to move towards it.
|
||||
FIELD field_30162 MAX_TRIES I
|
||||
FIELD field_30163 RUN_TIME I
|
||||
FIELD field_30164 MAX_DISTANCE I
|
||||
METHOD <init> (F)V
|
||||
ARG 1 speed
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
CLASS net/minecraft/class_6028 net/minecraft/entity/ai/brain/task/WalkTask
|
||||
FIELD field_30107 MIN_RUN_TIME I
|
||||
FIELD field_30108 MAX_RUN_TIME I
|
||||
FIELD field_30109 HORIZONTAL_RANGE I
|
||||
FIELD field_30110 VERTICAL_RANGE I
|
||||
FIELD field_30111 speed F
|
||||
METHOD <init> (F)V
|
||||
ARG 1 speed
|
|
@ -1,4 +1,5 @@
|
|||
CLASS net/minecraft/class_5325 net/minecraft/entity/ai/brain/task/WalkTowardJobSiteTask
|
||||
FIELD field_25155 speed F
|
||||
FIELD field_30122 RUN_TIME I
|
||||
METHOD <init> (F)V
|
||||
ARG 1 speed
|
||||
|
|
|
@ -3,6 +3,10 @@ CLASS net/minecraft/class_4112 net/minecraft/entity/ai/brain/task/WanderAroundTa
|
|||
FIELD field_18370 lookTargetPos Lnet/minecraft/class_2338;
|
||||
FIELD field_18371 speed F
|
||||
FIELD field_18964 pathUpdateCountdownTicks I
|
||||
FIELD field_30150 MAX_UPDATE_COUNTDOWN I
|
||||
METHOD <init> (II)V
|
||||
ARG 1 minRunTime
|
||||
ARG 2 maxRunTime
|
||||
METHOD method_18977 hasFinishedPath (Lnet/minecraft/class_1308;Lnet/minecraft/class_4142;J)Z
|
||||
ARG 1 entity
|
||||
ARG 3 time
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
CLASS net/minecraft/class_1332 net/minecraft/entity/ai/control/AquaticLookControl
|
||||
FIELD field_30200 ADDED_PITCH I
|
||||
FIELD field_30201 ADDED_YAW I
|
||||
FIELD field_6357 maxYawDifference I
|
||||
METHOD <init> (Lnet/minecraft/class_1308;I)V
|
||||
ARG 1 entity
|
||||
|
|
|
@ -1,3 +1,13 @@
|
|||
CLASS net/minecraft/class_5757 net/minecraft/entity/ai/control/AquaticMoveControl
|
||||
FIELD field_28319 pitchChange I
|
||||
FIELD field_28320 yawChange I
|
||||
FIELD field_28321 speedInWater F
|
||||
FIELD field_28322 speedInAir F
|
||||
FIELD field_28323 buoyant Z
|
||||
METHOD <init> (Lnet/minecraft/class_1308;IIFFZ)V
|
||||
ARG 1 entity
|
||||
ARG 2 pitchChange
|
||||
ARG 3 yawChange
|
||||
ARG 4 speedInWater
|
||||
ARG 5 speedInAir
|
||||
ARG 6 buoyant
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
CLASS net/minecraft/class_1330 net/minecraft/entity/ai/control/BodyControl
|
||||
FIELD field_30194 MAX_HEAD_YAW I
|
||||
FIELD field_30195 MAX_ACTIVE_TICKS I
|
||||
FIELD field_30196 ROTATION_INCREMENTS I
|
||||
FIELD field_6354 lastHeadYaw F
|
||||
FIELD field_6355 activeTicks I
|
||||
FIELD field_6356 entity Lnet/minecraft/class_1308;
|
||||
|
|
|
@ -12,7 +12,7 @@ CLASS net/minecraft/class_1335 net/minecraft/entity/ai/control/MoveControl
|
|||
METHOD method_6235 getTargetY ()D
|
||||
METHOD method_6236 getTargetX ()D
|
||||
METHOD method_6237 getTargetZ ()D
|
||||
METHOD method_6238 changeAngle (FFF)F
|
||||
METHOD method_6238 wrapDegrees (FFF)F
|
||||
ARG 1 from
|
||||
ARG 2 to
|
||||
ARG 3 max
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
CLASS net/minecraft/class_1339 net/minecraft/entity/ai/goal/BreakDoorGoal
|
||||
FIELD field_16596 maxProgress I
|
||||
FIELD field_19003 difficultySufficientPredicate Ljava/util/function/Predicate;
|
||||
FIELD field_30202 MIN_MAX_PROGRESS I
|
||||
FIELD field_6397 prevBreakProgress I
|
||||
FIELD field_6398 breakProgress I
|
||||
METHOD <init> (Lnet/minecraft/class_1308;ILjava/util/function/Predicate;)V
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
CLASS net/minecraft/class_1383 net/minecraft/entity/ai/goal/CrossbowAttackGoal
|
||||
FIELD field_16528 stage Lnet/minecraft/class_1383$class_3744;
|
||||
FIELD field_16529 chargedTicksLeft I
|
||||
FIELD field_25696 COOLDOWN_RANGE Lnet/minecraft/class_6019;
|
||||
FIELD field_25697 cooldown I
|
||||
FIELD field_6590 speed D
|
||||
FIELD field_6591 squaredRange F
|
||||
FIELD field_6592 seeingTargetTicker I
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
CLASS net/minecraft/class_1345 net/minecraft/entity/ai/goal/EatGrassGoal
|
||||
FIELD field_30203 MAX_TIMER I
|
||||
FIELD field_6421 world Lnet/minecraft/class_1937;
|
||||
FIELD field_6422 timer I
|
||||
FIELD field_6423 GRASS_PREDICATE Ljava/util/function/Predicate;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
CLASS net/minecraft/class_1349 net/minecraft/entity/ai/goal/FollowGroupLeaderGoal
|
||||
FIELD field_30204 MIN_SEARCH_DELAY I
|
||||
FIELD field_6439 checkSurroundingDelay I
|
||||
FIELD field_6440 moveDelay I
|
||||
FIELD field_6441 fish Lnet/minecraft/class_1425;
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
CLASS net/minecraft/class_1350 net/minecraft/entity/ai/goal/FollowOwnerGoal
|
||||
FIELD field_21078 leavesAllowed Z
|
||||
FIELD field_30206 HORIZONTAL_RANGE I
|
||||
FIELD field_30207 HORIZONTAL_VARIATION I
|
||||
FIELD field_30208 VERTICAL_VARIATION I
|
||||
FIELD field_6442 speed D
|
||||
FIELD field_6443 updateCountdownTicks I
|
||||
FIELD field_6444 owner Lnet/minecraft/class_1309;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
CLASS net/minecraft/class_1372 net/minecraft/entity/ai/goal/IronGolemLookGoal
|
||||
FIELD field_18089 CLOSE_VILLAGER_PREDICATE Lnet/minecraft/class_4051;
|
||||
FIELD field_30224 MAX_LOOK_COOLDOWN I
|
||||
FIELD field_6542 golem Lnet/minecraft/class_1439;
|
||||
FIELD field_6543 lookCountdown I
|
||||
FIELD field_6544 targetVillager Lnet/minecraft/class_1646;
|
||||
|
|
|
@ -1,3 +1,13 @@
|
|||
CLASS net/minecraft/class_5274 net/minecraft/entity/ai/goal/IronGolemWanderAroundGoal
|
||||
FIELD field_30213 CHUNK_RANGE I
|
||||
FIELD field_30214 ENTITY_COLLISION_RANGE I
|
||||
FIELD field_30215 HORIZONTAL_RANGE I
|
||||
FIELD field_30216 VERTICAL_RANGE I
|
||||
METHOD method_27922 canVillagerSummonGolem (Lnet/minecraft/class_1646;)Z
|
||||
ARG 1 villager
|
||||
METHOD method_27923 findRandomPosInChunk (Lnet/minecraft/class_4076;)Lnet/minecraft/class_2338;
|
||||
ARG 1 pos
|
||||
METHOD method_27925 findRandomInRange ()Lnet/minecraft/class_243;
|
||||
METHOD method_27926 findVillagerPos ()Lnet/minecraft/class_243;
|
||||
METHOD method_27927 findRandomBlockPos ()Lnet/minecraft/class_243;
|
||||
METHOD method_27928 findRandomChunkPos ()Lnet/minecraft/class_4076;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
CLASS net/minecraft/class_1366 net/minecraft/entity/ai/goal/MeleeAttackGoal
|
||||
FIELD field_19200 lastUpdateTime J
|
||||
FIELD field_24667 cooldown I
|
||||
FIELD field_30218 MAX_ATTACK_TIME J
|
||||
FIELD field_6500 speed D
|
||||
FIELD field_6501 updateCountdownTicks I
|
||||
FIELD field_6502 pauseWhenMobIdle Z
|
||||
|
@ -14,7 +15,7 @@ CLASS net/minecraft/class_1366 net/minecraft/entity/ai/goal/MeleeAttackGoal
|
|||
ARG 1 mob
|
||||
ARG 2 speed
|
||||
ARG 4 pauseWhenMobIdle
|
||||
METHOD method_28346 setMaxCooldown ()V
|
||||
METHOD method_28346 resetCooldown ()V
|
||||
METHOD method_28347 isCooledDown ()Z
|
||||
METHOD method_28348 getCooldown ()I
|
||||
METHOD method_28349 getMaxCooldown ()I
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
CLASS net/minecraft/class_3759 net/minecraft/entity/ai/goal/MoveToRaidCenterGoal
|
||||
FIELD field_16597 actor Lnet/minecraft/class_3763;
|
||||
FIELD field_30225 WALK_SPEED F
|
||||
METHOD <init> (Lnet/minecraft/class_3763;)V
|
||||
ARG 1 actor
|
||||
METHOD method_16465 includeFreeRaiders (Lnet/minecraft/class_3765;)V
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
CLASS net/minecraft/class_1367 net/minecraft/entity/ai/goal/MoveToTargetPosGoal
|
||||
FIELD field_30221 MIN_WAITING_TIME I
|
||||
FIELD field_30222 MAX_TRYING_TIME I
|
||||
FIELD field_30223 MIN_INTERVAL I
|
||||
FIELD field_6510 range I
|
||||
FIELD field_6511 safeWaitingTime I
|
||||
FIELD field_6512 targetPos Lnet/minecraft/class_2338;
|
||||
|
|
|
@ -5,6 +5,8 @@ CLASS net/minecraft/class_4135 net/minecraft/entity/ai/goal/PrioritizedGoal
|
|||
METHOD <init> (ILnet/minecraft/class_1352;)V
|
||||
ARG 1 priority
|
||||
ARG 2 goal
|
||||
METHOD equals (Ljava/lang/Object;)Z
|
||||
ARG 1 o
|
||||
METHOD method_19055 canBeReplacedBy (Lnet/minecraft/class_4135;)Z
|
||||
ARG 1 goal
|
||||
METHOD method_19056 isRunning ()Z
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
CLASS net/minecraft/class_3909 net/minecraft/entity/ai/goal/RaidGoal
|
||||
FIELD field_17282 cooldown I
|
||||
FIELD field_30231 MAX_COOLDOWN I
|
||||
METHOD <init> (Lnet/minecraft/class_3763;Ljava/lang/Class;ZLjava/util/function/Predicate;)V
|
||||
ARG 1 raider
|
||||
ARG 2 targetEntityClass
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
CLASS net/minecraft/class_1399 net/minecraft/entity/ai/goal/RevengeGoal
|
||||
FIELD field_18091 VALID_AVOIDABLES_PREDICATE Lnet/minecraft/class_4051;
|
||||
FIELD field_30230 BOX_VERTICAL_EXPANSION I
|
||||
FIELD field_6637 noRevengeTypes [Ljava/lang/Class;
|
||||
FIELD field_6638 lastAttackedTime I
|
||||
FIELD field_6639 groupRevenge Z
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
CLASS net/minecraft/class_1382 net/minecraft/entity/ai/goal/StepAndDestroyBlockGoal
|
||||
FIELD field_30227 MAX_COOLDOWN I
|
||||
FIELD field_6587 targetBlock Lnet/minecraft/class_2248;
|
||||
FIELD field_6588 counter I
|
||||
FIELD field_6589 stepAndDestroyMob Lnet/minecraft/class_1308;
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
CLASS net/minecraft/class_1405 net/minecraft/entity/ai/goal/TrackTargetGoal
|
||||
FIELD field_30233 UNSET I
|
||||
FIELD field_30234 CAN_TRACK I
|
||||
FIELD field_30235 CANNOT_TRACK I
|
||||
FIELD field_6657 maxTimeWithoutVisibility I
|
||||
FIELD field_6658 checkVisibility Z
|
||||
FIELD field_6659 timeWithoutVisibility I
|
||||
|
|
|
@ -2,6 +2,7 @@ CLASS net/minecraft/class_5398 net/minecraft/entity/ai/goal/UniversalAngerGoal
|
|||
FIELD field_25604 mob Lnet/minecraft/class_1308;
|
||||
FIELD field_25605 triggerOthers Z
|
||||
FIELD field_25606 lastAttackedTime I
|
||||
FIELD field_30232 BOX_VERTICAL_EXPANSION I
|
||||
METHOD <init> (Lnet/minecraft/class_1308;Z)V
|
||||
ARG 1 mob
|
||||
ARG 2 triggerOthers
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
CLASS net/minecraft/class_1394 net/minecraft/entity/ai/goal/WanderAroundFarGoal
|
||||
FIELD field_30229 CHANCE F
|
||||
FIELD field_6626 probability F
|
||||
METHOD <init> (Lnet/minecraft/class_1314;DF)V
|
||||
ARG 1 mob
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
CLASS net/minecraft/class_1379 net/minecraft/entity/ai/goal/WanderAroundGoal
|
||||
FIELD field_24463 canDespawn Z
|
||||
FIELD field_30226 DEFAULT_CHANCE I
|
||||
FIELD field_6561 targetZ D
|
||||
FIELD field_6562 targetY D
|
||||
FIELD field_6563 targetX D
|
||||
|
@ -17,6 +19,7 @@ CLASS net/minecraft/class_1379 net/minecraft/entity/ai/goal/WanderAroundGoal
|
|||
ARG 1 entity
|
||||
ARG 2 speed
|
||||
ARG 4 chance
|
||||
ARG 5 canDespawn
|
||||
METHOD method_6302 getWanderTarget ()Lnet/minecraft/class_243;
|
||||
METHOD method_6303 setChance (I)V
|
||||
ARG 1 chance
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
CLASS net/minecraft/class_4291 net/minecraft/entity/ai/goal/WanderAroundPointOfInterestGoal
|
||||
FIELD field_30219 HORIZONTAL_RANGE I
|
||||
FIELD field_30220 VERTICAL_RANGE I
|
||||
METHOD <init> (Lnet/minecraft/class_1314;DZ)V
|
||||
ARG 1 entity
|
||||
ARG 2 speed
|
||||
ARG 4 canDespawn
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
CLASS net/minecraft/class_15 net/minecraft/entity/ai/pathing/AmphibiousPathNodeMaker
|
||||
FIELD field_28358 penaliseDeepWater Z
|
||||
FIELD field_64 oldWaterBorderPenalty F
|
||||
FIELD field_65 oldWalkablePenalty F
|
||||
METHOD <init> (Z)V
|
||||
ARG 1 penaliseDeepWater
|
||||
METHOD method_65 getPathNode (IIIID)Lnet/minecraft/class_9;
|
||||
ARG 1 x
|
||||
ARG 2 y
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
CLASS net/minecraft/class_1407 net/minecraft/entity/ai/pathing/BirdNavigation
|
||||
METHOD method_35128 canEnterOpenDoors ()Z
|
||||
METHOD method_6331 setCanEnterOpenDoors (Z)V
|
||||
ARG 1 canEnterOpenDoors
|
||||
METHOD method_6332 setCanPathThroughDoors (Z)V
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
CLASS net/minecraft/class_6 net/minecraft/entity/ai/pathing/BirdPathNodeMaker
|
||||
FIELD field_27341 pathNodes Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
|
||||
METHOD method_22877 isPassable (Lnet/minecraft/class_9;)Z
|
||||
ARG 1 node
|
||||
METHOD method_22878 unvisited (Lnet/minecraft/class_9;)Z
|
||||
ARG 1 node
|
||||
METHOD method_31932 getNodeType (III)Lnet/minecraft/class_7;
|
||||
ARG 1 x
|
||||
ARG 2 y
|
||||
ARG 3 z
|
||||
METHOD method_9 getNodeType (IIIJ)Lnet/minecraft/class_7;
|
||||
|
|
|
@ -3,6 +3,7 @@ CLASS net/minecraft/class_1408 net/minecraft/entity/ai/pathing/EntityNavigation
|
|||
FIELD field_20294 currentDistance I
|
||||
FIELD field_21642 rangeMultiplier F
|
||||
FIELD field_26820 nearPathStartPos Z
|
||||
FIELD field_30247 RECALCULATE_COOLDOWN I
|
||||
FIELD field_6668 speed D
|
||||
FIELD field_6669 lastActiveTickMs J
|
||||
FIELD field_6670 currentNodeMs J
|
||||
|
@ -29,7 +30,9 @@ CLASS net/minecraft/class_1408 net/minecraft/entity/ai/pathing/EntityNavigation
|
|||
METHOD method_18416 findPathToAny (Ljava/util/Set;IZIF)Lnet/minecraft/class_11;
|
||||
ARG 1 positions
|
||||
ARG 2 range
|
||||
ARG 3 useHeadPos
|
||||
ARG 4 distance
|
||||
ARG 5 followRange
|
||||
METHOD method_21643 findPathToAny (Ljava/util/stream/Stream;I)Lnet/minecraft/class_11;
|
||||
ARG 1 positions
|
||||
ARG 2 distance
|
||||
|
@ -38,8 +41,20 @@ CLASS net/minecraft/class_1408 net/minecraft/entity/ai/pathing/EntityNavigation
|
|||
METHOD method_23965 resetRangeMultiplier ()V
|
||||
METHOD method_23966 isFollowingPath ()Z
|
||||
METHOD method_26085 resetNode ()V
|
||||
METHOD method_29934 findPathTo (Ljava/util/Set;I)Lnet/minecraft/class_11;
|
||||
ARG 1 positions
|
||||
ARG 2 distance
|
||||
METHOD method_31266 resetNodeAndStop ()V
|
||||
METHOD method_31267 isNearPathStartPos ()Z
|
||||
METHOD method_35141 findPathTo (Lnet/minecraft/class_2338;II)Lnet/minecraft/class_11;
|
||||
ARG 1 target
|
||||
ARG 2 minDistance
|
||||
ARG 3 maxDistance
|
||||
METHOD method_35142 findPathTo (Ljava/util/Set;IZI)Lnet/minecraft/class_11;
|
||||
ARG 1 positions
|
||||
ARG 2 range
|
||||
ARG 3 useHeadPos
|
||||
ARG 4 distance
|
||||
METHOD method_35143 getNodeReachProximity ()F
|
||||
METHOD method_6333 isValidPosition (Lnet/minecraft/class_2338;)Z
|
||||
ARG 1 pos
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
CLASS net/minecraft/class_14 net/minecraft/entity/ai/pathing/LandPathNodeMaker
|
||||
FIELD field_25190 nodeTypes Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
|
||||
FIELD field_25191 collidedBoxes Lit/unimi/dsi/fastutil/objects/Object2BooleanMap;
|
||||
FIELD field_31809 Y_OFFSET D
|
||||
FIELD field_63 waterPathNodeTypeWeight F
|
||||
METHOD method_20536 isValidDiagonalSuccessor (Lnet/minecraft/class_9;Lnet/minecraft/class_9;)Z
|
||||
METHOD method_20536 isValidAdjacentSuccessor (Lnet/minecraft/class_9;Lnet/minecraft/class_9;)Z
|
||||
ARG 1 node
|
||||
ARG 2 successor1
|
||||
METHOD method_23476 getLandNodeType (Lnet/minecraft/class_1922;Lnet/minecraft/class_2338$class_2339;)Lnet/minecraft/class_7;
|
||||
|
@ -8,11 +11,22 @@ CLASS net/minecraft/class_14 net/minecraft/entity/ai/pathing/LandPathNodeMaker
|
|||
ARG 1 pos
|
||||
METHOD method_27138 inflictsFireDamage (Lnet/minecraft/class_2680;)Z
|
||||
ARG 0 state
|
||||
METHOD method_27139 canPathThrough (Lnet/minecraft/class_2338;)Z
|
||||
ARG 1 pos
|
||||
METHOD method_29303 getNodeType (Lnet/minecraft/class_1308;III)Lnet/minecraft/class_7;
|
||||
ARG 1 entity
|
||||
ARG 2 x
|
||||
ARG 3 y
|
||||
ARG 4 z
|
||||
METHOD method_29304 checkBoxCollision (Lnet/minecraft/class_238;)Z
|
||||
ARG 1 box
|
||||
METHOD method_29578 isBlocked (Lnet/minecraft/class_9;)Z
|
||||
ARG 1 node
|
||||
METHOD method_29579 isValidDiagonalSuccessor (Lnet/minecraft/class_9;Lnet/minecraft/class_9;Lnet/minecraft/class_9;Lnet/minecraft/class_9;)Z
|
||||
ARG 1 xNode
|
||||
ARG 2 zNode
|
||||
ARG 3 xDiagNode
|
||||
ARG 4 zDiagNode
|
||||
METHOD method_58 getCommonNodeType (Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_7;
|
||||
ARG 0 world
|
||||
ARG 1 pos
|
||||
|
@ -36,6 +50,7 @@ CLASS net/minecraft/class_14 net/minecraft/entity/ai/pathing/LandPathNodeMaker
|
|||
ARG 4 maxYStep
|
||||
ARG 5 prevFeetY
|
||||
ARG 7 direction
|
||||
ARG 8 nodeType
|
||||
METHOD method_63 getNodeType (Lnet/minecraft/class_1308;Lnet/minecraft/class_2338;)Lnet/minecraft/class_7;
|
||||
ARG 1 entity
|
||||
ARG 2 pos
|
||||
|
|
|
@ -1,16 +1,23 @@
|
|||
CLASS net/minecraft/class_11 net/minecraft/entity/ai/pathing/Path
|
||||
FIELD field_20300 debugTargetNodes Ljava/util/Set;
|
||||
FIELD field_20301 target Lnet/minecraft/class_2338;
|
||||
FIELD field_20302 manhattanDistanceFromTarget F
|
||||
FIELD field_20303 reachesTarget Z
|
||||
FIELD field_52 nodes Ljava/util/List;
|
||||
FIELD field_54 currentNodeIndex I
|
||||
FIELD field_55 debugSecondNodes [Lnet/minecraft/class_9;
|
||||
FIELD field_57 debugNodes [Lnet/minecraft/class_9;
|
||||
METHOD <init> (Ljava/util/List;Lnet/minecraft/class_2338;Z)V
|
||||
ARG 1 nodes
|
||||
ARG 2 target
|
||||
ARG 3 reachesTarget
|
||||
METHOD method_21655 reachesTarget ()Z
|
||||
METHOD method_21656 getManhattanDistanceFromTarget ()F
|
||||
METHOD method_22880 getDebugNodes ()[Lnet/minecraft/class_9;
|
||||
METHOD method_22881 getDebugSecondNodes ()[Lnet/minecraft/class_9;
|
||||
METHOD method_29301 getCurrentNode ()Lnet/minecraft/class_9;
|
||||
METHOD method_30849 isStart ()Z
|
||||
METHOD method_30850 getLastNode ()Lnet/minecraft/class_9;
|
||||
METHOD method_31031 getNodePos (I)Lnet/minecraft/class_2338;
|
||||
ARG 1 index
|
||||
METHOD method_31032 getCurrentNodePos ()Lnet/minecraft/class_2338;
|
||||
|
@ -19,6 +26,12 @@ CLASS net/minecraft/class_11 net/minecraft/entity/ai/pathing/Path
|
|||
ARG 2 node
|
||||
METHOD method_34 fromBuffer (Lnet/minecraft/class_2540;)Lnet/minecraft/class_11;
|
||||
ARG 0 buffer
|
||||
METHOD method_35498 toBuffer (Lnet/minecraft/class_2540;)V
|
||||
ARG 1 buffer
|
||||
METHOD method_35500 setDebugInfo ([Lnet/minecraft/class_9;[Lnet/minecraft/class_9;Ljava/util/Set;)V
|
||||
ARG 1 debugNodes
|
||||
ARG 2 debugSecondNodes
|
||||
ARG 3 debugTargetNodes
|
||||
METHOD method_36 setLength (I)V
|
||||
ARG 1 length
|
||||
METHOD method_38 getLength ()I
|
||||
|
@ -26,6 +39,7 @@ CLASS net/minecraft/class_11 net/minecraft/entity/ai/pathing/Path
|
|||
METHOD method_40 getNode (I)Lnet/minecraft/class_9;
|
||||
ARG 1 index
|
||||
METHOD method_41 equalsPath (Lnet/minecraft/class_11;)Z
|
||||
ARG 1 o
|
||||
METHOD method_42 setCurrentNodeIndex (I)V
|
||||
ARG 1 index
|
||||
METHOD method_44 next ()V
|
||||
|
|
|
@ -6,7 +6,11 @@ CLASS net/minecraft/class_5 net/minecraft/entity/ai/pathing/PathMinHeap
|
|||
METHOD method_3 setNodeWeight (Lnet/minecraft/class_9;F)V
|
||||
ARG 1 node
|
||||
ARG 2 weight
|
||||
METHOD method_35490 getFirstNode ()Lnet/minecraft/class_9;
|
||||
METHOD method_35490 getStart ()Lnet/minecraft/class_9;
|
||||
METHOD method_35491 popNode (Lnet/minecraft/class_9;)V
|
||||
ARG 1 node
|
||||
METHOD method_35492 getCount ()I
|
||||
METHOD method_35493 getNodes ()[Lnet/minecraft/class_9;
|
||||
METHOD method_4 shiftUp (I)V
|
||||
ARG 1 index
|
||||
METHOD method_5 clear ()V
|
||||
|
|
|
@ -22,7 +22,7 @@ CLASS net/minecraft/class_9 net/minecraft/entity/ai/pathing/PathNode
|
|||
ARG 1 node
|
||||
METHOD method_21654 getManhattanDistance (Lnet/minecraft/class_2338;)F
|
||||
ARG 1 pos
|
||||
METHOD method_22879 getPos ()Lnet/minecraft/class_2338;
|
||||
METHOD method_22879 getBlockPos ()Lnet/minecraft/class_2338;
|
||||
METHOD method_26 copyWithNewPosition (III)Lnet/minecraft/class_9;
|
||||
ARG 1 x
|
||||
ARG 2 y
|
||||
|
@ -40,8 +40,8 @@ CLASS net/minecraft/class_9 net/minecraft/entity/ai/pathing/PathNode
|
|||
ARG 1 node
|
||||
METHOD method_35494 getDistance (Lnet/minecraft/class_2338;)F
|
||||
ARG 1 pos
|
||||
METHOD method_35495 writeBuf (Lnet/minecraft/class_2540;)V
|
||||
ARG 1 buf
|
||||
METHOD method_35496 getVec3d ()Lnet/minecraft/class_243;
|
||||
METHOD method_35495 toBuffer (Lnet/minecraft/class_2540;)V
|
||||
ARG 1 buffer
|
||||
METHOD method_35496 getPos ()Lnet/minecraft/class_243;
|
||||
METHOD method_35497 getSquaredDistance (Lnet/minecraft/class_2338;)F
|
||||
ARG 1 pos
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
CLASS net/minecraft/class_13 net/minecraft/entity/ai/pathing/PathNodeNavigator
|
||||
FIELD field_18708 range I
|
||||
FIELD field_31807 TARGET_DISTANCE_MULTIPLIER F
|
||||
FIELD field_60 successors [Lnet/minecraft/class_9;
|
||||
FIELD field_61 pathNodeMaker Lnet/minecraft/class_8;
|
||||
FIELD field_62 minHeap Lnet/minecraft/class_5;
|
||||
|
|
|
@ -11,4 +11,4 @@ CLASS net/minecraft/class_4459 net/minecraft/entity/ai/pathing/TargetPathNode
|
|||
ARG 0 buffer
|
||||
METHOD method_21664 getNearestNode ()Lnet/minecraft/class_9;
|
||||
METHOD method_21665 markReached ()V
|
||||
METHOD method_35501 hasReached ()Z
|
||||
METHOD method_35501 isReached ()Z
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
CLASS net/minecraft/class_6054 net/minecraft/entity/passive/GoatBrain
|
||||
FIELD field_30405 BREEDING_WALK_SPEED F
|
||||
FIELD field_30406 FOLLOWING_TARGET_WALK_SPEED F
|
||||
FIELD field_30407 WALKING_SPEED Lnet/minecraft/class_6019;
|
||||
FIELD field_30408 TEMPTED_WALK_SPEED F
|
||||
FIELD field_30409 FOLLOW_ADULT_WALK_SPEED F
|
||||
FIELD field_30410 NORMAL_WALK_SPEED F
|
||||
FIELD field_30411 LONG_JUMP_COOLDOWN_RANGE Lnet/minecraft/class_6019;
|
||||
METHOD method_35181 getTemptItems ()Lnet/minecraft/class_1856;
|
||||
METHOD method_35183 create (Lnet/minecraft/class_4095;)Lnet/minecraft/class_4095;
|
||||
|
|
Loading…
Reference in New Issue