Class FurnaceBlockEntity

All Implemented Interfaces:
LockableScreenHandlerFactory, Inventory, SidedInventory, NamedScreenHandlerFactory, Nameable, Tickable

public class FurnaceBlockEntity
extends LockableContainerBlockEntity
implements Tickable, SidedInventory
Mappings:
Namespace Name
official alh
intermediary net/minecraft/class_360
named net/minecraft/block/entity/FurnaceBlockEntity
  • Field Details

    • field_1443

      private static final int[] field_1443
      Mappings:
      Namespace Name Mixin selector
      official a Lalh;a:[I
      intermediary field_1443 Lnet/minecraft/class_360;field_1443:[I
      named field_1443 Lnet/minecraft/block/entity/FurnaceBlockEntity;field_1443:[I
    • field_1444

      private static final int[] field_1444
      Mappings:
      Namespace Name Mixin selector
      official f Lalh;f:[I
      intermediary field_1444 Lnet/minecraft/class_360;field_1444:[I
      named field_1444 Lnet/minecraft/block/entity/FurnaceBlockEntity;field_1444:[I
    • field_1445

      private static final int[] field_1445
      Mappings:
      Namespace Name Mixin selector
      official g Lalh;g:[I
      intermediary field_1445 Lnet/minecraft/class_360;field_1445:[I
      named field_1445 Lnet/minecraft/block/entity/FurnaceBlockEntity;field_1445:[I
    • stacks

      private ItemStack[] stacks
      Mappings:
      Namespace Name Mixin selector
      official h Lalh;h:[Lzx;
      intermediary field_1446 Lnet/minecraft/class_360;field_1446:[Lnet/minecraft/class_2056;
      named stacks Lnet/minecraft/block/entity/FurnaceBlockEntity;stacks:[Lnet/minecraft/item/ItemStack;
    • fuelTime

      private int fuelTime
      Mappings:
      Namespace Name Mixin selector
      official i Lalh;i:I
      intermediary field_1447 Lnet/minecraft/class_360;field_1447:I
      named fuelTime Lnet/minecraft/block/entity/FurnaceBlockEntity;fuelTime:I
    • totalFuelTime

      private int totalFuelTime
      Mappings:
      Namespace Name Mixin selector
      official j Lalh;j:I
      intermediary field_1448 Lnet/minecraft/class_360;field_1448:I
      named totalFuelTime Lnet/minecraft/block/entity/FurnaceBlockEntity;totalFuelTime:I
    • cookTime

      private int cookTime
      Mappings:
      Namespace Name Mixin selector
      official k Lalh;k:I
      intermediary field_1449 Lnet/minecraft/class_360;field_1449:I
      named cookTime Lnet/minecraft/block/entity/FurnaceBlockEntity;cookTime:I
    • totalCookTime

      private int totalCookTime
      Mappings:
      Namespace Name Mixin selector
      official l Lalh;l:I
      intermediary field_1450 Lnet/minecraft/class_360;field_1450:I
      named totalCookTime Lnet/minecraft/block/entity/FurnaceBlockEntity;totalCookTime:I
    • customName

      private String customName
      Mappings:
      Namespace Name Mixin selector
      official m Lalh;m:Ljava/lang/String;
      intermediary field_1451 Lnet/minecraft/class_360;field_1451:Ljava/lang/String;
      named customName Lnet/minecraft/block/entity/FurnaceBlockEntity;customName:Ljava/lang/String;
  • Constructor Details

    • FurnaceBlockEntity

      public FurnaceBlockEntity()
  • Method Details

    • getInvSize

      public int getInvSize()
      Specified by:
      getInvSize in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official o_ Log;o_()I
      intermediary method_6748 Lnet/minecraft/class_1718;method_6748()I
      named getInvSize Lnet/minecraft/inventory/Inventory;getInvSize()I
    • getInvStack

      public ItemStack getInvStack​(int slot)
      Specified by:
      getInvStack in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official a Log;a(I)Lzx;
      intermediary method_6736 Lnet/minecraft/class_1718;method_6736(I)Lnet/minecraft/class_2056;
      named getInvStack Lnet/minecraft/inventory/Inventory;getInvStack(I)Lnet/minecraft/item/ItemStack;
    • takeInvStack

      public ItemStack takeInvStack​(int slot, int amount)
      Specified by:
      takeInvStack in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official a Log;a(II)Lzx;
      intermediary method_6737 Lnet/minecraft/class_1718;method_6737(II)Lnet/minecraft/class_2056;
      named takeInvStack Lnet/minecraft/inventory/Inventory;takeInvStack(II)Lnet/minecraft/item/ItemStack;
    • removeInvStack

      public ItemStack removeInvStack​(int slot)
      Specified by:
      removeInvStack in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official b Log;b(I)Lzx;
      intermediary method_6741 Lnet/minecraft/class_1718;method_6741(I)Lnet/minecraft/class_2056;
      named removeInvStack Lnet/minecraft/inventory/Inventory;removeInvStack(I)Lnet/minecraft/item/ItemStack;
    • setInvStack

      public void setInvStack​(int slot, ItemStack stack)
      Specified by:
      setInvStack in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official a Log;a(ILzx;)V
      intermediary method_6738 Lnet/minecraft/class_1718;method_6738(ILnet/minecraft/class_2056;)V
      named setInvStack Lnet/minecraft/inventory/Inventory;setInvStack(ILnet/minecraft/item/ItemStack;)V
    • getTranslationKey

      public String getTranslationKey()
      Specified by:
      getTranslationKey in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official e_ Lop;e_()Ljava/lang/String;
      intermediary method_6261 Lnet/minecraft/class_1726;method_6261()Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/text/Nameable;getTranslationKey()Ljava/lang/String;
    • hasCustomName

      public boolean hasCustomName()
      Specified by:
      hasCustomName in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official l_ Lop;l_()Z
      intermediary method_6770 Lnet/minecraft/class_1726;method_6770()Z
      named hasCustomName Lnet/minecraft/text/Nameable;hasCustomName()Z
    • setCustomName

      public void setCustomName​(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lalh;a(Ljava/lang/String;)V
      intermediary method_1141 Lnet/minecraft/class_360;method_1141(Ljava/lang/String;)V
      named setCustomName Lnet/minecraft/block/entity/FurnaceBlockEntity;setCustomName(Ljava/lang/String;)V
    • fromTag

      public void fromTag​(CompoundTag tag)
      Overrides:
      fromTag in class LockableContainerBlockEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lakw;a(Ldn;)V
      intermediary method_1098 Lnet/minecraft/class_348;method_1098(Lnet/minecraft/class_1405;)V
      named fromTag Lnet/minecraft/block/entity/BlockEntity;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
    • toTag

      public void toTag​(CompoundTag tag)
      Overrides:
      toTag in class LockableContainerBlockEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lakw;b(Ldn;)V
      intermediary method_1100 Lnet/minecraft/class_348;method_1100(Lnet/minecraft/class_1405;)V
      named toTag Lnet/minecraft/block/entity/BlockEntity;toTag(Lnet/minecraft/nbt/CompoundTag;)V
    • getInvMaxStackAmount

      public int getInvMaxStackAmount()
      Specified by:
      getInvMaxStackAmount in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official q_ Log;q_()I
      intermediary method_6749 Lnet/minecraft/class_1718;method_6749()I
      named getInvMaxStackAmount Lnet/minecraft/inventory/Inventory;getInvMaxStackAmount()I
    • method_1146

      public boolean method_1146()
      Mappings:
      Namespace Name Mixin selector
      official m Lalh;m()Z
      intermediary method_1146 Lnet/minecraft/class_360;method_1146()Z
      named method_1146 Lnet/minecraft/block/entity/FurnaceBlockEntity;method_1146()Z
    • method_1142

      @Environment(CLIENT) public static boolean method_1142​(Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      official a Lalh;a(Log;)Z
      intermediary method_1142 Lnet/minecraft/class_360;method_1142(Lnet/minecraft/class_1718;)Z
      named method_1142 Lnet/minecraft/block/entity/FurnaceBlockEntity;method_1142(Lnet/minecraft/inventory/Inventory;)Z
    • tick

      public void tick()
      Specified by:
      tick in interface Tickable
      Mappings:
      Namespace Name Mixin selector
      official c Lkm;c()V
      intermediary method_5945 Lnet/minecraft/class_1618;method_5945()V
      named tick Lnet/minecraft/util/Tickable;tick()V
    • method_1143

      public int method_1143​(ItemStack itemStack)
      Mappings:
      Namespace Name Mixin selector
      official a Lalh;a(Lzx;)I
      intermediary method_1143 Lnet/minecraft/class_360;method_1143(Lnet/minecraft/class_2056;)I
      named method_1143 Lnet/minecraft/block/entity/FurnaceBlockEntity;method_1143(Lnet/minecraft/item/ItemStack;)I
    • method_1148

      private boolean method_1148()
      Mappings:
      Namespace Name Mixin selector
      official o Lalh;o()Z
      intermediary method_1148 Lnet/minecraft/class_360;method_1148()Z
      named method_1148 Lnet/minecraft/block/entity/FurnaceBlockEntity;method_1148()Z
    • method_1147

      public void method_1147()
      Mappings:
      Namespace Name Mixin selector
      official n Lalh;n()V
      intermediary method_1147 Lnet/minecraft/class_360;method_1147()V
      named method_1147 Lnet/minecraft/block/entity/FurnaceBlockEntity;method_1147()V
    • getBurnTime

      public static int getBurnTime​(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official b Lalh;b(Lzx;)I
      intermediary method_1144 Lnet/minecraft/class_360;method_1144(Lnet/minecraft/class_2056;)I
      named getBurnTime Lnet/minecraft/block/entity/FurnaceBlockEntity;getBurnTime(Lnet/minecraft/item/ItemStack;)I
    • isFuel

      public static boolean isFuel​(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official c Lalh;c(Lzx;)Z
      intermediary method_1145 Lnet/minecraft/class_360;method_1145(Lnet/minecraft/class_2056;)Z
      named isFuel Lnet/minecraft/block/entity/FurnaceBlockEntity;isFuel(Lnet/minecraft/item/ItemStack;)Z
    • canPlayerUseInv

      public boolean canPlayerUseInv​(PlayerEntity player)
      Specified by:
      canPlayerUseInv in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official a Log;a(Lwn;)Z
      intermediary method_6739 Lnet/minecraft/class_1718;method_6739(Lnet/minecraft/class_1963;)Z
      named canPlayerUseInv Lnet/minecraft/inventory/Inventory;canPlayerUseInv(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • onInvOpen

      public void onInvOpen​(PlayerEntity player)
      Specified by:
      onInvOpen in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official b Log;b(Lwn;)V
      intermediary method_6744 Lnet/minecraft/class_1718;method_6744(Lnet/minecraft/class_1963;)V
      named onInvOpen Lnet/minecraft/inventory/Inventory;onInvOpen(Lnet/minecraft/entity/player/PlayerEntity;)V
    • onInvClose

      public void onInvClose​(PlayerEntity player)
      Specified by:
      onInvClose in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official c Log;c(Lwn;)V
      intermediary method_6745 Lnet/minecraft/class_1718;method_6745(Lnet/minecraft/class_1963;)V
      named onInvClose Lnet/minecraft/inventory/Inventory;onInvClose(Lnet/minecraft/entity/player/PlayerEntity;)V
    • isValidInvStack

      public boolean isValidInvStack​(int slot, ItemStack stack)
      Specified by:
      isValidInvStack in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official b Log;b(ILzx;)Z
      intermediary method_6743 Lnet/minecraft/class_1718;method_6743(ILnet/minecraft/class_2056;)Z
      named isValidInvStack Lnet/minecraft/inventory/Inventory;isValidInvStack(ILnet/minecraft/item/ItemStack;)Z
    • getInvAvailableSlots

      public int[] getInvAvailableSlots​(Direction side)
      Specified by:
      getInvAvailableSlots in interface SidedInventory
      Mappings:
      Namespace Name Mixin selector
      official a Lot;a(Lcq;)[I
      intermediary method_6798 Lnet/minecraft/class_1730;method_6798(Lnet/minecraft/class_1383;)[I
      named getInvAvailableSlots Lnet/minecraft/inventory/SidedInventory;getInvAvailableSlots(Lnet/minecraft/util/math/Direction;)[I
    • canInsertInvStack

      public boolean canInsertInvStack​(int slot, ItemStack stack, Direction dir)
      Specified by:
      canInsertInvStack in interface SidedInventory
      Mappings:
      Namespace Name Mixin selector
      official a Lot;a(ILzx;Lcq;)Z
      intermediary method_6797 Lnet/minecraft/class_1730;method_6797(ILnet/minecraft/class_2056;Lnet/minecraft/class_1383;)Z
      named canInsertInvStack Lnet/minecraft/inventory/SidedInventory;canInsertInvStack(ILnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/Direction;)Z
    • canExtractInvStack

      public boolean canExtractInvStack​(int slot, ItemStack stack, Direction dir)
      Specified by:
      canExtractInvStack in interface SidedInventory
      Mappings:
      Namespace Name Mixin selector
      official b Lot;b(ILzx;Lcq;)Z
      intermediary method_6799 Lnet/minecraft/class_1730;method_6799(ILnet/minecraft/class_2056;Lnet/minecraft/class_1383;)Z
      named canExtractInvStack Lnet/minecraft/inventory/SidedInventory;canExtractInvStack(ILnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/Direction;)Z
    • getId

      public String getId()
      Specified by:
      getId in interface NamedScreenHandlerFactory
      Mappings:
      Namespace Name Mixin selector
      official k Lol;k()Ljava/lang/String;
      intermediary method_6762 Lnet/minecraft/class_1723;method_6762()Ljava/lang/String;
      named getId Lnet/minecraft/screen/NamedScreenHandlerFactory;getId()Ljava/lang/String;
    • createScreenHandler

      public ScreenHandler createScreenHandler​(PlayerInventory inventory, PlayerEntity player)
      Specified by:
      createScreenHandler in interface NamedScreenHandlerFactory
      Mappings:
      Namespace Name Mixin selector
      official a Lol;a(Lwm;Lwn;)Lxi;
      intermediary method_6761 Lnet/minecraft/class_1723;method_6761(Lnet/minecraft/class_1962;Lnet/minecraft/class_1963;)Lnet/minecraft/class_1983;
      named createScreenHandler Lnet/minecraft/screen/NamedScreenHandlerFactory;createScreenHandler(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/screen/ScreenHandler;
    • getProperty

      public int getProperty​(int key)
      Specified by:
      getProperty in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official a_ Log;a_(I)I
      intermediary method_6740 Lnet/minecraft/class_1718;method_6740(I)I
      named getProperty Lnet/minecraft/inventory/Inventory;getProperty(I)I
    • setProperty

      public void setProperty​(int id, int value)
      Specified by:
      setProperty in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official b Log;b(II)V
      intermediary method_6742 Lnet/minecraft/class_1718;method_6742(II)V
      named setProperty Lnet/minecraft/inventory/Inventory;setProperty(II)V
    • getProperties

      public int getProperties()
      Specified by:
      getProperties in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official g Log;g()I
      intermediary method_6746 Lnet/minecraft/class_1718;method_6746()I
      named getProperties Lnet/minecraft/inventory/Inventory;getProperties()I
    • clear

      public void clear()
      Specified by:
      clear in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official l Log;l()V
      intermediary method_6747 Lnet/minecraft/class_1718;method_6747()V
      named clear Lnet/minecraft/inventory/Inventory;clear()V