Package | Description |
---|---|
net.tridentsdk.effect |
Various effects such as sounds, particles, and entity actions can be displayed using the classes
in this package
|
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 |
Minecraft metadata builders and access to the underlying properties of NBT and chat
|
net.tridentsdk.meta.block |
Block metadata components
|
net.tridentsdk.plugin.cmd |
The Plugin command API, when players execute
/ commands |
net.tridentsdk.registry |
Contains the entry points to class implementations and the server files
|
net.tridentsdk.server.command |
Handles commands on the server
|
net.tridentsdk.server.data.block |
Contains block meta implementations
|
net.tridentsdk.server.effect |
Implementations of the TridentSDK effect package
|
net.tridentsdk.server.entity.block |
Contains implementation for Entites that are similar to blocks, i.e.
|
net.tridentsdk.server.entity.living |
Contains implementations of entities which are sentient
|
net.tridentsdk.server.inventory |
Contains implementations of the classes in
net.tridentsdk.inventory .* package |
net.tridentsdk.server.packets.play.out |
Packets related to the gameplay of the server sent from the server
|
net.tridentsdk.server.player |
Contains implementations related to TridentPlayer and the associcated OfflinePlayer classes
|
net.tridentsdk.server.service |
Contains implementations of classes in the
net.tridentsdk.registry and net.tridentsdk.service
packages |
net.tridentsdk.service |
Provides management services, which include conflicting handling utilities concerning chat, permissions, and
transactions (economy).
|
Modifier and Type | Method and Description |
---|---|
void |
Effect.apply(Player player)
Execute the effect at the given location for specified player
|
void |
Effect.applyToEveryoneExcept(Player player)
Execute the effect at the given location for all players except specified player
|
Modifier and Type | Method and Description |
---|---|
Player |
LivingEntity.lastPlayerDamager()
Returns the player who dealt damage to this Entity since its last full heal
|
Modifier and Type | Method and Description |
---|---|
Player |
SignChangeEvent.editor()
Returns the Player who edited the Sign
|
Player |
BlockPlaceEvent.player()
Returns the player associated with this event
|
Player |
BlockBreakEvent.player()
Get the player associated with this event
|
Modifier and Type | Method and Description |
---|---|
List<Player> |
NotePlayEvent.players()
Returns a list of players that will hear the Note being played
|
Constructor and Description |
---|
BlockBreakEvent(Player player,
Block block,
BlockDirection blockFace,
Item itemInHand) |
BlockPlaceEvent(Player player,
Block block,
Block blockClicked,
BlockDirection faceClicked) |
SignChangeEvent(Block block,
Player editor,
String... contents) |
Constructor and Description |
---|
NotePlayEvent(Block block,
List<Player> players,
Note note,
Instrument instrument) |
Modifier and Type | Method and Description |
---|---|
Player |
EntityDeathEvent.killedByPlayer()
Returns a Player if a player was involved in the killing of this entity, else null
|
Player |
PlayerDropItemEvent.player() |
Player |
EntitySaddleEvent.player()
Gets the player that saddled this pig
|
Player |
EntityTameEvent.tamer() |
Constructor and Description |
---|
EntitySaddleEvent(Entity entity,
Player player) |
EntityTameEvent(Entity entity,
Player tamer) |
PlayerDropItemEvent(Entity item,
Position position,
Player player) |
PlayerToggleSprintEvent(Player player,
boolean toggle) |
Modifier and Type | Method and Description |
---|---|
Player |
PlayerEvent.player() |
Player |
PlayerDeathEvent.player() |
Player |
PlayerDamageEvent.player() |
Modifier and Type | Method and Description |
---|---|
MessageBuilder |
MessageBuilder.sendTo(Player... players)
Sends the formatted text to the specified players
|
Modifier and Type | Method and Description |
---|---|
void |
Tile.update(Player player)
Causes the tile to be updated to the player provided
|
Modifier and Type | Method and Description |
---|---|
Player |
CommandIssuer.asPlayer()
Obtains this command issuer as a player
|
Modifier and Type | Method and Description |
---|---|
void |
Command.handlePlayer(Player player,
String arguments,
String alias)
Called when this cmd is invoked by a player
|
Modifier and Type | Method and Description |
---|---|
Player |
Players.fromUuid(UUID uuid)
Obtains a player from the player's UUID
|
Player |
Players.offline(UUID uuid)
Obtains a potentially offline player
|
Modifier and Type | Method and Description |
---|---|
Player |
TridentConsole.asPlayer() |
Modifier and Type | Method and Description |
---|---|
void |
TeleportCommand.handlePlayer(Player player,
String arguments,
String alias) |
void |
SendCommand.handlePlayer(Player player,
String arguments,
String alias) |
void |
OpCommand.handlePlayer(Player player,
String arguments,
String alias) |
Modifier and Type | Method and Description |
---|---|
void |
SignMetaImpl.update(Player player) |
Modifier and Type | Method and Description |
---|---|
void |
TridentEffect.apply(Player player) |
void |
TridentEffect.applyToEveryoneExcept(Player player) |
Modifier and Type | Method and Description |
---|---|
Player |
TridentArmorStand.lastPlayerDamager() |
Modifier and Type | Method and Description |
---|---|
void |
TridentInventory.close(Player player,
boolean force) |
Modifier and Type | Field and Description |
---|---|
protected Player |
PacketPlayOutSpawnPlayer.player |
Modifier and Type | Method and Description |
---|---|
Player |
PacketPlayOutSpawnPlayer.player() |
Modifier and Type | Class and Description |
---|---|
class |
OfflinePlayer |
class |
TridentPlayer |
Modifier and Type | Method and Description |
---|---|
Player |
TridentPlayer.asPlayer() |
Player |
OfflinePlayer.asPlayer() |
static Player |
TridentPlayer.getPlayer(UUID id) |
Player |
OfflinePlayer.lastPlayerDamager() |
Modifier and Type | Method and Description |
---|---|
static Collection<Player> |
TridentPlayer.players() |
Modifier and Type | Method and Description |
---|---|
static void |
TridentPlayer.sendFiltered(Packet packet,
java.util.function.Predicate<Player> predicate) |
Modifier and Type | Method and Description |
---|---|
String |
ChatHandler.format(String message,
Player player) |
Modifier and Type | Method and Description |
---|---|
String |
ChatIdentityFormatter.format(String message,
Player sender)
Obtains a formatted string of the chat identifier
|
String |
ChatFormatter.format(String message,
Player player)
Obtains the formatted string, not including the message that will be sent
|
Copyright © 2016. All rights reserved.