SpawnDeployableFromRaycastInteraction

public class SpawnDeployableFromRaycastInteraction extends SimpleInstantInteraction

Class SpawnDeployableFromRaycastInteraction. Provides spawndeployablefromraycastinteraction functionality for the Hytale server.

java.lang.Object > SimpleInstantInteraction > SpawnDeployableFromRaycastInteraction

Field Summary

unknownEntityStats

protected Object2FloatMap unknownEntityStats

Field unknownEntityStats.

entityStats

protected Int2FloatMap entityStats

Field entityStats.

maxPlacementDistance

protected float maxPlacementDistance

Field maxPlacementDistance.

config

private DeployableConfig config

Field config.

entityRef

final Ref entityRef

Field entityRef.

store

final Store store

Field store.

commandBuffer

final CommandBuffer commandBuffer

Field commandBuffer.

clientState

final InteractionSyncData clientState

Field clientState.

transformComponent

final TransformComponent transformComponent

Field transformComponent.

position

final Vector3d position

Field position.

raycastNormal

final com.hypixel.hytale.protocol.Vector3f raycastNormal

Field raycastNormal.

correctedRaycastDistance

final float correctedRaycastDistance

Field correctedRaycastDistance.

spawnPosition

final com.hypixel.hytale.protocol.Vector3f spawnPosition

Field spawnPosition.

norm

final Vector3f norm

Field norm.

attackerRot

final Direction attackerRot

Field attackerRot.

rot

final Vector3f rot

Field rot.

entityStatMapComponent

final EntityStatMap entityStatMapComponent

Field entityStatMapComponent.

stat

final EntityStatValue stat

Field stat.

p

final com.hypixel.hytale.protocol.SpawnDeployableFromRaycastInteraction p

Field p.

Method Detail

processConfig

private void processConfig ()

Method processConfig.

isSurface

static boolean isSurface (@Nonnull final Vector3f normal)

Method isSurface.

Parameters:
@Nonnull final Vector3f normal

needsRemoteSync

public boolean needsRemoteSync ()

Method needsRemoteSync.

getWaitForDataFrom

public WaitForDataFrom getWaitForDataFrom ()

Method getWaitForDataFrom.

firstRun

Method firstRun.

Parameters:
@Nonnull final InteractionType type
@Nonnull final InteractionContext context
@Nonnull final CooldownHandler cooldownHandler

Position

public new Position ((float)

Method Position.

Parameters:
(float (float

canAfford

protected boolean canAfford (@Nonnull final Ref entityRef, @Nonnull final ComponentAccessor componentAccessor)

Method canAfford.

Parameters:
@Nonnull final Ref entityRef
@Nonnull final ComponentAccessor componentAccessor

generatePacket

protected com.hypixel.hytale.protocol.Interaction generatePacket ()

Method generatePacket.

configurePacket

protected void configurePacket (final com.hypixel.hytale.protocol.Interaction packet)

Method configurePacket.

Parameters:
final com.hypixel.hytale.protocol.Interaction packet