Package net.minecraft.entity.decoration
Class EndCrystalEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.decoration.EndCrystalEntity
- All Implemented Interfaces:
CommandOutput,Nameable,EntityLike
public class EndCrystalEntity extends Entity
- Mappings:
Namespace Name official bdyintermediary net/minecraft/class_1511named net/minecraft/entity/decoration/EndCrystalEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
Fields Modifier and Type Field Description private static TrackedData<Optional<BlockPos>>BEAM_TARGETintendCrystalAgeprivate static TrackedData<Boolean>SHOW_BOTTOMFields 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, yawFields 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 booleancollides()Packet<?>createSpawnPacket()private voidcrystalDestroyed(DamageSource source)booleandamage(DamageSource source, float amount)@Nullable BlockPosgetBeamTarget()protected Entity.MoveEffectgetMoveEffect()Returns the possible effect(s) of an entity moving.ItemStackgetPickBlockStack()protected voidinitDataTracker()voidkill()protected voidreadCustomDataFromNbt(CompoundTag tag)voidsetBeamTarget(@Nullable BlockPos beamTarget)voidsetShowBottom(boolean showBottom)booleanshouldRender(double distance)booleanshouldShowBottom()voidtick()protected voidwriteCustomDataToNbt(CompoundTag tag)Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, 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, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, fall, getAir, getArmorItems, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandItemSlot, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, 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, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimHeight, 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, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, lookAt, method_29919, method_30951, method_33332, method_33574, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playSound, playStepSound, playSwimSound, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, scheduleVelocityUpdate, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, 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, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickInVoid, tickNetherPortal, tickNetherPortalCooldown, tickRiding, toListTag, toListTag, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
-
Field Details
-
BEAM_TARGET
- Mappings:
Namespace Name Mixin selector official cLbdy;c:Lvu;intermediary field_7033Lnet/minecraft/class_1511;field_7033:Lnet/minecraft/class_2940;named BEAM_TARGETLnet/minecraft/entity/decoration/EndCrystalEntity;BEAM_TARGET:Lnet/minecraft/entity/data/TrackedData;
-
SHOW_BOTTOM
- Mappings:
Namespace Name Mixin selector official dLbdy;d:Lvu;intermediary field_7035Lnet/minecraft/class_1511;field_7035:Lnet/minecraft/class_2940;named SHOW_BOTTOMLnet/minecraft/entity/decoration/EndCrystalEntity;SHOW_BOTTOM:Lnet/minecraft/entity/data/TrackedData;
-
endCrystalAge
public int endCrystalAge- Mappings:
Namespace Name Mixin selector official bLbdy;b:Iintermediary field_7034Lnet/minecraft/class_1511;field_7034:Inamed endCrystalAgeLnet/minecraft/entity/decoration/EndCrystalEntity;endCrystalAge:I
-
-
Constructor Details
-
EndCrystalEntity
- Mappings:
Namespace Name Mixin selector official <init>Laro;<init>(Lars;Lbuq;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
EndCrystalEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbdy;<init>(Lbuq;DDD)Vintermediary <init>Lnet/minecraft/class_1511;<init>(Lnet/minecraft/class_1937;DDD)Vnamed <init>Lnet/minecraft/entity/decoration/EndCrystalEntity;<init>(Lnet/minecraft/world/World;DDD)V
-
-
Method Details
-
getMoveEffect
Returns the possible effect(s) of an entity moving.- Overrides:
getMoveEffectin classEntity- Mappings:
Namespace Name Mixin selector official aELaro;aE()Laro$b;intermediary method_33570Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;named getMoveEffectLnet/minecraft/entity/Entity;getMoveEffect()Lnet/minecraft/entity/Entity$MoveEffect;
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official eLaro;e()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
tick
public void tick() -
writeCustomDataToNbt
- Specified by:
writeCustomDataToNbtin classEntity- Mappings:
Namespace Name Mixin selector official bLaro;b(Lmr;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromNbt
- Specified by:
readCustomDataFromNbtin classEntity- Mappings:
Namespace Name Mixin selector official aLaro;a(Lmr;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
collides
public boolean collides() -
damage
-
kill
public void kill() -
crystalDestroyed
- Mappings:
Namespace Name Mixin selector official aLbdy;a(Laqy;)Vintermediary method_6835Lnet/minecraft/class_1511;method_6835(Lnet/minecraft/class_1282;)Vnamed crystalDestroyedLnet/minecraft/entity/decoration/EndCrystalEntity;crystalDestroyed(Lnet/minecraft/entity/damage/DamageSource;)V
-
setBeamTarget
- Mappings:
Namespace Name Mixin selector official aLbdy;a(Lfx;)Vintermediary method_6837Lnet/minecraft/class_1511;method_6837(Lnet/minecraft/class_2338;)Vnamed setBeamTargetLnet/minecraft/entity/decoration/EndCrystalEntity;setBeamTarget(Lnet/minecraft/util/math/BlockPos;)V
-
getBeamTarget
- Mappings:
Namespace Name Mixin selector official gLbdy;g()Lfx;intermediary method_6838Lnet/minecraft/class_1511;method_6838()Lnet/minecraft/class_2338;named getBeamTargetLnet/minecraft/entity/decoration/EndCrystalEntity;getBeamTarget()Lnet/minecraft/util/math/BlockPos;
-
setShowBottom
public void setShowBottom(boolean showBottom)- Mappings:
Namespace Name Mixin selector official aLbdy;a(Z)Vintermediary method_6839Lnet/minecraft/class_1511;method_6839(Z)Vnamed setShowBottomLnet/minecraft/entity/decoration/EndCrystalEntity;setShowBottom(Z)V
-
shouldShowBottom
public boolean shouldShowBottom()- Mappings:
Namespace Name Mixin selector official hLbdy;h()Zintermediary method_6836Lnet/minecraft/class_1511;method_6836()Znamed shouldShowBottomLnet/minecraft/entity/decoration/EndCrystalEntity;shouldShowBottom()Z
-
shouldRender
- Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector official aLaro;a(D)Zintermediary method_5640Lnet/minecraft/class_1297;method_5640(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
getPickBlockStack
- Overrides:
getPickBlockStackin classEntity- Mappings:
Namespace Name Mixin selector official cZLaro;cZ()Lboq;intermediary method_31480Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;named getPickBlockStackLnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;
-
createSpawnPacket
- Specified by:
createSpawnPacketin classEntity- Mappings:
Namespace Name Mixin selector official OLaro;O()Lpb;intermediary method_18002Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;named createSpawnPacketLnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
-