mirror of https://github.com/FabricMC/yarn.git
Update PiglinBrain to have more accurate names (#1513)
* Update PiglinBrain to have more accurate names * change swapItemToOffHand -> swapItemWithOffHand
This commit is contained in:
parent
9937826d46
commit
153ef3a58b
|
@ -22,6 +22,7 @@ CLASS net/minecraft/class_4838 net/minecraft/entity/mob/PiglinBrain
|
|||
ARG 0 piglin
|
||||
ARG 1 attacker
|
||||
METHOD method_24725 addCoreActivities (Lnet/minecraft/class_4095;)V
|
||||
ARG 0 piglin
|
||||
METHOD method_24726 loot (Lnet/minecraft/class_4836;Lnet/minecraft/class_1542;)V
|
||||
ARG 0 piglin
|
||||
ARG 1 drop
|
||||
|
@ -36,9 +37,10 @@ CLASS net/minecraft/class_4838 net/minecraft/entity/mob/PiglinBrain
|
|||
ARG 0 piglin
|
||||
ARG 1 stack
|
||||
METHOD method_24731 drop (Lnet/minecraft/class_4836;Ljava/util/List;Lnet/minecraft/class_243;)V
|
||||
ARG 0 piglin
|
||||
METHOD method_24732 create (Lnet/minecraft/class_4836;Lnet/minecraft/class_4095;)Lnet/minecraft/class_4095;
|
||||
ARG 0 piglin
|
||||
METHOD method_24733 onGoldBlockBroken (Lnet/minecraft/class_1657;Z)V
|
||||
METHOD method_24733 onGuardedBlockBroken (Lnet/minecraft/class_1657;Z)V
|
||||
ARG 0 player
|
||||
METHOD method_24734 (Lnet/minecraft/class_1657;Lnet/minecraft/class_4836;)V
|
||||
ARG 1 piglin
|
||||
|
@ -56,12 +58,13 @@ CLASS net/minecraft/class_4838 net/minecraft/entity/mob/PiglinBrain
|
|||
ARG 0 piglin
|
||||
ARG 1 target
|
||||
METHOD method_24743 addIdleActivities (Lnet/minecraft/class_4095;)V
|
||||
ARG 0 piglin
|
||||
METHOD method_24746 acceptsForBarter (Lnet/minecraft/class_1792;)Z
|
||||
ARG 0 item
|
||||
METHOD method_24747 makeGoToZombifiedPiglinTask ()Lnet/minecraft/class_4809;
|
||||
METHOD method_24748 isHoldingCrossbow (Lnet/minecraft/class_1309;)Z
|
||||
ARG 0 piglin
|
||||
METHOD method_24750 angerAt (Lnet/minecraft/class_4836;Lnet/minecraft/class_1309;)V
|
||||
METHOD method_24750 becomeAngryWith (Lnet/minecraft/class_4836;Lnet/minecraft/class_1309;)V
|
||||
ARG 0 piglin
|
||||
ARG 1 target
|
||||
METHOD method_24751 addFightActivities (Lnet/minecraft/class_4836;Lnet/minecraft/class_4095;)V
|
||||
|
@ -137,16 +140,41 @@ CLASS net/minecraft/class_4838 net/minecraft/entity/mob/PiglinBrain
|
|||
ARG 0 entity
|
||||
METHOD method_24791 hasSoulFireNearby (Lnet/minecraft/class_4836;)Z
|
||||
ARG 0 piglin
|
||||
METHOD method_24848 (Lnet/minecraft/class_1542;)Lnet/minecraft/class_1799;
|
||||
METHOD method_24848 getItemFromStack (Lnet/minecraft/class_1542;)Lnet/minecraft/class_1799;
|
||||
ARG 0 stack
|
||||
METHOD method_24849 (Lnet/minecraft/class_4836;Lnet/minecraft/class_1799;)V
|
||||
METHOD method_24849 barterItem (Lnet/minecraft/class_4836;Lnet/minecraft/class_1799;)V
|
||||
ARG 0 piglin
|
||||
ARG 1 stack
|
||||
METHOD method_24850 doesNotHaveGoldInOffHand (Lnet/minecraft/class_4836;)Z
|
||||
ARG 0 piglin
|
||||
METHOD method_24917 hasItemInOffHand (Lnet/minecraft/class_4836;)Z
|
||||
ARG 0 piglin
|
||||
METHOD method_25948 pickupItemWithOffHand (Lnet/minecraft/class_4836;)V
|
||||
ARG 0 piglin
|
||||
METHOD method_26350 getNearbyPiglins (Lnet/minecraft/class_4836;)Ljava/util/List;
|
||||
ARG 0 piglin
|
||||
METHOD method_27086 isWillingToTrade (Lnet/minecraft/class_4836;Lnet/minecraft/class_1799;)Z
|
||||
ARG 0 piglin
|
||||
ARG 1 nearbyItems
|
||||
METHOD method_29277 canRideHoglin (Lnet/minecraft/class_4836;)Z
|
||||
ARG 0 piglin
|
||||
METHOD method_29534 isZombified (Lnet/minecraft/class_1299;)Z
|
||||
ARG 0 entityType
|
||||
METHOD method_29537 getNearestZombifiedPiglin (Lnet/minecraft/class_4836;)Z
|
||||
ARG 0 piglin
|
||||
METHOD method_29538 hasTargetToAvoid (Lnet/minecraft/class_4836;)Z
|
||||
ARG 0 piglin
|
||||
METHOD method_29945 angerNearbyPiglins (Lnet/minecraft/class_4836;)V
|
||||
ARG 0 piglin
|
||||
METHOD method_29946 becomeAngryWithPlayer (Lnet/minecraft/class_4836;Lnet/minecraft/class_1309;)V
|
||||
ARG 0 piglin
|
||||
ARG 1 player
|
||||
METHOD method_29947 getNearestDetectedPlayer (Lnet/minecraft/class_4836;)Ljava/util/Optional;
|
||||
ARG 0 piglin
|
||||
METHOD method_30087 (Lnet/minecraft/class_4836;Lnet/minecraft/class_4168;)Lnet/minecraft/class_3414;
|
||||
ARG 0 piglin
|
||||
METHOD method_30089 swapItemWithOffHand (Lnet/minecraft/class_4836;Lnet/minecraft/class_1799;)V
|
||||
ARG 0 piglin
|
||||
ARG 1 stack
|
||||
METHOD method_30091 (Lnet/minecraft/class_4836;)Ljava/util/Optional;
|
||||
ARG 0 piglin
|
||||
|
|
Loading…
Reference in New Issue