Class SpawnMarkerBlockReference

java.lang.Object
com.hypixel.hytale.server.spawning.blockstates.SpawnMarkerBlockReference
All Implemented Interfaces:
Component<EntityStore>, Cloneable

public class SpawnMarkerBlockReference extends Object implements Component<EntityStore>
A reference component used to tie a SpawnMarkerEntity to a SpawnMarkerBlock.
Since:
2021/03/10
  • Field Details

  • Constructor Details

    • SpawnMarkerBlockReference

      public SpawnMarkerBlockReference(org.joml.Vector3i blockPosition)
  • Method Details

    • getComponentType

      public static ComponentType<EntityStore, SpawnMarkerBlockReference> getComponentType()
    • getBlockPosition

      public org.joml.Vector3i getBlockPosition()
    • refreshOriginLostTimeout

      public void refreshOriginLostTimeout()
    • tickOriginLostTimeout

      public boolean tickOriginLostTimeout(float dt)
    • clone

      @Nonnull public Component<EntityStore> clone()
      Specified by:
      clone in interface Component<EntityStore>
      Returns:
      a clone instance of the original component instance.