Package net.minecraft.entity.mob
Class PhantomEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.mob.FlyingEntity
net.minecraft.entity.mob.PhantomEntity
- All Implemented Interfaces:
class_3893,EntityCategoryProvider,Monster,Nameable
- Mappings:
Namespace Name official anhintermediary net/minecraft/class_3517named net/minecraft/entity/mob/PhantomEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static enum(package private) class(package private) class(package private) class(package private) class(package private) class(package private) class(package private) class(package private) class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TrackedData<Integer>private PhantomEntity.class_3518private Vec3dprivate BlockPosFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, entityMotionHelper, experiencePoints, field_14559, goals, jumpControl, lookControl, 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_16513, field_16815, field_16816, field_16817, 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, distanceTraveled, fallDistance, field_16693, field_16694, field_16696, field_3223, firstUpdate, FLAGS, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, LOGGER_, 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
field_17044, field_17045 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SoundEventbooleancanAttackEntity(Class<? extends LivingEntity> clazz) protected SoundEventfloatprotected SoundEventgetHurtSound(DamageSource damageSource) protected Identifierprotected floatprotected voidprotected voidinitialize(LocalDifficulty difficulty, EntityData entityData, NbtCompound nbt) protected voidprotected BodyControlvoidmethod_15868(int int2) intvoidprotected voidmobTick()voidonTrackedDataSet(TrackedData<?> data) voidbooleanshouldRender(double distance) voidtick()voidvoidMethods inherited from class net.minecraft.entity.mob.FlyingEntity
fall, handleFallDamage, isClimbing, method_2657Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeControlledByRider, canBeLeashedBy, canImmediatelyDespawn, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, createNavigation, detachLeash, dropLoot, equip, equipStack, getArmorItems, getDefaultDrop, getDurability, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getSafeFallDistance, getTarget, getVisibilityCache, getXpToDrop, handleStatus, hasNoAi, initEquipment, interact, interactMob, 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_15061, method_15645, method_15651, method_15652, method_15653, method_15654, method_15655, method_15656, method_2469, method_2638, method_4472, method_6162, onEatingGrass, playAmbientSound, playSpawnEffects, setAiDisabled, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, startRiding, tickNewAi, tryAttack, turnHead, updateEnchantments, updateLeashMethods inherited from class net.minecraft.entity.LivingEntity
animateDamage, applyArmorDamage, applyDamage, applyEnchantmentsToDamage, canSee, collides, damage, damageArmor, destroy, dropXp, endCombat, enterCombat, getAbsorption, getArmorProtectionValue, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getEffectInstance, getHandSwingProgress, getHeadRotation, getHealth, getJumpVelocity, getLandSound, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getSoundPitch, getStackInHand, getStatusEffectInstances, getStatusEffects, getStuckArrows, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isPushable, isSleeping, jump, kill, markEffectsDirty, 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_13069, method_13071, method_13072, method_13493, method_13494, method_13946, method_13947, method_13948, method_15058, method_15559, method_15563, method_15570, method_15591, method_15641, method_15642, method_15643, method_15644, method_15646, method_15647, method_15648, method_15650, method_2582, method_2607, method_2610, method_2634, method_2649, method_2654, method_2658, method_3217, method_6108, method_6109, method_6111, method_6117, method_6119, method_6150, method_6152, onKilled, pushAway, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldAlwaysDropXp, shouldDropXp, shouldRenderName, stopRiding, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, updatePotionVisibility, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, afterSpawn, applyMirror, applyRotation, attemptSprintingParticles, burn, canAddPassenger, canAvoidTraps, canClimb, canFly, canStartRiding, canUsePortals, checkBlockCollision, copyPortalInfo, copyPosition, dealDamage, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, entityDataRequiresOperator, equals, extinguish, fromNbt, getAir, getBoundingBox, getBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getDataTracker, getDefaultNetherPortalCooldown, getEntityId, getEntityName, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPistonBehavior, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationClient, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getTargetingMargin, getUuid, getVehicle, getVisibilityBoundingBox, handleAttack, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, interactAt, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, method_10787, method_10931, method_10932, method_10933, method_10936, method_12265, method_12833, method_12984, method_12985, method_12991, method_15051, method_15055, method_15540, method_15541, method_15557, method_15558, method_15560, method_15561, method_15562, method_15564, method_15566, method_15567, method_15569, method_15571, method_15572, method_15573, method_15574, method_15575, method_15576, method_15577, method_15578, method_15580, method_15581, method_15582, method_15583, method_15584, method_15585, method_15586, method_15588, method_15589, method_15590, method_15592, method_15593, method_15594, method_17412, method_17413, method_17414, method_2492, method_4086, method_5505, method_5506, method_6344, move, onBlockCollision, onKilledOther, onLightningStrike, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, setAir, setBoundingBox, setBounds, setCustomNameVisible, setEntityId, setFlag, setGlowing, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setUuid, setVelocityClient, setWorld, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, teleportRequested, tickFire, tickNetherPortalCooldown, toListNbt, toListNbt, toNbt, toString, updateKilledAchievement, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateWaterState
-
Field Details
-
field_17048
- Mappings:
Namespace Name Mixin selector official aLanh;a:Lor;intermediary field_17048Lnet/minecraft/class_3517;field_17048:Lnet/minecraft/class_2921;named field_17048Lnet/minecraft/entity/mob/PhantomEntity;field_17048:Lnet/minecraft/entity/data/TrackedData;
-
field_17050
- Mappings:
Namespace Name Mixin selector official bLanh;b:Lcee;intermediary field_17050Lnet/minecraft/class_3517;field_17050:Lnet/minecraft/class_236;named field_17050Lnet/minecraft/entity/mob/PhantomEntity;field_17050:Lnet/minecraft/util/math/Vec3d;
-
field_17051
- Mappings:
Namespace Name Mixin selector official cLanh;c:Lel;intermediary field_17051Lnet/minecraft/class_3517;field_17051:Lnet/minecraft/class_2552;named field_17051Lnet/minecraft/entity/mob/PhantomEntity;field_17051:Lnet/minecraft/util/math/BlockPos;
-
field_17049
- Mappings:
Namespace Name Mixin selector official bCLanh;bC:Lanh$a;intermediary field_17049Lnet/minecraft/class_3517;field_17049:Lnet/minecraft/class_3517$class_3518;named field_17049Lnet/minecraft/entity/mob/PhantomEntity;field_17049:Lnet/minecraft/entity/mob/PhantomEntity$class_3518;
-
-
Constructor Details
-
PhantomEntity
- Mappings:
Namespace Name Mixin selector official <init>Laer;<init>(Laxy;)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
-
method_13088
- Overrides:
method_13088in classMobEntity- Mappings:
Namespace Name Mixin selector official oLafb;o()Lafv;intermediary method_13088Lnet/minecraft/class_871;method_13088()Lnet/minecraft/class_881;named method_13088Lnet/minecraft/entity/mob/MobEntity;method_13088()Lnet/minecraft/entity/ai/control/BodyControl;
-
initGoals
protected void initGoals() -
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classMobEntity- Mappings:
Namespace Name Mixin selector official bZLafa;bZ()Vintermediary method_6129Lnet/minecraft/class_1699;method_6129()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official x_Laer;x_()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
method_15868
public void method_15868(int int2) - Mappings:
Namespace Name Mixin selector official aLanh;a(I)Vintermediary method_15868Lnet/minecraft/class_3517;method_15868(I)Vnamed method_15868Lnet/minecraft/entity/mob/PhantomEntity;method_15868(I)V
-
method_15884
public void method_15884()- Mappings:
Namespace Name Mixin selector official lLanh;l()Vintermediary method_15884Lnet/minecraft/class_3517;method_15884()Vnamed method_15884Lnet/minecraft/entity/mob/PhantomEntity;method_15884()V
-
method_15876
public int method_15876()- Mappings:
Namespace Name Mixin selector official drLanh;dr()Iintermediary method_15876Lnet/minecraft/class_3517;method_15876()Inamed method_15876Lnet/minecraft/entity/mob/PhantomEntity;method_15876()I
-
getEyeHeight
public float getEyeHeight()- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official bFLaer;bF()Fintermediary method_2544Lnet/minecraft/class_864;method_2544()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-
onTrackedDataSet
- Overrides:
onTrackedDataSetin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLaer;a(Lor;)Vintermediary method_12974Lnet/minecraft/class_864;method_12974(Lnet/minecraft/class_2921;)Vnamed onTrackedDataSetLnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
tick
public void tick() -
tickMovement
public void tickMovement()- Overrides:
tickMovementin classMobEntity- Mappings:
Namespace Name Mixin selector official kLafa;k()Vintermediary method_2651Lnet/minecraft/class_1699;method_2651()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
mobTick
protected void mobTick() -
initialize
public EntityData initialize(LocalDifficulty difficulty, @Nullable EntityData entityData, @Nullable NbtCompound nbt) - Overrides:
initializein classMobEntity- Mappings:
Namespace Name Mixin selector official aLafb;a(Ladj;Lafj;Lgy;)Lafj;intermediary method_6156Lnet/minecraft/class_871;method_6156(Lnet/minecraft/class_2607;Lnet/minecraft/class_1700;Lnet/minecraft/class_322;)Lnet/minecraft/class_1700;named initializeLnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official aLaer;a(Lgy;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official bLaer;b(Lgy;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
shouldRender
- Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector official aLaer;a(D)Zintermediary method_2486Lnet/minecraft/class_864;method_2486(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
getSoundCategory
- Overrides:
getSoundCategoryin classEntity- Mappings:
Namespace Name Mixin selector official bVLaer;bV()Lwk;intermediary method_12992Lnet/minecraft/class_864;method_12992()Lnet/minecraft/class_2153;named getSoundCategoryLnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/client/sound/SoundCategory;
-
ambientSound
- Overrides:
ambientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official DLafb;D()Lwi;intermediary method_2603Lnet/minecraft/class_871;method_2603()Lnet/minecraft/class_2926;named ambientSoundLnet/minecraft/entity/mob/MobEntity;ambientSound()Lnet/minecraft/client/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official dLafa;d(Laea;)Lwi;intermediary method_15060Lnet/minecraft/class_1699;method_15060(Lnet/minecraft/class_856;)Lnet/minecraft/class_2926;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/client/sound/SoundEvent;
-
deathSound
- Overrides:
deathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official csLafa;cs()Lwi;intermediary method_13049Lnet/minecraft/class_1699;method_13049()Lnet/minecraft/class_2926;named deathSoundLnet/minecraft/entity/LivingEntity;deathSound()Lnet/minecraft/client/sound/SoundEvent;
-
getLootTableId
- Overrides:
getLootTableIdin classMobEntity- Mappings:
Namespace Name Mixin selector official GLafb;G()Lpc;intermediary method_13074Lnet/minecraft/class_871;method_13074()Lnet/minecraft/class_1653;named getLootTableIdLnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;
-
method_2647
- Overrides:
method_2647in classLivingEntity- Mappings:
Namespace Name Mixin selector official cALafa;cA()Lafd;intermediary method_2647Lnet/minecraft/class_1699;method_2647()Lnet/minecraft/class_3462;named method_2647Lnet/minecraft/entity/LivingEntity;method_2647()Lnet/minecraft/class_3462;
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector official cDLafa;cD()Fintermediary method_2602Lnet/minecraft/class_1699;method_2602()Fnamed getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
canAttackEntity
- Overrides:
canAttackEntityin classMobEntity- Mappings:
Namespace Name Mixin selector official bLafb;b(Ljava/lang/Class;)Zintermediary method_2579Lnet/minecraft/class_871;method_2579(Ljava/lang/Class;)Znamed canAttackEntityLnet/minecraft/entity/mob/MobEntity;canAttackEntity(Ljava/lang/Class;)Z
-