Class AbstractFurnaceBlockEntity
- All Implemented Interfaces:
Iterable<ItemStack>,Inventory,SidedInventory,RecipeInputProvider,RecipeUnlocker,NamedScreenHandlerFactory,ScreenHandlerFactory,Clearable,Nameable,DebugTrackable
- Direct Known Subclasses:
BlastFurnaceBlockEntity,FurnaceBlockEntity,SmokerBlockEntity
- Mappings:
Namespace Name named net/minecraft/block/entity/AbstractFurnaceBlockEntityintermediary net/minecraft/class_2609official ehu
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.debug.DebugTrackable
DebugTrackable.DebugDataSupplier<T>, DebugTrackable.TrackerNested classes/interfaces inherited from interface net.minecraft.inventory.Inventory
Inventory.Iterator -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int[]static final intprivate static final com.mojang.serialization.Codec<Map<RegistryKey<Recipe<?>>, Integer>> static final intstatic final int(package private) int(package private) intstatic final intprivate static final shortprivate static final shortprivate static final shortprivate static final shortstatic final intprotected static final intstatic final intprotected static final intprotected DefaultedList<ItemStack> (package private) int(package private) intprivate final ServerRecipeManager.MatchGetter<SingleStackRecipeInput, ? extends AbstractCookingRecipe> protected static final intstatic final intprotected final PropertyDelegateprivate final Reference2IntOpenHashMap<RegistryKey<Recipe<?>>> private static final int[]private static final int[]Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, worldFields inherited from interface net.minecraft.inventory.Inventory
DEFAULT_MAX_INTERACTION_RANGE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractFurnaceBlockEntity(BlockEntityType<?> blockEntityType, BlockPos pos, BlockState state, RecipeType<? extends AbstractCookingRecipe> recipeType) -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleancanAcceptRecipeOutput(DynamicRegistryManager dynamicRegistryManager, @Nullable RecipeEntry<? extends AbstractCookingRecipe> recipe, SingleStackRecipeInput input, DefaultedList<ItemStack> inventory, int maxCount) booleancanExtract(int slot, ItemStack stack, Direction dir) Returns whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanReturns whether the given stack can be inserted into this inventory at the specified slot position from the given direction.private static booleancraftRecipe(DynamicRegistryManager dynamicRegistryManager, @Nullable RecipeEntry<? extends AbstractCookingRecipe> recipe, SingleStackRecipeInput input, DefaultedList<ItemStack> inventory, int maxCount) private static voiddropExperience(ServerWorld world, Vec3d pos, int multiplier, float experience) voidint[]getAvailableSlots(Direction side) Returns the available slot positions that are reachable from a given side.private static intgetCookTime(ServerWorld world, AbstractFurnaceBlockEntity furnace) protected intgetFuelTime(FuelRegistry fuelRegistry, ItemStack stack) protected DefaultedList<ItemStack> List<RecipeEntry<?>> getRecipesUsedAndDropExperience(ServerWorld world, Vec3d pos) private booleanbooleanReturns whetherstackis valid for theslot.voidonBlockReplaced(BlockPos pos, BlockState oldState) voidprovideRecipeInputs(RecipeFinder finder) protected voidReads data fromnbt.protected voidsetHeldStacks(DefaultedList<ItemStack> inventory) voidsetLastRecipe(@Nullable RecipeEntry<?> recipe) voidSets the stack stored atslottostack.intsize()Returns the size of the inventory.static voidtick(ServerWorld world, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity) voidunlockLastRecipe(PlayerEntity player, List<ItemStack> ingredients) protected voidWrites data tonbt.Methods inherited from class net.minecraft.block.entity.LockableContainerBlockEntity
addComponents, canPlayerUse, checkUnlocked, checkUnlocked, clear, createMenu, createScreenHandler, getContainerName, getCustomName, getDisplayName, getName, getStack, isEmpty, isLocked, readComponents, removeFromCopiedStackData, removeStack, removeStackMethods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, createComponentlessNbt, createComponentMap, createFromNbt, createNbt, createNbtWithIdentifyingData, getCachedState, getComponents, getNameForReport, getPos, getReporterContext, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, posFromNbt, read, readComponentlessData, readComponents, readComponents, registerTracking, setCachedState, setComponents, setWorld, supports, toInitialChunkDataNbt, toUpdatePacket, tryParseCustomName, writeComponentlessData, writeDataWithId, writeDataWithoutId, writeFullData, writeIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.inventory.Inventory
canPlayerUse, canTransferTo, containsAny, containsAny, count, getMaxCount, getMaxCountPerStack, getStack, getViewingUsers, isEmpty, iterator, markDirty, onClose, onOpen, removeStack, removeStackMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface net.minecraft.util.Nameable
getStringifiedName, hasCustomNameMethods inherited from interface net.minecraft.recipe.RecipeUnlocker
shouldCraftRecipe
-
Field Details
-
INPUT_SLOT_INDEX
protected static final int INPUT_SLOT_INDEX- See Also:
- Mappings:
Namespace Name Mixin selector named INPUT_SLOT_INDEXLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;INPUT_SLOT_INDEX:Iintermediary field_31286Lnet/minecraft/class_2609;field_31286:Iofficial bLehu;b:I
-
FUEL_SLOT_INDEX
protected static final int FUEL_SLOT_INDEX- See Also:
- Mappings:
Namespace Name Mixin selector named FUEL_SLOT_INDEXLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;FUEL_SLOT_INDEX:Iintermediary field_31287Lnet/minecraft/class_2609;field_31287:Iofficial cLehu;c:I
-
OUTPUT_SLOT_INDEX
protected static final int OUTPUT_SLOT_INDEX- See Also:
- Mappings:
Namespace Name Mixin selector named OUTPUT_SLOT_INDEXLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;OUTPUT_SLOT_INDEX:Iintermediary field_31288Lnet/minecraft/class_2609;field_31288:Iofficial dLehu;d:I
-
BURN_TIME_PROPERTY_INDEX
public static final int BURN_TIME_PROPERTY_INDEX- See Also:
- Mappings:
Namespace Name Mixin selector named BURN_TIME_PROPERTY_INDEXLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;BURN_TIME_PROPERTY_INDEX:Iintermediary field_31289Lnet/minecraft/class_2609;field_31289:Iofficial eLehu;e:I
-
TOP_SLOTS
private static final int[] TOP_SLOTS- Mappings:
Namespace Name Mixin selector named TOP_SLOTSLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;TOP_SLOTS:[Iintermediary field_11987Lnet/minecraft/class_2609;field_11987:[Iofficial qLehu;q:[I
-
BOTTOM_SLOTS
private static final int[] BOTTOM_SLOTS- Mappings:
Namespace Name Mixin selector named BOTTOM_SLOTSLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;BOTTOM_SLOTS:[Iintermediary field_11982Lnet/minecraft/class_2609;field_11982:[Iofficial rLehu;r:[I
-
SIDE_SLOTS
private static final int[] SIDE_SLOTS- Mappings:
Namespace Name Mixin selector named SIDE_SLOTSLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;SIDE_SLOTS:[Iintermediary field_11983Lnet/minecraft/class_2609;field_11983:[Iofficial sLehu;s:[I
-
FUEL_TIME_PROPERTY_INDEX
public static final int FUEL_TIME_PROPERTY_INDEX- See Also:
- Mappings:
Namespace Name Mixin selector named FUEL_TIME_PROPERTY_INDEXLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;FUEL_TIME_PROPERTY_INDEX:Iintermediary field_31290Lnet/minecraft/class_2609;field_31290:Iofficial fLehu;f:I
-
COOK_TIME_PROPERTY_INDEX
public static final int COOK_TIME_PROPERTY_INDEX- See Also:
- Mappings:
Namespace Name Mixin selector named COOK_TIME_PROPERTY_INDEXLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;COOK_TIME_PROPERTY_INDEX:Iintermediary field_31291Lnet/minecraft/class_2609;field_31291:Iofficial gLehu;g:I
-
COOK_TIME_TOTAL_PROPERTY_INDEX
public static final int COOK_TIME_TOTAL_PROPERTY_INDEX- See Also:
- Mappings:
Namespace Name Mixin selector named COOK_TIME_TOTAL_PROPERTY_INDEXLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;COOK_TIME_TOTAL_PROPERTY_INDEX:Iintermediary field_31292Lnet/minecraft/class_2609;field_31292:Iofficial hLehu;h:I
-
PROPERTY_COUNT
public static final int PROPERTY_COUNT- See Also:
- Mappings:
Namespace Name Mixin selector named PROPERTY_COUNTLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;PROPERTY_COUNT:Iintermediary field_31293Lnet/minecraft/class_2609;field_31293:Iofficial iLehu;i:I
-
DEFAULT_COOK_TIME
public static final int DEFAULT_COOK_TIME- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_COOK_TIMELnet/minecraft/block/entity/AbstractFurnaceBlockEntity;DEFAULT_COOK_TIME:Iintermediary field_31294Lnet/minecraft/class_2609;field_31294:Iofficial jLehu;j:I
-
field_31295
public static final int field_31295- See Also:
- Mappings:
Namespace Name Mixin selector named field_31295Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;field_31295:Iintermediary field_31295Lnet/minecraft/class_2609;field_31295:Iofficial kLehu;k:I
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;CODEC:Lcom/mojang/serialization/Codec;intermediary field_56671Lnet/minecraft/class_2609;field_56671:Lcom/mojang/serialization/Codec;official tLehu;t:Lcom/mojang/serialization/Codec;
-
DEFAULT_LIT_TIME_REMAINING
private static final short DEFAULT_LIT_TIME_REMAINING- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_LIT_TIME_REMAININGLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;DEFAULT_LIT_TIME_REMAINING:Sintermediary field_57764Lnet/minecraft/class_2609;field_57764:Sofficial uLehu;u:S
-
DEFAULT_LIT_TOTAL_TIME
private static final short DEFAULT_LIT_TOTAL_TIME- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_LIT_TOTAL_TIMELnet/minecraft/block/entity/AbstractFurnaceBlockEntity;DEFAULT_LIT_TOTAL_TIME:Sintermediary field_57765Lnet/minecraft/class_2609;field_57765:Sofficial vLehu;v:S
-
DEFAULT_COOKING_TIME_SPENT
private static final short DEFAULT_COOKING_TIME_SPENT- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_COOKING_TIME_SPENTLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;DEFAULT_COOKING_TIME_SPENT:Sintermediary field_57766Lnet/minecraft/class_2609;field_57766:Sofficial wLehu;w:S
-
DEFAULT_COOKING_TOTAL_TIME
private static final short DEFAULT_COOKING_TOTAL_TIME- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_COOKING_TOTAL_TIMELnet/minecraft/block/entity/AbstractFurnaceBlockEntity;DEFAULT_COOKING_TOTAL_TIME:Sintermediary field_57767Lnet/minecraft/class_2609;field_57767:Sofficial xLehu;x:S
-
inventory
- Mappings:
Namespace Name Mixin selector named inventoryLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;inventory:Lnet/minecraft/util/collection/DefaultedList;intermediary field_11984Lnet/minecraft/class_2609;field_11984:Lnet/minecraft/class_2371;official lLehu;l:Ljs;
-
litTimeRemaining
int litTimeRemaining- Mappings:
Namespace Name Mixin selector named litTimeRemainingLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;litTimeRemaining:Iintermediary field_55574Lnet/minecraft/class_2609;field_55574:Iofficial yLehu;y:I
-
litTotalTime
int litTotalTime- Mappings:
Namespace Name Mixin selector named litTotalTimeLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;litTotalTime:Iintermediary field_55575Lnet/minecraft/class_2609;field_55575:Iofficial zLehu;z:I
-
cookingTimeSpent
int cookingTimeSpent- Mappings:
Namespace Name Mixin selector named cookingTimeSpentLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;cookingTimeSpent:Iintermediary field_55576Lnet/minecraft/class_2609;field_55576:Iofficial ALehu;A:I
-
cookingTotalTime
int cookingTotalTime- Mappings:
Namespace Name Mixin selector named cookingTotalTimeLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;cookingTotalTime:Iintermediary field_11988Lnet/minecraft/class_2609;field_11988:Iofficial BLehu;B:I
-
propertyDelegate
- Mappings:
Namespace Name Mixin selector named propertyDelegateLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;propertyDelegate:Lnet/minecraft/screen/PropertyDelegate;intermediary field_17374Lnet/minecraft/class_2609;field_17374:Lnet/minecraft/class_3913;official mLehu;m:Ldfl;
-
recipesUsed
- Mappings:
Namespace Name Mixin selector named recipesUsedLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;recipesUsed:Lit/unimi/dsi/fastutil/objects/Reference2IntOpenHashMap;intermediary field_11986Lnet/minecraft/class_2609;field_11986:Lit/unimi/dsi/fastutil/objects/Reference2IntOpenHashMap;official CLehu;C:Lit/unimi/dsi/fastutil/objects/Reference2IntOpenHashMap;
-
matchGetter
private final ServerRecipeManager.MatchGetter<SingleStackRecipeInput,? extends AbstractCookingRecipe> matchGetter- Mappings:
Namespace Name Mixin selector named matchGetterLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;matchGetter:Lnet/minecraft/recipe/ServerRecipeManager$MatchGetter;intermediary field_38234Lnet/minecraft/class_2609;field_38234:Lnet/minecraft/class_1863$class_7266;official DLehu;D:Ldon$a;
-
-
Constructor Details
-
AbstractFurnaceBlockEntity
protected AbstractFurnaceBlockEntity(BlockEntityType<?> blockEntityType, BlockPos pos, BlockState state, RecipeType<? extends AbstractCookingRecipe> recipeType) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;<init>(Lnet/minecraft/block/entity/BlockEntityType;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/recipe/RecipeType;)Vintermediary <init>Lnet/minecraft/class_2609;<init>(Lnet/minecraft/class_2591;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3956;)Vofficial <init>Lehu;<init>(Leij;Liz;Leln;Ldor;)V
-
-
Method Details
-
isBurning
private boolean isBurning()- Mappings:
Namespace Name Mixin selector named isBurningLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;isBurning()Zintermediary method_11201Lnet/minecraft/class_2609;method_11201()Zofficial hLehu;h()Z
-
readData
Reads data fromnbt. Subclasses should override this if they store a persistent data.NBT is a storage format; therefore, a data from NBT is loaded to a block entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the block entity.
nbtmight not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
readDatain classLockableContainerBlockEntity- See Also:
- Mappings:
Namespace Name Mixin selector named readDataLnet/minecraft/block/entity/BlockEntity;readData(Lnet/minecraft/storage/ReadView;)Vintermediary method_11014Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_11368;)Vofficial aLeih;a(Lfkq;)V
-
writeData
Writes data tonbt. Subclasses should override this if they store a persistent data.NBT is a storage format; therefore, a data from NBT is loaded to a block entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the block entity.
- Overrides:
writeDatain classLockableContainerBlockEntity- See Also:
- Mappings:
Namespace Name Mixin selector named writeDataLnet/minecraft/block/entity/BlockEntity;writeData(Lnet/minecraft/storage/WriteView;)Vintermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_11372;)Vofficial aLeih;a(Lfks;)V
-
tick
public static void tick(ServerWorld world, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity) - Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;tick(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;)Vintermediary method_31651Lnet/minecraft/class_2609;method_31651(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2609;)Vofficial aLehu;a(Laxm;Liz;Leln;Lehu;)V
-
canAcceptRecipeOutput
private static boolean canAcceptRecipeOutput(DynamicRegistryManager dynamicRegistryManager, @Nullable @Nullable RecipeEntry<? extends AbstractCookingRecipe> recipe, SingleStackRecipeInput input, DefaultedList<ItemStack> inventory, int maxCount) - Mappings:
Namespace Name Mixin selector named canAcceptRecipeOutputLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;canAcceptRecipeOutput(Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/recipe/RecipeEntry;Lnet/minecraft/recipe/input/SingleStackRecipeInput;Lnet/minecraft/util/collection/DefaultedList;I)Zintermediary method_11192Lnet/minecraft/class_2609;method_11192(Lnet/minecraft/class_5455;Lnet/minecraft/class_8786;Lnet/minecraft/class_9696;Lnet/minecraft/class_2371;I)Zofficial aLehu;a(Ljx;Ldol;Ldoz;Ljs;I)Z
-
craftRecipe
private static boolean craftRecipe(DynamicRegistryManager dynamicRegistryManager, @Nullable @Nullable RecipeEntry<? extends AbstractCookingRecipe> recipe, SingleStackRecipeInput input, DefaultedList<ItemStack> inventory, int maxCount) - Mappings:
Namespace Name Mixin selector named craftRecipeLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;craftRecipe(Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/recipe/RecipeEntry;Lnet/minecraft/recipe/input/SingleStackRecipeInput;Lnet/minecraft/util/collection/DefaultedList;I)Zintermediary method_11203Lnet/minecraft/class_2609;method_11203(Lnet/minecraft/class_5455;Lnet/minecraft/class_8786;Lnet/minecraft/class_9696;Lnet/minecraft/class_2371;I)Zofficial bLehu;b(Ljx;Ldol;Ldoz;Ljs;I)Z
-
getFuelTime
- Mappings:
Namespace Name Mixin selector named getFuelTimeLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;getFuelTime(Lnet/minecraft/item/FuelRegistry;Lnet/minecraft/item/ItemStack;)Iintermediary method_11200Lnet/minecraft/class_2609;method_11200(Lnet/minecraft/class_9895;Lnet/minecraft/class_1799;)Iofficial aLehu;a(Lejh;Ldji;)I
-
getCookTime
- Mappings:
Namespace Name Mixin selector named getCookTimeLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;getCookTime(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;)Iintermediary method_17029Lnet/minecraft/class_2609;method_17029(Lnet/minecraft/class_3218;Lnet/minecraft/class_2609;)Iofficial aLehu;a(Laxm;Lehu;)I
-
getAvailableSlots
Returns the available slot positions that are reachable from a given side.- Specified by:
getAvailableSlotsin interfaceSidedInventory- Returns:
- the available slot positions that are reachable from a given side
- Mappings:
Namespace Name Mixin selector named getAvailableSlotsLnet/minecraft/inventory/SidedInventory;getAvailableSlots(Lnet/minecraft/util/math/Direction;)[Iintermediary method_5494Lnet/minecraft/class_1278;method_5494(Lnet/minecraft/class_2350;)[Iofficial aLcdm;a(Ljf;)[I
-
canInsert
Returns whether the given stack can be inserted into this inventory at the specified slot position from the given direction.- Specified by:
canInsertin interfaceSidedInventory- Returns:
- whether the given stack can be inserted into this inventory at the specified slot position from the given direction
- Mappings:
Namespace Name Mixin selector named canInsertLnet/minecraft/inventory/SidedInventory;canInsert(ILnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/Direction;)Zintermediary method_5492Lnet/minecraft/class_1278;method_5492(ILnet/minecraft/class_1799;Lnet/minecraft/class_2350;)Zofficial aLcdm;a(ILdji;Ljf;)Z
-
canExtract
Returns whether the given stack can be removed from this inventory at the specified slot position from the given direction.- Specified by:
canExtractin interfaceSidedInventory- Returns:
- whether the given stack can be removed from this inventory at the specified slot position from the given direction
- Mappings:
Namespace Name Mixin selector named canExtractLnet/minecraft/inventory/SidedInventory;canExtract(ILnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/Direction;)Zintermediary method_5493Lnet/minecraft/class_1278;method_5493(ILnet/minecraft/class_1799;Lnet/minecraft/class_2350;)Zofficial bLcdm;b(ILdji;Ljf;)Z
-
size
public int size()Returns the size of the inventory.The inventory should support the slot ID from
0tosize() - 1. This should remain constant throughout the inventory's lifetime. -
getHeldStacks
- Specified by:
getHeldStacksin classLockableContainerBlockEntity- Mappings:
Namespace Name Mixin selector named getHeldStacksLnet/minecraft/block/entity/LockableContainerBlockEntity;getHeldStacks()Lnet/minecraft/util/collection/DefaultedList;intermediary method_11282Lnet/minecraft/class_2624;method_11282()Lnet/minecraft/class_2371;official gLeia;g()Ljs;
-
setHeldStacks
- Specified by:
setHeldStacksin classLockableContainerBlockEntity- Mappings:
Namespace Name Mixin selector named setHeldStacksLnet/minecraft/block/entity/LockableContainerBlockEntity;setHeldStacks(Lnet/minecraft/util/collection/DefaultedList;)Vintermediary method_11281Lnet/minecraft/class_2624;method_11281(Lnet/minecraft/class_2371;)Vofficial aLeia;a(Ljs;)V
-
setStack
Sets the stack stored atslottostack.- Specified by:
setStackin interfaceInventory- Overrides:
setStackin classLockableContainerBlockEntity- Mappings:
Namespace Name Mixin selector named setStackLnet/minecraft/inventory/Inventory;setStack(ILnet/minecraft/item/ItemStack;)Vintermediary method_5447Lnet/minecraft/class_1263;method_5447(ILnet/minecraft/class_1799;)Vofficial aLccs;a(ILdji;)V
-
isValid
Returns whetherstackis valid for theslot.Implementations can, for example, use this to check whether the item is in a specific tag. This returns
trueby default.- Specified by:
isValidin interfaceInventory- Returns:
- whether
stackis valid for theslot - Mappings:
Namespace Name Mixin selector named isValidLnet/minecraft/inventory/Inventory;isValid(ILnet/minecraft/item/ItemStack;)Zintermediary method_5437Lnet/minecraft/class_1263;method_5437(ILnet/minecraft/class_1799;)Zofficial bLccs;b(ILdji;)Z
-
setLastRecipe
- Specified by:
setLastRecipein interfaceRecipeUnlocker- Mappings:
Namespace Name Mixin selector named setLastRecipeLnet/minecraft/recipe/RecipeUnlocker;setLastRecipe(Lnet/minecraft/recipe/RecipeEntry;)Vintermediary method_7662Lnet/minecraft/class_1732;method_7662(Lnet/minecraft/class_8786;)Vofficial aLdgq;a(Ldol;)V
-
getLastRecipe
- Specified by:
getLastRecipein interfaceRecipeUnlocker- Mappings:
Namespace Name Mixin selector named getLastRecipeLnet/minecraft/recipe/RecipeUnlocker;getLastRecipe()Lnet/minecraft/recipe/RecipeEntry;intermediary method_7663Lnet/minecraft/class_1732;method_7663()Lnet/minecraft/class_8786;official dLdgq;d()Ldol;
-
unlockLastRecipe
- Specified by:
unlockLastRecipein interfaceRecipeUnlocker- Mappings:
Namespace Name Mixin selector named unlockLastRecipeLnet/minecraft/recipe/RecipeUnlocker;unlockLastRecipe(Lnet/minecraft/entity/player/PlayerEntity;Ljava/util/List;)Vintermediary method_7664Lnet/minecraft/class_1732;method_7664(Lnet/minecraft/class_1657;Ljava/util/List;)Vofficial aLdgq;a(Ldbe;Ljava/util/List;)V
-
dropExperienceForRecipesUsed
- Mappings:
Namespace Name Mixin selector named dropExperienceForRecipesUsedLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;dropExperienceForRecipesUsed(Lnet/minecraft/server/network/ServerPlayerEntity;)Vintermediary method_17763Lnet/minecraft/class_2609;method_17763(Lnet/minecraft/class_3222;)Vofficial aLehu;a(Laxn;)V
-
getRecipesUsedAndDropExperience
- Mappings:
Namespace Name Mixin selector named getRecipesUsedAndDropExperienceLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;getRecipesUsedAndDropExperience(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;)Ljava/util/List;intermediary method_27354Lnet/minecraft/class_2609;method_27354(Lnet/minecraft/class_3218;Lnet/minecraft/class_243;)Ljava/util/List;official aLehu;a(Laxm;Lfqj;)Ljava/util/List;
-
dropExperience
- Mappings:
Namespace Name Mixin selector named dropExperienceLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;dropExperience(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;IF)Vintermediary method_17760Lnet/minecraft/class_2609;method_17760(Lnet/minecraft/class_3218;Lnet/minecraft/class_243;IF)Vofficial aLehu;a(Laxm;Lfqj;IF)V
-
provideRecipeInputs
- Specified by:
provideRecipeInputsin interfaceRecipeInputProvider- Mappings:
Namespace Name Mixin selector named provideRecipeInputsLnet/minecraft/recipe/RecipeInputProvider;provideRecipeInputs(Lnet/minecraft/recipe/RecipeFinder;)Vintermediary method_7683Lnet/minecraft/class_1737;method_7683(Lnet/minecraft/class_9875;)Vofficial fillStackedContentsLdhc;fillStackedContents(Ldbm;)V
-
onBlockReplaced
- Overrides:
onBlockReplacedin classBlockEntity- Mappings:
Namespace Name Mixin selector named onBlockReplacedLnet/minecraft/block/entity/BlockEntity;onBlockReplaced(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Vintermediary method_66473Lnet/minecraft/class_2586;method_66473(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vofficial aLeih;a(Liz;Leln;)V
-