net.minecraft.entity.mob

public class CreakingEntity

extends HostileEntity

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.creaking.Creaking
net.minecraft.class_10275
net.minecraft.entity.mob.CreakingEntity

Field summary

Modifier and TypeField
private static final TrackedData<Boolean>
CAN_MOVE
field_54571
UNROOTED
private static final TrackedData<Boolean>
IS_ACTIVE
field_54572
ACTIVE
private static final TrackedData<Boolean>
IS_TEARING_DOWN
field_55487
CRUMBLING
private static final TrackedData<Optional<BlockPos>>
HOME_POS
field_55545
HOME_POS
private static final Brain$Profile<CreakingEntity>
BRAIN_PROVIDER
field_1_1262
PROFILE
private static final int
ATTACK_ANIMATION_DURATION
field_54573
field_54573
private static final int
MAX_HEALTH
field_54574
field_54574
private static final float
ATTACK_DAMAGE
field_54575
ATTACK_DAMAGE
private static final float
FOLLOW_RANGE
field_54576
field_54576
private static final float
ACTIVATION_RANGE_SQ
field_54577
field_54577
public static final int
ATTACK_INTERVAL
field_54566
field_54566
private static final float
MOVEMENT_SPEED_WHEN_FIGHTING
field_54578
field_54578
public static final float
SPEED_MULTIPLIER_WHEN_IDLING
field_54567
field_54567
public static final int
CREAKING_ORANGE
field_54569
field_54569
public static final int
CREAKING_GRAY
field_54580
field_54580
public static final int
INVULNERABILITY_ANIMATION_DURATION
field_55485
field_55485
public static final int
TWITCH_DEATH_DURATION
field_55486
field_55486
private static final int
MAX_PLAYER_STUCK_COUNTER
field_55488
field_55488
private int
attackAnimationRemainingTicks
field_54579
attackAnimationTimer
public final AnimationState
attackAnimationState
field_54568
attackAnimationState
public final AnimationState
invulnerabilityAnimationState
field_54570
invulnerableAnimationState
public final AnimationState
deathAnimationState
field_55010
crumblingAnimationState
private int
invulnerabilityAnimationRemainingTicks
field_55489
invulnerableAnimationTimer
private boolean
eyesGlowing
field_55490
glowingEyesWhileCrumbling
private int
nextFlickerTime
field_55491
nextEyeFlickerTime
private int
playerStuckCounter
field_55493
playerIntersectionTimer

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
setTransient(BlockPos pos)
method_65789(class_2338 arg0)
initHomePos(BlockPos homePos)
public boolean
isHeartBound()
method_65902()
isTransient()
protected BodyControl
createBodyControl()
method_5963()
createBodyControl()
protected Brain<CreakingEntity>
makeBrain(Brain$Packed packedBrain)
method_18867(class_4095$class_1_142 arg0)
deserializeBrain(Brain$State arg0)
protected void
defineSynchedData(SynchedEntityData$Builder entityData)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public static DefaultAttributeContainer$Builder
createAttributes()
method_64627()
createCreakingAttributes()
public boolean
canMove()
method_64628()
isUnrooted()
public boolean
doHurtTarget(ServerLevel level, Entity target)
method_6121(class_3218 arg0, class_1297 arg1)
tryAttack(ServerWorld arg0, Entity arg1)
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)
public PlayerEntity
blameSourceForDamage(DamageSource source)
method_65790(class_1282 arg0)
becomeAngryAndGetPlayer(DamageSource damageSource)
public boolean
isPushable()
method_5810()
isPushable()
public void
push(double xa, double ya, double za)
method_5762(double arg0, double arg1, double arg2)
addVelocity(double arg0, double arg1, double arg2)
public Brain<CreakingEntity>
getBrain()
method_18868()
getBrain()
protected void
customServerAiStep(ServerLevel level)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public void
aiStep()
method_6007()
tickMovement()
public void
tick()
method_5773()
tick()
protected void
tickDeath()
method_6108()
updatePostDeath()
protected void
updateWalkAnimation(float distance)
method_48565(float arg0)
updateLimbs(float arg0)
private void
setupAnimationStates()
method_64624()
tickAttackAnimation()
public void
tearDown()
method_65793()
finishCrumbling()
public void
creakingDeathEffects(DamageSource source)
method_65791(class_1282 arg0)
killFromHeart(DamageSource damageSource)
public void
handleEntityEvent(byte id)
method_5711(byte arg0)
handleStatus(byte arg0)
public boolean
fireImmune()
method_5753()
isFireImmune()
public boolean
canUsePortal(boolean ignorePassenger)
method_5822(boolean arg0)
canUsePortals(boolean arg0)
protected EntityNavigation
createNavigation(Level level)
method_5965(class_1937 arg0)
createNavigation(World arg0)
public boolean
playerIsStuckInYou()
method_65784()
isStuckWithPlayer()
protected void
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
protected void
addAdditionalSaveData(ValueOutput output)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
public void
setHomePos(BlockPos pos)
method_65901(class_2338 arg0)
setHomePos(BlockPos pos)
public BlockPos
getHomePos()
method_65900()
getHomePos()
public void
setTearingDown()
method_65785()
setCrumbling()
public boolean
isTearingDown()
method_65786()
isCrumbling()
public boolean
hasGlowingEyes()
method_65787()
hasGlowingEyesWhileCrumbling()
public void
checkEyeBlink()
method_65788()
updateCrumblingEyeFlicker()
public void
playAttackSound()
method_59928()
playAttackSound()
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)
public LivingEntity
getTarget()
method_5968()
getTarget()
public void
knockback(double power, double xd, double zd, DamageSource source, float damage)
method_6005(double arg0, double arg1, double arg2, class_1282 arg3, float arg4)
takeKnockback(double arg0, double arg1, double arg2, DamageSource arg3, float arg4)
public boolean
checkCanMove()
method_64629()
shouldBeUnrooted()
public void
activate(Player player)
method_65117(class_1657 arg0)
activate(PlayerEntity player)
public void
deactivate()
method_65118()
deactivate()
public void
setIsActive(boolean active)
method_64631(boolean arg0)
setActive(boolean active)
public boolean
isActive()
method_64630()
isActive()
public float
getWalkTargetValue(BlockPos pos, LevelReader level)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)