net.minecraft.entity.mob

public class PiglinBruteEntity

extends AbstractPiglinEntity

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, 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
protected static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super PiglinBruteEntity>>>
SENSOR_TYPES
field_25761
SENSOR_TYPES
protected static final com.google.common.collect.ImmutableList<MemoryModuleType<?>>
MEMORY_TYPES
field_25760
MEMORY_MODULE_TYPES

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$Profile<PiglinBruteEntity>
brainProvider()
method_28306()
createBrainProfile()
protected Brain<?>
makeBrain(com.mojang.serialization.Dynamic<?> input)
method_18867(com.mojang.serialization.Dynamic<?> arg0)
deserializeBrain(com.mojang.serialization.Dynamic<?> 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()