public class TridentFurnaceMinecart extends TridentMinecart implements FurnaceMinecart
airTicks, boundingBox, counter, displayName, executor, fallDistance, fireTicks, godMode, HANDLER, height, id, loc, nameVisible, onGround, passenger, portalCooldown, silent, ticksExisted, uniqueId, velocity, width
Constructor and Description |
---|
TridentFurnaceMinecart(UUID uuid,
Position spawnPosition) |
Modifier and Type | Method and Description |
---|---|
int |
fuelTicks()
The number of fuel ticks this Furnace Minecart has
|
Item |
heldItem()
Returns the ItemStack in the Player's hand
|
void |
setFuelTicks(int ticks)
Set the number of fuel ticks this Furnace Minecart has
|
void |
setHeldItem(Item item)
Sets the item held in the selected slot
|
EntityType |
type()
Gets the type of entity
|
Inventory |
window()
The Inventory that this entity holds
|
displayTitle, name, setDisplayTile, setDisplayTileOffset, setName, titleOffset
applyProperties, 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, world
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
displayTitle, name, setDisplayTile, setDisplayTileOffset, setName, titleOffset
applyProperties, boundingBox, displayName, eject, entityId, isNameVisible, isSilent, onGround, passenger, position, remove, setDisplayName, setPassenger, setSize, setVelocity, teleport, teleport, teleport, uniqueId, velocity, withinRange, world
public TridentFurnaceMinecart(UUID uuid, Position spawnPosition)
public int fuelTicks()
FurnaceMinecart
fuelTicks
in interface FurnaceMinecart
public void setFuelTicks(int ticks)
FurnaceMinecart
setFuelTicks
in interface FurnaceMinecart
ticks
- the number of fuel tickspublic Inventory window()
WindowHolder
window
in interface WindowHolder
public Item heldItem()
WindowHolder
heldItem
in interface WindowHolder
public void setHeldItem(Item item)
WindowHolder
setHeldItem
in interface WindowHolder
item
- the item to setpublic EntityType type()
Entity
type
in interface Entity
type
in class TridentMinecart
Copyright © 2016. All rights reserved.