public class PiglinEntity extends AbstractPiglinEntity implements ICrossbowUser
Entity.IMoveCallback
Modifier and Type | Field and Description |
---|---|
private boolean |
cannotHunt |
private static DataParameter<java.lang.Boolean> |
DATA_BABY_ID |
private static DataParameter<java.lang.Boolean> |
DATA_IS_CHARGING_CROSSBOW |
private static DataParameter<java.lang.Boolean> |
DATA_IS_DANCING |
private Inventory |
inventory |
protected static com.google.common.collect.ImmutableList<MemoryModuleType<?>> |
MEMORY_TYPES |
protected static com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super PiglinEntity>>> |
SENSOR_TYPES |
private static AttributeModifier |
SPEED_MODIFIER_BABY |
private static java.util.UUID |
SPEED_MODIFIER_BABY_UUID |
DATA_IMMUNE_TO_ZOMBIFICATION, timeInOverworld
ambientSoundTime, armorDropChances, goalSelector, handDropChances, jumpControl, lookControl, moveControl, navigation, targetSelector, xpReward
animationPosition, animationSpeed, animationSpeedOld, animStep, animStepO, attackAnim, attackStrengthTicker, autoSpinAttackTicks, brain, DATA_LIVING_ENTITY_FLAGS, dead, deathScore, deathTime, fallFlyTicks, flyingSpeed, hurtDir, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYRot, lerpZ, lyHeadRot, noActionTime, oAttackAnim, oRun, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, swinging, swingingArm, swingTime, timeOffs, useItem, useItemRemaining, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zza
blocksBuilding, boardingCooldown, DATA_POSE, DATA_SHARED_FLAGS_ID, entityData, fallDistance, firstTick, fluidHeight, fluidOnEyes, forcedLoading, glowing, hasImpulse, horizontalCollision, hurtMarked, inChunk, invulnerableTime, isInsidePortal, level, LOGGER, maxUpStep, moveDist, noCulling, noPhysics, onGround, portalEntrancePos, portalTime, pushthrough, random, removed, stringUUID, stuckSpeedMultiplier, tickCount, uuid, verticalCollision, walkDist, walkDistO, wasEyeInWater, wasTouchingWater, xChunk, xo, xOld, xRot, xRotO, yChunk, yo, yOld, yRot, yRotO, zChunk, zo, zOld
NULL
Constructor and Description |
---|
PiglinEntity(EntityType<? extends AbstractPiglinEntity> p_i231570_1_,
World p_i231570_2_) |
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalSaveData(CompoundNBT p_213281_1_) |
protected ItemStack |
addToInventory(ItemStack p_234436_1_) |
protected Brain.BrainCodec<PiglinEntity> |
brainProvider() |
protected boolean |
canAddToInventory(ItemStack p_234437_1_) |
boolean |
canFireProjectileWeapon(ShootableItem p_230280_1_) |
protected boolean |
canHunt() |
protected boolean |
canReplaceCurrentItem(ItemStack p_234440_1_) |
protected boolean |
canReplaceCurrentItem(ItemStack p_208003_1_,
ItemStack p_208003_2_) |
static boolean |
checkPiglinSpawnRules(EntityType<PiglinEntity> p_234418_0_,
IWorld p_234418_1_,
SpawnReason p_234418_2_,
BlockPos p_234418_3_,
java.util.Random p_234418_4_) |
static AttributeModifierMap.MutableAttribute |
createAttributes() |
private ItemStack |
createSpawnWeapon() |
protected void |
customServerAiStep() |
protected void |
defineSynchedData() |
protected void |
dropCustomDeathLoot(DamageSource p_213333_1_,
int p_213333_2_,
boolean p_213333_3_) |
ILivingEntityData |
finalizeSpawn(IServerWorld p_213386_1_,
DifficultyInstance p_213386_2_,
SpawnReason p_213386_3_,
ILivingEntityData p_213386_4_,
CompoundNBT p_213386_5_) |
protected void |
finishConversion(ServerWorld p_234416_1_) |
protected SoundEvent |
getAmbientSound() |
PiglinAction |
getArmPose() |
Brain<PiglinEntity> |
getBrain() |
protected SoundEvent |
getDeathSound() |
protected int |
getExperienceReward(PlayerEntity p_70693_1_) |
protected SoundEvent |
getHurtSound(DamageSource p_184601_1_) |
double |
getPassengersRidingOffset() |
protected float |
getStandingEyeHeight(Pose p_213348_1_,
EntitySize p_213348_2_) |
private Entity |
getTopPassenger(Entity p_234417_1_,
int p_234417_2_) |
protected void |
holdInMainHand(ItemStack p_234438_1_) |
protected void |
holdInOffHand(ItemStack p_234439_1_) |
boolean |
hurt(DamageSource p_70097_1_,
float p_70097_2_) |
boolean |
isBaby() |
private boolean |
isChargingCrossbow() |
boolean |
isDancing() |
protected Brain<?> |
makeBrain(com.mojang.serialization.Dynamic<?> p_213364_1_) |
private void |
maybeWearArmor(EquipmentSlotType p_234419_1_,
ItemStack p_234419_2_) |
ActionResultType |
mobInteract(PlayerEntity p_230254_1_,
Hand p_230254_2_) |
void |
onCrossbowAttackPerformed() |
void |
onSyncedDataUpdated(DataParameter<?> p_184206_1_) |
void |
performRangedAttack(LivingEntity p_82196_1_,
float p_82196_2_) |
protected void |
pickUpItem(ItemEntity p_175445_1_) |
protected void |
playConvertedSound() |
protected void |
playSound(SoundEvent p_241417_1_) |
protected void |
playStepSound(BlockPos p_180429_1_,
BlockState p_180429_2_) |
protected void |
populateDefaultEquipmentSlots(DifficultyInstance p_180481_1_) |
void |
readAdditionalSaveData(CompoundNBT p_70037_1_) |
boolean |
removeWhenFarAway(double p_213397_1_) |
void |
setBaby(boolean p_82227_1_) |
private void |
setCannotHunt(boolean p_234443_1_) |
void |
setChargingCrossbow(boolean p_213671_1_) |
void |
setDancing(boolean p_234442_1_) |
void |
shootCrossbowProjectile(LivingEntity p_230284_1_,
ItemStack p_230284_2_,
ProjectileEntity p_230284_3_,
float p_230284_4_) |
protected boolean |
shouldDespawnInPeaceful() |
boolean |
startRiding(Entity p_184205_1_,
boolean p_184205_2_) |
boolean |
wantsToPickUp(ItemStack p_230293_1_) |
getMyRidingOffset, getTarget, isAdult, isConverting, isHoldingMeleeWeapon, isImmuneToZombification, playAmbientSound, sendDebugPackets, setImmuneToZombification
aiStep, checkAnyLightMonsterSpawnRules, checkMonsterSpawnRules, createMonsterAttributes, getFallDamageSound, getProjectile, getSoundSource, getSwimSound, getSwimSplashSound, getWalkTargetValue, isDarkEnoughToSpawn, isPreventingPlayerRest, shouldDropExperience, shouldDropLoot, updateNoActionTime
checkSpawnRules, followLeashSpeed, getWalkTargetValue, isPathFinding, onLeashDistance, tickLeash
ate, baseTick, canAttack, canAttackType, canBeControlledByRider, canBeLeashed, canCutCorner, canHoldItem, canPickUpLoot, canReplaceEqualItem, canTakeItem, checkDespawn, checkMobSpawnRules, checkSpawnObstruction, convertTo, createBodyControl, createLootContext, createMobAttributes, createNavigation, doHurtTarget, dropFromLootTable, dropLeash, enchantSpawnedArmor, enchantSpawnedWeapon, equipItemIfPossible, getAmbientSoundInterval, getArmorSlots, getDefaultLootTable, getEquipmentDropChance, getEquipmentForSlot, getEquipmentSlotForItem, getHandSlots, getHeadRotSpeed, getItemBySlot, getJumpControl, getLeashHolder, getLookControl, getLootTable, getMainArm, getMaxFallDistance, getMaxHeadXRot, getMaxHeadYRot, getMaxSpawnClusterSize, getMoveControl, getNavigation, getPathfindingMalus, getRestrictCenter, getRestrictRadius, getSensing, handleEntityEvent, hasRestriction, interact, isAggressive, isControlledByLocalInstance, isEffectiveAi, isLeashed, isLeftHanded, isMaxGroupSizeReached, isNoAi, isPersistenceRequired, isSunBurnTick, isValidSlotForItem, isWithinRestriction, isWithinRestriction, jumpInLiquid, lookAt, onOffspringSpawnedFromEgg, playHurtSound, populateDefaultEquipmentEnchantments, registerGoals, removeAfterChangingDimensions, requiresCustomPersistence, restrictTo, serverAiStep, setAggressive, setCanPickUpLoot, setDelayedLeashHolderId, setDropChance, setGuaranteedDrop, setItemSlot, setItemSlotAndDropWhenKilled, setLeashedTo, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSlot, setSpeed, setTarget, setXxa, setYya, setZza, shouldPassengersInheritMalus, spawnAnim, tick, tickHeadTurn, updateControlFlags
actuallyHurt, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, calculateFallDamage, canAttack, canBeAffected, canBreatheUnderwater, canSee, canSpawnSoulSpeedParticle, canStandOnFluid, causeFallDamage, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, curePotionEffects, decreaseAirSupply, die, doAutoAttackOnTouch, doPush, dropAllDeathLoot, dropEquipment, dropExperience, eat, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getAddEntityPacket, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributes, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBoundingBoxForCulling, getCapability, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDimensions, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getEyeHeight, getFallFlyingTicks, getFeetBlockState, getFluidFallingAdjustedMovement, getHealth, getItemInHand, getJumpPower, getKillCredit, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getMainHandItem, getMaxHealth, getMobType, getNoActionTime, getOffhandItem, getRandom, getRelativePortalPosition, getScale, getSleepingPos, getSoundVolume, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, heal, hurtArmor, hurtCurrentlyUsedShield, increaseAirSupply, invalidateCaps, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBlocking, isDeadOrDying, isFallFlying, isHolding, isHolding, isImmobile, isInvertedHealAndHarm, isInWall, isPickable, isPushable, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, kill, knockback, lerpHeadTo, lerpTo, lookAt, markHurt, onChangedBlock, onClimbable, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onItemPickup, onLeaveCombat, onSoulSpeedBlock, outOfWorld, playBlockFallSound, playEquipSound, push, pushEntities, randomTeleport, releaseUsingItem, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, rideableUnderWater, rideTick, setAbsorptionAmount, setArrowCount, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setOnGround, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldRemoveSoulSpeed, shouldRiderFaceForward, shouldShowName, spawnSoulSpeedParticle, startAutoSpinAttack, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, travel, triggerItemUseEffects, tryAddSoulSpeed, updateEffectVisibility, updateInvisibilityStatus, updateSwingTime
absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canChangeDimensions, canCollideWith, canEnterPose, canRide, canSpawnSprintParticle, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkAndResetForcedChunkAdditionFlag, checkAndResetUpdateChunkPos, checkInsideBlocks, clearFire, closerThan, collideBoundingBox, collideBoundingBoxHeuristically, collideBoundingBoxLegacy, copyPosition, createCommandSourceStack, createHoverEvent, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBoundingBox, getBoundingBoxForPose, getBrightness, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControllingPassenger, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyePosition, getEyeY, getFireImmuneTicks, getFluidHeight, getFluidJumpThreshold, getForward, getHorizontalDistanceSqr, getId, getIndirectPassengers, getLeashOffset, getLightProbePosition, getLookAngle, getMaxAirSupply, getMotionDirection, getName, getOnPos, getPacketCoordinates, getPassengers, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, getPortalWaitTime, getPose, getPosition, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getStringUUID, getSwimHighSpeedSplashSound, getTags, getTeam, getTeamColor, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getX, getX, getY, getY, getZ, getZ, handleInsidePortal, handleNetherPortal, hasCustomName, hashCode, hasIndirectPassenger, hasOnePlayerPassenger, hasPassenger, hasPassenger, hasPermissions, ignoreExplosion, interactAt, is, isAddedToWorld, isAlliedTo, isAlliedTo, isAttackable, isColliding, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFree, isGlowing, isIgnoringBlockTriggers, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isMovementNoisy, isNoGravity, isOnFire, isOnGround, isOnPortalCooldown, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killed, lavaHurt, lerpMotion, limitPistonMovement, load, makeFlySound, makeStuckInBlock, maybeBackOffFromEdge, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, pick, playerTouch, playFlySound, playSound, playSwimSound, position, positionRider, processPortalCooldown, push, reapplyPosition, refreshDimensions, remove, remove, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetPos, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, sendMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setGlowing, setId, setInvisible, setInvulnerable, setLevel, setLocationFromBoundingbox, setNoGravity, setPacketCoordinates, setPacketCoordinates, setPortalCooldown, setPos, setPosAndOldPos, setPose, setPosRaw, setRemainingFireTicks, setRot, setSecondsOnFire, setSharedFlag, setShiftKeyDown, setSilent, setSwimming, setUUID, setViewScale, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, teleportTo, teleportToWithTicket, thunderHit, toString, turn, unRide, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCaps
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getProjectileShotVector, getTarget, performCrossbowAttack, shootCrossbowProjectile
canBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getEntity, getParts, getPickedResult, isMultipartEntity, serializeNBT, shouldRiderSit
getCapability
private static final DataParameter<java.lang.Boolean> DATA_BABY_ID
private static final DataParameter<java.lang.Boolean> DATA_IS_CHARGING_CROSSBOW
private static final DataParameter<java.lang.Boolean> DATA_IS_DANCING
private static final java.util.UUID SPEED_MODIFIER_BABY_UUID
private static final AttributeModifier SPEED_MODIFIER_BABY
private final Inventory inventory
private boolean cannotHunt
protected static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super PiglinEntity>>> SENSOR_TYPES
protected static final com.google.common.collect.ImmutableList<MemoryModuleType<?>> MEMORY_TYPES
public PiglinEntity(EntityType<? extends AbstractPiglinEntity> p_i231570_1_, World p_i231570_2_)
public void addAdditionalSaveData(CompoundNBT p_213281_1_)
addAdditionalSaveData
in class AbstractPiglinEntity
public void readAdditionalSaveData(CompoundNBT p_70037_1_)
readAdditionalSaveData
in class AbstractPiglinEntity
protected void dropCustomDeathLoot(DamageSource p_213333_1_, int p_213333_2_, boolean p_213333_3_)
dropCustomDeathLoot
in class MobEntity
protected boolean canAddToInventory(ItemStack p_234437_1_)
protected void defineSynchedData()
defineSynchedData
in class AbstractPiglinEntity
public void onSyncedDataUpdated(DataParameter<?> p_184206_1_)
onSyncedDataUpdated
in class LivingEntity
public static AttributeModifierMap.MutableAttribute createAttributes()
public static boolean checkPiglinSpawnRules(EntityType<PiglinEntity> p_234418_0_, IWorld p_234418_1_, SpawnReason p_234418_2_, BlockPos p_234418_3_, java.util.Random p_234418_4_)
@Nullable public ILivingEntityData finalizeSpawn(IServerWorld p_213386_1_, DifficultyInstance p_213386_2_, SpawnReason p_213386_3_, @Nullable ILivingEntityData p_213386_4_, @Nullable CompoundNBT p_213386_5_)
finalizeSpawn
in class MobEntity
protected boolean shouldDespawnInPeaceful()
shouldDespawnInPeaceful
in class MonsterEntity
public boolean removeWhenFarAway(double p_213397_1_)
removeWhenFarAway
in class MobEntity
protected void populateDefaultEquipmentSlots(DifficultyInstance p_180481_1_)
populateDefaultEquipmentSlots
in class MobEntity
private void maybeWearArmor(EquipmentSlotType p_234419_1_, ItemStack p_234419_2_)
protected Brain.BrainCodec<PiglinEntity> brainProvider()
brainProvider
in class LivingEntity
protected Brain<?> makeBrain(com.mojang.serialization.Dynamic<?> p_213364_1_)
makeBrain
in class LivingEntity
public Brain<PiglinEntity> getBrain()
getBrain
in class LivingEntity
public ActionResultType mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
mobInteract
in class MobEntity
protected float getStandingEyeHeight(Pose p_213348_1_, EntitySize p_213348_2_)
getStandingEyeHeight
in class LivingEntity
public double getPassengersRidingOffset()
getPassengersRidingOffset
in class Entity
public boolean isBaby()
isBaby
in class LivingEntity
private void setCannotHunt(boolean p_234443_1_)
protected boolean canHunt()
canHunt
in class AbstractPiglinEntity
protected void customServerAiStep()
customServerAiStep
in class AbstractPiglinEntity
protected int getExperienceReward(PlayerEntity p_70693_1_)
getExperienceReward
in class MobEntity
protected void finishConversion(ServerWorld p_234416_1_)
finishConversion
in class AbstractPiglinEntity
private ItemStack createSpawnWeapon()
private boolean isChargingCrossbow()
public void setChargingCrossbow(boolean p_213671_1_)
setChargingCrossbow
in interface ICrossbowUser
public void onCrossbowAttackPerformed()
onCrossbowAttackPerformed
in interface ICrossbowUser
public PiglinAction getArmPose()
getArmPose
in class AbstractPiglinEntity
public boolean isDancing()
public void setDancing(boolean p_234442_1_)
public boolean hurt(DamageSource p_70097_1_, float p_70097_2_)
hurt
in class MonsterEntity
public void performRangedAttack(LivingEntity p_82196_1_, float p_82196_2_)
performRangedAttack
in interface IRangedAttackMob
public void shootCrossbowProjectile(LivingEntity p_230284_1_, ItemStack p_230284_2_, ProjectileEntity p_230284_3_, float p_230284_4_)
shootCrossbowProjectile
in interface ICrossbowUser
public boolean canFireProjectileWeapon(ShootableItem p_230280_1_)
canFireProjectileWeapon
in class MobEntity
protected void holdInMainHand(ItemStack p_234438_1_)
protected void holdInOffHand(ItemStack p_234439_1_)
public boolean wantsToPickUp(ItemStack p_230293_1_)
wantsToPickUp
in class MobEntity
protected boolean canReplaceCurrentItem(ItemStack p_234440_1_)
protected boolean canReplaceCurrentItem(ItemStack p_208003_1_, ItemStack p_208003_2_)
canReplaceCurrentItem
in class MobEntity
protected void pickUpItem(ItemEntity p_175445_1_)
pickUpItem
in class MobEntity
public boolean startRiding(Entity p_184205_1_, boolean p_184205_2_)
startRiding
in class MobEntity
protected SoundEvent getAmbientSound()
getAmbientSound
in class MobEntity
protected SoundEvent getHurtSound(DamageSource p_184601_1_)
getHurtSound
in class MonsterEntity
protected SoundEvent getDeathSound()
getDeathSound
in class MonsterEntity
protected void playStepSound(BlockPos p_180429_1_, BlockState p_180429_2_)
playStepSound
in class Entity
protected void playSound(SoundEvent p_241417_1_)
protected void playConvertedSound()
playConvertedSound
in class AbstractPiglinEntity