public class DrawBridgeTileEntity
extends info.u_team.u_team_core.tileentity.UTileEntity
implements net.minecraft.tileentity.ITickableTileEntity, info.u_team.u_team_core.api.sync.IInitSyncedTileEntity
Modifier and Type | Field and Description |
---|---|
static net.minecraftforge.client.model.data.ModelProperty<net.minecraft.block.BlockState> |
BLOCKSTATE_PROPERTY |
Constructor and Description |
---|
DrawBridgeTileEntity() |
Modifier and Type | Method and Description |
---|---|
net.minecraft.inventory.container.Container |
createMenu(int id,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.entity.player.PlayerEntity player) |
net.minecraft.util.text.ITextComponent |
getDisplayName() |
info.u_team.u_team_core.api.sync.BufferReferenceHolder |
getExtendedHolder() |
net.minecraftforge.client.model.data.IModelData |
getModelData() |
info.u_team.u_team_core.api.sync.BufferReferenceHolder |
getNeedRedstoneHolder() |
net.minecraft.block.BlockState |
getRenderBlockState() |
net.minecraftforge.common.util.LazyOptional<InventoryStackHandler> |
getRenderSlot() |
net.minecraftforge.common.util.LazyOptional<InventoryStackHandler> |
getSlots() |
int |
getSpeed() |
info.u_team.u_team_core.api.sync.BufferReferenceHolder |
getSpeedHolder() |
net.minecraft.network.play.server.SUpdateTileEntityPacket |
getUpdatePacket() |
void |
handleChunkLoadData(net.minecraft.nbt.CompoundNBT compound) |
void |
handleInitialDataBuffer(net.minecraft.network.PacketBuffer buffer) |
void |
handleUpdateStateData(net.minecraft.nbt.CompoundNBT compound) |
boolean |
hasRenderBlockState() |
boolean |
isExtended() |
boolean |
isNeedRedstone() |
void |
neighborChanged() |
void |
readNBT(net.minecraft.nbt.CompoundNBT compound) |
void |
sendChunkLoadData(net.minecraft.nbt.CompoundNBT compound) |
void |
sendInitialDataBuffer(net.minecraft.network.PacketBuffer buffer) |
void |
sendUpdateStateData(net.minecraft.nbt.CompoundNBT compound) |
void |
setNeedRedstone(boolean needRedstone) |
void |
setSpeed(int speed) |
void |
tick() |
void |
writeNBT(net.minecraft.nbt.CompoundNBT compound) |
getUpdateTag, handleUpdateTag, onDataPacket, read, sendChangesToClient, sendChangesToClient, write
addInfoToCrashReport, create, func_226984_a_, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, receiveClientEvent, remove, rotate, setPos, updateContainingBlockInfo, validate, warnInvalidBlock
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final net.minecraftforge.client.model.data.ModelProperty<net.minecraft.block.BlockState> BLOCKSTATE_PROPERTY
public void neighborChanged()
public void tick()
tick
in interface net.minecraft.tileentity.ITickableTileEntity
public void readNBT(net.minecraft.nbt.CompoundNBT compound)
readNBT
in class info.u_team.u_team_core.tileentity.UTileEntity
public void writeNBT(net.minecraft.nbt.CompoundNBT compound)
writeNBT
in class info.u_team.u_team_core.tileentity.UTileEntity
public net.minecraft.inventory.container.Container createMenu(int id, net.minecraft.entity.player.PlayerInventory playerInventory, net.minecraft.entity.player.PlayerEntity player)
createMenu
in interface info.u_team.u_team_core.api.sync.IInitSyncedTileEntity
createMenu
in interface net.minecraft.inventory.container.IContainerProvider
public net.minecraft.util.text.ITextComponent getDisplayName()
getDisplayName
in interface net.minecraft.inventory.container.INamedContainerProvider
public net.minecraftforge.common.util.LazyOptional<InventoryStackHandler> getSlots()
public net.minecraftforge.common.util.LazyOptional<InventoryStackHandler> getRenderSlot()
public void sendInitialDataBuffer(net.minecraft.network.PacketBuffer buffer)
sendInitialDataBuffer
in interface info.u_team.u_team_core.api.sync.IInitSyncedTileEntity
public void handleInitialDataBuffer(net.minecraft.network.PacketBuffer buffer)
handleInitialDataBuffer
in interface info.u_team.u_team_core.api.sync.IInitSyncedTileEntity
public info.u_team.u_team_core.api.sync.BufferReferenceHolder getExtendedHolder()
public info.u_team.u_team_core.api.sync.BufferReferenceHolder getSpeedHolder()
public info.u_team.u_team_core.api.sync.BufferReferenceHolder getNeedRedstoneHolder()
public boolean isExtended()
public int getSpeed()
public void setSpeed(int speed)
public boolean isNeedRedstone()
public void setNeedRedstone(boolean needRedstone)
public boolean hasRenderBlockState()
public net.minecraft.block.BlockState getRenderBlockState()
public void sendChunkLoadData(net.minecraft.nbt.CompoundNBT compound)
sendChunkLoadData
in class info.u_team.u_team_core.tileentity.UTileEntity
public void handleChunkLoadData(net.minecraft.nbt.CompoundNBT compound)
handleChunkLoadData
in class info.u_team.u_team_core.tileentity.UTileEntity
public void sendUpdateStateData(net.minecraft.nbt.CompoundNBT compound)
sendUpdateStateData
in class info.u_team.u_team_core.tileentity.UTileEntity
public void handleUpdateStateData(net.minecraft.nbt.CompoundNBT compound)
handleUpdateStateData
in class info.u_team.u_team_core.tileentity.UTileEntity
public net.minecraftforge.client.model.data.IModelData getModelData()
getModelData
in interface net.minecraftforge.common.extensions.IForgeTileEntity
public net.minecraft.network.play.server.SUpdateTileEntityPacket getUpdatePacket()
getUpdatePacket
in class info.u_team.u_team_core.tileentity.UTileEntity