SpawnMarkerBlockStateSystems

public class SpawnMarkerBlockStateSystems

Class SpawnMarkerBlockStateSystems. Provides spawnmarkerblockstatesystems functionality for the Hytale server.

java.lang.Object > SpawnMarkerBlockStateSystems

Field Summary

data

final StateData data

Field data.

stateData

final SpawnMarkerBlockState.Data stateData

Field stateData.

marker

final SpawnMarker marker

Field marker.

pos

final Vector3i pos

Field pos.

offset

final Vector3i offset

Field offset.

spawnMarker

final SpawnMarkerEntity spawnMarker

Field spawnMarker.

holder

final Holder holder

Field holder.

markerPos

final Vector3d markerPos

Field markerPos.

uuidComponent

final UUIDComponent uuidComponent

Field uuidComponent.

model

final Model model

Field model.

markerRef

final Ref markerRef

Field markerRef.

persistentRef

final PersistentRef persistentRef

Field persistentRef.

state

final SpawnMarkerBlockState state

Field state.

markerReference

final PersistentRef markerReference

Field markerReference.

world

final World world

Field world.

entityStore

final Store entityStore

Field entityStore.

ref

final Ref ref

Field ref.

chunk

final WorldChunk chunk

Field chunk.

ref2

final Ref ref2

Field ref2.

Method Detail

createMarker

Method createMarker.

Parameters:
@Nonnull final Ref ref
@Nonnull final SpawnMarkerBlockState state
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

SpawnMarkerBlockReference

public new SpawnMarkerBlockReference (state.getBlockPosition()

Method SpawnMarkerBlockReference.

Parameters:
state.getBlockPosition( state.getBlockPosition(

Nameplate

public new Nameplate (marker.getId()

Method Nameplate.

Parameters:
marker.getId( marker.getId(

TransformComponent

public new TransformComponent (markerPos, Vector3f.ZERO)

Method TransformComponent.

Parameters:
markerPos markerPos
Vector3f.ZERO Vector3f.ZERO

ModelComponent

public new ModelComponent (model)

Method ModelComponent.

Parameters:
model model

PersistentModel

public new PersistentModel (model.toReference()

Method PersistentModel.

Parameters:
model.toReference( model.toReference(

AddOrRemove

public public AddOrRemove (final ComponentType componentType)

Method AddOrRemove.

Parameters:
final ComponentType componentType

getQuery

public Query getQuery ()

Method getQuery.

onEntityAdded

public void onEntityAdded (@Nonnull final Ref ref, @Nonnull final AddReason reason, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onEntityAdded.

Parameters:
@Nonnull final Ref ref
@Nonnull final AddReason reason
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

onEntityRemove

public void onEntityRemove (@Nonnull final Ref ref, @Nonnull final RemoveReason reason, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onEntityRemove.

Parameters:
@Nonnull final Ref ref
@Nonnull final RemoveReason reason
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

TickHeartbeat

public public TickHeartbeat (final ComponentType componentType)

Method TickHeartbeat.

Parameters:
final ComponentType componentType

isParallel

public boolean isParallel (final int archetypeChunkSize, final int taskCount)

Method isParallel.

Parameters:
final int archetypeChunkSize
final int taskCount

tick

public void tick (final float dt, final int index, @Nonnull final ArchetypeChunk archetypeChunk, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method tick.

Parameters:
final float dt
final int index
@Nonnull final ArchetypeChunk archetypeChunk
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

if

public else if (state.tickMarkerLostTimeout(dt)

Method if.

Parameters:
state.tickMarkerLostTimeout(dt state.tickMarkerLostTimeout(dt

SpawnMarkerAddedFromExternal

public public SpawnMarkerAddedFromExternal (final ComponentType componentType)

Method SpawnMarkerAddedFromExternal.

Parameters:
final ComponentType componentType

SpawnMarkerTickHeartbeat

public public SpawnMarkerTickHeartbeat (final ComponentType componentType)

Method SpawnMarkerTickHeartbeat.

Parameters:
final ComponentType componentType