Class EnderCrystalEntity

All Implemented Interfaces:
ICommandSource, INameable, ICapabilityProvider, ICapabilitySerializable<CompoundNBT>, IForgeEntity, INBTSerializable<CompoundNBT>

public class EnderCrystalEntity extends Entity
  • Field Details

  • Constructor Details

    • EnderCrystalEntity

      public EnderCrystalEntity(EntityType<? extends EnderCrystalEntity> p_i50231_1_, World p_i50231_2_)
    • EnderCrystalEntity

      public EnderCrystalEntity(World p_i1699_1_, double p_i1699_2_, double p_i1699_4_, double p_i1699_6_)
  • Method Details

    • isMovementNoisy

      protected boolean isMovementNoisy()
      Overrides:
      isMovementNoisy in class Entity
    • defineSynchedData

      protected void defineSynchedData()
      Specified by:
      defineSynchedData in class Entity
    • tick

      public void tick()
      Overrides:
      tick in class Entity
    • addAdditionalSaveData

      protected void addAdditionalSaveData(CompoundNBT p_213281_1_)
      Specified by:
      addAdditionalSaveData in class Entity
    • readAdditionalSaveData

      protected void readAdditionalSaveData(CompoundNBT p_70037_1_)
      Specified by:
      readAdditionalSaveData in class Entity
    • isPickable

      public boolean isPickable()
      Overrides:
      isPickable in class Entity
    • hurt

      public boolean hurt(DamageSource p_70097_1_, float p_70097_2_)
      Overrides:
      hurt in class Entity
    • kill

      public void kill()
      Overrides:
      kill in class Entity
    • onDestroyedBy

      private void onDestroyedBy(DamageSource p_184519_1_)
    • setBeamTarget

      public void setBeamTarget(@Nullable BlockPos p_184516_1_)
    • getBeamTarget

      @Nullable public BlockPos getBeamTarget()
    • setShowBottom

      public void setShowBottom(boolean p_184517_1_)
    • showsBottom

      public boolean showsBottom()
    • shouldRenderAtSqrDistance

      public boolean shouldRenderAtSqrDistance(double p_70112_1_)
      Overrides:
      shouldRenderAtSqrDistance in class Entity
    • getAddEntityPacket

      public IPacket<?> getAddEntityPacket()
      Specified by:
      getAddEntityPacket in class Entity