Class FurnaceScreenHandler

java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.FurnaceScreenHandler

public class FurnaceScreenHandler extends ScreenHandler
Mappings:
Namespace Name
official aiv
intermediary net/minecraft/class_1016
named net/minecraft/screen/FurnaceScreenHandler
  • Field Details

    • inventory

      private final Inventory inventory
      Mappings:
      Namespace Name Mixin selector
      official a Laiv;a:Lvq;
      intermediary field_12149 Lnet/minecraft/class_1016;field_12149:Lnet/minecraft/class_849;
      named inventory Lnet/minecraft/screen/FurnaceScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
    • cookTime

      private int cookTime
      Mappings:
      Namespace Name Mixin selector
      official f Laiv;f:I
      intermediary field_4123 Lnet/minecraft/class_1016;field_4123:I
      named cookTime Lnet/minecraft/screen/FurnaceScreenHandler;cookTime:I
    • totalCookTime

      private int totalCookTime
      Mappings:
      Namespace Name Mixin selector
      official g Laiv;g:I
      intermediary field_12150 Lnet/minecraft/class_1016;field_12150:I
      named totalCookTime Lnet/minecraft/screen/FurnaceScreenHandler;totalCookTime:I
    • fuelTime

      private int fuelTime
      Mappings:
      Namespace Name Mixin selector
      official h Laiv;h:I
      intermediary field_12151 Lnet/minecraft/class_1016;field_12151:I
      named fuelTime Lnet/minecraft/screen/FurnaceScreenHandler;fuelTime:I
    • totalFuelTime

      private int totalFuelTime
      Mappings:
      Namespace Name Mixin selector
      official i Laiv;i:I
      intermediary field_12152 Lnet/minecraft/class_1016;field_12152:I
      named totalFuelTime Lnet/minecraft/screen/FurnaceScreenHandler;totalFuelTime:I
  • Constructor Details

    • FurnaceScreenHandler

      public FurnaceScreenHandler(PlayerInventory playerInventory, Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laiv;<init>(Lahb;Lvq;)V
      intermediary <init> Lnet/minecraft/class_1016;<init>(Lnet/minecraft/class_987;Lnet/minecraft/class_849;)V
      named <init> Lnet/minecraft/screen/FurnaceScreenHandler;<init>(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/inventory/Inventory;)V
  • Method Details

    • addListener

      public void addListener(ScreenHandlerListener listener)
      Overrides:
      addListener in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Laib;a(Lail;)V
      intermediary method_3260 Lnet/minecraft/class_1002;method_3260(Lnet/minecraft/class_1006;)V
      named addListener Lnet/minecraft/screen/ScreenHandler;addListener(Lnet/minecraft/screen/ScreenHandlerListener;)V
    • sendContentUpdates

      public void sendContentUpdates()
      Sends updates to listeners if any properties or slot stacks have changed.
      Overrides:
      sendContentUpdates in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official b Laib;b()V
      intermediary method_3264 Lnet/minecraft/class_1002;method_3264()V
      named sendContentUpdates Lnet/minecraft/screen/ScreenHandler;sendContentUpdates()V
    • setProperty

      @Environment(CLIENT) public void setProperty(int id, int value)
      Overrides:
      setProperty in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official b Laib;b(II)V
      intermediary method_3266 Lnet/minecraft/class_1002;method_3266(II)V
      named setProperty Lnet/minecraft/screen/ScreenHandler;setProperty(II)V
    • canUse

      public boolean canUse(PlayerEntity player)
      Specified by:
      canUse in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Laib;a(Lahd;)Z
      intermediary method_3269 Lnet/minecraft/class_1002;method_3269(Lnet/minecraft/class_988;)Z
      named canUse Lnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • transferSlot

      public ItemStack transferSlot(PlayerEntity player, int invSlot)
      Overrides:
      transferSlot in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official b Laib;b(Lahd;I)Lamj;
      intermediary method_3265 Lnet/minecraft/class_1002;method_3265(Lnet/minecraft/class_988;I)Lnet/minecraft/class_1071;
      named transferSlot Lnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;