Class AutocrafterManagerBlockEntity
java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
com.refinedmods.refinedstorage.common.api.support.network.AbstractNetworkNodeContainerBlockEntity<com.refinedmods.refinedstorage.api.network.impl.node.SimpleNetworkNode>
com.refinedmods.refinedstorage.common.support.network.AbstractBaseNetworkNodeContainerBlockEntity<com.refinedmods.refinedstorage.api.network.impl.node.SimpleNetworkNode>
com.refinedmods.refinedstorage.common.autocrafting.autocraftermanager.AutocrafterManagerBlockEntity
- All Implemented Interfaces:
ConfigurationCardTarget
,NetworkItemTargetBlockEntity
,ExtendedMenuProvider<AutocrafterManagerData>
,NetworkNodeExtendedMenuProvider<AutocrafterManagerData>
,NetworkNodeMenuProvider
,PlayerAwareBlockEntity
,net.minecraft.world.inventory.MenuConstructor
,net.minecraft.world.MenuProvider
,net.minecraft.world.Nameable
public class AutocrafterManagerBlockEntity
extends AbstractBaseNetworkNodeContainerBlockEntity<com.refinedmods.refinedstorage.api.network.impl.node.SimpleNetworkNode>
implements NetworkNodeExtendedMenuProvider<AutocrafterManagerData>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.BlockEntity.DataComponentInput
-
Field Summary
Fields inherited from class com.refinedmods.refinedstorage.common.support.network.AbstractBaseNetworkNodeContainerBlockEntity
ticker
Fields inherited from class com.refinedmods.refinedstorage.common.api.support.network.AbstractNetworkNodeContainerBlockEntity
containers, mainNetworkNode
Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition
-
Constructor Summary
ConstructorDescriptionAutocrafterManagerBlockEntity
(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
activenessChanged
(boolean newActive) net.minecraft.world.inventory.AbstractContainerMenu
createMenu
(int syncId, net.minecraft.world.entity.player.Inventory inventory, net.minecraft.world.entity.player.Player player) protected boolean
doesBlockStateChangeWarrantNetworkNodeUpdate
(net.minecraft.world.level.block.state.BlockState oldBlockState, net.minecraft.world.level.block.state.BlockState newBlockState) net.minecraft.network.codec.StreamEncoder
<net.minecraft.network.RegistryFriendlyByteBuf, AutocrafterManagerData> net.minecraft.network.chat.Component
getName()
Methods inherited from class com.refinedmods.refinedstorage.common.support.network.AbstractBaseNetworkNodeContainerBlockEntity
applyImplicitComponents, calculateActive, collectImplicitComponents, createMainContainer, doWork, getCustomName, getDisplayName, getFakePlayer, getNetworkForItem, getRedstoneMode, hasRedstoneMode, initialize, initialize, isPlacedBy, loadAdditional, overrideName, readConfiguration, saveAdditional, setBlockState, setCustomName, setLevel, setPlacedBy, setRedstoneMode, updateActiveness, writeConfiguration
Methods inherited from class com.refinedmods.refinedstorage.common.api.support.network.AbstractNetworkNodeContainerBlockEntity
clearRemoved, containerInitialized, createContainerProvider, getContainerProvider, setRemoved
Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, collectComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getType, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, onlyOpCanSetNbt, parseCustomNameSafe, removeComponentsFromTag, saveCustomAndMetadata, saveCustomOnly, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setChanged, setChanged, setComponents, triggerEvent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.refinedmods.refinedstorage.common.api.configurationcard.ConfigurationCardTarget
addUpgrade, getUpgrades
Methods inherited from interface net.minecraft.world.MenuProvider
getDisplayName
Methods inherited from interface net.minecraft.world.Nameable
hasCustomName
Methods inherited from interface com.refinedmods.refinedstorage.common.support.containermenu.NetworkNodeMenuProvider
canOpen, getContainerProvider
-
Constructor Details
-
AutocrafterManagerBlockEntity
public AutocrafterManagerBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
-
-
Method Details
-
activenessChanged
protected void activenessChanged(boolean newActive) - Overrides:
activenessChanged
in classAbstractBaseNetworkNodeContainerBlockEntity<com.refinedmods.refinedstorage.api.network.impl.node.SimpleNetworkNode>
-
getName
public net.minecraft.network.chat.Component getName()- Specified by:
getName
in interfacenet.minecraft.world.Nameable
-
doesBlockStateChangeWarrantNetworkNodeUpdate
protected boolean doesBlockStateChangeWarrantNetworkNodeUpdate(net.minecraft.world.level.block.state.BlockState oldBlockState, net.minecraft.world.level.block.state.BlockState newBlockState) - Overrides:
doesBlockStateChangeWarrantNetworkNodeUpdate
in classAbstractBaseNetworkNodeContainerBlockEntity<com.refinedmods.refinedstorage.api.network.impl.node.SimpleNetworkNode>
-
getMenuData
- Specified by:
getMenuData
in interfaceExtendedMenuProvider<AutocrafterManagerData>
-
getMenuCodec
public net.minecraft.network.codec.StreamEncoder<net.minecraft.network.RegistryFriendlyByteBuf,AutocrafterManagerData> getMenuCodec()- Specified by:
getMenuCodec
in interfaceExtendedMenuProvider<AutocrafterManagerData>
-
createMenu
@Nullable public net.minecraft.world.inventory.AbstractContainerMenu createMenu(int syncId, net.minecraft.world.entity.player.Inventory inventory, net.minecraft.world.entity.player.Player player) - Specified by:
createMenu
in interfacenet.minecraft.world.inventory.MenuConstructor
-