Class AbstractFurnaceBlockEntity
- All Implemented Interfaces:
Inventory,SidedInventory,RecipeInputProvider,RecipeUnlocker,NamedScreenHandlerFactory,ScreenHandlerFactory,Clearable,Nameable
- Direct Known Subclasses:
BlastFurnaceBlockEntity,FurnaceBlockEntity,SmokerBlockEntity
- Mappings:
Namespace Name official dppintermediary net/minecraft/class_2609named net/minecraft/block/entity/AbstractFurnaceBlockEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int[]static final int(package private) intstatic final intstatic final int(package private) int(package private) intstatic final intstatic final intprotected static final intstatic final int(package private) intprotected static final intprotected DefaultedList<ItemStack> private final RecipeManager.MatchGetter<Inventory, ? extends AbstractCookingRecipe> protected static final intstatic final intprotected final PropertyDelegateprivate final Object2IntOpenHashMap<Identifier> 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 voidaddFuel(Map<Item, Integer> fuelTimes, ItemConvertible item, int fuelTime) private static voidprivate static booleancanAcceptRecipeOutput(DynamicRegistryManager registryManager, @Nullable RecipeEntry<?> recipe, DefaultedList<ItemStack> slots, int count) 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.static booleancanUseAsFuel(ItemStack stack) static voidprivate static booleancraftRecipe(World world, @Nullable RecipeEntry<?> recipeEntry, DefaultedList<ItemStack> slots, int count) 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(World world, AbstractFurnaceBlockEntity furnace) protected intgetFuelTime(ItemStack fuel) protected DefaultedList<ItemStack> List<RecipeEntry<?>> getRecipesUsedAndDropExperience(ServerWorld world, Vec3d pos) private booleanprivate static booleanisNonFlammableWood(Item item) Returns whether the provideditemis in thenon_flammable_woodtag.booleanReturns whetherstackis valid for theslot.voidprovideRecipeInputs(RecipeMatcher finder) voidreadNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads 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(World world, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity) voidunlockLastRecipe(PlayerEntity player, List<ItemStack> ingredients) protected voidwriteNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.Methods inherited from class net.minecraft.block.entity.LockableContainerBlockEntity
addComponents, canPlayerUse, checkUnlocked, checkUnlocked, clear, createMenu, createScreenHandler, getContainerName, getCustomName, getDisplayName, getName, getStack, isEmpty, readComponents, removeFromCopiedStackNbt, removeStack, removeStackMethods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createComponentMap, createFromNbt, createNbt, createNbtWithId, createNbtWithIdentifyingData, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, posFromNbt, setCachedState, setStackNbt, setWorld, toInitialChunkDataNbt, toUpdatePacket, writeIdToNbtMethods 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, isEmpty, markDirty, method_58817, method_58819, onClose, onOpen, removeStack, removeStackMethods inherited from interface net.minecraft.util.Nameable
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 official bLdpp;b:Iintermediary field_31286Lnet/minecraft/class_2609;field_31286:Inamed INPUT_SLOT_INDEXLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;INPUT_SLOT_INDEX:I
-
FUEL_SLOT_INDEX
protected static final int FUEL_SLOT_INDEX- See Also:
- Mappings:
Namespace Name Mixin selector official cLdpp;c:Iintermediary field_31287Lnet/minecraft/class_2609;field_31287:Inamed FUEL_SLOT_INDEXLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;FUEL_SLOT_INDEX:I
-
OUTPUT_SLOT_INDEX
protected static final int OUTPUT_SLOT_INDEX- See Also:
- Mappings:
Namespace Name Mixin selector official dLdpp;d:Iintermediary field_31288Lnet/minecraft/class_2609;field_31288:Inamed OUTPUT_SLOT_INDEXLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;OUTPUT_SLOT_INDEX:I
-
BURN_TIME_PROPERTY_INDEX
public static final int BURN_TIME_PROPERTY_INDEX- See Also:
- Mappings:
Namespace Name Mixin selector official eLdpp;e:Iintermediary field_31289Lnet/minecraft/class_2609;field_31289:Inamed BURN_TIME_PROPERTY_INDEXLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;BURN_TIME_PROPERTY_INDEX:I
-
TOP_SLOTS
private static final int[] TOP_SLOTS- Mappings:
Namespace Name Mixin selector official qLdpp;q:[Iintermediary field_11987Lnet/minecraft/class_2609;field_11987:[Inamed TOP_SLOTSLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;TOP_SLOTS:[I
-
BOTTOM_SLOTS
private static final int[] BOTTOM_SLOTS- Mappings:
Namespace Name Mixin selector official rLdpp;r:[Iintermediary field_11982Lnet/minecraft/class_2609;field_11982:[Inamed BOTTOM_SLOTSLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;BOTTOM_SLOTS:[I
-
SIDE_SLOTS
private static final int[] SIDE_SLOTS- Mappings:
Namespace Name Mixin selector official sLdpp;s:[Iintermediary field_11983Lnet/minecraft/class_2609;field_11983:[Inamed SIDE_SLOTSLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;SIDE_SLOTS:[I
-
FUEL_TIME_PROPERTY_INDEX
public static final int FUEL_TIME_PROPERTY_INDEX- See Also:
- Mappings:
Namespace Name Mixin selector official fLdpp;f:Iintermediary field_31290Lnet/minecraft/class_2609;field_31290:Inamed FUEL_TIME_PROPERTY_INDEXLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;FUEL_TIME_PROPERTY_INDEX:I
-
COOK_TIME_PROPERTY_INDEX
public static final int COOK_TIME_PROPERTY_INDEX- See Also:
- Mappings:
Namespace Name Mixin selector official gLdpp;g:Iintermediary field_31291Lnet/minecraft/class_2609;field_31291:Inamed COOK_TIME_PROPERTY_INDEXLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;COOK_TIME_PROPERTY_INDEX:I
-
COOK_TIME_TOTAL_PROPERTY_INDEX
public static final int COOK_TIME_TOTAL_PROPERTY_INDEX- See Also:
- Mappings:
Namespace Name Mixin selector official hLdpp;h:Iintermediary field_31292Lnet/minecraft/class_2609;field_31292:Inamed COOK_TIME_TOTAL_PROPERTY_INDEXLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;COOK_TIME_TOTAL_PROPERTY_INDEX:I
-
PROPERTY_COUNT
public static final int PROPERTY_COUNT- See Also:
- Mappings:
Namespace Name Mixin selector official iLdpp;i:Iintermediary field_31293Lnet/minecraft/class_2609;field_31293:Inamed PROPERTY_COUNTLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;PROPERTY_COUNT:I
-
DEFAULT_COOK_TIME
public static final int DEFAULT_COOK_TIME- See Also:
- Mappings:
Namespace Name Mixin selector official jLdpp;j:Iintermediary field_31294Lnet/minecraft/class_2609;field_31294:Inamed DEFAULT_COOK_TIMELnet/minecraft/block/entity/AbstractFurnaceBlockEntity;DEFAULT_COOK_TIME:I
-
field_31295
public static final int field_31295- See Also:
- Mappings:
Namespace Name Mixin selector official kLdpp;k:Iintermediary field_31295Lnet/minecraft/class_2609;field_31295:Inamed field_31295Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;field_31295:I
-
fuelTimes
- Mappings:
Namespace Name Mixin selector official xLdpp;x:Ljava/util/Map;intermediary field_48375Lnet/minecraft/class_2609;field_48375:Ljava/util/Map;named fuelTimesLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;fuelTimes:Ljava/util/Map;
-
inventory
- Mappings:
Namespace Name Mixin selector official lLdpp;l:Ljj;intermediary field_11984Lnet/minecraft/class_2609;field_11984:Lnet/minecraft/class_2371;named inventoryLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;inventory:Lnet/minecraft/util/collection/DefaultedList;
-
burnTime
int burnTime- Mappings:
Namespace Name Mixin selector official tLdpp;t:Iintermediary field_11981Lnet/minecraft/class_2609;field_11981:Inamed burnTimeLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;burnTime:I
-
fuelTime
int fuelTime- Mappings:
Namespace Name Mixin selector official uLdpp;u:Iintermediary field_11980Lnet/minecraft/class_2609;field_11980:Inamed fuelTimeLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;fuelTime:I
-
cookTime
int cookTime- Mappings:
Namespace Name Mixin selector official vLdpp;v:Iintermediary field_11989Lnet/minecraft/class_2609;field_11989:Inamed cookTimeLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;cookTime:I
-
cookTimeTotal
int cookTimeTotal- Mappings:
Namespace Name Mixin selector official wLdpp;w:Iintermediary field_11988Lnet/minecraft/class_2609;field_11988:Inamed cookTimeTotalLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;cookTimeTotal:I
-
propertyDelegate
- Mappings:
Namespace Name Mixin selector official mLdpp;m:Lcpq;intermediary field_17374Lnet/minecraft/class_2609;field_17374:Lnet/minecraft/class_3913;named propertyDelegateLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;propertyDelegate:Lnet/minecraft/screen/PropertyDelegate;
-
recipesUsed
- Mappings:
Namespace Name Mixin selector official yLdpp;y:Lit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;intermediary field_11986Lnet/minecraft/class_2609;field_11986:Lit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;named recipesUsedLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;recipesUsed:Lit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;
-
matchGetter
- Mappings:
Namespace Name Mixin selector official zLdpp;z:Lczd$a;intermediary field_38234Lnet/minecraft/class_2609;field_38234:Lnet/minecraft/class_1863$class_7266;named matchGetterLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;matchGetter:Lnet/minecraft/recipe/RecipeManager$MatchGetter;
-
-
Constructor Details
-
AbstractFurnaceBlockEntity
protected AbstractFurnaceBlockEntity(BlockEntityType<?> blockEntityType, BlockPos pos, BlockState state, RecipeType<? extends AbstractCookingRecipe> recipeType) - Mappings:
Namespace Name Mixin selector official <init>Ldpp;<init>(Ldqe;Lir;Ldtc;Lczf;)Vintermediary <init>Lnet/minecraft/class_2609;<init>(Lnet/minecraft/class_2591;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3956;)Vnamed <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;)V
-
-
Method Details
-
clearFuelTimes
public static void clearFuelTimes()- Mappings:
Namespace Name Mixin selector official fLdpp;f()Vintermediary method_56120Lnet/minecraft/class_2609;method_56120()Vnamed clearFuelTimesLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;clearFuelTimes()V
-
createFuelTimeMap
- Mappings:
Namespace Name Mixin selector official gLdpp;g()Ljava/util/Map;intermediary method_11196Lnet/minecraft/class_2609;method_11196()Ljava/util/Map;named createFuelTimeMapLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;createFuelTimeMap()Ljava/util/Map;
-
isNonFlammableWood
Returns whether the provideditemis in thenon_flammable_woodtag.- Returns:
- whether the provided
itemis in thenon_flammable_woodtag - Mappings:
Namespace Name Mixin selector official bLdpp;b(Lcuc;)Zintermediary method_26395Lnet/minecraft/class_2609;method_26395(Lnet/minecraft/class_1792;)Znamed isNonFlammableWoodLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;isNonFlammableWood(Lnet/minecraft/item/Item;)Z
-
addFuel
- Mappings:
Namespace Name Mixin selector official aLdpp;a(Ljava/util/Map;Lawt;I)Vintermediary method_11194Lnet/minecraft/class_2609;method_11194(Ljava/util/Map;Lnet/minecraft/class_6862;I)Vnamed addFuelLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;addFuel(Ljava/util/Map;Lnet/minecraft/registry/tag/TagKey;I)V
-
addFuel
- Mappings:
Namespace Name Mixin selector official aLdpp;a(Ljava/util/Map;Ldbz;I)Vintermediary method_11202Lnet/minecraft/class_2609;method_11202(Ljava/util/Map;Lnet/minecraft/class_1935;I)Vnamed addFuelLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;addFuel(Ljava/util/Map;Lnet/minecraft/item/ItemConvertible;I)V
-
isBurning
private boolean isBurning()- Mappings:
Namespace Name Mixin selector official lLdpp;l()Zintermediary method_11201Lnet/minecraft/class_2609;method_11201()Znamed isBurningLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;isBurning()Z
-
readNbt
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:
readNbtin classLockableContainerBlockEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLdqc;a(Luk;Ljc$a;)Vintermediary method_11014Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)Vnamed readNbtLnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
-
writeNbt
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:
writeNbtin classLockableContainerBlockEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLdqc;b(Luk;Ljc$a;)Vintermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)Vnamed writeNbtLnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
-
tick
public static void tick(World world, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity) - Mappings:
Namespace Name Mixin selector official aLdpp;a(Ldca;Lir;Ldtc;Ldpp;)Vintermediary method_31651Lnet/minecraft/class_2609;method_31651(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2609;)Vnamed tickLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;tick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;)V
-
canAcceptRecipeOutput
private static boolean canAcceptRecipeOutput(DynamicRegistryManager registryManager, @Nullable @Nullable RecipeEntry<?> recipe, DefaultedList<ItemStack> slots, int count) - Mappings:
Namespace Name Mixin selector official aLdpp;a(Ljo;Lczc;Ljj;I)Zintermediary method_11192Lnet/minecraft/class_2609;method_11192(Lnet/minecraft/class_5455;Lnet/minecraft/class_8786;Lnet/minecraft/class_2371;I)Znamed canAcceptRecipeOutputLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;canAcceptRecipeOutput(Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/recipe/RecipeEntry;Lnet/minecraft/util/collection/DefaultedList;I)Z
-
craftRecipe
private static boolean craftRecipe(World world, @Nullable @Nullable RecipeEntry<?> recipeEntry, DefaultedList<ItemStack> slots, int count) - Mappings:
Namespace Name Mixin selector official aLdpp;a(Ldca;Lczc;Ljj;I)Zintermediary method_11203Lnet/minecraft/class_2609;method_11203(Lnet/minecraft/class_1937;Lnet/minecraft/class_8786;Lnet/minecraft/class_2371;I)Znamed craftRecipeLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;craftRecipe(Lnet/minecraft/world/World;Lnet/minecraft/recipe/RecipeEntry;Lnet/minecraft/util/collection/DefaultedList;I)Z
-
getFuelTime
- Mappings:
Namespace Name Mixin selector official bLdpp;b(Lcuh;)Iintermediary method_11200Lnet/minecraft/class_2609;method_11200(Lnet/minecraft/class_1799;)Inamed getFuelTimeLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;getFuelTime(Lnet/minecraft/item/ItemStack;)I
-
getCookTime
- Mappings:
Namespace Name Mixin selector official aLdpp;a(Ldca;Ldpp;)Iintermediary method_17029Lnet/minecraft/class_2609;method_17029(Lnet/minecraft/class_1937;Lnet/minecraft/class_2609;)Inamed getCookTimeLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;getCookTime(Lnet/minecraft/world/World;Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;)I
-
canUseAsFuel
- Mappings:
Namespace Name Mixin selector official cLdpp;c(Lcuh;)Zintermediary method_11195Lnet/minecraft/class_2609;method_11195(Lnet/minecraft/class_1799;)Znamed canUseAsFuelLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;canUseAsFuel(Lnet/minecraft/item/ItemStack;)Z
-
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 official aLbqm;a(Liw;)[Iintermediary method_5494Lnet/minecraft/class_1278;method_5494(Lnet/minecraft/class_2350;)[Inamed getAvailableSlotsLnet/minecraft/inventory/SidedInventory;getAvailableSlots(Lnet/minecraft/util/math/Direction;)[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 official aLbqm;a(ILcuh;Liw;)Zintermediary method_5492Lnet/minecraft/class_1278;method_5492(ILnet/minecraft/class_1799;Lnet/minecraft/class_2350;)Znamed canInsertLnet/minecraft/inventory/SidedInventory;canInsert(ILnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/Direction;)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 official bLbqm;b(ILcuh;Liw;)Zintermediary method_5493Lnet/minecraft/class_1278;method_5493(ILnet/minecraft/class_1799;Lnet/minecraft/class_2350;)Znamed canExtractLnet/minecraft/inventory/SidedInventory;canExtract(ILnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/Direction;)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 official jLdpv;j()Ljj;intermediary method_11282Lnet/minecraft/class_2624;method_11282()Lnet/minecraft/class_2371;named getHeldStacksLnet/minecraft/block/entity/LockableContainerBlockEntity;getHeldStacks()Lnet/minecraft/util/collection/DefaultedList;
-
setHeldStacks
- Specified by:
setHeldStacksin classLockableContainerBlockEntity- Mappings:
Namespace Name Mixin selector official aLdpv;a(Ljj;)Vintermediary method_11281Lnet/minecraft/class_2624;method_11281(Lnet/minecraft/class_2371;)Vnamed setHeldStacksLnet/minecraft/block/entity/LockableContainerBlockEntity;setHeldStacks(Lnet/minecraft/util/collection/DefaultedList;)V
-
setStack
Sets the stack stored atslottostack.- Specified by:
setStackin interfaceInventory- Overrides:
setStackin classLockableContainerBlockEntity- Mappings:
Namespace Name Mixin selector official aLbpt;a(ILcuh;)Vintermediary method_5447Lnet/minecraft/class_1263;method_5447(ILnet/minecraft/class_1799;)Vnamed setStackLnet/minecraft/inventory/Inventory;setStack(ILnet/minecraft/item/ItemStack;)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 official bLbpt;b(ILcuh;)Zintermediary method_5437Lnet/minecraft/class_1263;method_5437(ILnet/minecraft/class_1799;)Znamed isValidLnet/minecraft/inventory/Inventory;isValid(ILnet/minecraft/item/ItemStack;)Z
-
setLastRecipe
- Specified by:
setLastRecipein interfaceRecipeUnlocker- Mappings:
Namespace Name Mixin selector official aLcqy;a(Lczc;)Vintermediary method_7662Lnet/minecraft/class_1732;method_7662(Lnet/minecraft/class_8786;)Vnamed setLastRecipeLnet/minecraft/recipe/RecipeUnlocker;setLastRecipe(Lnet/minecraft/recipe/RecipeEntry;)V
-
getLastRecipe
- Specified by:
getLastRecipein interfaceRecipeUnlocker- Mappings:
Namespace Name Mixin selector official dLcqy;d()Lczc;intermediary method_7663Lnet/minecraft/class_1732;method_7663()Lnet/minecraft/class_8786;named getLastRecipeLnet/minecraft/recipe/RecipeUnlocker;getLastRecipe()Lnet/minecraft/recipe/RecipeEntry;
-
unlockLastRecipe
- Specified by:
unlockLastRecipein interfaceRecipeUnlocker- Mappings:
Namespace Name Mixin selector official aLcqy;a(Lcly;Ljava/util/List;)Vintermediary method_7664Lnet/minecraft/class_1732;method_7664(Lnet/minecraft/class_1657;Ljava/util/List;)Vnamed unlockLastRecipeLnet/minecraft/recipe/RecipeUnlocker;unlockLastRecipe(Lnet/minecraft/entity/player/PlayerEntity;Ljava/util/List;)V
-
dropExperienceForRecipesUsed
- Mappings:
Namespace Name Mixin selector official aLdpp;a(Laqu;)Vintermediary method_17763Lnet/minecraft/class_2609;method_17763(Lnet/minecraft/class_3222;)Vnamed dropExperienceForRecipesUsedLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;dropExperienceForRecipesUsed(Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
getRecipesUsedAndDropExperience
- Mappings:
Namespace Name Mixin selector official aLdpp;a(Laqt;Lewu;)Ljava/util/List;intermediary method_27354Lnet/minecraft/class_2609;method_27354(Lnet/minecraft/class_3218;Lnet/minecraft/class_243;)Ljava/util/List;named getRecipesUsedAndDropExperienceLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;getRecipesUsedAndDropExperience(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;)Ljava/util/List;
-
dropExperience
- Mappings:
Namespace Name Mixin selector official aLdpp;a(Laqt;Lewu;IF)Vintermediary method_17760Lnet/minecraft/class_2609;method_17760(Lnet/minecraft/class_3218;Lnet/minecraft/class_243;IF)Vnamed dropExperienceLnet/minecraft/block/entity/AbstractFurnaceBlockEntity;dropExperience(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;IF)V
-
provideRecipeInputs
- Specified by:
provideRecipeInputsin interfaceRecipeInputProvider- Mappings:
Namespace Name Mixin selector official aLcrj;a(Lcmc;)Vintermediary method_7683Lnet/minecraft/class_1737;method_7683(Lnet/minecraft/class_1662;)Vnamed provideRecipeInputsLnet/minecraft/recipe/RecipeInputProvider;provideRecipeInputs(Lnet/minecraft/recipe/RecipeMatcher;)V
-