Class class_9511
- All Implemented Interfaces:
DataTracked,ScoreHolder,CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name official cozintermediary net/minecraft/class_9511named net/minecraft/class_9511
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.class_9494, Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate static final TrackedData<Direction> private static final TrackedData<Float> private final class_9513private @Nullable class_9517private @Nullable class_9511.class_9512private intFields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, field_50386, field_50387, field_50388, field_50389, field_50390, field_50391, field_50392, field_50393, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFireFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMYFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a packet to notify the clients of the entity's spawning.doubledoubledoubleprotected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.private voidmethod_58948(class_9517 class_9517, Direction direction, float float2) private BlockPosmethod_58949(Vec3d vec3d, Direction direction) voidmethod_58950(Direction direction, float float2) voidprivate voidprivate voidprivate floatprivate Directionprotected voidReads custom data fromnbt.voidsetPosition(double x, double y, double z) Sets the position and refreshes the bounding box.voidtick()Ticks this entity.voidupdateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps) protected voidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, animateDamage, applyDamageEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canFreeze, canHit, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, damage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, fall, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBodyYaw, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGravity, getHandPosOffset, getHeadYaw, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPos, getLerpTargetPitch, getLerpTargetYaw, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMoveEffect, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengerRidingPos, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPortalRect, getPos, getPose, getPosWithYOffset, getProjectileDeflector, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStackReference, getStandingEyeHeight, getStepHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getWorld, getX, getY, getYaw, getYaw, getZ, handleAttack, handleFallDamage, handleStatus, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interact, interactAt, isAlive, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowing, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lerpPosAndRotation, limitFallDistance, lookAt, method_58830, method_58831, method_58832, method_58833, method_58837, method_58842, method_58843, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDamaged, onDataTrackerUpdate, onExplodedBy, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, remove, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBodyYaw, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireForTicks, setOnFireFromLava, setOnGround, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickInVoid, tickPortal, tickPortalCooldown, tickRiding, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateVelocity, updateWaterState, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilencedMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
field_50502
public static final int field_50502- See Also:
- Mappings:
Namespace Name Mixin selector official bLcoz;b:Iintermediary field_50502Lnet/minecraft/class_9511;field_50502:Inamed field_50502Lnet/minecraft/class_9511;field_50502:I
-
field_50503
- Mappings:
Namespace Name Mixin selector official cLcoz;c:Lajy;intermediary field_50503Lnet/minecraft/class_9511;field_50503:Lnet/minecraft/class_2940;named field_50503Lnet/minecraft/class_9511;field_50503:Lnet/minecraft/entity/data/TrackedData;
-
field_50504
- Mappings:
Namespace Name Mixin selector official dLcoz;d:Lajy;intermediary field_50504Lnet/minecraft/class_9511;field_50504:Lnet/minecraft/class_2940;named field_50504Lnet/minecraft/class_9511;field_50504:Lnet/minecraft/entity/data/TrackedData;
-
field_50505
- Mappings:
Namespace Name Mixin selector official eLcoz;e:Lcpa;intermediary field_50505Lnet/minecraft/class_9511;field_50505:Lnet/minecraft/class_9513;named field_50505Lnet/minecraft/class_9511;field_50505:Lnet/minecraft/class_9513;
-
field_50506
- Mappings:
Namespace Name Mixin selector official fLcoz;f:Lcpe;intermediary field_50506Lnet/minecraft/class_9511;field_50506:Lnet/minecraft/class_9517;named field_50506Lnet/minecraft/class_9511;field_50506:Lnet/minecraft/class_9517;
-
field_50507
- Mappings:
Namespace Name Mixin selector official gLcoz;g:Lcoz$a;intermediary field_50507Lnet/minecraft/class_9511;field_50507:Lnet/minecraft/class_9511$class_9512;named field_50507Lnet/minecraft/class_9511;field_50507:Lnet/minecraft/class_9511$class_9512;
-
field_50508
private int field_50508- Mappings:
Namespace Name Mixin selector official hLcoz;h:Iintermediary field_50508Lnet/minecraft/class_9511;field_50508:Inamed field_50508Lnet/minecraft/class_9511;field_50508:I
-
-
Constructor Details
-
class_9511
-
-
Method Details
-
method_58950
- Mappings:
Namespace Name Mixin selector official aLcoz;a(Liw;F)Vintermediary method_58950Lnet/minecraft/class_9511;method_58950(Lnet/minecraft/class_2350;F)Vnamed method_58950Lnet/minecraft/class_9511;method_58950(Lnet/minecraft/util/math/Direction;F)V
-
method_58952
public void method_58952()- Mappings:
Namespace Name Mixin selector official pLcoz;p()Vintermediary method_58952Lnet/minecraft/class_9511;method_58952()Vnamed method_58952Lnet/minecraft/class_9511;method_58952()V
-
method_58953
- Mappings:
Namespace Name Mixin selector official rLcoz;r()Lcpa;intermediary method_58953Lnet/minecraft/class_9511;method_58953()Lnet/minecraft/class_9513;named method_58953Lnet/minecraft/class_9511;method_58953()Lnet/minecraft/class_9513;
-
setPosition
public void setPosition(double x, double y, double z) Sets the position and refreshes the bounding box.This should be called after creating an instance of non-living entities. For living entities,
Entity.refreshPositionAndAngles(net.minecraft.util.math.BlockPos, float, float)should be used instead.- Overrides:
setPositionin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector official a_Lbrv;a_(DDD)Vintermediary method_5814Lnet/minecraft/class_1297;method_5814(DDD)Vnamed setPositionLnet/minecraft/entity/Entity;setPosition(DDD)V
-
tick
public void tick()Ticks this entity. -
method_58954
private void method_58954()- Mappings:
Namespace Name Mixin selector official tLcoz;t()Vintermediary method_58954Lnet/minecraft/class_9511;method_58954()Vnamed method_58954Lnet/minecraft/class_9511;method_58954()V
-
method_58955
private void method_58955()- Mappings:
Namespace Name Mixin selector official uLcoz;u()Vintermediary method_58955Lnet/minecraft/class_9511;method_58955()Vnamed method_58955Lnet/minecraft/class_9511;method_58955()V
-
method_58948
- Mappings:
Namespace Name Mixin selector official aLcoz;a(Lcpe;Liw;F)Vintermediary method_58948Lnet/minecraft/class_9511;method_58948(Lnet/minecraft/class_9517;Lnet/minecraft/class_2350;F)Vnamed method_58948Lnet/minecraft/class_9511;method_58948(Lnet/minecraft/class_9517;Lnet/minecraft/util/math/Direction;F)V
-
method_58949
- Mappings:
Namespace Name Mixin selector official aLcoz;a(Lewu;Liw;)Lir;intermediary method_58949Lnet/minecraft/class_9511;method_58949(Lnet/minecraft/class_243;Lnet/minecraft/class_2350;)Lnet/minecraft/class_2338;named method_58949Lnet/minecraft/class_9511;method_58949(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/BlockPos;
-
initDataTracker
Initializes data tracker.- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official aLbrv;a(Lakc$a;)Vintermediary method_5693Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
-
readCustomDataFromNbt
Reads custom data fromnbt. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
nbtmight not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Specified by:
readCustomDataFromNbtin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbrv;a(Luk;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeCustomDataToNbt
Writes custom data tonbt. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
- Specified by:
writeCustomDataToNbtin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLbrv;b(Luk;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
method_58956
private float method_58956()- Mappings:
Namespace Name Mixin selector official wLcoz;w()Fintermediary method_58956Lnet/minecraft/class_9511;method_58956()Fnamed method_58956Lnet/minecraft/class_9511;method_58956()F
-
method_58957
- Mappings:
Namespace Name Mixin selector official xLcoz;x()Liw;intermediary method_58957Lnet/minecraft/class_9511;method_58957()Lnet/minecraft/class_2350;named method_58957Lnet/minecraft/class_9511;method_58957()Lnet/minecraft/util/math/Direction;
-
createSpawnPacket
Returns a packet to notify the clients of the entity's spawning.- Overrides:
createSpawnPacketin classEntity- Returns:
- a packet to notify the clients of the entity's spawning
- Mappings:
Namespace Name Mixin selector official dqLbrv;dq()Lzl;intermediary method_18002Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;named createSpawnPacketLnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/packet/Packet;
-
updateTrackedPositionAndAngles
public void updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps) - Overrides:
updateTrackedPositionAndAnglesin classEntity- Mappings:
Namespace Name Mixin selector official aLbrv;a(DDDFFI)Vintermediary method_5759Lnet/minecraft/class_1297;method_5759(DDDFFI)Vnamed updateTrackedPositionAndAnglesLnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFI)V
-
getLerpTargetX
public double getLerpTargetX()- Overrides:
getLerpTargetXin classEntity- Mappings:
Namespace Name Mixin selector official c_Lbrv;c_()Dintermediary method_53830Lnet/minecraft/class_1297;method_53830()Dnamed getLerpTargetXLnet/minecraft/entity/Entity;getLerpTargetX()D
-
getLerpTargetY
public double getLerpTargetY()- Overrides:
getLerpTargetYin classEntity- Mappings:
Namespace Name Mixin selector official d_Lbrv;d_()Dintermediary method_53827Lnet/minecraft/class_1297;method_53827()Dnamed getLerpTargetYLnet/minecraft/entity/Entity;getLerpTargetY()D
-
getLerpTargetZ
public double getLerpTargetZ()- Overrides:
getLerpTargetZin classEntity- Mappings:
Namespace Name Mixin selector official M_Lbrv;M_()Dintermediary method_53828Lnet/minecraft/class_1297;method_53828()Dnamed getLerpTargetZLnet/minecraft/entity/Entity;getLerpTargetZ()D
-