PlayerCraftingSystems

public class PlayerCraftingSystems

Class PlayerCraftingSystems. Provides playercraftingsystems functionality for the Hytale server.

java.lang.Object > PlayerCraftingSystems

Field Summary

player

final Player player

Field player.

craftingManager

final CraftingManager craftingManager

Field craftingManager.

ref

final Ref ref

Field ref.

world

final World world

Field world.

craftingManagerComponent

final CraftingManager craftingManagerComponent

Field craftingManagerComponent.

Method Detail

CraftingManagerAddSystem

public public CraftingManagerAddSystem (final ComponentType craftingManagerComponentType)

Method CraftingManagerAddSystem.

Parameters:
final ComponentType craftingManagerComponentType

onEntityAdd

public void onEntityAdd (@Nonnull final Holder holder, @Nonnull final AddReason reason, @Nonnull final Store store)

Method onEntityAdd.

Parameters:
@Nonnull final Holder holder
@Nonnull final AddReason reason
@Nonnull final Store store

onEntityRemoved

public void onEntityRemoved (@Nonnull final Holder holder, @Nonnull final RemoveReason reason, @Nonnull final Store store)

Method onEntityRemoved.

Parameters:
@Nonnull final Holder holder
@Nonnull final RemoveReason reason
@Nonnull final Store store

getQuery

public Query getQuery ()

Method getQuery.

PlayerCraftingSystem

public public PlayerCraftingSystem (final ComponentType craftingManagerComponentType)

Method PlayerCraftingSystem.

Parameters:
final ComponentType craftingManagerComponentType

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