NPCBlackboardCommand

public class NPCBlackboardCommand extends AbstractCommandCollection

Command for npcblackboar operations. Registered with the command system and callable by players.

java.lang.Object > AbstractCommandCollection > NPCBlackboardCommand

Field Summary

chunkStore

final Store chunkStore

Field chunkStore.

sb

final StringBuilder sb

Field sb.

count

final int[] count

Field count.

n

final int n

Field n.

msg

final Message msg

Field msg.

query

final AndQuery query

Field query.

blockPositionProviderComponent

final BlockPositionProvider blockPositionProviderComponent

Field blockPositionProviderComponent.

chunkSectionComponent

final ChunkSection chunkSectionComponent

Field chunkSectionComponent.

x

final int x

Field x.

z

final int z

Field z.

entryCount

final int[] entryCount

Field entryCount.

n3

final int n3

Field n3.

blockPosition

final Vector3i blockPosition

Field blockPosition.

position

final Vector3i position

Field position.

chunkIndex

final long chunkIndex

Field chunkIndex.

chunkStoreStore

final Store chunkStoreStore

Field chunkStoreStore.

chunkSection

final Ref chunkSection

Field chunkSection.

entry

final BlockPositionProvider entry

Field entry.

searchedBlockSets

final BitSet searchedBlockSets

Field searchedBlockSets.

blackboard

final Blackboard blackboard

Field blackboard.

chunkPosition

final Vector2i chunkPosition

Field chunkPosition.

viewIndex

final long viewIndex

Field viewIndex.

view

final BlockTypeView view

Field view.

viewX

final int viewX

Field viewX.

viewZ

final int viewZ

Field viewZ.

counts

final Int2IntMap counts

Field counts.

entities

final Set> entities

Field entities.

npc

final NPCEntity npc

Field npc.

blockSets

final IntList blockSets

Field blockSets.

blockSetId

final String blockSetId

Field blockSetId.

blockEventView

final BlockEventView blockEventView

Field blockEventView.

uuidComponent

final UUIDComponent uuidComponent

Field uuidComponent.

uuid

final UUID uuid

Field uuid.

npcComponent

final NPCEntity npcComponent

Field npcComponent.

roleName

final String roleName

Field roleName.

blockIndex

final int blockIndex

Field blockIndex.

blockX

final int blockX

Field blockX.

blockY

final int blockY

Field blockY.

blockZ

final int blockZ

Field blockZ.

blockType

final BlockType blockType

Field blockType.

playerComponent

final Player playerComponent

Field playerComponent.

playerUUID

final UUID playerUUID

Field playerUUID.

npcRef

final Ref npcRef

Field npcRef.

npcEntity

final NPCEntity npcEntity

Field npcEntity.

playerRef

final Ref playerRef

Field playerRef.

blackBoardResource

final Blackboard blackBoardResource

Field blackBoardResource.

reservationView

final InteractionView reservationView

Field reservationView.

reservationStatus

final ReservationStatus reservationStatus

Field reservationStatus.

Method Detail

NPCBlackboardCommand

public public NPCBlackboardCommand ()

Method NPCBlackboardCommand.

ChunksCommand

public new ChunksCommand ()

Method ChunksCommand.

ChunkCommand

public new ChunkCommand ()

Method ChunkCommand.

DropCommand

public new DropCommand ()

Method DropCommand.

ViewsCommand

public new ViewsCommand ()

Method ViewsCommand.

ViewCommand

public new ViewCommand ()

Method ViewCommand.

BlockEventsCommand

public new BlockEventsCommand ()

Method BlockEventsCommand.

EntityEventsCommand

public new EntityEventsCommand ()

Method EntityEventsCommand.

ResourceViewsCommand

public new ResourceViewsCommand ()

Method ResourceViewsCommand.

ResourceViewCommand

public new ResourceViewCommand ()

Method ResourceViewCommand.

ReserveCommand

public new ReserveCommand ()

Method ReserveCommand.

ReservationCommand

public new ReservationCommand ()

Method ReservationCommand.

execute

protected void execute (@Nonnull final CommandContext context, @Nonnull final World world, @Nonnull final Store store)

Method execute.

Parameters:
@Nonnull final CommandContext context
@Nonnull final World world
@Nonnull final Store store

Vector3i

public new Vector3i (ChunkUtil.chunkCoordinate(blockPosition.x)

Method Vector3i.

Parameters:
ChunkUtil.chunkCoordinate(blockPosition.x ChunkUtil.chunkCoordinate(blockPosition.x

Entities

public n Entities (")

Method Entities.

Parameters:
" "

getNPCRef

private Ref getNPCRef (@Nonnull final CommandContext context, @Nonnull final Store store)

Method getNPCRef.

Parameters:
@Nonnull final CommandContext context
@Nonnull final Store store