public class TridentItemFrame extends TridentEntity implements ItemFrame
airTicks, boundingBox, counter, displayName, executor, fallDistance, fireTicks, godMode, HANDLER, height, id, loc, nameVisible, onGround, passenger, portalCooldown, silent, ticksExisted, uniqueId, velocity, width| Constructor and Description |
|---|
TridentItemFrame(UUID id,
Position spawnLocation) |
| Modifier and Type | Method and Description |
|---|---|
Block |
hangingBlock()
The block this entity was placed on
|
Item |
item()
Get the current ItemStack this ItemFrame has
|
byte |
itemRotation()
Get the rotation of this ItemFrame's ItemStack This is the number of times this has been rotated 45 degrees
|
EntityType |
type()
Gets the type of entity
|
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, worldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyProperties, boundingBox, displayName, eject, entityId, isNameVisible, isSilent, onGround, passenger, position, remove, setDisplayName, setPassenger, setSize, setVelocity, teleport, teleport, teleport, uniqueId, velocity, withinRange, worldpublic TridentItemFrame(UUID id, Position spawnLocation)
public Item item()
ItemFramepublic byte itemRotation()
ItemFrameitemRotation in interface ItemFramepublic Block hangingBlock()
HanginghangingBlock in interface Hangingpublic EntityType type()
Entitytype in interface Entitytype in class TridentEntityCopyright © 2016. All rights reserved.