Class SmokerBlockEntity
java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.BaseContainerBlockEntity
net.minecraft.world.level.block.entity.AbstractFurnaceBlockEntity
net.minecraft.world.level.block.entity.SmokerBlockEntity
- All Implemented Interfaces:
Iterable<ItemStack>, TypedInstance<BlockEntityType<?>>, DebugValueSource, Clearable, Container, SlotProvider, MenuConstructor, RecipeCraftingHolder, StackedContentsCompatible, MenuProvider, Nameable, WorldlyContainer, IAttachmentHolder, ContainerExtension, IBlockEntityExtension, IMenuProviderExtension
-
Nested Class Summary
Nested classes/interfaces inherited from class AttachmentHolder
AttachmentHolder.AsFieldNested classes/interfaces inherited from interface Container
Container.ContainerIteratorNested classes/interfaces inherited from interface DebugValueSource
DebugValueSource.Registration, DebugValueSource.ValueGetter<T> -
Field Summary
FieldsFields inherited from class AbstractFurnaceBlockEntity
BURN_COOL_SPEED, BURN_TIME_STANDARD, DATA_COOKING_PROGRESS, DATA_COOKING_TOTAL_TIME, DATA_LIT_DURATION, DATA_LIT_TIME, dataAccess, items, NUM_DATA_VALUES, SLOT_FUEL, SLOT_INPUT, SLOT_RESULTFields inherited from class BlockEntity
level, remove, worldPositionFields inherited from class AttachmentHolder
ATTACHMENTS_NBT_KEYFields inherited from interface Container
DEFAULT_DISTANCE_BUFFER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractContainerMenucreateMenu(int containerId, Inventory inventory) protected intgetBurnDuration(FuelValues fuelValues, ItemStack itemStack) protected ComponentMethods inherited from class AbstractFurnaceBlockEntity
awardUsedRecipes, awardUsedRecipesAndPopExperience, canPlaceItem, canPlaceItemThroughFace, canTakeItemThroughFace, fillStackedContents, getContainerSize, getItems, getRecipesToAwardAndPopExperience, getRecipeUsed, getSlotsForFace, loadAdditional, onTransfer, preRemoveSideEffects, saveAdditional, serverTick, setItem, setItem, setItems, setRecipeUsedMethods inherited from class BaseContainerBlockEntity
applyImplicitComponents, canOpen, clearContent, collectImplicitComponents, createMenu, getCustomName, getDisplayName, getItem, getName, isEmpty, isLocked, removeComponentsFromTag, removeItem, removeItemNoUpdate, sendChestLockedNotifications, stillValidMethods inherited from class BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, clearRemoved, collectComponents, components, fillCrashReportCategory, getAndClearAttachmentTypesToSync, getBlockPos, getBlockState, getLevel, getNameForReporting, getPersistentData, getPosFromTag, getType, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, parseCustomNameSafe, problemPath, registerDebugValues, removeData, saveCustomOnly, saveCustomOnly, saveWithFullMetadata, saveWithFullMetadata, saveWithId, saveWithoutMetadata, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setData, setLevel, setRemoved, syncData, triggerEvent, typeHolderMethods inherited from class AttachmentHolder
deserializeAttachments, getData, getExistingDataOrNull, hasAttachments, hasData, serializeAttachmentsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Clearable
clearContentMethods inherited from interface Container
canTakeItem, countItem, getEntitiesWithContainerOpen, getItem, getMaxStackSize, getMaxStackSize, getSlot, hasAnyMatching, hasAnyOf, isEmpty, iterator, removeItem, removeItemNoUpdate, setChanged, startOpen, stillValid, stopOpenMethods inherited from interface IAttachmentHolder
getData, getExistingData, getExistingData, getExistingDataOrNull, hasData, removeData, setData, syncDataMethods inherited from interface IBlockEntityExtension
getModelData, handleUpdateTag, hasCustomOutlineRendering, invalidateCapabilities, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdateMethods inherited from interface IMenuProviderExtension
shouldTriggerClientSideContainerClosingOnOpen, writeClientSideDataMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface Nameable
getPlainTextName, hasCustomNameMethods inherited from interface RecipeCraftingHolder
setRecipeUsedMethods inherited from interface SlotProvider
getSlotsFromRange
-
Field Details
-
DEFAULT_NAME
-
-
Constructor Details
-
SmokerBlockEntity
-
-
Method Details
-
getDefaultName
- Specified by:
getDefaultNamein classBaseContainerBlockEntity
-
getBurnDuration
- Overrides:
getBurnDurationin classAbstractFurnaceBlockEntity
-
createMenu
- Specified by:
createMenuin classBaseContainerBlockEntity
-