public class MechanicalPressTileEntity extends BasinOperatingTileEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
MechanicalPressTileEntity.Mode |
IHaveGoggleInformation.Format| Modifier and Type | Field and Description |
|---|---|
boolean |
finished |
MechanicalPressTileEntity.Mode |
mode |
java.util.List<net.minecraft.item.ItemStack> |
pressedItems |
int |
prevRunningTicks |
BeltProcessingBehaviour |
processingBehaviour |
boolean |
running |
int |
runningTicks |
basinChecker, basinRemoved, currentRecipecachedBoundingBox, capacity, effects, lastCapacityProvided, lastStressApplied, network, networkDirty, overStressed, preventSpeedUpdate, source, speed, stress, updateSpeed, wasMovedcomponentSpacing, numberFormat, spacing| Constructor and Description |
|---|
MechanicalPressTileEntity(net.minecraft.tileentity.TileEntityType<? extends MechanicalPressTileEntity> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBehaviours(java.util.List<TileEntityBehaviour> behaviours) |
protected void |
applyCompactingOnBasin() |
protected void |
applyPressingInWorld() |
static <C extends net.minecraft.inventory.IInventory> |
canCompress(net.minecraft.item.crafting.IRecipe<C> recipe) |
static boolean |
canProcessInBulk() |
protected void |
fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
protected java.util.Optional<ITriggerable> |
getProcessedRecipeTrigger() |
java.util.Optional<PressingRecipe> |
getRecipe(net.minecraft.item.ItemStack item) |
protected java.lang.Object |
getRecipeCacheKey() |
float |
getRenderedHeadOffset(float partialTicks) |
int |
getRunningTickSpeed() |
boolean |
inWorld() |
protected boolean |
isRunning() |
void |
makeCompactingParticleEffect(net.minecraft.util.math.vector.Vector3d pos,
net.minecraft.item.ItemStack stack) |
void |
makePressingParticleEffect(net.minecraft.util.math.vector.Vector3d pos,
net.minecraft.item.ItemStack stack) |
net.minecraft.util.math.AxisAlignedBB |
makeRenderBoundingBox() |
protected <C extends net.minecraft.inventory.IInventory> |
matchStaticFilters(net.minecraft.item.crafting.IRecipe<C> recipe) |
boolean |
onBasin() |
protected void |
onBasinRemoved() |
protected void |
spawnParticles() |
void |
start(MechanicalPressTileEntity.Mode mode) |
void |
startProcessingBasin() |
void |
tick() |
void |
write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
applyBasinRecipe, continueWithPreviousRecipe, getBasin, getMatchingRecipes, matchBasinRecipe, onSpeedChanged, shouldRenderNormally, updateBasinaddPropagationLocations, addToGoggleTooltip, addToTooltip, attachKinetics, calculateAddedStressCapacity, calculateStressApplied, canPropagateDiagonally, clearKineticInformation, convertToAngular, convertToDirection, convertToLinear, detachKinetics, getFlickerScore, getGeneratedSpeed, getOrCreateNetwork, getRenderBoundingBox, getSpeed, getStressConfigKey, getTheoreticalSpeed, hasNetwork, hasSource, initialize, isCustomConnection, isNoisy, isOverStressed, isSource, isSpeedRequirementFulfilled, needsSpeedUpdate, propagateRotationTo, removeSource, requestModelDataUpdate, setNetwork, setRemoved, setSource, setSpeed, switchToBlockState, tickAudio, updateFromNetwork, warnOfMovementaddBehavioursDeferred, attachBehaviourLate, canPlayerUse, forEachBehaviour, getBehaviour, getRequiredItems, getWorld, isFluidHandlerCap, isItemHandlerCap, isVirtual, lazyTick, load, markVirtual, readClientUpdate, removeBehaviour, save, setLazyTickRate, writeSafe, writeToClientcauseBlockUpdate, containedChunk, getTileData, getUpdatePacket, getUpdateTag, handleUpdateTag, notifyUpdate, onDataPacket, packetTarget, sendDataclearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getType, getViewDistance, 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, waitcontainedFluidTooltip, formatgetWorldpublic java.util.List<net.minecraft.item.ItemStack> pressedItems
public BeltProcessingBehaviour processingBehaviour
public int prevRunningTicks
public int runningTicks
public boolean running
public MechanicalPressTileEntity.Mode mode
public boolean finished
public MechanicalPressTileEntity(net.minecraft.tileentity.TileEntityType<? extends MechanicalPressTileEntity> type)
public void addBehaviours(java.util.List<TileEntityBehaviour> behaviours)
addBehaviours in class BasinOperatingTileEntityprotected void fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntityfromTag in class KineticTileEntitypublic void write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntitywrite in class KineticTileEntitypublic net.minecraft.util.math.AxisAlignedBB makeRenderBoundingBox()
makeRenderBoundingBox in class KineticTileEntitypublic float getRenderedHeadOffset(float partialTicks)
public void start(MechanicalPressTileEntity.Mode mode)
public boolean inWorld()
public boolean onBasin()
public void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class BasinOperatingTileEntityprotected void applyCompactingOnBasin()
protected void applyPressingInWorld()
public static boolean canProcessInBulk()
public int getRunningTickSpeed()
protected void spawnParticles()
public void makePressingParticleEffect(net.minecraft.util.math.vector.Vector3d pos,
net.minecraft.item.ItemStack stack)
public void makeCompactingParticleEffect(net.minecraft.util.math.vector.Vector3d pos,
net.minecraft.item.ItemStack stack)
public java.util.Optional<PressingRecipe> getRecipe(net.minecraft.item.ItemStack item)
public static <C extends net.minecraft.inventory.IInventory> boolean canCompress(net.minecraft.item.crafting.IRecipe<C> recipe)
protected <C extends net.minecraft.inventory.IInventory> boolean matchStaticFilters(net.minecraft.item.crafting.IRecipe<C> recipe)
matchStaticFilters in class BasinOperatingTileEntityprotected java.lang.Object getRecipeCacheKey()
getRecipeCacheKey in class BasinOperatingTileEntitypublic void startProcessingBasin()
startProcessingBasin in class BasinOperatingTileEntityprotected void onBasinRemoved()
onBasinRemoved in class BasinOperatingTileEntityprotected boolean isRunning()
isRunning in class BasinOperatingTileEntityprotected java.util.Optional<ITriggerable> getProcessedRecipeTrigger()
getProcessedRecipeTrigger in class BasinOperatingTileEntity