yarn/mappings/net/minecraft/entity/mob/PiglinEntity.mapping

49 lines
2.2 KiB
Plaintext

CLASS net/minecraft/class_4836 net/minecraft/entity/mob/PiglinEntity
FIELD field_22371 inventory Lnet/minecraft/class_1277;
FIELD field_22376 SENSOR_TYPES Lcom/google/common/collect/ImmutableList;
FIELD field_22377 BABY Lnet/minecraft/class_2940;
FIELD field_22378 CHARGING Lnet/minecraft/class_2940;
FIELD field_22379 BABY_SPEED_BOOST_ID Ljava/util/UUID;
FIELD field_22380 BABY_SPEED_BOOST Lnet/minecraft/class_1322;
FIELD field_22381 MEMORY_MODULE_TYPES Lcom/google/common/collect/ImmutableList;
FIELD field_23738 cannotHunt Z
FIELD field_25164 DANCING Lnet/minecraft/class_2940;
METHOD method_24695 canSpawn (Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Ljava/util/Random;)Z
ARG 0 type
ARG 1 world
ARG 2 spawnReason
ARG 3 pos
ARG 4 random
METHOD method_24696 equipAtChance (Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)V
ARG 1 slot
ARG 2 stack
METHOD method_24702 makeInitialWeapon ()Lnet/minecraft/class_1799;
METHOD method_24703 isCharging ()Z
METHOD method_24711 addItem (Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
ARG 1 stack
METHOD method_24844 equipToMainHand (Lnet/minecraft/class_1799;)V
ARG 1 stack
METHOD method_24845 equipToOffHand (Lnet/minecraft/class_1799;)V
ARG 1 stack
METHOD method_24846 canEquipStack (Lnet/minecraft/class_1799;)Z
COMMENT Returns whether this piglin can equip into or replace current equipment slot.
ARG 1 stack
METHOD method_26089 getTopMostPassenger (Lnet/minecraft/class_1297;I)Lnet/minecraft/class_1297;
COMMENT Returns the passenger entity at {@code maxLevel} in a stacked riding (riding on
COMMENT an entity that is riding on another entity, etc).
COMMENT
COMMENT <p>If the number of stacked entities is less than {@code maxLevel}, returns the
COMMENT top most passenger entity.
ARG 1 entity
ARG 2 maxLevel
METHOD method_26953 createPiglinAttributes ()Lnet/minecraft/class_5132$class_5133;
METHOD method_26954 setCannotHunt (Z)V
ARG 1 cannotHunt
METHOD method_27085 canInsertIntoInventory (Lnet/minecraft/class_1799;)Z
ARG 1 stack
METHOD method_29272 isDancing ()Z
METHOD method_29274 setDancing (Z)V
ARG 1 dancing
METHOD method_30086 playSound (Lnet/minecraft/class_3414;)V
ARG 1 sound