Class ArmTileEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.level.block.entity.BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
com.simibubi.create.foundation.tileEntity.SyncedTileEntity
com.simibubi.create.foundation.tileEntity.SmartTileEntity
com.simibubi.create.content.contraptions.base.KineticTileEntity
com.simibubi.create.content.logistics.block.mechanicalArm.ArmTileEntity
- All Implemented Interfaces:
com.jozufozu.flywheel.api.FlywheelRendered,ITransformableTE,IHaveGoggleInformation,IHaveHoveringInformation,IInteractionChecker,IPartialSafeNBT,net.minecraftforge.common.capabilities.ICapabilityProvider,net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.level.block.entity.BlockEntity>,net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.CompoundTag>,net.minecraftforge.common.extensions.IForgeBlockEntity,net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumNested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
net.minecraftforge.common.capabilities.CapabilityProvider.AsField<B extends net.minecraftforge.common.capabilities.ICapabilityProviderImpl<B>>Nested classes/interfaces inherited from interface com.simibubi.create.content.contraptions.goggles.IHaveGoggleInformation
IHaveGoggleInformation.Format -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected booleanprotected ScrollOptionBehaviour<ArmTileEntity.SelectionMode>Fields inherited from class com.simibubi.create.content.contraptions.base.KineticTileEntity
cachedBoundingBox, capacity, effects, lastCapacityProvided, lastStressApplied, network, networkDirty, overStressed, preventSpeedUpdate, source, speed, stress, updateSpeed, wasMovedFields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPositionFields inherited from interface net.minecraftforge.common.extensions.IForgeBlockEntity
INFINITE_EXTENT_AABBFields inherited from interface com.simibubi.create.content.contraptions.goggles.IHaveGoggleInformation
componentSpacing, numberFormat, spacing -
Constructor Summary
ConstructorsConstructorDescriptionArmTileEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> typeIn, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBehaviours(List<TileEntityBehaviour> behaviours) booleanaddToTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking) protected voidprotected voidprotected intgetDistributableAmount(ArmInteractionPoint armInteractionPoint, int i) static intgetRange()protected voidprotected booleanvoidlazyTick()net.minecraft.world.phys.AABBprotected voidread(net.minecraft.nbt.CompoundTag compound, boolean clientPacket) Hook only these in future subclasses of STEvoidprotected voidprotected voidbooleanvoidtick()voidtransform(StructureTransform transform) voidwrite(net.minecraft.nbt.CompoundTag compound, boolean clientPacket) Hook only these in future subclasses of STEvoidwriteInteractionPoints(net.minecraft.nbt.CompoundTag compound) voidwriteSafe(net.minecraft.nbt.CompoundTag compound, boolean clientPacket) Methods inherited from class com.simibubi.create.content.contraptions.base.KineticTileEntity
addPropagationLocations, addToGoggleTooltip, 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, onSpeedChanged, propagateRotationTo, removeSource, requestModelDataUpdate, setNetwork, setRemoved, setSource, setSpeed, switchToBlockState, tickAudio, updateFromNetwork, warnOfMovementMethods inherited from class com.simibubi.create.foundation.tileEntity.SmartTileEntity
addBehavioursDeferred, attachBehaviourLate, canPlayerUse, forEachBehaviour, getBehaviour, getRequiredItems, isFluidHandlerCap, isItemHandlerCap, isVirtual, load, markVirtual, readClient, refreshBlockState, removeBehaviour, saveAdditional, sendToContainer, setLazyTickRate, writeClientMethods inherited from class com.simibubi.create.foundation.tileEntity.SyncedTileEntity
causeBlockUpdate, containedChunk, getUpdatePacket, getUpdateTag, handleUpdateTag, notifyUpdate, onDataPacket, packetTarget, save, sendDataMethods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getTileData, getType, hasLevel, isRemoved, loadStatic, onChunkUnloaded, onlyOpCanSetNbt, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setLevel, triggerEventMethods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapabilityMethods inherited from interface net.minecraftforge.common.extensions.IForgeBlockEntity
deserializeNBT, getModelData, onLoad, serializeNBTMethods inherited from interface com.simibubi.create.content.contraptions.goggles.IHaveGoggleInformation
containedFluidTooltip
-
Field Details
-
selectionMode
-
lastInputIndex
protected int lastInputIndex -
lastOutputIndex
protected int lastOutputIndex -
redstoneLocked
protected boolean redstoneLocked
-
-
Constructor Details
-
ArmTileEntity
public ArmTileEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> typeIn, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
-
-
Method Details
-
addBehaviours
- Overrides:
addBehavioursin classKineticTileEntity
-
tick
public void tick()- Overrides:
tickin classKineticTileEntity
-
lazyTick
public void lazyTick()- Overrides:
lazyTickin classSmartTileEntity
-
makeRenderBoundingBox
public net.minecraft.world.phys.AABB makeRenderBoundingBox()- Overrides:
makeRenderBoundingBoxin classKineticTileEntity
-
isOnCeiling
protected boolean isOnCeiling() -
searchForItem
protected void searchForItem() -
searchForDestination
protected void searchForDestination() -
getDistributableAmount
-
depositItem
protected void depositItem() -
collectItem
protected void collectItem() -
redstoneUpdate
public void redstoneUpdate() -
transform
- Specified by:
transformin interfaceITransformableTE
-
initInteractionPoints
protected void initInteractionPoints() -
writeInteractionPoints
public void writeInteractionPoints(net.minecraft.nbt.CompoundTag compound) -
write
public void write(net.minecraft.nbt.CompoundTag compound, boolean clientPacket) Description copied from class:SmartTileEntityHook only these in future subclasses of STE- Overrides:
writein classKineticTileEntity
-
writeSafe
public void writeSafe(net.minecraft.nbt.CompoundTag compound, boolean clientPacket) - Specified by:
writeSafein interfaceIPartialSafeNBT- Overrides:
writeSafein classSmartTileEntity
-
read
protected void read(net.minecraft.nbt.CompoundTag compound, boolean clientPacket) Description copied from class:SmartTileEntityHook only these in future subclasses of STE- Overrides:
readin classKineticTileEntity
-
getRange
public static int getRange() -
addToTooltip
public boolean addToTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking) - Specified by:
addToTooltipin interfaceIHaveHoveringInformation- Overrides:
addToTooltipin classKineticTileEntity
-
shouldRenderNormally
public boolean shouldRenderNormally()- Specified by:
shouldRenderNormallyin interfacecom.jozufozu.flywheel.api.FlywheelRendered
-