Package | Description |
---|---|
net.tridentsdk.base |
This package contains basic elements in Minecraft, such as blocks, orientation, directions, instruments, and sounds
|
net.tridentsdk.entity |
Other entities and general abstractions and types
|
net.tridentsdk.event.block |
Block-based events, called when a block is affected in an event
|
net.tridentsdk.event.entity |
Entity-based events, called when an event relating to an entity occurs
|
net.tridentsdk.event.player |
Called when a player-based event occurs, such as an event that involves a player
|
net.tridentsdk.meta.component |
Classes in the Trident metadata component framework
|
net.tridentsdk.server.data |
Metadata and abstract writable implementations designed to serialize data for the protocol
|
net.tridentsdk.server.data.block |
Contains block meta implementations
|
net.tridentsdk.server.entity.block |
Contains implementation for Entites that are similar to blocks, i.e.
|
net.tridentsdk.server.util |
Server utilities
|
net.tridentsdk.server.world |
Implements classes in the package
net.tridentsdk.world .* package |
net.tridentsdk.world |
World access: Chunks, dimensions, and loading, and world generation
|
net.tridentsdk.world.gen |
World generation API, used to set block positions for the chunk
|
Modifier and Type | Method and Description |
---|---|
Block |
Position.block()
Acquires the tile at this position
|
Block |
Block.relativeBlock(Vector vector)
Returns a block immediately to the direction specified
|
Modifier and Type | Method and Description |
---|---|
static BlockSnapshot |
BlockSnapshot.of(Block block)
Creates a view of the block at the time when taken
|
Modifier and Type | Method and Description |
---|---|
Block |
Hanging.hangingBlock()
The block this entity was placed on
|
Modifier and Type | Method and Description |
---|---|
Block |
BlockEvent.block() |
Block |
BlockPlaceEvent.blockClicked()
Gets the block clicked on to place this block
|
Block |
BlockRedstoneEvent.causer()
Returns the block which caused the redstone update
|
Block |
BlockSpreadEvent.from()
Returns the origin block of the spread
|
Block |
BlockFlowEvent.from()
Return where the liquid is flowing from
|
Block |
BlockPistonEvent.influencedBlock()
Gets the block that is being moved by this piston, if any
|
Block |
BlockFlowEvent.to()
Return where the block is flowing too
|
Modifier and Type | Method and Description |
---|---|
List<Block> |
PistonExtendEvent.blocksInfluenced()
Returns an ImmutableList of the blocks that are being pushed by this piston, may be empty
|
Constructor and Description |
---|
PistonExtendEvent(Block block,
BlockDirection direction,
List<Block> influenced) |
Modifier and Type | Method and Description |
---|---|
Block |
EntityBurnByBlockEvent.burner()
Gets the block that set this entity on fire
|
Constructor and Description |
---|
EntityBurnByBlockEvent(Entity entity,
int fireTicks,
Block causer) |
Modifier and Type | Method and Description |
---|---|
Block |
PlayerSleepEvent.bed()
Gets the bed that the player tried to enter
|
Block |
PlayerLeaveSleepEvent.bed()
Gets the bed that the player tried to leave
|
Block |
PlayerInteractEvent.block() |
Modifier and Type | Method and Description |
---|---|
void |
PlayerInteractEvent.setBlock(Block block) |
Constructor and Description |
---|
PlayerBucketEmptyEvent(Player player,
Block block,
Block blockClicked,
BlockDirection faceClicked,
Item blockInHand) |
PlayerBucketFillEvent(Player player,
Block block,
BlockDirection blockFace,
Item itemInHand) |
PlayerInteractEvent(Player player,
Block block)
TODO add action detection and blockface(?)
|
PlayerLeaveSleepEvent(Player player,
Block bed) |
PlayerSleepEvent(Player player,
Block bed) |
Modifier and Type | Method and Description |
---|---|
boolean |
MetaProvider.decode(Block block,
Value<Substance> substance,
byte[] data,
Value<Byte> result)
Decodes and applies the byte data to the block as specified in
BlockMeta.decodeMeta(Object, byte[]) |
static boolean |
MetaFactory.decode(Block block,
Value<Substance> substance,
byte[] data,
Value<Byte> result) |
Modifier and Type | Method and Description |
---|---|
boolean |
MetaProviderFactory.decode(Block block,
Value<Substance> substance,
byte[] data,
Value<Byte> result) |
Modifier and Type | Method and Description |
---|---|
Meta<Block> |
SignMetaImpl.decode(Block instance,
float yaw,
byte direction,
byte cx,
byte cy,
byte cz,
short damageValue) |
Meta<Block> |
FurnaceMetaImpl.decode(Block instance,
float yaw,
byte direction,
byte cx,
byte cy,
byte cz,
short damageValue) |
Meta<Block> |
DirectionMetaImpl.decode(Block instance,
float yaw,
byte direction,
byte cx,
byte cy,
byte cz,
short damageValue) |
Meta<Block> |
ColorMetaImpl.decode(Block instance,
float yaw,
byte direction,
byte cx,
byte cy,
byte cz,
short damageValue) |
Meta<Block> |
ChestMetaImpl.decode(Block instance,
float yaw,
byte direction,
byte cx,
byte cy,
byte cz,
short damageValue) |
Meta<Block> |
CauldronMetaImpl.decode(Block instance,
float yaw,
byte direction,
byte cx,
byte cy,
byte cz,
short damageValue) |
Meta<Block> |
SignMetaImpl.make() |
Meta<Block> |
FurnaceMetaImpl.make() |
Meta<Block> |
DirectionMetaImpl.make() |
Meta<Block> |
ColorMetaImpl.make() |
Meta<Block> |
ChestMetaImpl.make() |
Meta<Block> |
CauldronMetaImpl.make() |
Modifier and Type | Method and Description |
---|---|
Meta<Block> |
SignMetaImpl.decode(Block instance,
float yaw,
byte direction,
byte cx,
byte cy,
byte cz,
short damageValue) |
Meta<Block> |
FurnaceMetaImpl.decode(Block instance,
float yaw,
byte direction,
byte cx,
byte cy,
byte cz,
short damageValue) |
Meta<Block> |
DirectionMetaImpl.decode(Block instance,
float yaw,
byte direction,
byte cx,
byte cy,
byte cz,
short damageValue) |
Meta<Block> |
ColorMetaImpl.decode(Block instance,
float yaw,
byte direction,
byte cx,
byte cy,
byte cz,
short damageValue) |
Meta<Block> |
ChestMetaImpl.decode(Block instance,
float yaw,
byte direction,
byte cx,
byte cy,
byte cz,
short damageValue) |
Meta<Block> |
CauldronMetaImpl.decode(Block instance,
float yaw,
byte direction,
byte cx,
byte cy,
byte cz,
short damageValue) |
Modifier and Type | Method and Description |
---|---|
Block |
TridentPainting.hangingBlock() |
Block |
TridentItemFrame.hangingBlock() |
Modifier and Type | Class and Description |
---|---|
class |
OwnedTridentBlock
Represents a block which holds data about the placer
|
Constructor and Description |
---|
OwnedTridentBlock(TridentPlayer player,
Block block) |
Modifier and Type | Class and Description |
---|---|
class |
TridentBlock |
Modifier and Type | Method and Description |
---|---|
<M extends BlockMeta<Block>> |
TridentBlock.applyMeta(boolean replace,
M... meta) |
Modifier and Type | Method and Description |
---|---|
Block |
TridentChunkSnapshot.blockAt(int relX,
int y,
int relZ) |
Block |
TridentChunk.blockAt(int relX,
int y,
int relZ) |
Block |
TridentWorld.blockAt(Position location) |
Block |
TridentBlock.relativeBlock(Vector vector) |
Modifier and Type | Method and Description |
---|---|
protected MetaCollection<Block> |
TridentBlock.collect() |
Modifier and Type | Method and Description |
---|---|
Block |
Chunk.blockAt(int relX,
int y,
int relZ)
Obtains a block relative to the chunk
|
Block |
World.blockAt(Position position)
Gets the block on the given position
|
Modifier and Type | Method and Description |
---|---|
Block |
FeatureGenerator.ChunkManipulator.blockAt(int relX,
int y,
int relZ)
Obtains the block at the relative location
|
Copyright © 2016. All rights reserved.