Class FurnaceScreenHandler

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

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

    • inventory

      private final Inventory inventory
      Mappings:
      Namespace Name Mixin selector
      official a Lxu;a:Log;
      intermediary field_8489 Lnet/minecraft/class_1998;field_8489:Lnet/minecraft/class_1718;
      named inventory Lnet/minecraft/screen/FurnaceScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
    • cookTime

      private int cookTime
      Mappings:
      Namespace Name Mixin selector
      official f Lxu;f:I
      intermediary field_8490 Lnet/minecraft/class_1998;field_8490:I
      named cookTime Lnet/minecraft/screen/FurnaceScreenHandler;cookTime:I
    • totalCookTime

      private int totalCookTime
      Mappings:
      Namespace Name Mixin selector
      official g Lxu;g:I
      intermediary field_8491 Lnet/minecraft/class_1998;field_8491:I
      named totalCookTime Lnet/minecraft/screen/FurnaceScreenHandler;totalCookTime:I
    • fuelTime

      private int fuelTime
      Mappings:
      Namespace Name Mixin selector
      official h Lxu;h:I
      intermediary field_8492 Lnet/minecraft/class_1998;field_8492:I
      named fuelTime Lnet/minecraft/screen/FurnaceScreenHandler;fuelTime:I
    • totalFuelTime

      private int totalFuelTime
      Mappings:
      Namespace Name Mixin selector
      official i Lxu;i:I
      intermediary field_8493 Lnet/minecraft/class_1998;field_8493: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> Lxu;<init>(Lwm;Log;)V
      intermediary <init> Lnet/minecraft/class_1998;<init>(Lnet/minecraft/class_1962;Lnet/minecraft/class_1718;)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 Lxi;a(Lxn;)V
      intermediary method_8107 Lnet/minecraft/class_1983;method_8107(Lnet/minecraft/class_1991;)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 Lxi;b()V
      intermediary method_8113 Lnet/minecraft/class_1983;method_8113()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 Lxi;b(II)V
      intermediary method_8115 Lnet/minecraft/class_1983;method_8115(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 Lxi;a(Lwn;)Z
      intermediary method_8104 Lnet/minecraft/class_1983;method_8104(Lnet/minecraft/class_1963;)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 Lxi;b(Lwn;I)Lzx;
      intermediary method_8118 Lnet/minecraft/class_1983;method_8118(Lnet/minecraft/class_1963;I)Lnet/minecraft/class_2056;
      named transferSlot Lnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;