Class RequesterBlockEntity
java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
com.refinedmods.refinedstorage.common.api.support.network.AbstractNetworkNodeContainerBlockEntity<RequesterNetworkNode>
com.refinedmods.refinedstorage.common.support.network.AbstractBaseNetworkNodeContainerBlockEntity<RequesterNetworkNode>
net.gotlicked.rsrreforged.requester.RequesterBlockEntity
- All Implemented Interfaces:
com.refinedmods.refinedstorage.common.api.configurationcard.ConfigurationCardTarget, com.refinedmods.refinedstorage.common.api.support.network.item.NetworkItemTargetBlockEntity, com.refinedmods.refinedstorage.common.support.containermenu.ExtendedMenuProvider<RequesterData>, com.refinedmods.refinedstorage.common.support.containermenu.NetworkNodeExtendedMenuProvider<RequesterData>, com.refinedmods.refinedstorage.common.support.containermenu.NetworkNodeMenuProvider, com.refinedmods.refinedstorage.common.support.PlayerAwareBlockEntity, net.fabricmc.fabric.api.attachment.v1.AttachmentTarget, net.fabricmc.fabric.api.blockgetter.v2.RenderDataBlockEntity, net.fabricmc.fabric.api.menu.v1.FabricMenuProvider, net.minecraft.core.TypedInstance<net.minecraft.world.level.block.entity.BlockEntityType<?>>, net.minecraft.util.debug.DebugValueSource, net.minecraft.world.inventory.MenuConstructor, net.minecraft.world.MenuProvider, net.minecraft.world.Nameable
public class RequesterBlockEntity
extends com.refinedmods.refinedstorage.common.support.network.AbstractBaseNetworkNodeContainerBlockEntity<RequesterNetworkNode>
implements com.refinedmods.refinedstorage.common.support.containermenu.NetworkNodeExtendedMenuProvider<RequesterData>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
net.fabricmc.fabric.api.attachment.v1.AttachmentTarget.OnAttachedSet<A>Nested classes/interfaces inherited from interface net.minecraft.util.debug.DebugValueSource
net.minecraft.util.debug.DebugValueSource.Registration, net.minecraft.util.debug.DebugValueSource.ValueGetter<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.refinedmods.refinedstorage.common.api.upgrade.UpgradeDestinationFields inherited from class com.refinedmods.refinedstorage.common.support.network.AbstractBaseNetworkNodeContainerBlockEntity
tickerFields inherited from class com.refinedmods.refinedstorage.common.api.support.network.AbstractNetworkNodeContainerBlockEntity
containers, mainNetworkNodeFields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPositionFields inherited from interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
NBT_ATTACHMENT_KEY -
Constructor Summary
ConstructorsConstructorDescriptionRequesterBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
Method Summary
Modifier and TypeMethodDescriptionstatic com.refinedmods.refinedstorage.common.api.support.resource.ResourceContainerstatic com.refinedmods.refinedstorage.common.api.support.resource.ResourceContainercreateFilterContainer(RequesterData interfaceData) protected @NonNull com.refinedmods.refinedstorage.common.api.support.network.InWorldNetworkNodeContainercreateMainContainer(@NonNull RequesterNetworkNode networkNode) @Nullable net.minecraft.world.inventory.AbstractContainerMenucreateMenu(int syncId, @NonNull net.minecraft.world.entity.player.Inventory inventory, @NonNull net.minecraft.world.entity.player.Player player) @NonNull net.minecraft.network.codec.StreamEncoder<net.minecraft.network.RegistryFriendlyByteBuf, RequesterData> @NonNull RequesterData@NonNull net.minecraft.network.chat.ComponentgetName()booleanvoidreadConfiguration(@NonNull net.minecraft.world.level.storage.ValueInput input) voidsetLevel(@NonNull net.minecraft.world.level.Level level) voidwriteConfiguration(@NonNull net.minecraft.world.level.storage.ValueOutput output) Methods inherited from class com.refinedmods.refinedstorage.common.support.network.AbstractBaseNetworkNodeContainerBlockEntity
activenessChanged, applyImplicitComponents, calculateActive, collectImplicitComponents, doesBlockStateChangeWarrantNetworkNodeUpdate, doWork, getCustomName, getDebugNetworkId, getDisplayName, getFakePlayer, getNetworkForItem, getRedstoneMode, getUpdatePacket, getUpdateTag, hasRedstoneMode, initialize, initialize, isPlacedBy, loadAdditional, overrideName, saveAdditional, setBlockState, setChanged, setCustomName, setPlacedBy, setRedstoneMode, updateActiveness, updateDebugNetworkIdMethods inherited from class com.refinedmods.refinedstorage.common.api.support.network.AbstractNetworkNodeContainerBlockEntity
clearRemoved, containerInitialized, createContainerProvider, getContainerProvider, setRemovedMethods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, collectComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getNameForReporting, getPosFromTag, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, parseCustomNameSafe, preRemoveSideEffects, problemPath, registerDebugValues, removeComponentsFromTag, saveCustomOnly, saveCustomOnly, saveWithFullMetadata, saveWithFullMetadata, saveWithId, saveWithoutMetadata, saveWithoutMetadata, setChanged, setComponents, triggerEvent, typeHolderMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget
getAttached, getAttachedOrCreate, getAttachedOrCreate, getAttachedOrElse, getAttachedOrGet, getAttachedOrSet, getAttachedOrThrow, hasAttached, modifyAttached, onAttachedSet, removeAttached, setAttachedMethods inherited from interface com.refinedmods.refinedstorage.common.api.configurationcard.ConfigurationCardTarget
addUpgrade, getUpgradesMethods inherited from interface net.fabricmc.fabric.api.menu.v1.FabricMenuProvider
shouldCloseCurrentScreenMethods inherited from interface net.minecraft.world.MenuProvider
getDisplayNameMethods inherited from interface net.minecraft.world.Nameable
getPlainTextNameMethods inherited from interface com.refinedmods.refinedstorage.common.support.containermenu.NetworkNodeMenuProvider
canOpen, getContainerProviderMethods inherited from interface net.fabricmc.fabric.api.blockgetter.v2.RenderDataBlockEntity
getRenderDataMethods inherited from interface net.minecraft.core.TypedInstance
is, is, is, is, is, tags
-
Field Details
-
REQUESTER_DESTINATION
public static final com.refinedmods.refinedstorage.common.api.upgrade.UpgradeDestination REQUESTER_DESTINATION
-
-
Constructor Details
-
RequesterBlockEntity
public RequesterBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
-
-
Method Details
-
createFilterContainer
public static com.refinedmods.refinedstorage.common.api.support.resource.ResourceContainer createFilterContainer() -
createFilterContainer
public static com.refinedmods.refinedstorage.common.api.support.resource.ResourceContainer createFilterContainer(RequesterData interfaceData) -
setLevel
public void setLevel(@NonNull net.minecraft.world.level.Level level) - Overrides:
setLevelin classcom.refinedmods.refinedstorage.common.support.network.AbstractBaseNetworkNodeContainerBlockEntity<RequesterNetworkNode>
-
createMenu
@Nullable public @Nullable net.minecraft.world.inventory.AbstractContainerMenu createMenu(int syncId, @NonNull net.minecraft.world.entity.player.Inventory inventory, @NonNull net.minecraft.world.entity.player.Player player) - Specified by:
createMenuin interfacenet.minecraft.world.inventory.MenuConstructor
-
getMenuData
- Specified by:
getMenuDatain interfacecom.refinedmods.refinedstorage.common.support.containermenu.ExtendedMenuProvider<RequesterData>
-
getMenuCodec
public @NonNull net.minecraft.network.codec.StreamEncoder<net.minecraft.network.RegistryFriendlyByteBuf, RequesterData> getMenuCodec()- Specified by:
getMenuCodecin interfacecom.refinedmods.refinedstorage.common.support.containermenu.ExtendedMenuProvider<RequesterData>
-
getName
public @NonNull net.minecraft.network.chat.Component getName()- Specified by:
getNamein interfacenet.minecraft.world.Nameable
-
hasCustomName
public boolean hasCustomName()- Specified by:
hasCustomNamein interfacenet.minecraft.world.Nameable
-
createMainContainer
protected @NonNull com.refinedmods.refinedstorage.common.api.support.network.InWorldNetworkNodeContainer createMainContainer(@NonNull RequesterNetworkNode networkNode) - Overrides:
createMainContainerin classcom.refinedmods.refinedstorage.common.support.network.AbstractBaseNetworkNodeContainerBlockEntity<RequesterNetworkNode>
-
writeConfiguration
public void writeConfiguration(@NonNull net.minecraft.world.level.storage.ValueOutput output) - Specified by:
writeConfigurationin interfacecom.refinedmods.refinedstorage.common.api.configurationcard.ConfigurationCardTarget- Overrides:
writeConfigurationin classcom.refinedmods.refinedstorage.common.support.network.AbstractBaseNetworkNodeContainerBlockEntity<RequesterNetworkNode>
-
readConfiguration
public void readConfiguration(@NonNull net.minecraft.world.level.storage.ValueInput input) - Specified by:
readConfigurationin interfacecom.refinedmods.refinedstorage.common.api.configurationcard.ConfigurationCardTarget- Overrides:
readConfigurationin classcom.refinedmods.refinedstorage.common.support.network.AbstractBaseNetworkNodeContainerBlockEntity<RequesterNetworkNode>
-