UseBlockObjectiveTask

public class UseBlockObjectiveTask extends CountObjectiveTask

Class UseBlockObjectiveTask. Provides useblockobjectivetask functionality for the Hytale server.

java.lang.Object > CountObjectiveTask > UseBlockObjectiveTask

Field Summary

blockType

final BlockType blockType

Field blockType.

baseItem

final String baseItem

Field baseItem.

entityRef

final Ref entityRef

Field entityRef.

entityStore

final Store entityStore

Field entityStore.

playerComponent

final Player playerComponent

Field playerComponent.

uuidComponent

final UUIDComponent uuidComponent

Field uuidComponent.

Method Detail

UseBlockObjectiveTask

public public UseBlockObjectiveTask (@Nonnull final UseBlockObjectiveTaskAsset asset, final int taskSetIndex, final int taskIndex)

Method UseBlockObjectiveTask.

Parameters:
@Nonnull final UseBlockObjectiveTaskAsset asset
final int taskSetIndex
final int taskIndex

getAsset

public UseBlockObjectiveTaskAsset getAsset ()

Method getAsset.

setup0

protected TransactionRecord[] setup0 (@Nonnull final Objective objective, @Nonnull final World world, @Nonnull final Store store)

Method setup0.

Parameters:
@Nonnull final Objective objective
@Nonnull final World world
@Nonnull final Store store

if

public else if (!objective.getActivePlayerUUIDs()

Method if.

Parameters:
!objective.getActivePlayerUUIDs( !objective.getActivePlayerUUIDs(

toString

public String toString ()

Method toString.