Class AbstractFurnaceBlockEntity

All Implemented Interfaces:
Inventory, SidedInventory, RecipeInputProvider, RecipeUnlocker, NamedScreenHandlerFactory, ScreenHandlerFactory, Clearable, Nameable
Direct Known Subclasses:
BlastFurnaceBlockEntity, FurnaceBlockEntity, SmokerBlockEntity

public abstract class AbstractFurnaceBlockEntity extends LockableContainerBlockEntity implements SidedInventory, RecipeUnlocker, RecipeInputProvider
Mappings:
Namespace Name
named net/minecraft/block/entity/AbstractFurnaceBlockEntity
intermediary net/minecraft/class_2609
official dpv
  • Field Details

    • INPUT_SLOT_INDEX

      protected static final int INPUT_SLOT_INDEX
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named INPUT_SLOT_INDEX Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;INPUT_SLOT_INDEX:I
      intermediary field_31286 Lnet/minecraft/class_2609;field_31286:I
      official b Ldpv;b:I
    • FUEL_SLOT_INDEX

      protected static final int FUEL_SLOT_INDEX
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named FUEL_SLOT_INDEX Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;FUEL_SLOT_INDEX:I
      intermediary field_31287 Lnet/minecraft/class_2609;field_31287:I
      official c Ldpv;c:I
    • OUTPUT_SLOT_INDEX

      protected static final int OUTPUT_SLOT_INDEX
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named OUTPUT_SLOT_INDEX Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;OUTPUT_SLOT_INDEX:I
      intermediary field_31288 Lnet/minecraft/class_2609;field_31288:I
      official d Ldpv;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_INDEX Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;BURN_TIME_PROPERTY_INDEX:I
      intermediary field_31289 Lnet/minecraft/class_2609;field_31289:I
      official e Ldpv;e:I
    • TOP_SLOTS

      private static final int[] TOP_SLOTS
      Mappings:
      Namespace Name Mixin selector
      named TOP_SLOTS Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;TOP_SLOTS:[I
      intermediary field_11987 Lnet/minecraft/class_2609;field_11987:[I
      official q Ldpv;q:[I
    • BOTTOM_SLOTS

      private static final int[] BOTTOM_SLOTS
      Mappings:
      Namespace Name Mixin selector
      named BOTTOM_SLOTS Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;BOTTOM_SLOTS:[I
      intermediary field_11982 Lnet/minecraft/class_2609;field_11982:[I
      official r Ldpv;r:[I
    • SIDE_SLOTS

      private static final int[] SIDE_SLOTS
      Mappings:
      Namespace Name Mixin selector
      named SIDE_SLOTS Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;SIDE_SLOTS:[I
      intermediary field_11983 Lnet/minecraft/class_2609;field_11983:[I
      official s Ldpv;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_INDEX Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;FUEL_TIME_PROPERTY_INDEX:I
      intermediary field_31290 Lnet/minecraft/class_2609;field_31290:I
      official f Ldpv;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_INDEX Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;COOK_TIME_PROPERTY_INDEX:I
      intermediary field_31291 Lnet/minecraft/class_2609;field_31291:I
      official g Ldpv;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_INDEX Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;COOK_TIME_TOTAL_PROPERTY_INDEX:I
      intermediary field_31292 Lnet/minecraft/class_2609;field_31292:I
      official h Ldpv;h:I
    • PROPERTY_COUNT

      public static final int PROPERTY_COUNT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named PROPERTY_COUNT Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;PROPERTY_COUNT:I
      intermediary field_31293 Lnet/minecraft/class_2609;field_31293:I
      official i Ldpv;i:I
    • DEFAULT_COOK_TIME

      public static final int DEFAULT_COOK_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_COOK_TIME Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;DEFAULT_COOK_TIME:I
      intermediary field_31294 Lnet/minecraft/class_2609;field_31294:I
      official j Ldpv;j:I
    • field_31295

      public static final int field_31295
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31295 Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;field_31295:I
      intermediary field_31295 Lnet/minecraft/class_2609;field_31295:I
      official k Ldpv;k:I
    • fuelTimes

      @Nullable private static volatile @Nullable Map<Item,Integer> fuelTimes
      Mappings:
      Namespace Name Mixin selector
      named fuelTimes Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;fuelTimes:Ljava/util/Map;
      intermediary field_48375 Lnet/minecraft/class_2609;field_48375:Ljava/util/Map;
      official x Ldpv;x:Ljava/util/Map;
    • inventory

      protected DefaultedList<ItemStack> inventory
      Mappings:
      Namespace Name Mixin selector
      named inventory Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;inventory:Lnet/minecraft/util/collection/DefaultedList;
      intermediary field_11984 Lnet/minecraft/class_2609;field_11984:Lnet/minecraft/class_2371;
      official l Ldpv;l:Ljv;
    • burnTime

      int burnTime
      Mappings:
      Namespace Name Mixin selector
      named burnTime Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;burnTime:I
      intermediary field_11981 Lnet/minecraft/class_2609;field_11981:I
      official t Ldpv;t:I
    • fuelTime

      int fuelTime
      Mappings:
      Namespace Name Mixin selector
      named fuelTime Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;fuelTime:I
      intermediary field_11980 Lnet/minecraft/class_2609;field_11980:I
      official u Ldpv;u:I
    • cookTime

      int cookTime
      Mappings:
      Namespace Name Mixin selector
      named cookTime Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;cookTime:I
      intermediary field_11989 Lnet/minecraft/class_2609;field_11989:I
      official v Ldpv;v:I
    • cookTimeTotal

      int cookTimeTotal
      Mappings:
      Namespace Name Mixin selector
      named cookTimeTotal Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;cookTimeTotal:I
      intermediary field_11988 Lnet/minecraft/class_2609;field_11988:I
      official w Ldpv;w:I
    • propertyDelegate

      protected final PropertyDelegate propertyDelegate
      Mappings:
      Namespace Name Mixin selector
      named propertyDelegate Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;propertyDelegate:Lnet/minecraft/screen/PropertyDelegate;
      intermediary field_17374 Lnet/minecraft/class_2609;field_17374:Lnet/minecraft/class_3913;
      official m Ldpv;m:Lcqf;
    • recipesUsed

      private final Object2IntOpenHashMap<Identifier> recipesUsed
      Mappings:
      Namespace Name Mixin selector
      named recipesUsed Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;recipesUsed:Lit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;
      intermediary field_11986 Lnet/minecraft/class_2609;field_11986:Lit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;
      official y Ldpv;y:Lit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;
    • matchGetter

      Mappings:
      Namespace Name Mixin selector
      named matchGetter Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;matchGetter:Lnet/minecraft/recipe/RecipeManager$MatchGetter;
      intermediary field_38234 Lnet/minecraft/class_2609;field_38234:Lnet/minecraft/class_1863$class_7266;
      official z Ldpv;z:Lczd$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;)V
      intermediary <init> Lnet/minecraft/class_2609;<init>(Lnet/minecraft/class_2591;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3956;)V
      official <init> Ldpv;<init>(Ldqj;Ljd;Ldtc;Lczf;)V
  • Method Details

    • clearFuelTimes

      public static void clearFuelTimes()
      Mappings:
      Namespace Name Mixin selector
      named clearFuelTimes Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;clearFuelTimes()V
      intermediary method_56120 Lnet/minecraft/class_2609;method_56120()V
      official f Ldpv;f()V
    • createFuelTimeMap

      public static Map<Item,Integer> createFuelTimeMap()
      Mappings:
      Namespace Name Mixin selector
      named createFuelTimeMap Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;createFuelTimeMap()Ljava/util/Map;
      intermediary method_11196 Lnet/minecraft/class_2609;method_11196()Ljava/util/Map;
      official g Ldpv;g()Ljava/util/Map;
    • isNonFlammableWood

      private static boolean isNonFlammableWood(Item item)
      Returns whether the provided item is in the non_flammable_wood tag.
      Returns:
      whether the provided item is in the non_flammable_wood tag
      Mappings:
      Namespace Name Mixin selector
      named isNonFlammableWood Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;isNonFlammableWood(Lnet/minecraft/item/Item;)Z
      intermediary method_26395 Lnet/minecraft/class_2609;method_26395(Lnet/minecraft/class_1792;)Z
      official b Ldpv;b(Lcul;)Z
    • addFuel

      private static void addFuel(Map<Item,Integer> fuelTimes, TagKey<Item> tag, int fuelTime)
      Mappings:
      Namespace Name Mixin selector
      named addFuel Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;addFuel(Ljava/util/Map;Lnet/minecraft/registry/tag/TagKey;I)V
      intermediary method_11194 Lnet/minecraft/class_2609;method_11194(Ljava/util/Map;Lnet/minecraft/class_6862;I)V
      official a Ldpv;a(Ljava/util/Map;Lawu;I)V
    • addFuel

      private static void addFuel(Map<Item,Integer> fuelTimes, ItemConvertible item, int fuelTime)
      Mappings:
      Namespace Name Mixin selector
      named addFuel Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;addFuel(Ljava/util/Map;Lnet/minecraft/item/ItemConvertible;I)V
      intermediary method_11202 Lnet/minecraft/class_2609;method_11202(Ljava/util/Map;Lnet/minecraft/class_1935;I)V
      official a Ldpv;a(Ljava/util/Map;Ldcv;I)V
    • isBurning

      private boolean isBurning()
      Mappings:
      Namespace Name Mixin selector
      named isBurning Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;isBurning()Z
      intermediary method_11201 Lnet/minecraft/class_2609;method_11201()Z
      official l Ldpv;l()Z
    • readNbt

      protected void readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup)
      Reads data from nbt. 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.

      nbt might 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:
      readNbt in class LockableContainerBlockEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named readNbt Lnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
      intermediary method_11014 Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)V
      official a Ldqh;a(Lub;Ljo$a;)V
    • writeNbt

      protected void writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup)
      Writes data to nbt. 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:
      writeNbt in class LockableContainerBlockEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named writeNbt Lnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
      intermediary method_11007 Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)V
      official b Ldqh;b(Lub;Ljo$a;)V
    • tick

      public static void tick(World world, BlockPos pos, BlockState state, AbstractFurnaceBlockEntity blockEntity)
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;tick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;)V
      intermediary method_31651 Lnet/minecraft/class_2609;method_31651(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2609;)V
      official a Ldpv;a(Ldcw;Ljd;Ldtc;Ldpv;)V
    • canAcceptRecipeOutput

      private static boolean canAcceptRecipeOutput(DynamicRegistryManager registryManager, @Nullable @Nullable RecipeEntry<?> recipe, DefaultedList<ItemStack> slots, int count)
      Mappings:
      Namespace Name Mixin selector
      named canAcceptRecipeOutput Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;canAcceptRecipeOutput(Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/recipe/RecipeEntry;Lnet/minecraft/util/collection/DefaultedList;I)Z
      intermediary method_11192 Lnet/minecraft/class_2609;method_11192(Lnet/minecraft/class_5455;Lnet/minecraft/class_8786;Lnet/minecraft/class_2371;I)Z
      official a Ldpv;a(Lka;Lczb;Ljv;I)Z
    • craftRecipe

      private static boolean craftRecipe(DynamicRegistryManager registryManager, @Nullable @Nullable RecipeEntry<?> recipe, DefaultedList<ItemStack> slots, int count)
      Mappings:
      Namespace Name Mixin selector
      named craftRecipe Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;craftRecipe(Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/recipe/RecipeEntry;Lnet/minecraft/util/collection/DefaultedList;I)Z
      intermediary method_11203 Lnet/minecraft/class_2609;method_11203(Lnet/minecraft/class_5455;Lnet/minecraft/class_8786;Lnet/minecraft/class_2371;I)Z
      official b Ldpv;b(Lka;Lczb;Ljv;I)Z
    • getFuelTime

      protected int getFuelTime(ItemStack fuel)
      Mappings:
      Namespace Name Mixin selector
      named getFuelTime Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;getFuelTime(Lnet/minecraft/item/ItemStack;)I
      intermediary method_11200 Lnet/minecraft/class_2609;method_11200(Lnet/minecraft/class_1799;)I
      official b Ldpv;b(Lcuq;)I
    • getCookTime

      private static int getCookTime(World world, AbstractFurnaceBlockEntity furnace)
      Mappings:
      Namespace Name Mixin selector
      named getCookTime Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;getCookTime(Lnet/minecraft/world/World;Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;)I
      intermediary method_17029 Lnet/minecraft/class_2609;method_17029(Lnet/minecraft/class_1937;Lnet/minecraft/class_2609;)I
      official a Ldpv;a(Ldcw;Ldpv;)I
    • canUseAsFuel

      public static boolean canUseAsFuel(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named canUseAsFuel Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;canUseAsFuel(Lnet/minecraft/item/ItemStack;)Z
      intermediary method_11195 Lnet/minecraft/class_2609;method_11195(Lnet/minecraft/class_1799;)Z
      official c Ldpv;c(Lcuq;)Z
    • getAvailableSlots

      public int[] getAvailableSlots(Direction side)
      Returns the available slot positions that are reachable from a given side.
      Specified by:
      getAvailableSlots in interface SidedInventory
      Returns:
      the available slot positions that are reachable from a given side
      Mappings:
      Namespace Name Mixin selector
      named getAvailableSlots Lnet/minecraft/inventory/SidedInventory;getAvailableSlots(Lnet/minecraft/util/math/Direction;)[I
      intermediary method_5494 Lnet/minecraft/class_1278;method_5494(Lnet/minecraft/class_2350;)[I
      official a Lbrd;a(Lji;)[I
    • canInsert

      public boolean canInsert(int slot, ItemStack stack, @Nullable @Nullable Direction dir)
      Returns whether the given stack can be inserted into this inventory at the specified slot position from the given direction.
      Specified by:
      canInsert in interface SidedInventory
      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 canInsert Lnet/minecraft/inventory/SidedInventory;canInsert(ILnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/Direction;)Z
      intermediary method_5492 Lnet/minecraft/class_1278;method_5492(ILnet/minecraft/class_1799;Lnet/minecraft/class_2350;)Z
      official a Lbrd;a(ILcuq;Lji;)Z
    • canExtract

      public boolean canExtract(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.
      Specified by:
      canExtract in interface SidedInventory
      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 canExtract Lnet/minecraft/inventory/SidedInventory;canExtract(ILnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/Direction;)Z
      intermediary method_5493 Lnet/minecraft/class_1278;method_5493(ILnet/minecraft/class_1799;Lnet/minecraft/class_2350;)Z
      official b Lbrd;b(ILcuq;Lji;)Z
    • size

      public int size()
      Returns the size of the inventory.

      The inventory should support the slot ID from 0 to size() - 1. This should remain constant throughout the inventory's lifetime.

      Specified by:
      size in interface Inventory
      Returns:
      the size of the inventory
      Mappings:
      Namespace Name Mixin selector
      named size Lnet/minecraft/inventory/Inventory;size()I
      intermediary method_5439 Lnet/minecraft/class_1263;method_5439()I
      official b Lbqk;b()I
    • getHeldStacks

      protected DefaultedList<ItemStack> getHeldStacks()
      Specified by:
      getHeldStacks in class LockableContainerBlockEntity
      Mappings:
      Namespace Name Mixin selector
      named getHeldStacks Lnet/minecraft/block/entity/LockableContainerBlockEntity;getHeldStacks()Lnet/minecraft/util/collection/DefaultedList;
      intermediary method_11282 Lnet/minecraft/class_2624;method_11282()Lnet/minecraft/class_2371;
      official j Ldqb;j()Ljv;
    • setHeldStacks

      protected void setHeldStacks(DefaultedList<ItemStack> inventory)
      Specified by:
      setHeldStacks in class LockableContainerBlockEntity
      Mappings:
      Namespace Name Mixin selector
      named setHeldStacks Lnet/minecraft/block/entity/LockableContainerBlockEntity;setHeldStacks(Lnet/minecraft/util/collection/DefaultedList;)V
      intermediary method_11281 Lnet/minecraft/class_2624;method_11281(Lnet/minecraft/class_2371;)V
      official a Ldqb;a(Ljv;)V
    • setStack

      public void setStack(int slot, ItemStack stack)
      Sets the stack stored at slot to stack.
      Specified by:
      setStack in interface Inventory
      Overrides:
      setStack in class LockableContainerBlockEntity
      Mappings:
      Namespace Name Mixin selector
      named setStack Lnet/minecraft/inventory/Inventory;setStack(ILnet/minecraft/item/ItemStack;)V
      intermediary method_5447 Lnet/minecraft/class_1263;method_5447(ILnet/minecraft/class_1799;)V
      official a Lbqk;a(ILcuq;)V
    • isValid

      public boolean isValid(int slot, ItemStack stack)
      Returns whether stack is valid for the slot.

      Implementations can, for example, use this to check whether the item is in a specific tag. This returns true by default.

      Specified by:
      isValid in interface Inventory
      Returns:
      whether stack is valid for the slot
      Mappings:
      Namespace Name Mixin selector
      named isValid Lnet/minecraft/inventory/Inventory;isValid(ILnet/minecraft/item/ItemStack;)Z
      intermediary method_5437 Lnet/minecraft/class_1263;method_5437(ILnet/minecraft/class_1799;)Z
      official b Lbqk;b(ILcuq;)Z
    • setLastRecipe

      public void setLastRecipe(@Nullable @Nullable RecipeEntry<?> recipe)
      Specified by:
      setLastRecipe in interface RecipeUnlocker
      Mappings:
      Namespace Name Mixin selector
      named setLastRecipe Lnet/minecraft/recipe/RecipeUnlocker;setLastRecipe(Lnet/minecraft/recipe/RecipeEntry;)V
      intermediary method_7662 Lnet/minecraft/class_1732;method_7662(Lnet/minecraft/class_8786;)V
      official a Lcrk;a(Lczb;)V
    • getLastRecipe

      @Nullable public @Nullable RecipeEntry<?> getLastRecipe()
      Specified by:
      getLastRecipe in interface RecipeUnlocker
      Mappings:
      Namespace Name Mixin selector
      named getLastRecipe Lnet/minecraft/recipe/RecipeUnlocker;getLastRecipe()Lnet/minecraft/recipe/RecipeEntry;
      intermediary method_7663 Lnet/minecraft/class_1732;method_7663()Lnet/minecraft/class_8786;
      official d Lcrk;d()Lczb;
    • unlockLastRecipe

      public void unlockLastRecipe(PlayerEntity player, List<ItemStack> ingredients)
      Specified by:
      unlockLastRecipe in interface RecipeUnlocker
      Mappings:
      Namespace Name Mixin selector
      named unlockLastRecipe Lnet/minecraft/recipe/RecipeUnlocker;unlockLastRecipe(Lnet/minecraft/entity/player/PlayerEntity;Ljava/util/List;)V
      intermediary method_7664 Lnet/minecraft/class_1732;method_7664(Lnet/minecraft/class_1657;Ljava/util/List;)V
      official a Lcrk;a(Lcmx;Ljava/util/List;)V
    • dropExperienceForRecipesUsed

      public void dropExperienceForRecipesUsed(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named dropExperienceForRecipesUsed Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;dropExperienceForRecipesUsed(Lnet/minecraft/server/network/ServerPlayerEntity;)V
      intermediary method_17763 Lnet/minecraft/class_2609;method_17763(Lnet/minecraft/class_3222;)V
      official a Ldpv;a(Laqv;)V
    • getRecipesUsedAndDropExperience

      public List<RecipeEntry<?>> getRecipesUsedAndDropExperience(ServerWorld world, Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      named getRecipesUsedAndDropExperience Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;getRecipesUsedAndDropExperience(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;)Ljava/util/List;
      intermediary method_27354 Lnet/minecraft/class_2609;method_27354(Lnet/minecraft/class_3218;Lnet/minecraft/class_243;)Ljava/util/List;
      official a Ldpv;a(Laqu;Lexc;)Ljava/util/List;
    • dropExperience

      private static void dropExperience(ServerWorld world, Vec3d pos, int multiplier, float experience)
      Mappings:
      Namespace Name Mixin selector
      named dropExperience Lnet/minecraft/block/entity/AbstractFurnaceBlockEntity;dropExperience(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;IF)V
      intermediary method_17760 Lnet/minecraft/class_2609;method_17760(Lnet/minecraft/class_3218;Lnet/minecraft/class_243;IF)V
      official a Ldpv;a(Laqu;Lexc;IF)V
    • provideRecipeInputs

      public void provideRecipeInputs(RecipeMatcher finder)
      Specified by:
      provideRecipeInputs in interface RecipeInputProvider
      Mappings:
      Namespace Name Mixin selector
      named provideRecipeInputs Lnet/minecraft/recipe/RecipeInputProvider;provideRecipeInputs(Lnet/minecraft/recipe/RecipeMatcher;)V
      intermediary method_7683 Lnet/minecraft/class_1737;method_7683(Lnet/minecraft/class_1662;)V
      official a Lcrv;a(Lcnb;)V