PrototypePlayerBuilderToolSettings

public class PrototypePlayerBuilderToolSettings

Class PrototypePlayerBuilderToolSettings. Provides prototypeplayerbuildertoolsettings functionality for the Hytale server.

java.lang.Object > PrototypePlayerBuilderToolSettings

Field Summary

maxLengthOfIgnoredPaintOperations

private int maxLengthOfIgnoredPaintOperations

Field maxLengthOfIgnoredPaintOperations.

shouldShowEditorSettings

private boolean shouldShowEditorSettings

Field shouldShowEditorSettings.

isLoadingBrush

private boolean isLoadingBrush

Field isLoadingBrush.

usePrototypeBrushConfigurations

private boolean usePrototypeBrushConfigurations

Field usePrototypeBrushConfigurations.

currentlyLoadedBrushConfigName

private String currentlyLoadedBrushConfigName

Field currentlyLoadedBrushConfigName.

brushConfig

private BrushConfig brushConfig

Field brushConfig.

brushConfigCommandExecutor

private BrushConfigCommandExecutor brushConfigCommandExecutor

Field brushConfigCommandExecutor.

isInSelectionTransformationMode

private boolean isInSelectionTransformationMode

Field isInSelectionTransformationMode.

blockChangesForPlaySelectionToolPasteMode

private BlockChange[] blockChangesForPlaySelectionToolPasteMode

Field blockChangesForPlaySelectionToolPasteMode.

fluidChangesForPlaySelectionToolPasteMode

private FluidChange[] fluidChangesForPlaySelectionToolPasteMode

Field fluidChangesForPlaySelectionToolPasteMode.

lastBrushPosition

private Vector3i lastBrushPosition

Field lastBrushPosition.

blockChangeOffsetOrigin

private Vector3i blockChangeOffsetOrigin

Field blockChangeOffsetOrigin.

longs

final LongOpenHashSet longs

Field longs.

packedBlockLocation

final long packedBlockLocation

Field packedBlockLocation.

uuidComponent

final UUIDComponent uuidComponent

Field uuidComponent.

prototypeSettings

final PrototypePlayerBuilderToolSettings prototypeSettings

Field prototypeSettings.

Method Detail

PrototypePlayerBuilderToolSettings

public public PrototypePlayerBuilderToolSettings (final UUID player)

Method PrototypePlayerBuilderToolSettings.

Parameters:
final UUID player

getPlayer

public UUID getPlayer ()

Method getPlayer.

isInSelectionTransformationMode

public boolean isInSelectionTransformationMode ()

Method isInSelectionTransformationMode.

setInSelectionTransformationMode

public void setInSelectionTransformationMode (final boolean inSelectionTransformationMode)

Method setInSelectionTransformationMode.

Parameters:
final boolean inSelectionTransformationMode

setBlockChangesForPlaySelectionToolPasteMode

public void setBlockChangesForPlaySelectionToolPasteMode (@Nullable final BlockChange[] blockChangesForPlaySelectionToolPasteMode)

Method setBlockChangesForPlaySelectionToolPasteMode.

Parameters:
@Nullable final BlockChange[] blockChangesForPlaySelectionToolPasteMode

getCurrentlyLoadedBrushConfigName

public String getCurrentlyLoadedBrushConfigName ()

Method getCurrentlyLoadedBrushConfigName.

setCurrentlyLoadedBrushConfigName

public void setCurrentlyLoadedBrushConfigName (final String currentlyLoadedBrushConfigName)

Method setCurrentlyLoadedBrushConfigName.

Parameters:
final String currentlyLoadedBrushConfigName

isLoadingBrush

public boolean isLoadingBrush ()

Method isLoadingBrush.

setLoadingBrush

public void setLoadingBrush (final boolean loadingBrush)

Method setLoadingBrush.

Parameters:
final boolean loadingBrush

getBlockChangesForPlaySelectionToolPasteMode

public BlockChange[] getBlockChangesForPlaySelectionToolPasteMode ()

Method getBlockChangesForPlaySelectionToolPasteMode.

setFluidChangesForPlaySelectionToolPasteMode

public void setFluidChangesForPlaySelectionToolPasteMode (@Nullable final FluidChange[] fluidChanges)

Method setFluidChangesForPlaySelectionToolPasteMode.

Parameters:
@Nullable final FluidChange[] fluidChanges

getFluidChangesForPlaySelectionToolPasteMode

public FluidChange[] getFluidChangesForPlaySelectionToolPasteMode ()

Method getFluidChangesForPlaySelectionToolPasteMode.

setBlockChangeOffsetOrigin

public void setBlockChangeOffsetOrigin (@Nullable final Vector3i blockChangeOffsetOrigin)

Method setBlockChangeOffsetOrigin.

Parameters:
@Nullable final Vector3i blockChangeOffsetOrigin

getBlockChangeOffsetOrigin

public Vector3i getBlockChangeOffsetOrigin ()

Method getBlockChangeOffsetOrigin.

addIgnoredPaintOperation

public LongOpenHashSet addIgnoredPaintOperation ()

Method addIgnoredPaintOperation.

clearHistoryUntilFitMaxLength

public void clearHistoryUntilFitMaxLength ()

Method clearHistoryUntilFitMaxLength.

containsLocation

public boolean containsLocation (final int x, final int y, final int z)

Method containsLocation.

Parameters:
final int x
final int y
final int z

getIgnoredPaintOperations

public LinkedList getIgnoredPaintOperations ()

Method getIgnoredPaintOperations.

getMaxLengthOfIgnoredPaintOperations

public int getMaxLengthOfIgnoredPaintOperations ()

Method getMaxLengthOfIgnoredPaintOperations.

setMaxLengthOfIgnoredPaintOperations

public void setMaxLengthOfIgnoredPaintOperations (final int maxLengthOfIgnoredPaintOperations)

Method setMaxLengthOfIgnoredPaintOperations.

Parameters:
final int maxLengthOfIgnoredPaintOperations

usePrototypeBrushConfigurations

public boolean usePrototypeBrushConfigurations ()

Method usePrototypeBrushConfigurations.

setUsePrototypeBrushConfigurations

public void setUsePrototypeBrushConfigurations (final boolean usePrototypeBrushConfigurations)

Method setUsePrototypeBrushConfigurations.

Parameters:
final boolean usePrototypeBrushConfigurations

getBrushConfig

public BrushConfig getBrushConfig ()

Method getBrushConfig.

getBrushConfigCommandExecutor

public BrushConfigCommandExecutor getBrushConfigCommandExecutor ()

Method getBrushConfigCommandExecutor.

setBrushConfig

public void setBrushConfig (final BrushConfig brushConfig)

Method setBrushConfig.

Parameters:
final BrushConfig brushConfig

isShouldShowEditorSettings

public boolean isShouldShowEditorSettings ()

Method isShouldShowEditorSettings.

setShouldShowEditorSettings

public void setShouldShowEditorSettings (final boolean shouldShowEditorSettings)

Method setShouldShowEditorSettings.

Parameters:
final boolean shouldShowEditorSettings

getLastBrushPosition

public Vector3i getLastBrushPosition ()

Method getLastBrushPosition.

setLastBrushPosition

public void setLastBrushPosition (@Nullable final Vector3i lastBrushPosition)

Method setLastBrushPosition.

Parameters:
@Nullable final Vector3i lastBrushPosition

clearLastBrushPosition

public void clearLastBrushPosition ()

Method clearLastBrushPosition.

isOkayToDoCommandsOnSelection

static boolean isOkayToDoCommandsOnSelection (final Ref ref, @Nonnull final Player player, final ComponentAccessor componentAccessor)

Method isOkayToDoCommandsOnSelection.

Parameters:
final Ref ref
@Nonnull final Player player
final ComponentAccessor componentAccessor

FluidChange

public record FluidChange (int x, int y, int z, int fluidId, byte fluidLevel)

Method FluidChange.

Parameters:
int x
int y
int z
int fluidId
byte fluidLevel