public class TridentHopperMinecart extends TridentMinecart implements HopperMinecart
airTicks, boundingBox, counter, displayName, executor, fallDistance, fireTicks, godMode, HANDLER, height, id, loc, nameVisible, onGround, passenger, portalCooldown, silent, ticksExisted, uniqueId, velocity, width| Constructor and Description |
|---|
TridentHopperMinecart(UUID uuid,
Position spawnPosition) |
| Modifier and Type | Method and Description |
|---|---|
Item |
heldItem()
Returns the ItemStack in the Player's hand
|
void |
setHeldItem(Item item)
Sets the item held in the selected slot
|
void |
setTransferCooldown(int cooldown)
Sets the transfer cooldown of this Hopper Minecart
|
int |
transferCooldown()
Gets the transfer cooldown of this Hopper Minecart
|
EntityType |
type()
Gets the type of entity
|
Inventory |
window()
The Inventory that this entity holds
|
displayTitle, name, setDisplayTile, setDisplayTileOffset, setName, titleOffsetapplyProperties, asNbt, boundingBox, displayName, doEncodeMeta, doLoad, doRemove, doTick, eject, encodeMetadata, entityId, isNameVisible, isSilent, load, onGround, passenger, position, remove, setDisplayName, setOnGround, setPassenger, setPosition, setSize, setVelocity, spawn, teleport, teleport, teleport, tick, uniqueId, velocity, withinRange, worldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisplayTitle, name, setDisplayTile, setDisplayTileOffset, setName, titleOffsetapplyProperties, boundingBox, displayName, eject, entityId, isNameVisible, isSilent, onGround, passenger, position, remove, setDisplayName, setPassenger, setSize, setVelocity, teleport, teleport, teleport, uniqueId, velocity, withinRange, worldpublic TridentHopperMinecart(UUID uuid, Position spawnPosition)
public int transferCooldown()
HopperMinecarttransferCooldown in interface HopperMinecartpublic void setTransferCooldown(int cooldown)
HopperMinecartsetTransferCooldown in interface HopperMinecartpublic Inventory window()
WindowHolderwindow in interface WindowHolderpublic Item heldItem()
WindowHolderheldItem in interface WindowHolderpublic void setHeldItem(Item item)
WindowHoldersetHeldItem in interface WindowHolderitem - the item to setpublic EntityType type()
Entitytype in interface Entitytype in class TridentMinecartCopyright © 2016. All rights reserved.