Class UniquePrefabContainer.UniquePrefabEntry
java.lang.Object
com.hypixel.hytale.server.worldgen.container.UniquePrefabContainer.UniquePrefabEntry
- Enclosing class:
UniquePrefabContainer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final PrefabCategoryprotected final BlockMaskConditionprotected final intprotected final doubleprotected final booleanprotected final intprotected final intprotected final intprotected final intprotected final intprotected final intprotected final Stringprotected final Vector3iprotected final WorldGenPrefabSupplierprotected final PrefabRotationprotected final booleanprotected final booleanprotected final Vector3dprotected final boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateUniquePrefabEntry(String name, PrefabCategory category, Vector3i position, WorldGenPrefabSupplier prefabSupplier, BlockMaskCondition configuration, PrefabRotation rotation, Vector3d spawnOffset, int environmentId, boolean fitHeightmap, boolean submergeable, double exclusionRadiusSquared, boolean spawnLocation, boolean showOnMap) -
Method Summary
-
Field Details
-
name
-
category
-
position
-
prefabSupplier
-
configuration
-
rotation
-
spawnOffset
-
lowBoundX
protected final int lowBoundX -
lowBoundY
protected final int lowBoundY -
lowBoundZ
protected final int lowBoundZ -
highBoundX
protected final int highBoundX -
highBoundY
protected final int highBoundY -
highBoundZ
protected final int highBoundZ -
environmentId
protected final int environmentId -
fitHeightmap
protected final boolean fitHeightmap -
submerge
protected final boolean submerge -
exclusionRadiusSquared
protected final double exclusionRadiusSquared -
spawnLocation
protected final boolean spawnLocation -
showOnMap
protected final boolean showOnMap
-
-
Constructor Details
-
UniquePrefabEntry
private UniquePrefabEntry(String name, @Nonnull PrefabCategory category, @Nonnull Vector3i position, @Nonnull WorldGenPrefabSupplier prefabSupplier, BlockMaskCondition configuration, @Nonnull PrefabRotation rotation, Vector3d spawnOffset, int environmentId, boolean fitHeightmap, boolean submergeable, double exclusionRadiusSquared, boolean spawnLocation, boolean showOnMap)
-
-
Method Details
-
getName
-
getCategory
-
getPosition
-
getPrefabSupplier
-
getConfiguration
-
getRotation
-
getSpawnOffset
-
getLowBoundX
public int getLowBoundX() -
getLowBoundY
public int getLowBoundY() -
getLowBoundZ
public int getLowBoundZ() -
getHighBoundX
public int getHighBoundX() -
getHighBoundY
public int getHighBoundY() -
getHighBoundZ
public int getHighBoundZ() -
getEnvironmentId
public int getEnvironmentId() -
isFitHeightmap
public boolean isFitHeightmap() -
isSubmerge
public boolean isSubmerge() -
getExclusionRadiusSquared
public double getExclusionRadiusSquared() -
isSpawnLocation
public boolean isSpawnLocation() -
isShowOnMap
public boolean isShowOnMap() -
toString
-