Package | Description |
---|---|
net.tridentsdk.entity.block |
Represents tiles that are considered entities, or maybe blocks that used to be "solid" (such as
PrimeTNT ) |
net.tridentsdk.entity.living |
Entity classes that represent various world mobs, hostile and passive, including the Player class
|
net.tridentsdk.entity.traits |
Entity functionality that can be possessed by certain entities
|
net.tridentsdk.event.block |
Block-based events, called when a block is affected in an event
|
net.tridentsdk.event.player |
Called when a player-based event occurs, such as an event that involves a player
|
net.tridentsdk.inventory |
Inventory and windows such as crafting, enchanting, trading access
|
net.tridentsdk.inventory.crafting |
Allows plugins to create new crafting recipes
|
net.tridentsdk.inventory.trade |
Trading API
|
net.tridentsdk.meta.block |
Block metadata components
|
net.tridentsdk.server.crafting |
Server crafting registry
|
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 |
Contains general entity implementations and base abstractions
|
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.entity.vehicle |
Contains classes that represent various vehicles
|
net.tridentsdk.server.inventory |
Contains implementations of the classes in
net.tridentsdk.inventory .* package |
net.tridentsdk.server.player |
Contains implementations related to TridentPlayer and the associcated OfflinePlayer classes
|
Modifier and Type | Method and Description |
---|---|
Item |
ItemFrame.item()
Get the current ItemStack this ItemFrame has
|
Modifier and Type | Method and Description |
---|---|
Item |
Player.pickedItem() |
Modifier and Type | Method and Description |
---|---|
void |
Player.setPickedItem(Item item) |
Modifier and Type | Method and Description |
---|---|
Item[] |
Equippable.equipment()
This entity's equipment
|
Item |
WindowHolder.heldItem()
Returns the ItemStack in the Player's hand
|
Modifier and Type | Method and Description |
---|---|
void |
Equippable.setEquipment(Item[] stack) |
void |
WindowHolder.setHeldItem(Item item)
Sets the item held in the selected slot
|
Modifier and Type | Method and Description |
---|---|
Item |
BlockBreakEvent.itemInHand()
Returns the item in the player's hand
|
Constructor and Description |
---|
BlockBreakEvent(Player player,
Block block,
BlockDirection blockFace,
Item itemInHand) |
Modifier and Type | Method and Description |
---|---|
Item |
PlayerBucketEmptyEvent.blockInHand() |
Item |
PlayerFishEvent.item() |
Item |
PlayerDropItemEvent.item() |
Item |
PlayerConsumeEvent.item() |
Modifier and Type | Method and Description |
---|---|
void |
PlayerFishEvent.setItem(Item item) |
Constructor and Description |
---|
PlayerBucketEmptyEvent(Player player,
Block block,
Block blockClicked,
BlockDirection faceClicked,
Item blockInHand) |
PlayerBucketFillEvent(Player player,
Block block,
BlockDirection blockFace,
Item itemInHand) |
PlayerConsumeEvent(Player player,
Item item,
double feed) |
PlayerDropItemEvent(Player player,
Item item) |
PlayerFishEvent(Player player,
PlayerFishEvent.State state,
int exp,
Item item) |
Modifier and Type | Method and Description |
---|---|
Item |
Item.clone() |
Item |
Inventory.itemAt(int slot)
Finds the item at the specified slot in the inventory
|
Item[] |
Inventory.items()
Obtains the contents of the inventory represented by this inventory
|
Modifier and Type | Method and Description |
---|---|
boolean |
Item.isSimilar(Item i) |
boolean |
Item.isSimilarIgnoreQuantity(Item i) |
boolean |
Inventory.putItem(Item item)
Places an item into the player's inventory, where there is room
|
void |
Inventory.setSlot(int index,
Item value)
Sets the item at the slot.
|
Modifier and Type | Method and Description |
---|---|
Item |
CraftTuple.source()
The item referenced by the char
|
Modifier and Type | Method and Description |
---|---|
default void |
RecipeManager.addShapedRecipe(Item result,
char[][] grid,
CraftTuple source)
Adds a shaped recipe using a single source
|
void |
RecipeManager.addShapedRecipe(Item result,
char[][] grid,
List<CraftTuple> source)
Adds a recipe with a specified shape
|
default void |
RecipeManager.addShapelessRecipe(Item result,
Item source)
Adds a shapeless recipe
|
void |
RecipeManager.addShapelessRecipe(Item result,
List<Item> source)
Adds a recipe without a shape
|
default void |
RecipeManager.addSmeltingFuel(Item source,
int burnTicks)
Adds a smelting fuel item
|
void |
RecipeManager.addSmeltingFuel(Item source,
int burnTicks,
Item returnItem)
Adds a smelting fuel type
|
void |
RecipeManager.addSmeltingRecipe(Item result,
Item source,
int smeltTicks,
float experience)
Adds a smelting recipe to the server
|
Modifier and Type | Method and Description |
---|---|
void |
RecipeManager.addShapelessRecipe(Item result,
List<Item> source)
Adds a recipe without a shape
|
Constructor and Description |
---|
CraftTuple(char reference,
Item source)
Creates a new char-item pair
|
Modifier and Type | Method and Description |
---|---|
Item |
ItemPair.first() |
Item |
Trade.offer()
The itemstack given as a result of this trade
|
Item |
ItemPair.second() |
Constructor and Description |
---|
ItemPair(Item one)
Construct a ItemPair with only one input ItemStack The second ItemStack will be considered null and thus will be
treated as a single input when trading
|
ItemPair(Item one,
Item two)
Construct a ItemPair with two input ItemStacks When used in a trade, the pair will be treated as a double input
when trading
|
Modifier and Type | Method and Description |
---|---|
Item |
FurnaceMeta.fuelSlot() |
Item |
FurnaceMeta.resultSlot() |
Item |
FurnaceMeta.sourceSlot() |
Modifier and Type | Method and Description |
---|---|
void |
FurnaceMeta.setFuelSlot(Item fuel) |
void |
FurnaceMeta.setResultSlot(Item result) |
void |
FurnaceMeta.setSourceSlot(Item source) |
Modifier and Type | Method and Description |
---|---|
Item |
SmeltingRecipe.result() |
Item |
SmeltingFuel.returnItem() |
Item |
SmeltingRecipe.source() |
Item |
SmeltingFuel.source() |
Modifier and Type | Method and Description |
---|---|
void |
TridentRecipeManager.addShapedRecipe(Item result,
char[][] grid,
List<CraftTuple> source) |
void |
TridentRecipeManager.addShapelessRecipe(Item result,
List<Item> source) |
void |
TridentRecipeManager.addSmeltingFuel(Item source,
int burnTicks,
Item returnItem) |
void |
TridentRecipeManager.addSmeltingRecipe(Item result,
Item source,
int smeltTicks,
float experience) |
boolean |
TridentRecipeManager.isValidSmeltingFuel(Item item)
Checks if the smelting fuel is able to be smelted on the server
|
Modifier and Type | Method and Description |
---|---|
void |
TridentRecipeManager.addShapelessRecipe(Item result,
List<Item> source) |
Constructor and Description |
---|
SmeltingFuel(Item source,
int burnTicks,
Item returnItem) |
SmeltingRecipe(Item result,
Item source,
int smeltTicks,
float experience) |
Modifier and Type | Method and Description |
---|---|
Item |
Slot.item() |
Modifier and Type | Method and Description |
---|---|
Item |
FurnaceMetaImpl.fuelSlot() |
Item |
FurnaceMetaImpl.resultSlot() |
Item |
FurnaceMetaImpl.sourceSlot() |
Modifier and Type | Method and Description |
---|---|
void |
FurnaceMetaImpl.setFuelSlot(Item fuel) |
void |
FurnaceMetaImpl.setResultSlot(Item result) |
void |
FurnaceMetaImpl.setSourceSlot(Item source) |
Modifier and Type | Method and Description |
---|---|
Item |
TridentInventoryHolder.heldItem() |
Item |
TridentDroppedItem.item() |
Modifier and Type | Method and Description |
---|---|
void |
TridentInventoryHolder.setHeldItem(Item item) |
Constructor and Description |
---|
TridentDroppedItem(Position spawnPosition,
Item item) |
Modifier and Type | Method and Description |
---|---|
Item[] |
TridentArmorStand.equipment() |
Item |
TridentItemFrame.item() |
Modifier and Type | Method and Description |
---|---|
void |
TridentArmorStand.setEquipment(Item[] stack) |
Modifier and Type | Method and Description |
---|---|
Item[] |
TridentZombie.equipment() |
Item[] |
TridentSkeleton.equipment() |
Item |
TridentHorse.heldItem() |
Modifier and Type | Method and Description |
---|---|
void |
TridentZombie.setEquipment(Item[] stack) |
void |
TridentSkeleton.setEquipment(Item[] stack) |
void |
TridentHorse.setHeldItem(Item item) |
Modifier and Type | Method and Description |
---|---|
Item |
TridentHopperMinecart.heldItem() |
Item |
TridentFurnaceMinecart.heldItem() |
Modifier and Type | Method and Description |
---|---|
void |
TridentHopperMinecart.setHeldItem(Item item) |
void |
TridentFurnaceMinecart.setHeldItem(Item item) |
Modifier and Type | Method and Description |
---|---|
Item |
TridentInventory.itemAt(int slot) |
Item[] |
TridentInventory.items() |
Modifier and Type | Method and Description |
---|---|
boolean |
TridentInventory.putItem(Item item) |
void |
TridentInventory.setSlot(int index,
Item value) |
Modifier and Type | Method and Description |
---|---|
Item |
TridentPlayer.pickedItem() |
Item |
OfflinePlayer.pickedItem() |
Modifier and Type | Method and Description |
---|---|
void |
TridentPlayer.setPickedItem(Item item) |
void |
OfflinePlayer.setPickedItem(Item item) |
Copyright © 2016. All rights reserved.