Class PrefabSpawnerBlock

java.lang.Object
com.hypixel.hytale.server.core.modules.prefabspawner.PrefabSpawnerBlock
All Implemented Interfaces:
Component<ChunkStore>, Cloneable

public class PrefabSpawnerBlock extends Object implements Component<ChunkStore>
  • Field Details

  • Constructor Details

    • PrefabSpawnerBlock

      public PrefabSpawnerBlock()
    • PrefabSpawnerBlock

      public PrefabSpawnerBlock(String prefabPath, boolean fitHeightmap, boolean inheritSeed, boolean inheritHeightCondition, PrefabWeights prefabWeights)
  • Method Details

    • getComponentType

      public static ComponentType<ChunkStore, PrefabSpawnerBlock> getComponentType()
    • getPrefabPath

      public String getPrefabPath()
    • setPrefabPath

      public void setPrefabPath(String prefabPath)
    • isFitHeightmap

      public boolean isFitHeightmap()
    • setFitHeightmap

      public void setFitHeightmap(boolean fitHeightmap)
    • isInheritSeed

      public boolean isInheritSeed()
    • setInheritSeed

      public void setInheritSeed(boolean inheritSeed)
    • isInheritHeightCondition

      public boolean isInheritHeightCondition()
    • setInheritHeightCondition

      public void setInheritHeightCondition(boolean inheritHeightCondition)
    • getPrefabWeights

      public PrefabWeights getPrefabWeights()
    • setPrefabWeights

      public void setPrefabWeights(PrefabWeights prefabWeights)
    • clone

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