BuilderToolsPacketHandler

public class BuilderToolsPacketHandler implements SubPacketHandler

Class BuilderToolsPacketHandler. Provides buildertoolspackethandler functionality for the Hytale server.

java.lang.Object > BuilderToolsPacketHandler

Field Summary

playerRef

final PlayerRef playerRef

Field playerRef.

ref

final Ref ref

Field ref.

store

final Store store

Field store.

world

final World world

Field world.

playerComponent

final Player playerComponent

Field playerComponent.

entityId

final int entityId

Field entityId.

entityReference

final Ref entityReference

Field entityReference.

uuidComponent

final UUIDComponent uuidComponent

Field uuidComponent.

transformComponent

final TransformComponent transformComponent

Field transformComponent.

builderState

final BuilderToolsPlugin.BuilderState builderState

Field builderState.

position

final Vector3d position

Field position.

intTriple

final Vector3i intTriple

Field intTriple.

prototypeSettings

final PrototypePlayerBuilderToolSettings prototypeSettings

Field prototypeSettings.

selection

final BlockSelection selection

Field selection.

editorPacket

final EditorBlocksChange editorPacket

Field editorPacket.

blocksChange

final BlockChange[] blocksChange

Field blocksChange.

fluidChanges

final ArrayList fluidChanges

Field fluidChanges.

anchorX

final int anchorX

Field anchorX.

anchorY

final int anchorY

Field anchorY.

anchorZ

final int anchorZ

Field anchorZ.

fluidChangesArray

final PrototypePlayerBuilderToolSettings.FluidChange[] fluidChangesArray

Field fluidChangesArray.

packetFluids

final FluidChange[] packetFluids

Field packetFluids.

fc

final PrototypePlayerBuilderToolSettings.FluidChange fc

Field fc.

tmx

final float[] tmx

Field tmx.

transformationMatrix

final Matrix4d transformationMatrix

Field transformationMatrix.

initialSelectionMin

final Vector3i initialSelectionMin

Field initialSelectionMin.

initialSelectionMax

final Vector3i initialSelectionMax

Field initialSelectionMax.

rotationOrigin

final Vector3f rotationOrigin

Field rotationOrigin.

blockCount

final int blockCount

Field blockCount.

large

final boolean large

Field large.

builderTool

final BuilderTool builderTool

Field builderTool.

activeItemStack

final ItemStack activeItemStack

Field activeItemStack.

args

final BuilderTool.ArgData args

Field args.

extrudeDepth

final int extrudeDepth

Field extrudeDepth.

extrudeRadius

final int extrudeRadius

Field extrudeRadius.

blockId

final int blockId

Field blockId.

axis

final com.hypixel.hytale.math.Axis axis

Field axis.

brushData

final BrushData.Values brushData

Field brushData.

lineWidth

final int lineWidth

Field lineWidth.

lineHeight

final int lineHeight

Field lineHeight.

lineShape

final BrushShape lineShape

Field lineShape.

lineOrigin

final BrushOrigin lineOrigin

Field lineOrigin.

lineWallThickness

final int lineWallThickness

Field lineWallThickness.

lineSpacing

final int lineSpacing

Field lineSpacing.

lineDensity

final int lineDensity

Field lineDensity.

lineMaterial

final BlockPattern lineMaterial

Field lineMaterial.

headRotation

final HeadRotation headRotation

Field headRotation.

modelTransform

final ModelTransform modelTransform

Field modelTransform.

hasPosition

final boolean hasPosition

Field hasPosition.

hasLookOrientation

final boolean hasLookOrientation

Field hasLookOrientation.

hasBodyOrientation

final boolean hasBodyOrientation

Field hasBodyOrientation.

prefabEditSessionManager

final PrefabEditSessionManager prefabEditSessionManager

Field prefabEditSessionManager.

prefabEditSession

final PrefabEditSession prefabEditSession

Field prefabEditSession.

propComponent

final PropComponent propComponent

Field propComponent.

scaleComponent

final EntityScaleComponent scaleComponent

Field scaleComponent.

scaleComponent2

final EntityScaleComponent scaleComponent2

Field scaleComponent2.

colorLight

final ColorLight colorLight

Field colorLight.

uuid

final UUID uuid

Field uuid.

command

final String command

Field command.

Method Detail

BuilderToolsPacketHandler

public public BuilderToolsPacketHandler (final IPacketHandler packetHandler)

Method BuilderToolsPacketHandler.

Parameters:
final IPacketHandler packetHandler

registerHandlers

public void registerHandlers ()

Method registerHandlers.

hasPermission

static boolean hasPermission (@Nonnull final Player player)

Method hasPermission.

Parameters:
@Nonnull final Player player

handle

Method handle.

Parameters:
@Nonnull final BuilderToolSetTransformationModeState packet

Vector3i

public new Vector3i (MathUtil.floor(position.getX()

Method Vector3i.

Parameters:
MathUtil.floor(position.getX( MathUtil.floor(position.getX(

FluidChange

public new FluidChange (fc.x()

Method FluidChange.

Parameters:
fc.x( fc.x(

BuilderToolSelectionToolReplyWithClipboard

public new BuilderToolSelectionToolReplyWithClipboard (blocksChange, packetFluids)

Method BuilderToolSelectionToolReplyWithClipboard.

Parameters:
blocksChange blocksChange
packetFluids packetFluids

toInt

public int toInt (final float value)

Method toInt.

Parameters:
final float value

Matrix4d

public new Matrix4d ()

Method Matrix4d.

if

public else if (!(!hasPermission(playerComponent, "hytale.editor.selection.clipboard")

Method if.

Parameters:
!(!hasPermission(playerComponent !(!hasPermission(playerComponent
"hytale.editor.selection.clipboard" "hytale.editor.selection.clipboard"

fromBlockPosition

public Vector3i fromBlockPosition (@Nonnull final BlockPosition position)

Method fromBlockPosition.

Parameters:
@Nonnull final BlockPosition position

DynamicLight

public new DynamicLight (colorLight)

Method DynamicLight.

Parameters:
colorLight colorLight

PersistentDynamicLight

public new PersistentDynamicLight (colorLight)

Method PersistentDynamicLight.

Parameters:
colorLight colorLight