DeployableSpawner

public class DeployableSpawner implements JsonAssetWithMap, DefaultAssetMap, DeployableSpawner>>

Class DeployableSpawner. Provides deployablespawner functionality for the Hytale server.

java.lang.Object > DeployableSpawner

Field Summary

id

protected String id

Field id.

data

protected AssetExtraInfo.Data data

Field data.

config

private DeployableConfig config

Field config.

positionOffsets

private Vector3d[] positionOffsets

Field positionOffsets.

Method Detail

DeployableSpawner

public public DeployableSpawner (final String id, final DeployableConfig config, final Vector3d[] positionOffsets)

Method DeployableSpawner.

Parameters:
final String id
final DeployableConfig config
final Vector3d[] positionOffsets

getAssetMap

public DeployableSpawner> getAssetMap ()

Method getAssetMap.

getPositionOffsets

public Vector3d[] getPositionOffsets ()

Method getPositionOffsets.

getConfig

public DeployableConfig getConfig ()

Method getConfig.

getId

public String getId ()

Method getId.

KeyedCodec

public new KeyedCodec ("PositionOffsets", new ArrayCodec(Vector3d.CODEC, Vector3d[]::new)

Method KeyedCodec.

Parameters:
"PositionOffsets" "PositionOffsets"
new ArrayCodec(Vector3d.CODEC
Vector3d[]::new Vector3d[]::new