java.lang.Object
com.hypixel.hytale.server.core.entity.Entity
All Implemented Interfaces:
Component<EntityStore>, Cloneable
Direct Known Subclasses:
LegacySpawnBeaconEntity, LivingEntity, PatrolPathMarkerEntity, SpawnBeacon

public abstract class Entity extends Object implements Component<EntityStore>
  • Field Details

  • Constructor Details

    • Entity

      @Deprecated public Entity(@Nullable World world)
      Deprecated.
    • Entity

      public Entity()
  • Method Details

    • markNeedsSave

      @Deprecated(forRemoval=true) public void markNeedsSave()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setLegacyUUID

      public void setLegacyUUID(@Nullable UUID uuid)
    • remove

      public boolean remove()
    • loadIntoWorld

      public void loadIntoWorld(@Nonnull World world)
    • unloadFromWorld

      public void unloadFromWorld()
    • getNetworkId

      @Deprecated(forRemoval=true) public int getNetworkId()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getLegacyDisplayName

      @Deprecated(forRemoval=true) public String getLegacyDisplayName()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getUuid

      @Nullable @Deprecated(forRemoval=true) public UUID getUuid()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setTransformComponent

      @Deprecated(forRemoval=true) public void setTransformComponent(TransformComponent transform)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getTransformComponent

      @Deprecated(forRemoval=true) public TransformComponent getTransformComponent()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • moveTo

      @Deprecated public void moveTo(@Nonnull Ref<EntityStore> ref, double locX, double locY, double locZ, @Nonnull ComponentAccessor<EntityStore> componentAccessor)
      Deprecated.
    • getWorld

      @Nullable public World getWorld()
    • wasRemoved

      public boolean wasRemoved()
    • isCollidable

      public boolean isCollidable()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object
    • isHiddenFromLivingEntity

      public boolean isHiddenFromLivingEntity(@Nonnull Ref<EntityStore> ref, @Nonnull Ref<EntityStore> targetRef, @Nonnull ComponentAccessor<EntityStore> componentAccessor)
    • setReference

      public void setReference(@Nonnull Ref<EntityStore> reference)
    • getReference

      @Nullable public Ref<EntityStore> getReference()
    • clearReference

      @Deprecated public void clearReference()
      Deprecated.
    • clone

      public Component<EntityStore> clone()
      Specified by:
      clone in interface Component<EntityStore>
      Overrides:
      clone in class Object
    • toHolder

      public Holder<EntityStore> toHolder()