Class VoidEvent

java.lang.Object
com.hypixel.hytale.builtin.portals.components.voidevent.VoidEvent
All Implemented Interfaces:
Component<EntityStore>, Cloneable

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

    • MIN_BLOCKS_BETWEEN_SPAWNERS

      public static final int MIN_BLOCKS_BETWEEN_SPAWNERS
      See Also:
  • Constructor Details

    • VoidEvent

      public VoidEvent()
    • VoidEvent

      public VoidEvent(@Nonnull VoidEventConfig config)
  • Method Details

    • getComponentType

      public static ComponentType<EntityStore, VoidEvent> getComponentType()
    • getVoidSpawners

      @Nonnull public SpatialHashGrid<Ref<EntityStore>> getVoidSpawners()
    • getActiveStage

      @Nullable public VoidEventStage getActiveStage()
    • setActiveStage

      public void setActiveStage(@Nullable VoidEventStage activeStage)
    • getActiveMusicIndex

      public int getActiveMusicIndex()
    • setActiveMusicIndex

      public void setActiveMusicIndex(int activeMusicIndex)
    • getActiveWeatherId

      @Nullable public String getActiveWeatherId()
    • setActiveWeatherId

      public void setActiveWeatherId(@Nullable String activeWeatherId)
    • clone

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