@ParametersAreNonnullByDefault @MethodsReturnNonnullByDefault public class SawTileEntity extends BlockBreakingKineticTileEntity
IHaveGoggleInformation.Format| Modifier and Type | Field and Description |
|---|---|
ProcessingInventory |
inventory |
static net.minecraft.util.LazyValue<net.minecraft.item.crafting.IRecipeType<?>> |
woodcuttingRecipeType |
breakerId, breakingPos, destroyProgress, NEXT_BREAKER_ID, ticksUntilNextProgresscachedBoundingBox, capacity, effects, lastCapacityProvided, lastStressApplied, network, networkDirty, overStressed, preventSpeedUpdate, source, speed, stress, updateSpeed, wasMovedcomponentSpacing, numberFormat, spacing| Constructor and Description |
|---|
SawTileEntity(net.minecraft.tileentity.TileEntityType<? extends SawTileEntity> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBehaviours(java.util.List<TileEntityBehaviour> behaviours) |
boolean |
canBreak(net.minecraft.block.BlockState stateToBreak,
float blockHardness) |
protected boolean |
canProcess() |
void |
dropItemFromCutTree(net.minecraft.util.math.BlockPos pos,
net.minecraft.item.ItemStack stack) |
protected void |
fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
protected net.minecraft.util.math.BlockPos |
getBreakingPos() |
<T> net.minecraftforge.common.util.LazyOptional<T> |
getCapability(net.minecraftforge.common.capabilities.Capability<T> cap,
net.minecraft.util.Direction side) |
net.minecraft.util.math.vector.Vector3d |
getItemMovementVec() |
void |
insertItem(net.minecraft.entity.item.ItemEntity entity) |
static boolean |
isSawable(net.minecraft.block.BlockState stateToBreak) |
protected net.minecraft.util.math.AxisAlignedBB |
makeRenderBoundingBox() |
void |
onBlockBroken(net.minecraft.block.BlockState stateToBreak) |
void |
setRemoved() |
boolean |
shouldRenderNormally() |
protected boolean |
shouldRun() |
protected void |
spawnEventParticles(net.minecraft.item.ItemStack stack) |
protected void |
spawnParticles(net.minecraft.item.ItemStack stack) |
void |
start(net.minecraft.item.ItemStack inserted) |
void |
tick() |
void |
tickAudio() |
void |
write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
Hook only these in future subclasses of STE
|
destroyNextTick, getBreakSpeed, isBreakable, lazyTick, onSpeedChangedaddPropagationLocations, 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, setSource, setSpeed, switchToBlockState, updateFromNetwork, warnOfMovementaddBehavioursDeferred, attachBehaviourLate, canPlayerUse, forEachBehaviour, getBehaviour, getRequiredItems, getWorld, isFluidHandlerCap, isItemHandlerCap, isVirtual, load, markVirtual, readClientUpdate, removeBehaviour, save, sendToContainer, 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, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainedFluidTooltip, formatgetWorldpublic static final net.minecraft.util.LazyValue<net.minecraft.item.crafting.IRecipeType<?>> woodcuttingRecipeType
public ProcessingInventory inventory
public SawTileEntity(net.minecraft.tileentity.TileEntityType<? extends SawTileEntity> type)
public void addBehaviours(java.util.List<TileEntityBehaviour> behaviours)
addBehaviours in class KineticTileEntitypublic void write(net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntitywrite in class BlockBreakingKineticTileEntityprotected void fromTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound,
boolean clientPacket)
SmartTileEntityfromTag in class BlockBreakingKineticTileEntityprotected net.minecraft.util.math.AxisAlignedBB makeRenderBoundingBox()
makeRenderBoundingBox in class KineticTileEntitypublic void tickAudio()
tickAudio in class KineticTileEntitypublic void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntitytick in class BlockBreakingKineticTileEntitypublic void setRemoved()
setRemoved in class BlockBreakingKineticTileEntitypublic <T> net.minecraftforge.common.util.LazyOptional<T> getCapability(net.minecraftforge.common.capabilities.Capability<T> cap,
net.minecraft.util.Direction side)
getCapability in interface net.minecraftforge.common.capabilities.ICapabilityProvidergetCapability in class net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.tileentity.TileEntity>protected void spawnEventParticles(net.minecraft.item.ItemStack stack)
protected void spawnParticles(net.minecraft.item.ItemStack stack)
public net.minecraft.util.math.vector.Vector3d getItemMovementVec()
public void insertItem(net.minecraft.entity.item.ItemEntity entity)
public void start(net.minecraft.item.ItemStack inserted)
protected boolean canProcess()
protected boolean shouldRun()
shouldRun in class BlockBreakingKineticTileEntityprotected net.minecraft.util.math.BlockPos getBreakingPos()
getBreakingPos in class BlockBreakingKineticTileEntitypublic void onBlockBroken(net.minecraft.block.BlockState stateToBreak)
onBlockBroken in class BlockBreakingKineticTileEntitypublic void dropItemFromCutTree(net.minecraft.util.math.BlockPos pos,
net.minecraft.item.ItemStack stack)
public boolean canBreak(net.minecraft.block.BlockState stateToBreak,
float blockHardness)
canBreak in class BlockBreakingKineticTileEntitypublic static boolean isSawable(net.minecraft.block.BlockState stateToBreak)
public boolean shouldRenderNormally()