Class MeshBasinBlockEntity

java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.block.entity.BlockEntity
com.simibubi.create.foundation.blockEntity.SyncedBlockEntity
com.simibubi.create.foundation.blockEntity.CachedRenderBBBlockEntity
com.simibubi.create.foundation.blockEntity.SmartBlockEntity
com.simibubi.create.content.processing.basin.BasinBlockEntity
com.petrolpark.compat.create.common.processing.meshbasin.MeshBasinBlockEntity
All Implemented Interfaces:
IDifferentBasinBlockEntity, IRecipeBookAcceptorBlockEntity, com.simibubi.create.api.equipment.goggles.IHaveCustomOverlayIcon, com.simibubi.create.api.equipment.goggles.IHaveGoggleInformation, com.simibubi.create.api.schematic.nbt.PartialSafeNBT, com.simibubi.create.api.schematic.requirement.SpecialBlockEntityItemRequirement, com.simibubi.create.foundation.utility.IInteractionChecker, net.createmod.ponder.api.VirtualBlockEntity, net.minecraft.world.Clearable, net.neoforged.neoforge.attachment.IAttachmentHolder, net.neoforged.neoforge.common.extensions.IBlockEntityExtension

public class MeshBasinBlockEntity extends com.simibubi.create.content.processing.basin.BasinBlockEntity implements IDifferentBasinBlockEntity, IRecipeBookAcceptorBlockEntity
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.level.block.entity.BlockEntity

    net.minecraft.world.level.block.entity.BlockEntity.DataComponentInput

    Nested classes/interfaces inherited from class net.neoforged.neoforge.attachment.AttachmentHolder

    net.neoforged.neoforge.attachment.AttachmentHolder.AsField
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected net.minecraft.world.item.crafting.Recipe<?>
     
    protected int
     
    protected Object
     

    Fields inherited from class com.simibubi.create.content.processing.basin.BasinBlockEntity

    fluidCapability, inputInventory, inputTank, itemCapability, OUTPUT_ANIMATION_TIME, outputInventory, outputTank, spoutputBuffer, spoutputFluidBuffer

    Fields inherited from class com.simibubi.create.foundation.blockEntity.SmartBlockEntity

    lazyTickCounter, lazyTickRate

    Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity

    level, remove, worldPosition

    Fields inherited from class net.neoforged.neoforge.attachment.AttachmentHolder

    ATTACHMENTS_NBT_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
    MeshBasinBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    acceptsRecipeBook(net.minecraft.world.item.crafting.RecipeHolder<?> recipeHolder)
     
    protected void
     
    boolean
     
    protected Optional<com.simibubi.create.content.processing.recipe.ProcessingRecipe<?,?>>
     
    net.neoforged.neoforge.fluids.capability.IFluidHandler
    getFluidHandler(net.minecraft.core.Direction direction)
     
    net.neoforged.neoforge.items.IItemHandlerModifiable
    getItemHandler(net.minecraft.core.Direction direction)
     
    List<net.minecraft.world.item.crafting.Recipe<?>>
     
    protected List<net.createmod.catnip.data.IntAttached<net.minecraft.world.item.ItemStack>>
     
    boolean
     
    boolean
    matchStaticFilters(net.minecraft.world.item.crafting.Recipe<?> recipe)
     
    boolean
    matchStaticFiltersForSelfProcessing(net.minecraft.world.item.crafting.RecipeHolder<?> rh)
     
    void
     
    protected void
    read(net.minecraft.nbt.CompoundTag compound, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket)
     
    void
     
    void
     
    protected void
    spillParticle(net.minecraft.core.particles.ParticleOptions data)
     
    void
     
    protected boolean
     
    void
    write(net.minecraft.nbt.CompoundTag compound, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket)
     

    Methods inherited from class com.simibubi.create.content.processing.basin.BasinBlockEntity

    acceptOutputs, addBehaviours, addToGoggleTooltip, areFluidsMoving, canContinueProcessing, clearContent, destroy, getFilter, getHeatLevelOf, getInputInventory, getInvs, getOutputInventory, getTanks, getTotalFluidUnits, invalidate, isEmpty, lazyTick, notifyChangeOfContents, notifyUpdate, onEmptied, onWrenched, readOnlyItems, registerCapabilities, remove, setAreFluidsMoving

    Methods inherited from class com.simibubi.create.foundation.blockEntity.SmartBlockEntity

    addBehavioursDeferred, attachBehaviourLate, award, awardIfNear, canPlayerUse, forEachBehaviour, getAllBehaviours, getBehaviour, getRequiredItems, initialize, isChunkUnloaded, isVirtual, loadAdditional, markVirtual, onChunkUnloaded, readClient, refreshBlockState, registerAwardables, removeBehaviour, saveAdditional, sendToMenu, setLazyTickRate, setRemoved, writeClient, writeSafe

    Methods inherited from class com.simibubi.create.foundation.blockEntity.CachedRenderBBBlockEntity

    createRenderBoundingBox, getRenderBoundingBox, invalidateRenderBoundingBox

    Methods inherited from class com.simibubi.create.foundation.blockEntity.SyncedBlockEntity

    blockHolderGetter, getUpdatePacket, getUpdateTag, handleUpdateTag, onDataPacket, sendData

    Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity

    addEntityType, applyComponents, applyComponentsFromItemStack, applyImplicitComponents, clearRemoved, collectComponents, collectImplicitComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPersistentData, getPosFromTag, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, onlyOpCanSetNbt, parseCustomNameSafe, removeComponentsFromTag, removeData, saveCustomAndMetadata, saveCustomOnly, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setData, setLevel, syncData, triggerEvent

    Methods inherited from class net.neoforged.neoforge.attachment.AttachmentHolder

    deserializeAttachments, getData, getExistingDataOrNull, hasAttachments, hasData, serializeAttachments

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface net.neoforged.neoforge.attachment.IAttachmentHolder

    getData, getExistingData, getExistingData, getExistingDataOrNull, hasData, removeData, setData, syncData

    Methods inherited from interface net.neoforged.neoforge.common.extensions.IBlockEntityExtension

    getModelData, hasCustomOutlineRendering, invalidateCapabilities, onLoad, requestModelDataUpdate

    Methods inherited from interface com.petrolpark.compat.create.core.block.entity.basin.IDifferentBasinBlockEntity

    getBasinOperator, haveContentsChanged

    Methods inherited from interface com.simibubi.create.api.equipment.goggles.IHaveCustomOverlayIcon

    getIcon

    Methods inherited from interface com.simibubi.create.api.equipment.goggles.IHaveGoggleInformation

    containedFluidTooltip

    Methods inherited from interface com.petrolpark.core.recipe.book.IRecipeBookAcceptorBlockEntity

    addProxyRecipeBookAcceptorPositions
  • Field Details

    • selfProcessingTicksRemaining

      protected int selfProcessingTicksRemaining
    • currentSelfRecipe

      protected net.minecraft.world.item.crafting.Recipe<?> currentSelfRecipe
    • selfRecipeCacheKey

      protected Object selfRecipeCacheKey
  • Constructor Details

    • MeshBasinBlockEntity

      public MeshBasinBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
  • Method Details

    • getItemHandler

      public net.neoforged.neoforge.items.IItemHandlerModifiable getItemHandler(net.minecraft.core.Direction direction)
    • getFluidHandler

      public net.neoforged.neoforge.fluids.capability.IFluidHandler getFluidHandler(net.minecraft.core.Direction direction)
    • getVisualizedOutputItems

      protected List<net.createmod.catnip.data.IntAttached<net.minecraft.world.item.ItemStack>> getVisualizedOutputItems()
    • tick

      public void tick()
      Overrides:
      tick in class com.simibubi.create.content.processing.basin.BasinBlockEntity
    • isSelfRunning

      public boolean isSelfRunning()
    • updateSelfRecipe

      protected boolean updateSelfRecipe()
    • applySelfRecipe

      protected void applySelfRecipe()
    • continueWithPreviousRecipe

      public boolean continueWithPreviousRecipe()
    • resetProcessingTime

      public void resetProcessingTime()
    • getMatchingSelfRecipes

      public List<net.minecraft.world.item.crafting.Recipe<?>> getMatchingSelfRecipes()
    • getCurrentSelfProcessingRecipe

      protected Optional<com.simibubi.create.content.processing.recipe.ProcessingRecipe<?,?>> getCurrentSelfProcessingRecipe()
    • matchStaticFiltersForSelfProcessing

      public boolean matchStaticFiltersForSelfProcessing(net.minecraft.world.item.crafting.RecipeHolder<?> rh)
    • renderParticles

      public void renderParticles()
    • spillParticle

      protected void spillParticle(net.minecraft.core.particles.ParticleOptions data)
    • read

      protected void read(net.minecraft.nbt.CompoundTag compound, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket)
      Overrides:
      read in class com.simibubi.create.content.processing.basin.BasinBlockEntity
    • write

      public void write(net.minecraft.nbt.CompoundTag compound, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket)
      Overrides:
      write in class com.simibubi.create.content.processing.basin.BasinBlockEntity
    • matchStaticFilters

      public boolean matchStaticFilters(net.minecraft.world.item.crafting.Recipe<?> recipe)
      Specified by:
      matchStaticFilters in interface IDifferentBasinBlockEntity
    • onAvailableRecipesChanged

      public void onAvailableRecipesChanged()
      Specified by:
      onAvailableRecipesChanged in interface IRecipeBookAcceptorBlockEntity
    • acceptsRecipeBook

      public boolean acceptsRecipeBook(net.minecraft.world.item.crafting.RecipeHolder<?> recipeHolder)
      Specified by:
      acceptsRecipeBook in interface IRecipeBookAcceptorBlockEntity