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.DataComponentInputNested classes/interfaces inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
net.neoforged.neoforge.attachment.AttachmentHolder.AsField -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected net.minecraft.world.item.crafting.Recipe<?> protected intprotected ObjectFields inherited from class com.simibubi.create.content.processing.basin.BasinBlockEntity
fluidCapability, inputInventory, inputTank, itemCapability, OUTPUT_ANIMATION_TIME, outputInventory, outputTank, spoutputBuffer, spoutputFluidBufferFields inherited from class com.simibubi.create.foundation.blockEntity.SmartBlockEntity
lazyTickCounter, lazyTickRateFields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPositionFields inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
ATTACHMENTS_NBT_KEY -
Constructor Summary
ConstructorsConstructorDescriptionMeshBasinBlockEntity(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 TypeMethodDescriptionbooleanacceptsRecipeBook(net.minecraft.world.item.crafting.RecipeHolder<?> recipeHolder) protected voidbooleanprotected Optional<com.simibubi.create.content.processing.recipe.ProcessingRecipe<?, ?>> net.neoforged.neoforge.fluids.capability.IFluidHandlergetFluidHandler(net.minecraft.core.Direction direction) net.neoforged.neoforge.items.IItemHandlerModifiablegetItemHandler(net.minecraft.core.Direction direction) List<net.minecraft.world.item.crafting.Recipe<?>> protected List<net.createmod.catnip.data.IntAttached<net.minecraft.world.item.ItemStack>> booleanbooleanmatchStaticFilters(net.minecraft.world.item.crafting.Recipe<?> recipe) booleanmatchStaticFiltersForSelfProcessing(net.minecraft.world.item.crafting.RecipeHolder<?> rh) voidprotected voidread(net.minecraft.nbt.CompoundTag compound, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket) voidvoidprotected voidspillParticle(net.minecraft.core.particles.ParticleOptions data) voidtick()protected booleanvoidwrite(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, setAreFluidsMovingMethods 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, writeSafeMethods inherited from class com.simibubi.create.foundation.blockEntity.CachedRenderBBBlockEntity
createRenderBoundingBox, getRenderBoundingBox, invalidateRenderBoundingBoxMethods inherited from class com.simibubi.create.foundation.blockEntity.SyncedBlockEntity
blockHolderGetter, getUpdatePacket, getUpdateTag, handleUpdateTag, onDataPacket, sendDataMethods 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, triggerEventMethods inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
deserializeAttachments, getData, getExistingDataOrNull, hasAttachments, hasData, serializeAttachmentsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.attachment.IAttachmentHolder
getData, getExistingData, getExistingData, getExistingDataOrNull, hasData, removeData, setData, syncDataMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockEntityExtension
getModelData, hasCustomOutlineRendering, invalidateCapabilities, onLoad, requestModelDataUpdateMethods inherited from interface com.petrolpark.compat.create.core.block.entity.basin.IDifferentBasinBlockEntity
getBasinOperator, haveContentsChangedMethods inherited from interface com.simibubi.create.api.equipment.goggles.IHaveCustomOverlayIcon
getIconMethods inherited from interface com.simibubi.create.api.equipment.goggles.IHaveGoggleInformation
containedFluidTooltipMethods 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
-
-
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:
tickin classcom.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
-
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:
readin classcom.simibubi.create.content.processing.basin.BasinBlockEntity
-
write
public void write(net.minecraft.nbt.CompoundTag compound, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket) - Overrides:
writein classcom.simibubi.create.content.processing.basin.BasinBlockEntity
-
matchStaticFilters
public boolean matchStaticFilters(net.minecraft.world.item.crafting.Recipe<?> recipe) - Specified by:
matchStaticFiltersin interfaceIDifferentBasinBlockEntity
-
onAvailableRecipesChanged
public void onAvailableRecipesChanged()- Specified by:
onAvailableRecipesChangedin interfaceIRecipeBookAcceptorBlockEntity
-
acceptsRecipeBook
public boolean acceptsRecipeBook(net.minecraft.world.item.crafting.RecipeHolder<?> recipeHolder) - Specified by:
acceptsRecipeBookin interfaceIRecipeBookAcceptorBlockEntity
-