Package net.minecraft.entity.decoration
Class EndCrystalEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.decoration.EndCrystalEntity
- All Implemented Interfaces:
EntityLike
,CommandOutput
,Nameable
public class EndCrystalEntity extends Entity
- Mappings:
Namespace Name official bdf
intermediary net/minecraft/class_1511
named net/minecraft/entity/decoration/EndCrystalEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.class_5799, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Fields Modifier and Type Field Description private static TrackedData<Optional<BlockPos>>
BEAM_TARGET
int
endCrystalAge
private static TrackedData<Boolean>
SHOW_BOTTOM
Fields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_28629, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, world, yaw
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
Constructors Constructor Description EndCrystalEntity(EntityType<? extends EndCrystalEntity> type, World world)
EndCrystalEntity(World world, double x, double y, double z)
-
Method Summary
Modifier and Type Method Description boolean
collides()
Packet<?>
createSpawnPacket()
private void
crystalDestroyed(DamageSource source)
boolean
damage(DamageSource source, float amount)
BlockPos
getBeamTarget()
ItemStack
getPickBlockStack()
protected void
initDataTracker()
void
kill()
protected Entity.class_5799
method_33570()
protected void
readCustomDataFromTag(CompoundTag tag)
void
setBeamTarget(BlockPos beamTarget)
void
setShowBottom(boolean showBottom)
boolean
shouldRender(double distance)
boolean
shouldShowBottom()
void
tick()
protected void
writeCustomDataToTag(CompoundTag tag)
Methods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, animateDamage, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, canFly, canFreeze, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, fall, fromTag, getAir, getArmorItems, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeHeight, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getItemsHand, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getX, getY, getYaw, getZ, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interact, interactAt, isAlive, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushable, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, lookAt, method_29241, method_29919, method_30330, method_30633, method_30951, method_31744, method_32318, method_32877, method_33332, method_33567, method_33568, method_33569, method_33571, method_33573, method_33574, method_33575, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playFlySound, playSound, playStepSound, playSwimSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, raycast, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, scheduleVelocityUpdate, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, startRiding, stopRiding, streamPassengers, streamPassengersRecursively, teleport, tickInVoid, tickNetherPortal, tickNetherPortalCooldown, tickRiding, toListTag, toListTag, toString, toTag, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, wouldPoseNotCollide
-
Field Details
-
BEAM_TARGET
- Mappings:
Namespace Name Mixin selector official c
Lbdf;c:Lvk;
intermediary field_7033
Lnet/minecraft/class_1511;field_7033:Lnet/minecraft/class_2940;
named BEAM_TARGET
Lnet/minecraft/entity/decoration/EndCrystalEntity;BEAM_TARGET:Lnet/minecraft/entity/data/TrackedData;
-
SHOW_BOTTOM
- Mappings:
Namespace Name Mixin selector official d
Lbdf;d:Lvk;
intermediary field_7035
Lnet/minecraft/class_1511;field_7035:Lnet/minecraft/class_2940;
named SHOW_BOTTOM
Lnet/minecraft/entity/decoration/EndCrystalEntity;SHOW_BOTTOM:Lnet/minecraft/entity/data/TrackedData;
-
endCrystalAge
public int endCrystalAge- Mappings:
Namespace Name Mixin selector official b
Lbdf;b:I
intermediary field_7034
Lnet/minecraft/class_1511;field_7034:I
named endCrystalAge
Lnet/minecraft/entity/decoration/EndCrystalEntity;endCrystalAge:I
-
-
Constructor Details
-
EndCrystalEntity
- Mappings:
Namespace Name Mixin selector official <init>
Laqv;<init>(Laqz;Lbtv;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
EndCrystalEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbdf;<init>(Lbtv;DDD)V
intermediary <init>
Lnet/minecraft/class_1511;<init>(Lnet/minecraft/class_1937;DDD)V
named <init>
Lnet/minecraft/entity/decoration/EndCrystalEntity;<init>(Lnet/minecraft/world/World;DDD)V
-
-
Method Details
-
method_33570
- Overrides:
method_33570
in classEntity
- Mappings:
Namespace Name Mixin selector official aE
Laqv;aE()Laqv$b;
intermediary method_33570
Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;
named method_33570
Lnet/minecraft/entity/Entity;method_33570()Lnet/minecraft/entity/Entity$class_5799;
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTracker
in classEntity
- Mappings:
Namespace Name Mixin selector official e
Laqv;e()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
tick
public void tick() -
writeCustomDataToTag
- Specified by:
writeCustomDataToTag
in classEntity
- Mappings:
Namespace Name Mixin selector official b
Laqv;b(Lmq;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToTag
Lnet/minecraft/entity/Entity;writeCustomDataToTag(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromTag
- Specified by:
readCustomDataFromTag
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Lmq;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromTag
Lnet/minecraft/entity/Entity;readCustomDataFromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
collides
public boolean collides() -
damage
-
kill
public void kill() -
crystalDestroyed
- Mappings:
Namespace Name Mixin selector official a
Lbdf;a(Laqf;)V
intermediary method_6835
Lnet/minecraft/class_1511;method_6835(Lnet/minecraft/class_1282;)V
named crystalDestroyed
Lnet/minecraft/entity/decoration/EndCrystalEntity;crystalDestroyed(Lnet/minecraft/entity/damage/DamageSource;)V
-
setBeamTarget
- Mappings:
Namespace Name Mixin selector official a
Lbdf;a(Lfx;)V
intermediary method_6837
Lnet/minecraft/class_1511;method_6837(Lnet/minecraft/class_2338;)V
named setBeamTarget
Lnet/minecraft/entity/decoration/EndCrystalEntity;setBeamTarget(Lnet/minecraft/util/math/BlockPos;)V
-
getBeamTarget
- Mappings:
Namespace Name Mixin selector official g
Lbdf;g()Lfx;
intermediary method_6838
Lnet/minecraft/class_1511;method_6838()Lnet/minecraft/class_2338;
named getBeamTarget
Lnet/minecraft/entity/decoration/EndCrystalEntity;getBeamTarget()Lnet/minecraft/util/math/BlockPos;
-
setShowBottom
public void setShowBottom(boolean showBottom)- Mappings:
Namespace Name Mixin selector official a
Lbdf;a(Z)V
intermediary method_6839
Lnet/minecraft/class_1511;method_6839(Z)V
named setShowBottom
Lnet/minecraft/entity/decoration/EndCrystalEntity;setShowBottom(Z)V
-
shouldShowBottom
public boolean shouldShowBottom()- Mappings:
Namespace Name Mixin selector official h
Lbdf;h()Z
intermediary method_6836
Lnet/minecraft/class_1511;method_6836()Z
named shouldShowBottom
Lnet/minecraft/entity/decoration/EndCrystalEntity;shouldShowBottom()Z
-
shouldRender
- Overrides:
shouldRender
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(D)Z
intermediary method_5640
Lnet/minecraft/class_1297;method_5640(D)Z
named shouldRender
Lnet/minecraft/entity/Entity;shouldRender(D)Z
-
getPickBlockStack
- Overrides:
getPickBlockStack
in classEntity
- Mappings:
Namespace Name Mixin selector official cY
Laqv;cY()Lbnv;
intermediary method_31480
Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;
named getPickBlockStack
Lnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;
-
createSpawnPacket
- Specified by:
createSpawnPacket
in classEntity
- Mappings:
Namespace Name Mixin selector official P
Laqv;P()Lpa;
intermediary method_18002
Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;
named createSpawnPacket
Lnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
-