public class SchematicannonTileEntity extends SmartTileEntity implements net.minecraft.inventory.container.INamedContainerProvider, com.jozufozu.flywheel.backend.instancing.IInstanceRendered
| Modifier and Type | Class and Description |
|---|---|
static class |
SchematicannonTileEntity.State |
| Modifier and Type | Field and Description |
|---|---|
java.util.LinkedHashSet<net.minecraftforge.common.util.LazyOptional<net.minecraftforge.items.IItemHandler>> |
attachedInventories |
int |
blocksPlaced |
int |
blocksToPlace |
float |
bookPrintingProgress |
MaterialChecklist |
checklist |
boolean |
dontUpdateChecklist |
boolean |
firstRenderTick |
java.util.List<LaunchedItem> |
flyingBlocks |
float |
fuelLevel |
boolean |
hasCreativeCrate |
SchematicannonInventory |
inventory |
static int |
MAX_ANCHOR_DISTANCE |
net.minecraft.item.ItemStack |
missingItem |
static int |
NEIGHBOUR_CHECKING |
int |
neighbourCheckCooldown |
boolean |
positionNotLoaded |
net.minecraft.util.math.BlockPos |
previousTarget |
SchematicPrinter |
printer |
int |
replaceMode |
boolean |
replaceTileEntities |
float |
schematicProgress |
boolean |
sendUpdate |
boolean |
skipMissing |
SchematicannonTileEntity.State |
state |
java.lang.String |
statusMsg |
| Constructor and Description |
|---|
SchematicannonTileEntity(net.minecraft.tileentity.TileEntityType<?> tileEntityTypeIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBehaviours(java.util.List<TileEntityBehaviour> behaviours) |
CSchematics |
config() |
net.minecraft.inventory.container.Container |
createMenu(int id,
net.minecraft.entity.player.PlayerInventory inv,
net.minecraft.entity.player.PlayerEntity player) |
void |
findInventories() |
void |
finishedPrinting() |
protected void |
fromTag(net.minecraft.block.BlockState blockState,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
net.minecraft.util.text.ITextComponent |
getDisplayName() |
double |
getFuelAddedByGunPowder() |
double |
getFuelUsageRate() |
protected net.minecraft.item.ItemStack |
getItemForBlock(net.minecraft.block.BlockState blockState) |
net.minecraft.util.math.AxisAlignedBB |
getRenderBoundingBox() |
double |
getViewDistance() |
protected boolean |
grabItemsFromAttachedInventories(net.minecraft.item.ItemStack required,
ItemRequirement.ItemUseType usage,
boolean simulate) |
protected void |
initializePrinter(net.minecraft.item.ItemStack blueprint) |
protected void |
launchBelt(net.minecraft.util.math.BlockPos target,
net.minecraft.block.BlockState state,
int length) |
protected void |
launchBlock(net.minecraft.util.math.BlockPos target,
net.minecraft.item.ItemStack stack,
net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT data) |
protected void |
launchBlockOrBelt(net.minecraft.util.math.BlockPos target,
net.minecraft.item.ItemStack icon,
net.minecraft.block.BlockState blockState,
net.minecraft.tileentity.TileEntity tile) |
protected void |
launchEntity(net.minecraft.util.math.BlockPos target,
net.minecraft.item.ItemStack stack,
net.minecraft.entity.Entity entity) |
void |
lazyTick() |
void |
playFiringSound() |
protected void |
readFlyingBlocks(net.minecraft.nbt.CompoundNBT compound) |
protected void |
refillFuelIfPossible() |
protected void |
resetPrinter() |
void |
sendToContainer(net.minecraft.network.PacketBuffer buffer) |
protected boolean |
shouldIgnoreBlockState(net.minecraft.block.BlockState state,
net.minecraft.tileentity.TileEntity te) |
protected boolean |
shouldPlace(net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.tileentity.TileEntity te,
net.minecraft.block.BlockState toReplace,
net.minecraft.block.BlockState toReplaceOther,
boolean isNormalCube) |
boolean |
shouldRenderNormally() |
static net.minecraft.block.BlockState |
stripBeltIfNotLast(net.minecraft.block.BlockState blockState) |
void |
tick() |
protected void |
tickFlyingBlocks() |
protected void |
tickPaperPrinter() |
protected void |
tickPrinter() |
void |
updateChecklist() |
void |
write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
addBehavioursDeferred, attachBehaviourLate, canPlayerUse, forEachBehaviour, getBehaviour, getRequiredItems, getWorld, initialize, isFluidHandlerCap, isItemHandlerCap, isVirtual, load, markVirtual, readClientUpdate, removeBehaviour, save, setLazyTickRate, setRemoved, writeSafe, writeToClientcauseBlockUpdate, containedChunk, getTileData, getUpdatePacket, getUpdateTag, handleUpdateTag, notifyUpdate, onDataPacket, packetTarget, sendDataclearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getType, hasLevel, isRemoved, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, setChanged, setLevelAndPosition, setPosition, triggerEventareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWorldpublic static final int NEIGHBOUR_CHECKING
public static final int MAX_ANCHOR_DISTANCE
public SchematicannonInventory inventory
public boolean sendUpdate
public boolean dontUpdateChecklist
public int neighbourCheckCooldown
public SchematicPrinter printer
public net.minecraft.item.ItemStack missingItem
public boolean positionNotLoaded
public boolean hasCreativeCrate
public net.minecraft.util.math.BlockPos previousTarget
public java.util.LinkedHashSet<net.minecraftforge.common.util.LazyOptional<net.minecraftforge.items.IItemHandler>> attachedInventories
public java.util.List<LaunchedItem> flyingBlocks
public MaterialChecklist checklist
public float fuelLevel
public float bookPrintingProgress
public float schematicProgress
public java.lang.String statusMsg
public SchematicannonTileEntity.State state
public int blocksPlaced
public int blocksToPlace
public int replaceMode
public boolean skipMissing
public boolean replaceTileEntities
public boolean firstRenderTick
public SchematicannonTileEntity(net.minecraft.tileentity.TileEntityType<?> tileEntityTypeIn)
public net.minecraft.util.math.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox in interface net.minecraftforge.common.extensions.IForgeTileEntitypublic double getViewDistance()
getViewDistance in class net.minecraft.tileentity.TileEntitypublic void findInventories()
protected void fromTag(net.minecraft.block.BlockState blockState,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntityfromTag in class SmartTileEntityprotected void readFlyingBlocks(net.minecraft.nbt.CompoundNBT compound)
public void write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntitywrite in class SmartTileEntitypublic void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class SmartTileEntitypublic CSchematics config()
protected void tickPrinter()
public double getFuelUsageRate()
protected void initializePrinter(net.minecraft.item.ItemStack blueprint)
protected net.minecraft.item.ItemStack getItemForBlock(net.minecraft.block.BlockState blockState)
protected boolean grabItemsFromAttachedInventories(net.minecraft.item.ItemStack required,
ItemRequirement.ItemUseType usage,
boolean simulate)
public void finishedPrinting()
protected void resetPrinter()
protected boolean shouldPlace(net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.tileentity.TileEntity te,
net.minecraft.block.BlockState toReplace,
net.minecraft.block.BlockState toReplaceOther,
boolean isNormalCube)
protected boolean shouldIgnoreBlockState(net.minecraft.block.BlockState state,
net.minecraft.tileentity.TileEntity te)
protected void tickFlyingBlocks()
protected void refillFuelIfPossible()
public double getFuelAddedByGunPowder()
protected void tickPaperPrinter()
public static net.minecraft.block.BlockState stripBeltIfNotLast(net.minecraft.block.BlockState blockState)
protected void launchBlockOrBelt(net.minecraft.util.math.BlockPos target,
net.minecraft.item.ItemStack icon,
net.minecraft.block.BlockState blockState,
net.minecraft.tileentity.TileEntity tile)
protected void launchBelt(net.minecraft.util.math.BlockPos target,
net.minecraft.block.BlockState state,
int length)
protected void launchBlock(net.minecraft.util.math.BlockPos target,
net.minecraft.item.ItemStack stack,
net.minecraft.block.BlockState state,
@Nullable
net.minecraft.nbt.CompoundNBT data)
protected void launchEntity(net.minecraft.util.math.BlockPos target,
net.minecraft.item.ItemStack stack,
net.minecraft.entity.Entity entity)
public void playFiringSound()
public void sendToContainer(net.minecraft.network.PacketBuffer buffer)
sendToContainer in class SmartTileEntitypublic net.minecraft.inventory.container.Container createMenu(int id,
net.minecraft.entity.player.PlayerInventory inv,
net.minecraft.entity.player.PlayerEntity player)
createMenu in interface net.minecraft.inventory.container.IContainerProviderpublic net.minecraft.util.text.ITextComponent getDisplayName()
getDisplayName in interface net.minecraft.inventory.container.INamedContainerProviderpublic void updateChecklist()
public void addBehaviours(java.util.List<TileEntityBehaviour> behaviours)
addBehaviours in class SmartTileEntitypublic void lazyTick()
lazyTick in class SmartTileEntitypublic boolean shouldRenderNormally()
shouldRenderNormally in interface com.jozufozu.flywheel.backend.instancing.IInstanceRendered