类 EndCrystalEntity
- java.lang.Object
-
- net.minecraft.entity.Entity
-
- net.minecraft.entity.decoration.EndCrystalEntity
-
- 所有已实现的接口:
CommandOutput,Nameable,EntityLike
public class EndCrystalEntity extends Entity
- Mappings:
Namespace Name official beyintermediary net/minecraft/class_1511named net/minecraft/entity/decoration/EndCrystalEntity
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
-
字段概要
字段 修饰符和类型 字段 说明 private static TrackedData<Optional<BlockPos>>BEAM_TARGETintendCrystalAgeprivate static TrackedData<Boolean>SHOW_BOTTOM-
从类继承的字段 net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_29973, field_29974, field_29979, field_29980, field_29981, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, PASSENGERS_KEY, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world, yaw
-
从接口继承的字段 net.minecraft.server.command.CommandOutput
DUMMY
-
-
构造器概要
构造器 构造器 说明 EndCrystalEntity(EntityType<? extends EndCrystalEntity> type, World world)EndCrystalEntity(World world, double x, double y, double z)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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 nbt)voidsetBeamTarget(@Nullable BlockPos beamTarget)voidsetShowBottom(boolean showBottom)booleanshouldRender(double distance)booleanshouldShowBottom()voidtick()protected voidwriteCustomDataToNbt(CompoundTag nbt)-
从类继承的方法 net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, animateDamage, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, 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, getLeashOffset, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, 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, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, lookAt, method_30951, method_36209, 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, saveNbt, saveSelfNbt, 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, 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, toNbtList, toNbtList, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
-
-
-
-
字段详细资料
-
BEAM_TARGET
private static final TrackedData<Optional<BlockPos>> BEAM_TARGET
- Mappings:
Namespace Name Mixin selector official cLbey;c:Lvy;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
private static final TrackedData<Boolean> SHOW_BOTTOM
- Mappings:
Namespace Name Mixin selector official dLbey;d:Lvy;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 bLbey;b:Iintermediary field_7034Lnet/minecraft/class_1511;field_7034:Inamed endCrystalAgeLnet/minecraft/entity/decoration/EndCrystalEntity;endCrystalAge:I
-
-
构造器详细资料
-
EndCrystalEntity
public EndCrystalEntity(EntityType<? extends EndCrystalEntity> type, World world)
- Mappings:
Namespace Name Mixin selector official <init>Lasl;<init>(Lasp;Lbvr;)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
public EndCrystalEntity(World world, double x, double y, double z)
- Mappings:
Namespace Name Mixin selector official <init>Lbey;<init>(Lbvr;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
-
-
方法详细资料
-
getMoveEffect
protected Entity.MoveEffect getMoveEffect()
Returns the possible effect(s) of an entity moving.- 覆盖:
getMoveEffect在类中Entity- Mappings:
Namespace Name Mixin selector official aFLasl;aF()Lasl$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()
- 指定者:
initDataTracker在类中Entity- Mappings:
Namespace Name Mixin selector official eLasl;e()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
tick
public void tick()
-
writeCustomDataToNbt
protected void writeCustomDataToNbt(CompoundTag nbt)
- 指定者:
writeCustomDataToNbt在类中Entity- Mappings:
Namespace Name Mixin selector official bLasl;b(Lmv;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromNbt
protected void readCustomDataFromNbt(CompoundTag nbt)
- 指定者:
readCustomDataFromNbt在类中Entity- Mappings:
Namespace Name Mixin selector official aLasl;a(Lmv;)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
public boolean damage(DamageSource source, float amount)
-
kill
public void kill()
-
crystalDestroyed
private void crystalDestroyed(DamageSource source)
- Mappings:
Namespace Name Mixin selector official aLbey;a(Larv;)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
public void setBeamTarget(@Nullable @Nullable BlockPos beamTarget)
- Mappings:
Namespace Name Mixin selector official aLbey;a(Lgb;)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
@Nullable public @Nullable BlockPos getBeamTarget()
- Mappings:
Namespace Name Mixin selector official gLbey;g()Lgb;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 aLbey;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 hLbey;h()Zintermediary method_6836Lnet/minecraft/class_1511;method_6836()Znamed shouldShowBottomLnet/minecraft/entity/decoration/EndCrystalEntity;shouldShowBottom()Z
-
shouldRender
public boolean shouldRender(double distance)
- 覆盖:
shouldRender在类中Entity- Mappings:
Namespace Name Mixin selector official aLasl;a(D)Zintermediary method_5640Lnet/minecraft/class_1297;method_5640(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
getPickBlockStack
public ItemStack getPickBlockStack()
- 覆盖:
getPickBlockStack在类中Entity- Mappings:
Namespace Name Mixin selector official daLasl;da()Lbpr;intermediary method_31480Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;named getPickBlockStackLnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;
-
createSpawnPacket
public Packet<?> createSpawnPacket()
- 指定者:
createSpawnPacket在类中Entity- Mappings:
Namespace Name Mixin selector official OLasl;O()Lpf;intermediary method_18002Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;named createSpawnPacketLnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
-
-