Class BrickFurnaceBlockEntity

java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.level.block.entity.BlockEntity>
net.minecraftforge.common.capabilities.CapabilityProvider.BlockEntities
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.BaseContainerBlockEntity
net.minecraft.world.level.block.entity.AbstractFurnaceBlockEntity
de.cech12.brickfurnace.blockentity.AbstractBrickFurnaceBlockEntity
de.cech12.brickfurnace.blockentity.BrickFurnaceBlockEntity
All Implemented Interfaces:
Iterable<net.minecraft.world.item.ItemStack>, net.minecraft.core.TypedInstance<net.minecraft.world.level.block.entity.BlockEntityType<?>>, net.minecraft.util.debug.DebugValueSource, net.minecraft.world.Clearable, net.minecraft.world.Container, net.minecraft.world.entity.SlotProvider, net.minecraft.world.inventory.MenuConstructor, net.minecraft.world.inventory.RecipeCraftingHolder, net.minecraft.world.inventory.StackedContentsCompatible, net.minecraft.world.MenuProvider, net.minecraft.world.Nameable, net.minecraft.world.WorldlyContainer, net.minecraftforge.common.capabilities.ICapabilityProvider, net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.level.block.entity.BlockEntity>, net.minecraftforge.common.extensions.IForgeBlockEntity

public class BrickFurnaceBlockEntity extends AbstractBrickFurnaceBlockEntity
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProvider

    net.minecraftforge.common.capabilities.CapabilityProvider.AsField<B>, net.minecraftforge.common.capabilities.CapabilityProvider.BlockEntities, net.minecraftforge.common.capabilities.CapabilityProvider.Entities, net.minecraftforge.common.capabilities.CapabilityProvider.ItemStacks, net.minecraftforge.common.capabilities.CapabilityProvider.Levels

    Nested classes/interfaces inherited from interface net.minecraft.world.Container

    net.minecraft.world.Container.ContainerIterator

    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 inherited from class net.minecraft.world.level.block.entity.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_RESULT

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

    level, remove, worldPosition

    Fields inherited from interface net.minecraft.world.Container

    DEFAULT_DISTANCE_BUFFER

    Fields inherited from interface net.minecraftforge.common.extensions.IForgeBlockEntity

    INFINITE_EXTENT_AABB
  • Constructor Summary

    Constructors
    Constructor
    Description
    BrickFurnaceBlockEntity(net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.block.state.BlockState blockState)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected @NotNull net.minecraft.world.inventory.AbstractContainerMenu
    createMenu(int id, @NotNull net.minecraft.world.entity.player.Inventory player)
     
    protected int
    getBurnDuration(@NotNull net.minecraft.world.level.block.entity.FuelValues fuelValues, @NotNull net.minecraft.world.item.ItemStack stack)
     
    protected @NotNull net.minecraft.network.chat.Component
     

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

    awardUsedRecipes, awardUsedRecipesAndPopExperience, burn, canBurn, canPlaceItem, canPlaceItemThroughFace, canTakeItemThroughFace, consumeFuel, fillStackedContents, getCapability, getContainerSize, getItems, getRecipesToAwardAndPopExperience, getRecipeUsed, getSlotsForFace, invalidateCaps, loadAdditional, preRemoveSideEffects, reviveCaps, saveAdditional, serverTick, setItem, setItems, setRecipeUsed

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

    applyImplicitComponents, canOpen, clearContent, collectImplicitComponents, createMenu, createUnSidedHandler, getCustomName, getDisplayName, getItem, getName, isEmpty, isLocked, removeComponentsFromTag, removeItem, removeItemNoUpdate, sendChestLockedNotifications, stillValid

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

    addEntityType, applyComponents, applyComponentsFromItemStack, clearRemoved, collectComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getNameForReporting, getPosFromTag, getType, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, onChunkUnloaded, parseCustomNameSafe, problemPath, registerDebugValues, saveCustomOnly, saveCustomOnly, saveWithFullMetadata, saveWithFullMetadata, saveWithId, saveWithoutMetadata, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setLevel, setRemoved, triggerEvent, typeHolder

    Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider.BlockEntities

    fireAttachCapabilitiesEvent, shouldFireAttachCapabilitiesEvent

    Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider

    deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, serializeCaps, serializeCaps

    Methods inherited from class Object

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

    Methods inherited from interface net.minecraft.world.Clearable

    clearContent

    Methods inherited from interface net.minecraft.world.Container

    canTakeItem, countItem, getEntitiesWithContainerOpen, getItem, getMaxStackSize, getMaxStackSize, getSlot, hasAnyMatching, hasAnyOf, isEmpty, iterator, removeItem, removeItemNoUpdate, setChanged, startOpen, stillValid, stopOpen

    Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider

    getCapability

    Methods inherited from interface net.minecraftforge.common.extensions.IForgeBlockEntity

    getModelData, getRenderBoundingBox, handleUpdateTag, hasCustomOutlineRendering, onDataPacket, onLoad, requestModelDataUpdate

    Methods inherited from interface Iterable

    forEach, spliterator

    Methods inherited from interface net.minecraft.world.Nameable

    getPlainTextName, hasCustomName

    Methods inherited from interface net.minecraft.world.inventory.RecipeCraftingHolder

    setRecipeUsed

    Methods inherited from interface net.minecraft.world.entity.SlotProvider

    getSlotsFromRange

    Methods inherited from interface net.minecraft.core.TypedInstance

    is, is, is, is, is, tags
  • Constructor Details

    • BrickFurnaceBlockEntity

      public BrickFurnaceBlockEntity(net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.block.state.BlockState blockState)
  • Method Details

    • getDefaultName

      @NotNull protected @NotNull net.minecraft.network.chat.Component getDefaultName()
      Specified by:
      getDefaultName in class net.minecraft.world.level.block.entity.BaseContainerBlockEntity
    • getBurnDuration

      protected int getBurnDuration(@NotNull @NotNull net.minecraft.world.level.block.entity.FuelValues fuelValues, @NotNull @NotNull net.minecraft.world.item.ItemStack stack)
      Overrides:
      getBurnDuration in class net.minecraft.world.level.block.entity.AbstractFurnaceBlockEntity
    • createMenu

      @NotNull protected @NotNull net.minecraft.world.inventory.AbstractContainerMenu createMenu(int id, @NotNull @NotNull net.minecraft.world.entity.player.Inventory player)
      Specified by:
      createMenu in class net.minecraft.world.level.block.entity.BaseContainerBlockEntity