public class TileEntityDroneInterface extends net.minecraft.tileentity.TileEntity implements net.minecraft.tileentity.ITickableTileEntity, ILuaMethodProvider
| Modifier and Type | Field and Description |
|---|---|
float |
rotationPitch |
float |
rotationYaw |
| Constructor and Description |
|---|
TileEntityDroneInterface() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLuaMethods(LuaMethodRegistry registry)
Called lazily to populate the method registry with the methods.
|
EntityDrone |
getDrone() |
LuaMethodRegistry |
getLuaMethodRegistry()
Get this TE's method registry object.
|
java.lang.String |
getPeripheralType()
Get a unique identifier for this type of method provider.
|
net.minecraft.network.play.server.SUpdateTileEntityPacket |
getUpdatePacket() |
net.minecraft.nbt.CompoundNBT |
getUpdateTag() |
void |
handleUpdateTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT tag) |
void |
onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SUpdateTileEntityPacket pkt) |
void |
setDrone(EntityDrone drone) |
void |
tick() |
clearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getViewDistance, hasLevel, isRemoved, load, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, save, setChanged, setLevelAndPosition, setPosition, setRemoved, triggerEventareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntity@Nullable public net.minecraft.network.play.server.SUpdateTileEntityPacket getUpdatePacket()
getUpdatePacket in class net.minecraft.tileentity.TileEntitypublic net.minecraft.nbt.CompoundNBT getUpdateTag()
getUpdateTag in class net.minecraft.tileentity.TileEntitypublic void handleUpdateTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT tag)
handleUpdateTag in interface net.minecraftforge.common.extensions.IForgeTileEntitypublic void onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SUpdateTileEntityPacket pkt)
onDataPacket in interface net.minecraftforge.common.extensions.IForgeTileEntitypublic void addLuaMethods(LuaMethodRegistry registry)
ILuaMethodProvideraddLuaMethods in interface ILuaMethodProviderregistry - the registry to populatepublic LuaMethodRegistry getLuaMethodRegistry()
ILuaMethodProvidergetLuaMethodRegistry in interface ILuaMethodProviderpublic java.lang.String getPeripheralType()
ILuaMethodProvidergetPeripheralType in interface ILuaMethodProviderpublic void setDrone(EntityDrone drone)
public EntityDrone getDrone()