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:
Clearable,Container,MenuConstructor,RecipeCraftingHolder,StackedContentsCompatible,MenuProvider,Nameable,WorldlyContainer,IAttachmentHolder,IMenuProviderExtension,IBlockEntityExtension
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.block.entity.BlockEntity
BlockEntity.ComponentHelper, BlockEntity.DataComponentInputNested classes/interfaces inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
AttachmentHolder.AsField -
Field Summary
Fields inherited from class net.minecraft.world.level.block.entity.AbstractFurnaceBlockEntity
BURN_COOL_SPEED, BURN_TIME_STANDARD, cookingProgress, cookingTotalTime, DATA_COOKING_PROGRESS, DATA_COOKING_TOTAL_TIME, DATA_LIT_DURATION, DATA_LIT_TIME, dataAccess, items, litDuration, litTime, NUM_DATA_VALUES, SLOT_FUEL, SLOT_INPUT, SLOT_RESULTFields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPositionFields inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
ATTACHMENTS_NBT_KEYFields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_BUFFER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractContainerMenucreateMenu(int pId, Inventory pPlayer) protected intgetBurnDuration(ItemStack pFuel) protected ComponentMethods inherited from class net.minecraft.world.level.block.entity.AbstractFurnaceBlockEntity
awardUsedRecipes, awardUsedRecipesAndPopExperience, buildFuels, canPlaceItem, canPlaceItemThroughFace, canTakeItemThroughFace, fillStackedContents, getContainerSize, getFuel, getItems, getRecipesToAwardAndPopExperience, getRecipeUsed, getSlotsForFace, invalidateCache, isFuel, loadAdditional, saveAdditional, serverTick, setItem, setItems, setRecipeUsedMethods inherited from class net.minecraft.world.level.block.entity.BaseContainerBlockEntity
applyImplicitComponents, canOpen, canUnlock, clearContent, collectImplicitComponents, createMenu, getCustomName, getDisplayName, getItem, getName, isEmpty, removeComponentsFromTag, removeItem, removeItemNoUpdate, stillValidMethods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, clearRemoved, collectComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPersistentData, getPosFromTag, getType, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, onlyOpCanSetNbt, parseCustomNameSafe, removeData, saveCustomAndMetadata, saveCustomOnly, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setData, setLevel, setRemoved, 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.minecraft.world.Clearable
clearContentMethods inherited from interface net.minecraft.world.Container
canTakeItem, countItem, getItem, getMaxStackSize, getMaxStackSize, hasAnyMatching, hasAnyOf, isEmpty, removeItem, removeItemNoUpdate, setChanged, startOpen, stillValid, stopOpenMethods 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, handleUpdateTag, hasCustomOutlineRendering, invalidateCapabilities, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdateMethods inherited from interface net.neoforged.neoforge.client.extensions.IMenuProviderExtension
shouldTriggerClientSideContainerClosingOnOpen, writeClientSideDataMethods inherited from interface net.minecraft.world.Nameable
hasCustomNameMethods inherited from interface net.minecraft.world.inventory.RecipeCraftingHolder
setRecipeUsed
-
Constructor Details
-
SmokerBlockEntity
-
-
Method Details
-
getDefaultName
- Specified by:
getDefaultNamein classBaseContainerBlockEntity
-
getBurnDuration
- Overrides:
getBurnDurationin classAbstractFurnaceBlockEntity
-
createMenu
- Specified by:
createMenuin classBaseContainerBlockEntity
-