public class TridentSpawnerMinecart extends TridentEntity implements SpawnerMinecart
airTicks, boundingBox, counter, displayName, executor, fallDistance, fireTicks, godMode, HANDLER, height, id, loc, nameVisible, onGround, passenger, portalCooldown, silent, ticksExisted, uniqueId, velocity, width| Constructor and Description |
|---|
TridentSpawnerMinecart(UUID uuid,
Position spawnPosition) |
| Modifier and Type | Method and Description |
|---|---|
EntityProperties |
appliedProperties()
The properties that will be applied when an Entity is spawned by this
|
BlockSnapshot |
displayTitle()
Represents this Minecart's display tile, in the form of a BlockState
|
String |
name()
Gets the custom name of this Minecart
|
void |
setDisplayTile(BlockSnapshot blockState)
Set this Minecart's display tile to the specified block state
|
void |
setDisplayTileOffset(int offset)
Set the offset for this Minecart's display tile
|
void |
setName(String name)
Sets the custom name of this Minecart
|
EntityType |
spawnType()
The spawn type of entities spawned by this Spawner Minecart
|
int |
titleOffset()
Get the offset for this Minecart's display tile
|
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 TridentSpawnerMinecart(UUID uuid, Position spawnPosition)
public EntityType spawnType()
SpawnerMinecartspawnType in interface SpawnerMinecartpublic EntityProperties appliedProperties()
SpawnerMinecartappliedProperties in interface SpawnerMinecartpublic BlockSnapshot displayTitle()
MinecartBasedisplayTitle in interface MinecartBasepublic void setDisplayTile(BlockSnapshot blockState)
MinecartBasesetDisplayTile in interface MinecartBaseblockState - the state to set this topublic int titleOffset()
MinecartBasetitleOffset in interface MinecartBasepublic void setDisplayTileOffset(int offset)
MinecartBasesetDisplayTileOffset in interface MinecartBaseoffset - the offset to setpublic String name()
MinecartBasename in interface MinecartBasepublic void setName(String name)
MinecartBasesetName in interface MinecartBasename - the new value of the custom namepublic EntityType type()
Entitytype in interface Entitytype in class TridentEntityCopyright © 2016. All rights reserved.