ResolvedBlockArrayJsonLoader

public class ResolvedBlockArrayJsonLoader extends JsonLoader

Class ResolvedBlockArrayJsonLoader. Provides resolvedblockarrayjsonloader functionality for the Hytale server.

java.lang.Object > JsonLoader > ResolvedBlockArrayJsonLoader

Field Summary

jsonArray

final JsonArray jsonArray

Field jsonArray.

blocks

final BlockFluidEntry[] blocks

Field blocks.

elm

final JsonElement elm

Field elm.

obj

final JsonObject obj

Field obj.

key

final BlockPattern.BlockEntry key

Field key.

index

final int index

Field index.

key2

final String key2

Field key2.

blockName

final String blockName

Field blockName.

key3

final BlockPattern.BlockEntry key3

Field key3.

index2

final int index2

Field index2.

mapIndex

final long mapIndex

Field mapIndex.

cachedResolvedBlockArray

final ResolvedBlockArray cachedResolvedBlockArray

Field cachedResolvedBlockArray.

resolvedBlockArray

final ResolvedBlockArray resolvedBlockArray

Field resolvedBlockArray.

Method Detail

ResolvedBlockArrayJsonLoader

public public ResolvedBlockArrayJsonLoader (@Nonnull final SeedString seed, final Path dataFolder, final JsonElement json)

Method ResolvedBlockArrayJsonLoader.

Parameters:
@Nonnull final SeedString seed
final Path dataFolder
final JsonElement json

load

public ResolvedBlockArray load ()

Method load.

loadSingleBlock

public return loadSingleBlock (this.json.getAsJsonObject()

Method loadSingleBlock.

Parameters:
this.json.getAsJsonObject( this.json.getAsJsonObject(

IllegalArgumentException

public new IllegalArgumentException ("Unknown key! " + String.valueOf(key)

Method IllegalArgumentException.

Parameters:
"Unknown key! " + String.valueOf(key