LayersOperation

public class LayersOperation extends ToolOperation

Class LayersOperation. Provides layersoperation functionality for the Hytale server.

java.lang.Object > ToolOperation > LayersOperation

Field Summary

failed

private boolean failed

Field failed.

headRotationComponent

final HeadRotation headRotationComponent

Field headRotationComponent.

s

final String s

Field s.

currentBlock

final int currentBlock

Field currentBlock.

Method Detail

LayersOperation

public public LayersOperation (@Nonnull final Ref ref, @Nonnull final Player player, @Nonnull final BuilderToolOnUseInteraction packet, @Nonnull final ComponentAccessor componentAccessor)

Method LayersOperation.

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

execute0

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

Method execute0.

Parameters:
final int x
final int y
final int z

if

public else if (this.depthDirection.x == -1)

Method if.

Parameters:
this.depthDirection.x == -1

attemptSetBlock

public boolean attemptSetBlock (final int x, final int y, final int z, final int depth)

Method attemptSetBlock.

Parameters:
final int x
final int y
final int z
final int depth