PrefabPropAsset

public class PrefabPropAsset extends PropAsset

Class PrefabPropAsset. Provides prefabpropasset functionality for the Hytale server.

java.lang.Object > PropAsset > PrefabPropAsset

Field Summary

weightedPrefabPathAssets

private WeightedPathAsset[] weightedPrefabPathAssets

Field weightedPrefabPathAssets.

legacyPath

private boolean legacyPath

Field legacyPath.

loadEntities

private boolean loadEntities

Field loadEntities.

directionalityAsset

private DirectionalityAsset directionalityAsset

Field directionalityAsset.

scannerAsset

private ScannerAsset scannerAsset

Field scannerAsset.

blockMaskAsset

private BlockMaskAsset blockMaskAsset

Field blockMaskAsset.

moldingDirectionName

private MoldingDirection moldingDirectionName

Field moldingDirectionName.

moldingScannerAsset

private ScannerAsset moldingScannerAsset

Field moldingScannerAsset.

moldingPatternAsset

private PatternAsset moldingPatternAsset

Field moldingPatternAsset.

moldChildren

private boolean moldChildren

Field moldChildren.

prefabWeightedMap

final WeightedMap> prefabWeightedMap

Field prefabWeightedMap.

pathPrefabs

final List pathPrefabs

Field pathPrefabs.

voxelCache

final MaterialCache voxelCache

Field voxelCache.

scanner

final Scanner scanner

Field scanner.

directionality

final Directionality directionality

Field directionality.

moldingDirection

final MoldingDirection moldingDirection

Field moldingDirection.

moldingScanner

final Scanner moldingScanner

Field moldingScanner.

moldingPattern

final Pattern moldingPattern

Field moldingPattern.

id

private String id

Field id.

data

private AssetExtraInfo.Data data

Field data.

weight

private double weight

Field weight.

path

private String path

Field path.

Method Detail

PrefabPropAsset

public public PrefabPropAsset ()

Method PrefabPropAsset.

cleanUp

public void cleanUp ()

Method cleanUp.

build

public Prop build (@Nonnull final Argument argument)

Method build.

Parameters:
@Nonnull final Argument argument

loadPrefabBuffersFrom

private List loadPrefabBuffersFrom (@Nonnull final String path)

Method loadPrefabBuffersFrom.

Parameters:
@Nonnull final String path

WeightedPathAsset

public public WeightedPathAsset ()

Method WeightedPathAsset.

getId

public String getId ()

Method getId.

KeyedCodec

public new KeyedCodec ("Path", Codec.STRING, true)

Method KeyedCodec.

Parameters:
"Path" "Path"
Codec.STRING Codec.STRING
true true