Class AbstractISBlockEntity
java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.BaseContainerBlockEntity
net.minecraft.world.level.block.entity.AbstractFurnaceBlockEntity
com.blamejared.ironsmelters.block.entity.AbstractISBlockEntity
- All Implemented Interfaces:
net.minecraft.world.Clearable,net.minecraft.world.Container,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
- Direct Known Subclasses:
ISBlastFurnaceBlockEntity,ISFurnaceBlockEntity,ISSmokerBlockEntity
public abstract class AbstractISBlockEntity
extends net.minecraft.world.level.block.entity.AbstractFurnaceBlockEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.BlockEntity.DataComponentInput -
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_RESULTFields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPositionFields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_BUFFER -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractISBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.item.crafting.RecipeType<? extends net.minecraft.world.item.crafting.AbstractCookingRecipe> recipeType) -
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraft.network.chat.Componentstatic voidserverTick(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, AbstractISBlockEntity blockEntity) type()Methods inherited from class net.minecraft.world.level.block.entity.AbstractFurnaceBlockEntity
awardUsedRecipes, awardUsedRecipesAndPopExperience, canPlaceItem, canPlaceItemThroughFace, canTakeItemThroughFace, fillStackedContents, getBurnDuration, 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, 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, getPosFromTag, getType, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, loadCustomOnly, loadStatic, loadWithComponents, onlyOpCanSetNbt, parseCustomNameSafe, saveCustomAndMetadata, saveCustomOnly, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setLevel, setRemoved, triggerEventMethods 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.minecraft.world.Nameable
hasCustomNameMethods inherited from interface net.minecraft.world.inventory.RecipeCraftingHolder
setRecipeUsed
-
Constructor Details
-
AbstractISBlockEntity
protected AbstractISBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.item.crafting.RecipeType<? extends net.minecraft.world.item.crafting.AbstractCookingRecipe> recipeType)
-
-
Method Details
-
getDefaultName
protected net.minecraft.network.chat.Component getDefaultName()- Specified by:
getDefaultNamein classnet.minecraft.world.level.block.entity.BaseContainerBlockEntity
-
serverTick
public static void serverTick(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, AbstractISBlockEntity blockEntity) -
type
-