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 vnintermediary 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 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, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, 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, 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, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, 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, updateNeeded, 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanBeLeashedBy(PlayerEntity player) private voidexplode()floatgetClientFuseTime(float timeDelta) protected Stringprotected Itemintprotected StringintvoidhandleFallDamage(float fallDistance, float damageMultiplier) voidignite()protected voidprotected voidbooleanbooleanvoidvoidonKilled(DamageSource source) voidonLightningStrike(LightningBoltEntity lightning) voidvoidsetFuseSpeed(int value) booleanvoidtick()booleanvoidMethods inherited from class net.minecraft.entity.mob.HostileEntity
canSpawn, damage, getFallSound, getPathfindingFavor, getSplashSound, getSwimSound, method_3087, shouldDropXp, tickMovementMethods inherited from class net.minecraft.entity.PathAwareEntity
getPositionTarget, getPositionTargetRange, hasPositionTarget, isInWalkTargetRange, isInWalkTargetRange, method_6173, method_6175, setPositionTarget, shouldContinue, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canImmediatelyDespawn, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, createNavigation, detachLeash, dropLoot, equip, getAmbientSound, getArmorStacks, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMainSlot, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getStackInHand, getTarget, getVisibilityCache, getXpToDrop, handleStatus, hasNoAi, initEquipment, initialize, isLeashed, isPersistent, isTameable, lookAtEntity, loot, method_2469, method_2638, method_4470, method_4472, method_4485, method_5388, method_6162, method_8374, mobTick, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, setAiDisabled, setArmorSlot, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, 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, getScoreboardTeam, getSoundPitch, getSoundVolume, getStatusEffectInstances, getStuckArrows, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isClimbing, isInSameTeam, isInTeam, isPushable, isSleeping, jump, kill, markEffectsDirty, method_10979, method_10981, method_2582, method_2607, method_2610, method_2634, method_2649, method_2658, method_4473, method_6108, method_6109, method_6111, method_6117, method_6149, method_6150, method_6152, pushAway, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldAlwaysDropXp, shouldRenderName, startRiding, swingHand, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, travel, updatePotionVisibility, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, attemptSprintingParticles, burn, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, dealDamage, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, equals, extinguish, fromClientNbt, fromNbt, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEyeHeight, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getPos, getRotationVector, getSavedEntityId, getTargetingMargin, 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, isSwimming, isTouchingLava, isTouchingWater, method_10948, method_10965, method_6097, method_6344, method_8364, move, onKilledOther, onPlayerCollision, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setInLava, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setStat, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, teleportToDimension, tickFire, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
lastFuseTime
private int lastFuseTime- Mappings:
Namespace Name Mixin selector official aLvn;a: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 bLvn;b: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 cLvn;c: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 bmLvn;bm: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 bnLvn;bn: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>Lpk;<init>(Ladm;)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
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classHostileEntity- Mappings:
Namespace Name Mixin selector official aXLpr;aX()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 aELpk;aE()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 eLpk;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 hLpk;h()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official bLpk;b(Ldn;)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 aLpk;a(Ldn;)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 t_Lpk;t_()Vintermediary method_2558Lnet/minecraft/class_864;method_2558()Vnamed tickLnet/minecraft/entity/Entity;tick()V
-
getHurtSound
- Overrides:
getHurtSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official boLpr;bo()Ljava/lang/String;intermediary method_2604Lnet/minecraft/class_1699;method_2604()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_2605Lnet/minecraft/class_1699;method_2605()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_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 rLpr;r(Lpk;)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 nLvn;n()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 aLvn;a(F)Fintermediary method_3073Lnet/minecraft/class_969;method_3073(F)Fnamed getClientFuseTimeLnet/minecraft/entity/mob/CreeperEntity;getClientFuseTime(F)F
-
getDefaultDrop
- Overrides:
getDefaultDropin classMobEntity- Mappings:
Namespace Name Mixin selector official ALps;A()Lzw;intermediary method_8375Lnet/minecraft/class_871;method_8375()Lnet/minecraft/class_1069;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_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 aLvn;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 aLpk;a(Luv;)Vintermediary method_2502Lnet/minecraft/class_864;method_2502(Lnet/minecraft/class_961;)Vnamed onLightningStrikeLnet/minecraft/entity/Entity;onLightningStrike(Lnet/minecraft/entity/LightningBoltEntity;)V
-
canBeLeashedBy
- Overrides:
canBeLeashedByin classMobEntity- Mappings:
Namespace Name Mixin selector official aLps;a(Lwn;)Zintermediary method_2537Lnet/minecraft/class_871;method_2537(Lnet/minecraft/class_988;)Znamed canBeLeashedByLnet/minecraft/entity/mob/MobEntity;canBeLeashedBy(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
explode
private void explode()- Mappings:
Namespace Name Mixin selector official crLvn;cr()Vintermediary method_8405Lnet/minecraft/class_969;method_8405()Vnamed explodeLnet/minecraft/entity/mob/CreeperEntity;explode()V
-
isIgnited
public boolean isIgnited()- Mappings:
Namespace Name Mixin selector official cnLvn;cn()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 coLvn;co()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 cpLvn;cp()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 cqLvn;cq()Vintermediary method_11175Lnet/minecraft/class_969;method_11175()Vnamed onHeadDroppedLnet/minecraft/entity/mob/CreeperEntity;onHeadDropped()V
-