public class PrefabSpawnerState extends BlockState
Class PrefabSpawnerState. Provides prefabspawnerstate functionality for the Hytale server.
java.lang.Object > BlockState > PrefabSpawnerState
Field Summary
prefabPath
private
String
prefabPath
Field prefabPath.
fitHeightmap
private
boolean
fitHeightmap
Field fitHeightmap.
inheritSeed
private
boolean
inheritSeed
Field inheritSeed.
inheritHeightCondition
private
boolean
inheritHeightCondition
Field inheritHeightCondition.
prefabWeights
private
PrefabWeights
prefabWeights
Field prefabWeights.
playerComponent
final
Player
playerComponent
Field playerComponent.
defaultWeight
private
double
defaultWeight
Field defaultWeight.
Method Detail
PrefabSpawnerState
public
public
PrefabSpawnerState
()
Method PrefabSpawnerState.
getPrefabPath
public
String
getPrefabPath
()
Method getPrefabPath.
setPrefabPath
public
void
setPrefabPath
(final String prefabPath)
Method setPrefabPath.
- Parameters:
final StringprefabPath
isFitHeightmap
public
boolean
isFitHeightmap
()
Method isFitHeightmap.
setFitHeightmap
public
void
setFitHeightmap
(final boolean fitHeightmap)
Method setFitHeightmap.
- Parameters:
final booleanfitHeightmap
isInheritSeed
public
boolean
isInheritSeed
()
Method isInheritSeed.
setInheritSeed
public
void
setInheritSeed
(final boolean inheritSeed)
Method setInheritSeed.
- Parameters:
final booleaninheritSeed
isInheritHeightCondition
public
boolean
isInheritHeightCondition
()
Method isInheritHeightCondition.
setInheritHeightCondition
public
void
setInheritHeightCondition
(final boolean inheritHeightCondition)
Method setInheritHeightCondition.
- Parameters:
final booleaninheritHeightCondition
getPrefabWeightsNullable
Method getPrefabWeightsNullable.
PrefabSpawnerSettingsPage
public
public
PrefabSpawnerSettingsPage
(@Nonnull final PlayerRef playerRef, final PrefabSpawnerState state, @Nonnull final CustomPageLifetime lifetime)
Method PrefabSpawnerSettingsPage.
- Parameters:
@Nonnull final PlayerRefplayerReffinal PrefabSpawnerStatestate@Nonnull final CustomPageLifetimelifetime
build
public
void
build
(@Nonnull final Ref ref, @Nonnull final UICommandBuilder commandBuilder, @Nonnull final UIEventBuilder eventBuilder, @Nonnull final Store store)
Method build.
- Parameters:
@Nonnull final Refref@Nonnull final UICommandBuildercommandBuilder@Nonnull final UIEventBuildereventBuilder@Nonnull final Storestore
EventData
public
new
EventData
()
Method EventData.
handleDataEvent
public
void
handleDataEvent
(@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final PrefabSpawnerSettingsPageEventData data)
Method handleDataEvent.
- Parameters:
@Nonnull final Refref@Nonnull final Storestore@Nonnull final PrefabSpawnerSettingsPageEventDatadata