PastePrefabOperation

public class PastePrefabOperation extends SequenceBrushOperation

Class PastePrefabOperation. Provides pasteprefaboperation functionality for the Hytale server.

java.lang.Object > SequenceBrushOperation > PastePrefabOperation

Field Summary

prefabListAssetId

public String prefabListAssetId

Field prefabListAssetId.

hasBeenPlacedAlready

private boolean hasBeenPlacedAlready

Field hasBeenPlacedAlready.

prefabListAsset

final PrefabListAsset prefabListAsset

Field prefabListAsset.

prefabPath

final Path prefabPath

Field prefabPath.

world

final World world

Field world.

accessor

final PrefabBuffer.PrefabBufferAccessor accessor

Field accessor.

xLength

final double xLength

Field xLength.

zLength

final double zLength

Field zLength.

prefabRadius

final int prefabRadius

Field prefabRadius.

chunkAccessor

final LocalCachedChunkAccessor chunkAccessor

Field chunkAccessor.

bx

final int bx

Field bx.

by

final int by

Field by.

bz

final int bz

Field bz.

chunk

final WorldChunk chunk

Field chunk.

store

final Store store

Field store.

column

final ChunkColumn column

Field column.

section

final Ref section

Field section.

fluidSection

final FluidSection fluidSection

Field fluidSection.

block

final BlockType block

Field block.

blockKey

final String blockKey

Field blockKey.

rot

final RotationTuple rot

Field rot.

chunkRef

final Ref chunkRef

Field chunkRef.

store2

final Store store2

Field store2.

column2

final ChunkColumn column2

Field column2.

Method Detail

PastePrefabOperation

public public PastePrefabOperation ()

Method PastePrefabOperation.

resetInternalState

public void resetInternalState ()

Method resetInternalState.

modifyBrushConfig

public void modifyBrushConfig (@Nonnull final Ref ref, @Nonnull final BrushConfig brushConfig, @Nonnull final BrushConfigCommandExecutor brushConfigCommandExecutor, @Nonnull final ComponentAccessor componentAccessor)

Method modifyBrushConfig.

Parameters:
@Nonnull final Ref ref
@Nonnull final BrushConfig brushConfig
@Nonnull final BrushConfigCommandExecutor brushConfigCommandExecutor
@Nonnull final ComponentAccessor componentAccessor

modifyBlocks

public boolean modifyBlocks (@Nonnull final Ref ref, @Nonnull final BrushConfig brushConfig, final BrushConfigCommandExecutor brushConfigCommandExecutor, final BrushConfigEditStore edit, final int x, final int y, final int z, final ComponentAccessor componentAccessor)

Method modifyBlocks.

Parameters:
@Nonnull final Ref ref
@Nonnull final BrushConfig brushConfig
final BrushConfigCommandExecutor brushConfigCommandExecutor
final BrushConfigEditStore edit
final int x
final int y
final int z
final ComponentAccessor componentAccessor

PrefabBufferCall

public new PrefabBufferCall (new Random()

Method PrefabBufferCall.

Parameters:
new Random(