Package net.minecraft.entity.mob
Class CreeperEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.PathAwareEntity
net.minecraft.entity.mob.HostileEntity
net.minecraft.entity.mob.CreeperEntity
- All Implemented Interfaces:
CommandSource,EntityCategoryProvider,Monster
- Mappings:
Namespace Name official zpintermediary net/minecraft/class_969named net/minecraft/entity/mob/CreeperEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate static final TrackedData<Integer>private static final TrackedData<Boolean>private static final TrackedData<Boolean>private intprivate intprivate intFields inherited from class net.minecraft.entity.PathAwareEntity
FLEEING_SPEED_BONUS_ID, FLEEING_SPEED_MODIFIERFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, entityMotionHelper, experiencePoints, field_14559, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_14542, field_14543, field_14546, field_14547, field_14548, field_6748, field_6749, field_6750, field_6752, field_6753, field_6771, field_6776, field_6777, field_6778, field_6782, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, mainHand, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, firstUpdate, FLAGS, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, ridingCooldown, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, tracedX, tracedY, tracedZ, updateNeeded, uuidString, 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected SoundEventprivate voidexplode()floatgetClientFuseTime(float timeDelta) intprotected IdentifierintvoidhandleFallDamage(float fallDistance, float damageMultiplier) voidignite()protected voidprotected voidprotected voidprotected booleaninteractMob(PlayerEntity playerEntity, Hand hand) booleanprotected SoundEventstatic voidmethod_13525(class_2934 class_2934) private voidbooleanvoidvoidonKilled(DamageSource source) voidonLightningStrike(LightningBoltEntity lightning) voidvoidsetFuseSpeed(int value) booleanvoidtick()booleanvoidMethods inherited from class net.minecraft.entity.mob.HostileEntity
canSpawn, damage, getLandSound, getPathfindingFavor, getSoundCategory, method_12984, method_12985, method_3087, shouldDropXp, tickMovementMethods inherited from class net.minecraft.entity.PathAwareEntity
getPositionTarget, getPositionTargetRange, hasPositionTarget, isInWalkTargetRange, isInWalkTargetRange, method_13951, method_6173, method_6175, setPositionTarget, shouldContinue, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
ambientSound, attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canBeLeashedBy, canImmediatelyDespawn, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, createNavigation, detachLeash, dropLoot, equip, equipStack, getArmorItems, getDefaultDrop, getDurability, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getTarget, getVisibilityCache, getXpToDrop, handleStatus, hasNoAi, initEquipment, initialize, interact, isLeashed, isPersistent, lookAtEntity, loot, method_13003, method_13043, method_13044, method_13051, method_13075, method_13076, method_13077, method_13078, method_13080, method_13081, method_13082, method_13083, method_13084, method_13086, method_13088, method_13950, method_2469, method_2638, method_4472, method_6162, mobTick, onEatingGrass, playAmbientSound, playSpawnEffects, setAiDisabled, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, startRiding, tickNewAi, turnHead, updateEnchantmentsMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyArmorDamage, applyDamage, applyEnchantmentsToDamage, canSee, clearStatusEffects, collides, damageArmor, destroy, dropXp, endCombat, enterCombat, fall, getAbsorption, getArmorProtectionValue, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getEffectInstance, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getJumpVelocity, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getRotationVector, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffectInstances, getStuckArrows, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isClimbing, isPushable, isSleeping, jump, kill, markEffectsDirty, method_10979, method_10981, method_13038, method_13040, method_13041, method_13042, method_13045, method_13046, method_13050, method_13052, method_13053, method_13054, method_13055, method_13056, method_13057, method_13058, method_13059, method_13061, method_13062, method_13063, method_13064, method_13065, method_13066, method_13067, method_13071, method_13072, method_13493, method_13494, method_13946, method_13947, method_13948, method_2582, method_2607, method_2610, method_2634, method_2649, method_2658, method_3217, method_6108, method_6109, method_6111, method_6117, method_6150, method_6152, onTrackedDataSet, pushAway, removeStatusEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldAlwaysDropXp, shouldRenderName, stopRiding, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, travel, updatePotionVisibility, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, afterSpawn, applyMirror, applyRotation, attemptSprintingParticles, burn, canAddPassenger, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canStartRiding, canUseCommand, canUsePortals, changeDimension, checkBlockCollision, copyPosition, dealDamage, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, entityDataRequiresOperator, equals, extinguish, fromNbt, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getEyeHeight, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMinecraftServer, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPassengersDeep, getPistonBehavior, getPos, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVecClient, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getTargetingMargin, getTranslationKey, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleAttack, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, interactAt, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, method_10965, method_12991, method_13932, method_6344, move, onKilledOther, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setGlowing, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setStat, setUuid, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, teleportRequested, tickFire, tickNetherPortalCooldown, toListNbt, toListNbt, toNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateVelocity, updateWaterState
-
Field Details
-
field_14745
- Mappings:
Namespace Name Mixin selector official aLzp;a:Lkk;intermediary field_14745Lnet/minecraft/class_969;field_14745:Lnet/minecraft/class_2921;named field_14745Lnet/minecraft/entity/mob/CreeperEntity;field_14745:Lnet/minecraft/entity/data/TrackedData;
-
field_14746
- Mappings:
Namespace Name Mixin selector official bLzp;b:Lkk;intermediary field_14746Lnet/minecraft/class_969;field_14746:Lnet/minecraft/class_2921;named field_14746Lnet/minecraft/entity/mob/CreeperEntity;field_14746:Lnet/minecraft/entity/data/TrackedData;
-
field_14747
- Mappings:
Namespace Name Mixin selector official cLzp;c:Lkk;intermediary field_14747Lnet/minecraft/class_969;field_14747:Lnet/minecraft/class_2921;named field_14747Lnet/minecraft/entity/mob/CreeperEntity;field_14747:Lnet/minecraft/entity/data/TrackedData;
-
lastFuseTime
private int lastFuseTime- Mappings:
Namespace Name Mixin selector official bwLzp;bw:Iintermediary field_3918Lnet/minecraft/class_969;field_3918:Inamed lastFuseTimeLnet/minecraft/entity/mob/CreeperEntity;lastFuseTime:I
-
currentFuseTime
private int currentFuseTime- Mappings:
Namespace Name Mixin selector official bxLzp;bx:Iintermediary field_3917Lnet/minecraft/class_969;field_3917:Inamed currentFuseTimeLnet/minecraft/entity/mob/CreeperEntity;currentFuseTime:I
-
fuseTime
private int fuseTime- Mappings:
Namespace Name Mixin selector official byLzp;by:Iintermediary field_5386Lnet/minecraft/class_969;field_5386:Inamed fuseTimeLnet/minecraft/entity/mob/CreeperEntity;fuseTime:I
-
explosionRadius
private int explosionRadius- Mappings:
Namespace Name Mixin selector official bzLzp;bz:Iintermediary field_5387Lnet/minecraft/class_969;field_5387:Inamed explosionRadiusLnet/minecraft/entity/mob/CreeperEntity;explosionRadius:I
-
headsDropped
private int headsDropped- Mappings:
Namespace Name Mixin selector official bALzp;bA:Iintermediary field_12053Lnet/minecraft/class_969;field_12053:Inamed headsDroppedLnet/minecraft/entity/mob/CreeperEntity;headsDropped:I
-
-
Constructor Details
-
CreeperEntity
- Mappings:
Namespace Name Mixin selector official <init>Lsn;<init>(Lajs;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
initGoals
protected void initGoals() -
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classHostileEntity- Mappings:
Namespace Name Mixin selector official bELsw;bE()Vintermediary method_6129Lnet/minecraft/class_1699;method_6129()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
getSafeFallDistance
public int getSafeFallDistance()- Overrides:
getSafeFallDistancein classMobEntity- Mappings:
Namespace Name Mixin selector official aYLsn;aY()Iintermediary method_4448Lnet/minecraft/class_864;method_4448()Inamed getSafeFallDistanceLnet/minecraft/entity/Entity;getSafeFallDistance()I
-
handleFallDamage
public void handleFallDamage(float fallDistance, float damageMultiplier) - Overrides:
handleFallDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official eLsn;e(FF)Vintermediary method_2490Lnet/minecraft/class_864;method_2490(FF)Vnamed handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(FF)V
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official iLsn;i()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
method_13525
- Mappings:
Namespace Name Mixin selector official aLzp;a(Lph;)Vintermediary method_13525Lnet/minecraft/class_969;method_13525(Lnet/minecraft/class_2934;)Vnamed method_13525Lnet/minecraft/entity/mob/CreeperEntity;method_13525(Lnet/minecraft/class_2934;)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official bLsn;b(Ldu;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official aLsn;a(Ldu;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
tick
public void tick()- Overrides:
tickin classHostileEntity- Mappings:
Namespace Name Mixin selector official A_Lsn;A_()Vintermediary method_2558Lnet/minecraft/class_864;method_2558()Vnamed tickLnet/minecraft/entity/Entity;tick()V
-
method_13048
- Overrides:
method_13048in classHostileEntity- Mappings:
Namespace Name Mixin selector official bWLsw;bW()Lnm;intermediary method_13048Lnet/minecraft/class_1699;method_13048()Lnet/minecraft/class_2926;named method_13048Lnet/minecraft/entity/LivingEntity;method_13048()Lnet/minecraft/client/sound/SoundEvent;
-
deathSound
- Overrides:
deathSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official bXLsw;bX()Lnm;intermediary method_13049Lnet/minecraft/class_1699;method_13049()Lnet/minecraft/class_2926;named deathSoundLnet/minecraft/entity/LivingEntity;deathSound()Lnet/minecraft/client/sound/SoundEvent;
-
onKilled
- Overrides:
onKilledin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLsw;a(Lry;)Vintermediary method_2580Lnet/minecraft/class_1699;method_2580(Lnet/minecraft/class_856;)Vnamed onKilledLnet/minecraft/entity/LivingEntity;onKilled(Lnet/minecraft/entity/damage/DamageSource;)V
-
tryAttack
- Overrides:
tryAttackin classHostileEntity- Mappings:
Namespace Name Mixin selector official BLsw;B(Lsn;)Zintermediary method_2671Lnet/minecraft/class_1699;method_2671(Lnet/minecraft/class_864;)Znamed tryAttackLnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/entity/Entity;)Z
-
method_3074
public boolean method_3074()- Mappings:
Namespace Name Mixin selector official oLzp;o()Zintermediary method_3074Lnet/minecraft/class_969;method_3074()Znamed method_3074Lnet/minecraft/entity/mob/CreeperEntity;method_3074()Z
-
getClientFuseTime
- Mappings:
Namespace Name Mixin selector official aLzp;a(F)Fintermediary method_3073Lnet/minecraft/class_969;method_3073(F)Fnamed getClientFuseTimeLnet/minecraft/entity/mob/CreeperEntity;getClientFuseTime(F)F
-
getLootTableId
- Overrides:
getLootTableIdin classMobEntity- Mappings:
Namespace Name Mixin selector official JLsx;J()Lkq;intermediary method_13074Lnet/minecraft/class_871;method_13074()Lnet/minecraft/class_1653;named getLootTableIdLnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;
-
getFuseSpeed
public int getFuseSpeed()- Mappings:
Namespace Name Mixin selector official diLzp;di()Iintermediary method_3075Lnet/minecraft/class_969;method_3075()Inamed getFuseSpeedLnet/minecraft/entity/mob/CreeperEntity;getFuseSpeed()I
-
setFuseSpeed
public void setFuseSpeed(int value) - Mappings:
Namespace Name Mixin selector official aLzp;a(I)Vintermediary method_3072Lnet/minecraft/class_969;method_3072(I)Vnamed setFuseSpeedLnet/minecraft/entity/mob/CreeperEntity;setFuseSpeed(I)V
-
onLightningStrike
- Overrides:
onLightningStrikein classEntity- Mappings:
Namespace Name Mixin selector official aLsn;a(Lzg;)Vintermediary method_2502Lnet/minecraft/class_864;method_2502(Lnet/minecraft/class_961;)Vnamed onLightningStrikeLnet/minecraft/entity/Entity;onLightningStrike(Lnet/minecraft/entity/LightningBoltEntity;)V
-
interactMob
- Overrides:
interactMobin classMobEntity- Mappings:
Namespace Name Mixin selector official aLsx;a(Laay;Lri;)Zintermediary method_13079Lnet/minecraft/class_871;method_13079(Lnet/minecraft/class_988;Lnet/minecraft/class_2961;)Znamed interactMobLnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Z
-
explode
private void explode()- Mappings:
Namespace Name Mixin selector official dnLzp;dn()Vintermediary method_8405Lnet/minecraft/class_969;method_8405()Vnamed explodeLnet/minecraft/entity/mob/CreeperEntity;explode()V
-
method_14062
private void method_14062()- Mappings:
Namespace Name Mixin selector official doLzp;do()Vintermediary method_14062Lnet/minecraft/class_969;method_14062()Vnamed method_14062Lnet/minecraft/entity/mob/CreeperEntity;method_14062()V
-
isIgnited
public boolean isIgnited()- Mappings:
Namespace Name Mixin selector official djLzp;dj()Zintermediary method_8403Lnet/minecraft/class_969;method_8403()Znamed isIgnitedLnet/minecraft/entity/mob/CreeperEntity;isIgnited()Z
-
ignite
public void ignite()- Mappings:
Namespace Name Mixin selector official dkLzp;dk()Vintermediary method_8404Lnet/minecraft/class_969;method_8404()Vnamed igniteLnet/minecraft/entity/mob/CreeperEntity;ignite()V
-
shouldDropHead
public boolean shouldDropHead()- Mappings:
Namespace Name Mixin selector official dlLzp;dl()Zintermediary method_2608Lnet/minecraft/class_969;method_2608()Znamed shouldDropHeadLnet/minecraft/entity/mob/CreeperEntity;shouldDropHead()Z
-
onHeadDropped
public void onHeadDropped()- Mappings:
Namespace Name Mixin selector official dmLzp;dm()Vintermediary method_11175Lnet/minecraft/class_969;method_11175()Vnamed onHeadDroppedLnet/minecraft/entity/mob/CreeperEntity;onHeadDropped()V
-