net.minecraft.entity.mob

public class PiglinBruteEntity

extends AbstractPiglinEntity

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Attackable, ServerWaypoint, Waypoint, Targeter, EquipmentHolder, Leashable, Monster

net.minecraft.world.entity.monster.piglin.PiglinBrute
net.minecraft.class_5419
net.minecraft.entity.mob.PiglinBruteEntity

Field summary

Modifier and TypeField
private static final int
MAX_HEALTH
field_30586
MAX_HEALTH
private static final float
MOVEMENT_SPEED_WHEN_FIGHTING
field_30587
MOVEMENT_SPEED
private static final int
ATTACK_DAMAGE
field_30588
ATTACK_DAMAGE
private static final double
TARGETING_RANGE
field_52502
FOLLOW_RANGE
public static final Brain$Profile<PiglinBruteEntity>
BRAIN_PROVIDER
field_1_1292
PROFILE

Constructor summary

ModifierConstructor
public (EntityType<? extends PiglinBruteEntity> type, World level)

Method summary

Modifier and TypeMethod
public static DefaultAttributeContainer$Builder
createAttributes()
method_30242()
createPiglinBruteAttributes()
public EntityData
finalizeSpawn(ServerLevelAccessor level, DifficultyInstance difficulty, EntitySpawnReason spawnReason, SpawnGroupData groupData)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
protected void
populateDefaultEquipmentSlots(RandomSource random, DifficultyInstance difficulty)
method_5964(class_5819 arg0, class_1266 arg1)
initEquipment(Random arg0, LocalDifficulty arg1)
protected Brain<PiglinBruteEntity>
makeBrain(Brain$Packed packedBrain)
method_18867(class_4095$class_1_142 arg0)
deserializeBrain(Brain$State arg0)
public Brain<PiglinBruteEntity>
getBrain()
method_18868()
getBrain()
public boolean
canHunt()
method_26952()
canHunt()
public boolean
wantsToPickUp(ServerLevel level, ItemStack itemStack)
method_20820(class_3218 arg0, class_1799 arg1)
canGather(ServerWorld arg0, ItemStack arg1)
protected void
customServerAiStep(ServerLevel level)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public PiglinActivity
getArmPose()
method_24705()
getActivity()
public boolean
hurtServer(ServerLevel level, DamageSource source, float damage)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
protected SoundEvent
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
getHurtSound(DamageSource source)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
getDeathSound()
method_6002()
getDeathSound()
protected void
playStepSound(BlockPos pos, BlockState blockState)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
protected void
playAngrySound()
method_30243()
playAngrySound()
protected void
playConvertedSound()
method_30238()
playZombificationSound()