net.minecraft.entity.decoration

public class EndCrystalEntity

extends Entity

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable

net.minecraft.world.entity.boss.enderdragon.EndCrystal
net.minecraft.class_1511
net.minecraft.entity.decoration.EndCrystalEntity

Field summary

Modifier and TypeField
private static final TrackedData<Optional<BlockPos>>
DATA_BEAM_TARGET
field_7033
BEAM_TARGET
private static final TrackedData<Boolean>
DATA_SHOW_BOTTOM
field_7035
SHOW_BOTTOM
private static final boolean
DEFAULT_SHOW_BOTTOM
field_57641
DEFAULT_SHOW_BOTTOM
public int
time
field_7034
endCrystalAge

Constructor summary

ModifierConstructor
public (EntityType<? extends EndCrystalEntity> type, World level)
public (World world, double x, double y, double z)

Method summary

Modifier and TypeMethod
protected Entity$MoveEffect
getMovementEmission()
method_33570()
getMoveEffect()
protected void
defineSynchedData(SynchedEntityData$Builder entityData)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
tick()
method_5773()
tick()
protected void
addAdditionalSaveData(ValueOutput output)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
protected void
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
public boolean
isPickable()
method_5863()
canHit()
public final boolean
hurtClient(DamageSource source)
method_5643(class_1282 arg0)
clientDamage(DamageSource arg0)
public final boolean
hurtServer(ServerLevel level, DamageSource source, float damage)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
public void
kill(ServerLevel level)
method_5768(class_3218 arg0)
kill(ServerWorld arg0)
private void
onDestroyedBy(ServerLevel level, DamageSource source)
method_6835(class_3218 arg0, class_1282 arg1)
crystalDestroyed(ServerWorld world, DamageSource source)
public void
setBeamTarget(BlockPos target)
method_6837(class_2338 arg0)
setBeamTarget(BlockPos beamTarget)
public BlockPos
getBeamTarget()
method_6838()
getBeamTarget()
public void
setShowBottom(boolean showBottom)
method_6839(boolean arg0)
setShowBottom(boolean showBottom)
public boolean
showsBottom()
method_6836()
shouldShowBottom()
public boolean
shouldRenderAtSqrDistance(double distance)
method_5640(double arg0)
shouldRender(double arg0)
public ItemStack
getPickResult()
method_31480()
getPickBlockStack()