Package net.minecraft.entity.mob
Class CreeperEntity
- All Implemented Interfaces:
CommandSource,EntityCategoryProvider,Monster
public class CreeperEntity extends HostileEntity
- Mappings:
Namespace Name official vnintermediary net/minecraft/class_1909named net/minecraft/entity/mob/CreeperEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
Fields Modifier and Type Field Description private intcurrentFuseTimeprivate intexplosionRadiusprivate intfuseTimeprivate intheadsDroppedprivate intlastFuseTimeFields inherited from class net.minecraft.entity.PassivePathFindingEntity
FLEEING_SPEED_BONUS_ID, FLEEING_SPEED_MODIFIERFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, entityMotionHelper, experiencePoints, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_7434, field_7435, field_7436, field_7438, field_7439, field_7456, field_7457, field_7458, field_7462, field_7463, field_7472, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields inherited from class net.minecraft.entity.Entity
changingDimension, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_7357, field_7362, field_7363, field_7364, field_7365, field_7370, field_7390, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inLava, isFireImmune, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, zFields inherited from interface net.minecraft.entity.mob.Monster
MONSTER_PREDICATE, VISIBLE_MONSTER_PREDICATE -
Constructor Summary
Constructors Constructor Description CreeperEntity(World world) -
Method Summary
Modifier and Type Method Description voiddeserialize(CompoundTag tag)private voidexplode()protected StringgetDeathSound()protected ItemgetDefaultDrop()intgetFuseSpeed()protected StringgetHurtSound()intgetSafeFallDistance()voidhandleFallDamage(float float2, float float3)protected voidinitDataTracker()protected voidinitializeAttributes()booleanmethod_7179(Entity entity)protected booleanmethod_7195(PlayerEntity player)floatmethod_7820(float float2)voidmethod_7821(int int2)booleanmethod_7823()booleanmethod_7825()booleanmethod_7828()voidonHeadDropped()voidonKilled(DamageSource source)voidonLightningStrike(LightningBoltEntity lightning)voidserialize(CompoundTag tag)voidsetIgnited()voidtick()Methods inherited from class net.minecraft.entity.mob.HostileEntity
damage, getFallSound, getSplashSound, getSwimSound, method_7123, method_7202, method_7239, method_7870, tickMovementMethods inherited from class net.minecraft.entity.PassivePathFindingEntity
method_7240, method_7241, method_7242, method_7243, method_7244, method_7245, method_7246, method_7247, method_7248, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, detachLeash, equip, getAmbientSound, getArmorStacks, getAttackTarget, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMainSlot, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getStackInHand, getVisibilityCache, handleStatus, hasNoAi, hasPositionTarget, initEquipment, isPersistent, isTameable, lookAtEntity, loot, method_7096, method_7104, method_7106, method_7156, method_7164, method_7177, method_7184, method_7187, method_7188, method_7191, method_7203, method_7204, method_7206, method_7210, method_7214, mobTick, newNavigation, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, setAiDisabled, setArmorSlot, setAttackTarget, setCanPickUpLoot, setForwardSpeed, setPersistent, tickNewAi, updateEnchantmentsMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyDamage, canSee, clearStatusEffects, collides, damageArmor, destroy, endCombat, enterCombat, fall, getAbsorption, getArmorProtectionValue, getAttributeContainer, getDamageEnchantmentTarget, getDamageTracker, getEffectInstance, getHandSwingProgress, getHeadRotation, getHealth, getLastHurtTimestamp, getMaxHealth, getRandom, getRotationVector, getScoreboardTeam, getStuckArrows, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isInSameTeam, isInTeam, isPushable, isSleeping, jump, kill, markEffectsDirty, method_6985, method_7087, method_7091, method_7092, method_7093, method_7098, method_7099, method_7100, method_7102, method_7105, method_7108, method_7109, method_7110, method_7111, method_7113, method_7114, method_7115, method_7118, method_7124, method_7126, method_7128, method_7129, method_7130, method_7132, method_7134, method_7139, method_7142, method_7146, method_7149, method_7153, method_7154, method_7162, method_7166, method_7171, method_7176, method_7178, pushAway, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldRenderName, startRiding, swingHand, tickRiding, tickStatusEffects, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, attemptSprintingParticles, burn, canAvoidTraps, canClimb, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, doesNotCollide, doesRenderOnFire, equals, extinguish, fromClientTag, fromTag, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getDistanceTo, getEntity, getEntityId, getEyeHeight, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getMountedHeightOffset, getName, getPos, getRotationVector, getSavedEntityId, getTranslationKey, getUuid, getWorld, handleAttack, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAttackable, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTouchingWater, method_6912, method_6924, method_6926, method_6939, method_6940, method_6943, method_6944, method_6945, method_6948, method_6949, method_6968, method_6971, method_6977, method_6981, method_6984, method_6994, method_6998, method_7008, method_7020, method_7049, method_7051, method_7058, move, onPlayerCollision, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushAwayFrom, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToTag, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setStat, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, squaredDistanceToEntity, teleportToDimension, tickFire, toListTag, toListTag, toString, updateKilledAdvancementCriterion, updatePosition, updatePositionAndAngles, writePlayerData
-
Field Details
-
lastFuseTime
private int lastFuseTime- Mappings:
Namespace Name Mixin selector official aLvn;a:Iintermediary field_8185Lnet/minecraft/class_1909;field_8185:Inamed lastFuseTimeLnet/minecraft/entity/mob/CreeperEntity;lastFuseTime:I
-
currentFuseTime
private int currentFuseTime- Mappings:
Namespace Name Mixin selector official bLvn;b:Iintermediary field_8186Lnet/minecraft/class_1909;field_8186:Inamed currentFuseTimeLnet/minecraft/entity/mob/CreeperEntity;currentFuseTime:I
-
fuseTime
private int fuseTime- Mappings:
Namespace Name Mixin selector official cLvn;c:Iintermediary field_8189Lnet/minecraft/class_1909;field_8189:Inamed fuseTimeLnet/minecraft/entity/mob/CreeperEntity;fuseTime:I
-
explosionRadius
private int explosionRadius- Mappings:
Namespace Name Mixin selector official bmLvn;bm:Iintermediary field_8187Lnet/minecraft/class_1909;field_8187:Inamed explosionRadiusLnet/minecraft/entity/mob/CreeperEntity;explosionRadius:I
-
headsDropped
private int headsDropped- Mappings:
Namespace Name Mixin selector official bnLvn;bn:Iintermediary field_8188Lnet/minecraft/class_1909;field_8188:Inamed headsDroppedLnet/minecraft/entity/mob/CreeperEntity;headsDropped:I
-
-
Constructor Details
-
CreeperEntity
- Mappings:
Namespace Name Mixin selector official <init>Lpk;<init>(Ladm;)Vintermediary <init>Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_99;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classHostileEntity- Mappings:
Namespace Name Mixin selector official aXLpr;aX()Vintermediary method_7097Lnet/minecraft/class_1752;method_7097()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
getSafeFallDistance
public int getSafeFallDistance()- Overrides:
getSafeFallDistancein classMobEntity- Mappings:
Namespace Name Mixin selector official aELpk;aE()Iintermediary method_6952Lnet/minecraft/class_1745;method_6952()Inamed getSafeFallDistanceLnet/minecraft/entity/Entity;getSafeFallDistance()I
-
handleFallDamage
public void handleFallDamage(float float2, float float3)- Overrides:
handleFallDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official eLpk;e(FF)Vintermediary method_7025Lnet/minecraft/class_1745;method_7025(FF)Vnamed handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(FF)V
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official hLpk;h()Vintermediary method_7043Lnet/minecraft/class_1745;method_7043()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
serialize
-
deserialize
- Overrides:
deserializein classMobEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Ldn;)Vintermediary method_6933Lnet/minecraft/class_1745;method_6933(Lnet/minecraft/class_1405;)Vnamed deserializeLnet/minecraft/entity/Entity;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
-
tick
public void tick()- Overrides:
tickin classHostileEntity- Mappings:
Namespace Name Mixin selector official t_Lpk;t_()Vintermediary method_7060Lnet/minecraft/class_1745;method_7060()Vnamed tickLnet/minecraft/entity/Entity;tick()V
-
getHurtSound
- Overrides:
getHurtSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official boLpr;bo()Ljava/lang/String;intermediary method_7137Lnet/minecraft/class_1752;method_7137()Ljava/lang/String;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
-
getDeathSound
- Overrides:
getDeathSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official bpLpr;bp()Ljava/lang/String;intermediary method_7138Lnet/minecraft/class_1752;method_7138()Ljava/lang/String;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
-
onKilled
- Overrides:
onKilledin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLpr;a(Low;)Vintermediary method_7089Lnet/minecraft/class_1752;method_7089(Lnet/minecraft/class_1733;)Vnamed onKilledLnet/minecraft/entity/LivingEntity;onKilled(Lnet/minecraft/entity/damage/DamageSource;)V
-
method_7179
- Overrides:
method_7179in classHostileEntity- Mappings:
Namespace Name Mixin selector official rLpr;r(Lpk;)Zintermediary method_7179Lnet/minecraft/class_1752;method_7179(Lnet/minecraft/class_1745;)Znamed method_7179Lnet/minecraft/entity/LivingEntity;method_7179(Lnet/minecraft/entity/Entity;)Z
-
method_7828
public boolean method_7828()- Mappings:
Namespace Name Mixin selector official nLvn;n()Zintermediary method_7828Lnet/minecraft/class_1909;method_7828()Znamed method_7828Lnet/minecraft/entity/mob/CreeperEntity;method_7828()Z
-
method_7820
- Mappings:
Namespace Name Mixin selector official aLvn;a(F)Fintermediary method_7820Lnet/minecraft/class_1909;method_7820(F)Fnamed method_7820Lnet/minecraft/entity/mob/CreeperEntity;method_7820(F)F
-
getDefaultDrop
- Overrides:
getDefaultDropin classMobEntity- Mappings:
Namespace Name Mixin selector official ALps;A()Lzw;intermediary method_7183Lnet/minecraft/class_1753;method_7183()Lnet/minecraft/class_2054;named getDefaultDropLnet/minecraft/entity/mob/MobEntity;getDefaultDrop()Lnet/minecraft/item/Item;
-
getFuseSpeed
public int getFuseSpeed()- Mappings:
Namespace Name Mixin selector official cmLvn;cm()Iintermediary method_7822Lnet/minecraft/class_1909;method_7822()Inamed getFuseSpeedLnet/minecraft/entity/mob/CreeperEntity;getFuseSpeed()I
-
method_7821
public void method_7821(int int2)- Mappings:
Namespace Name Mixin selector official aLvn;a(I)Vintermediary method_7821Lnet/minecraft/class_1909;method_7821(I)Vnamed method_7821Lnet/minecraft/entity/mob/CreeperEntity;method_7821(I)V
-
onLightningStrike
- Overrides:
onLightningStrikein classEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Luv;)Vintermediary method_6941Lnet/minecraft/class_1745;method_6941(Lnet/minecraft/class_1890;)Vnamed onLightningStrikeLnet/minecraft/entity/Entity;onLightningStrike(Lnet/minecraft/entity/LightningBoltEntity;)V
-
method_7195
- Overrides:
method_7195in classMobEntity- Mappings:
Namespace Name Mixin selector official aLps;a(Lwn;)Zintermediary method_7195Lnet/minecraft/class_1753;method_7195(Lnet/minecraft/class_1963;)Znamed method_7195Lnet/minecraft/entity/mob/MobEntity;method_7195(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
explode
private void explode()- Mappings:
Namespace Name Mixin selector official crLvn;cr()Vintermediary method_7827Lnet/minecraft/class_1909;method_7827()Vnamed explodeLnet/minecraft/entity/mob/CreeperEntity;explode()V
-
method_7823
public boolean method_7823()- Mappings:
Namespace Name Mixin selector official cnLvn;cn()Zintermediary method_7823Lnet/minecraft/class_1909;method_7823()Znamed method_7823Lnet/minecraft/entity/mob/CreeperEntity;method_7823()Z
-
setIgnited
public void setIgnited()- Mappings:
Namespace Name Mixin selector official coLvn;co()Vintermediary method_7824Lnet/minecraft/class_1909;method_7824()Vnamed setIgnitedLnet/minecraft/entity/mob/CreeperEntity;setIgnited()V
-
method_7825
public boolean method_7825()- Mappings:
Namespace Name Mixin selector official cpLvn;cp()Zintermediary method_7825Lnet/minecraft/class_1909;method_7825()Znamed method_7825Lnet/minecraft/entity/mob/CreeperEntity;method_7825()Z
-
onHeadDropped
public void onHeadDropped()- Mappings:
Namespace Name Mixin selector official cqLvn;cq()Vintermediary method_7826Lnet/minecraft/class_1909;method_7826()Vnamed onHeadDroppedLnet/minecraft/entity/mob/CreeperEntity;onHeadDropped()V
-