public class TridentPrimeTNT extends TridentFallingBlock implements PrimeTNT
airTicks, boundingBox, counter, displayName, executor, fallDistance, fireTicks, godMode, HANDLER, height, id, loc, nameVisible, onGround, passenger, portalCooldown, silent, ticksExisted, uniqueId, velocity, width
Constructor and Description |
---|
TridentPrimeTNT(UUID id,
Position spawnLocation) |
Modifier and Type | Method and Description |
---|---|
protected void |
doTick() |
int |
fuse()
The number of ticks until this Primed TNT explodes
|
int |
radius()
Obtains the radius of the explosion
|
void |
setFuse(int ticks)
Sets the number of fuse ticks
|
void |
setRadius(int radius)
Sets the radius of the explosion
|
EntityType |
type()
Gets the type of entity
|
applyProperties, blockSnapshot, isNameVisible, shouldDrop
asNbt, boundingBox, displayName, doEncodeMeta, doLoad, doRemove, eject, encodeMetadata, entityId, 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
blockSnapshot, shouldDrop
applyProperties, boundingBox, displayName, eject, entityId, isNameVisible, isSilent, onGround, passenger, position, remove, setDisplayName, setPassenger, setSize, setVelocity, teleport, teleport, teleport, uniqueId, velocity, withinRange, world
public TridentPrimeTNT(UUID id, Position spawnLocation)
protected void doTick()
doTick
in class TridentEntity
public int fuse()
PrimeTNT
public int radius()
PrimeTNT
public void setRadius(int radius)
PrimeTNT
public void setFuse(int ticks)
PrimeTNT
public EntityType type()
Entity
type
in interface Entity
type
in class TridentFallingBlock
Copyright © 2016. All rights reserved.