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

    Fields
    Modifier and Type
    Field
    Description
    static final com.refinedmods.refinedstorage.common.api.upgrade.UpgradeDestination
     

    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

    Fields inherited from interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget

    NBT_ATTACHMENT_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
    RequesterBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.refinedmods.refinedstorage.common.api.support.resource.ResourceContainer
     
    static com.refinedmods.refinedstorage.common.api.support.resource.ResourceContainer
     
    protected @NonNull com.refinedmods.refinedstorage.common.api.support.network.InWorldNetworkNodeContainer
     
    @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)
     
    @NonNull net.minecraft.network.codec.StreamEncoder<net.minecraft.network.RegistryFriendlyByteBuf, RequesterData>
     
    @NonNull RequesterData
     
    @NonNull net.minecraft.network.chat.Component
     
    boolean
     
    void
    readConfiguration(@NonNull net.minecraft.world.level.storage.ValueInput input)
     
    void
    setLevel(@NonNull net.minecraft.world.level.Level level)
     
    void
    writeConfiguration(@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, updateDebugNetworkId

    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, getNameForReporting, getPosFromTag, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, parseCustomNameSafe, preRemoveSideEffects, problemPath, registerDebugValues, removeComponentsFromTag, saveCustomOnly, saveCustomOnly, saveWithFullMetadata, saveWithFullMetadata, saveWithId, saveWithoutMetadata, saveWithoutMetadata, setChanged, setComponents, triggerEvent, typeHolder

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget

    getAttached, getAttachedOrCreate, getAttachedOrCreate, getAttachedOrElse, getAttachedOrGet, getAttachedOrSet, getAttachedOrThrow, hasAttached, modifyAttached, onAttachedSet, removeAttached, setAttached

    Methods inherited from interface com.refinedmods.refinedstorage.common.api.configurationcard.ConfigurationCardTarget

    addUpgrade, getUpgrades

    Methods inherited from interface net.fabricmc.fabric.api.menu.v1.FabricMenuProvider

    shouldCloseCurrentScreen

    Methods inherited from interface net.minecraft.world.MenuProvider

    getDisplayName

    Methods inherited from interface net.minecraft.world.Nameable

    getPlainTextName

    Methods inherited from interface com.refinedmods.refinedstorage.common.support.containermenu.NetworkNodeMenuProvider

    canOpen, getContainerProvider

    Methods inherited from interface net.fabricmc.fabric.api.blockgetter.v2.RenderDataBlockEntity

    getRenderData

    Methods 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:
      setLevel in class com.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:
      createMenu in interface net.minecraft.world.inventory.MenuConstructor
    • getMenuData

      public @NonNull RequesterData getMenuData()
      Specified by:
      getMenuData in interface com.refinedmods.refinedstorage.common.support.containermenu.ExtendedMenuProvider<RequesterData>
    • getMenuCodec

      public @NonNull net.minecraft.network.codec.StreamEncoder<net.minecraft.network.RegistryFriendlyByteBuf, RequesterData> getMenuCodec()
      Specified by:
      getMenuCodec in interface com.refinedmods.refinedstorage.common.support.containermenu.ExtendedMenuProvider<RequesterData>
    • getName

      public @NonNull net.minecraft.network.chat.Component getName()
      Specified by:
      getName in interface net.minecraft.world.Nameable
    • hasCustomName

      public boolean hasCustomName()
      Specified by:
      hasCustomName in interface net.minecraft.world.Nameable
    • createMainContainer

      protected @NonNull com.refinedmods.refinedstorage.common.api.support.network.InWorldNetworkNodeContainer createMainContainer(@NonNull RequesterNetworkNode networkNode)
      Overrides:
      createMainContainer in class com.refinedmods.refinedstorage.common.support.network.AbstractBaseNetworkNodeContainerBlockEntity<RequesterNetworkNode>
    • writeConfiguration

      public void writeConfiguration(@NonNull net.minecraft.world.level.storage.ValueOutput output)
      Specified by:
      writeConfiguration in interface com.refinedmods.refinedstorage.common.api.configurationcard.ConfigurationCardTarget
      Overrides:
      writeConfiguration in class com.refinedmods.refinedstorage.common.support.network.AbstractBaseNetworkNodeContainerBlockEntity<RequesterNetworkNode>
    • readConfiguration

      public void readConfiguration(@NonNull net.minecraft.world.level.storage.ValueInput input)
      Specified by:
      readConfiguration in interface com.refinedmods.refinedstorage.common.api.configurationcard.ConfigurationCardTarget
      Overrides:
      readConfiguration in class com.refinedmods.refinedstorage.common.support.network.AbstractBaseNetworkNodeContainerBlockEntity<RequesterNetworkNode>