net.minecraft.world.entity.monster

public class Creeper

extends Monster

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, EquipmentUser, Leashable, Targeting, Enemy

com
net.minecraft.world.entity.monster.Creeper
net.minecraft.class_1548
net.minecraft.entity.mob.CreeperEntity

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
a
DATA_SWELL_DIR
field_7230
FUSE_SPEED
private static final EntityDataAccessor<Boolean>
b
DATA_IS_POWERED
field_7224
CHARGED
private static final EntityDataAccessor<Boolean>
c
DATA_IS_IGNITED
field_7231
IGNITED
private static final boolean
d
DEFAULT_IGNITED
field_57666
DEFAULT_CHARGED
private static final boolean
e
DEFAULT_POWERED
field_57667
DEFAULT_IGNITED
private static final short
f
DEFAULT_MAX_SWELL
field_57668
DEFAULT_FUSE
private static final byte
bI
DEFAULT_EXPLOSION_RADIUS
field_57665
DEFAULT_EXPLOSION_RADIUS
private int
bJ
oldSwell
field_7229
lastFuseTime
private int
bK
swell
field_7227
currentFuseTime
private int
bL
maxSwell
field_7228
fuseTime
private int
bM
explosionRadius
field_7225
explosionRadius
private int
bN
droppedSkulls
field_7226
headsDropped

Constructor summary

ModifierConstructor
public (EntityType<? extends Creeper> arg0, Level arg1)

Method summary

Modifier and TypeMethod
protected void
D()
registerGoals()
method_5959()
initGoals()
public static AttributeSupplier$Builder
j()
createAttributes()
method_26908()
createCreeperAttributes()
public int
cE()
getMaxFallDistance()
method_5850()
getSafeFallDistance()
public boolean
a(double arg0, float arg1, bvk arg2)
causeFallDamage(double arg0, float arg1, DamageSource arg2)
method_5747(double arg0, float arg1, class_1282 arg2)
handleFallDamage(double arg0, float arg1, DamageSource arg2)
protected void
a(akr$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
b(ua arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ua arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
h()
tick()
method_5773()
tick()
public void
g(bxw arg0)
setTarget(LivingEntity arg0)
method_5980(class_1309 arg0)
setTarget(LivingEntity arg0)
protected SoundEvent
e(bvk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
protected void
a(aru arg0, bvk arg1, boolean arg2)
dropCustomDeathLoot(ServerLevel arg0, DamageSource arg1, boolean arg2)
method_6099(class_3218 arg0, class_1282 arg1, boolean arg2)
dropEquipment(ServerWorld arg0, DamageSource arg1, boolean arg2)
public boolean
c(aru arg0, bwv arg1)
doHurtTarget(ServerLevel arg0, Entity arg1)
method_6121(class_3218 arg0, class_1297 arg1)
tryAttack(ServerWorld arg0, Entity arg1)
public boolean
m()
isPowered()
method_61492()
isCharged()
public float
J(float arg0)
getSwelling(float arg0)
method_7003(float arg0)
getLerpedFuseTime(float tickProgress)
public int
n()
getSwellDir()
method_7007()
getFuseSpeed()
public void
b(int arg0)
setSwellDir(int arg0)
method_7005(int arg0)
setFuseSpeed(int fuseSpeed)
public void
a(aru arg0, bxv arg1)
thunderHit(ServerLevel arg0, LightningBolt arg1)
method_5800(class_3218 arg0, class_1538 arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
protected InteractionResult
b(crz arg0, bus arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
private void
gv()
explodeCreeper()
method_7006()
explode()
private void
gy()
spawnLingeringCloud()
method_7001()
spawnEffectsCloud()
public boolean
q()
isIgnited()
method_7000()
isIgnited()
public void
t()
ignite()
method_7004()
ignite()
public boolean
x()
canDropMobsSkull()
method_7008()
shouldDropHead()
public void
gu()
increaseDroppedSkulls()
method_7002()
onHeadDropped()