Package net.minecraft.screen
Class FurnaceScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.FurnaceScreenHandler
- Mappings:
Namespace Name official acxintermediary net/minecraft/class_1016named net/minecraft/screen/FurnaceScreenHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate final Inventoryprivate intprivate intFields inherited from class net.minecraft.screen.ScreenHandler
field_15099, listeners, slots, syncId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(ScreenHandlerListener listener) booleancanUse(PlayerEntity player) voidSends updates to listeners if any properties or slot stacks have changed.voidsetProperty(int id, int value) transferSlot(PlayerEntity player, int invSlot) Methods inherited from class net.minecraft.screen.ScreenHandler
addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertIntoSlot, canInsertItemIntoSlot, close, endQuickCraft, getNextActionId, getSlot, insertItem, isNotRestricted, method_13641, method_13642, method_3252, method_3255, onButtonClick, onContentChanged, onSlotClick, packClickData, removeListener, setPlayerRestriction, setStackInSlot, shouldQuickCraftContinue, unpackButtonId, unpackQuickCraftStage
-
Field Details
-
inventory
- Mappings:
Namespace Name Mixin selector official aLacx;a:Lrc;intermediary field_12149Lnet/minecraft/class_1016;field_12149:Lnet/minecraft/class_849;named inventoryLnet/minecraft/screen/FurnaceScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
-
cookTime
private int cookTime- Mappings:
Namespace Name Mixin selector official fLacx;f:Iintermediary field_4123Lnet/minecraft/class_1016;field_4123:Inamed cookTimeLnet/minecraft/screen/FurnaceScreenHandler;cookTime:I
-
totalCookTime
private int totalCookTime- Mappings:
Namespace Name Mixin selector official gLacx;g:Iintermediary field_12150Lnet/minecraft/class_1016;field_12150:Inamed totalCookTimeLnet/minecraft/screen/FurnaceScreenHandler;totalCookTime:I
-
fuelTime
private int fuelTime- Mappings:
Namespace Name Mixin selector official hLacx;h:Iintermediary field_12151Lnet/minecraft/class_1016;field_12151:Inamed fuelTimeLnet/minecraft/screen/FurnaceScreenHandler;fuelTime:I
-
totalFuelTime
private int totalFuelTime- Mappings:
Namespace Name Mixin selector official iLacx;i:Iintermediary field_12152Lnet/minecraft/class_1016;field_12152:Inamed totalFuelTimeLnet/minecraft/screen/FurnaceScreenHandler;totalFuelTime:I
-
-
Constructor Details
-
FurnaceScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>Lacx;<init>(Laax;Lrc;)Vintermediary <init>Lnet/minecraft/class_1016;<init>(Lnet/minecraft/class_987;Lnet/minecraft/class_849;)Vnamed <init>Lnet/minecraft/screen/FurnaceScreenHandler;<init>(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/inventory/Inventory;)V
-
-
Method Details
-
addListener
- Overrides:
addListenerin classScreenHandler- Mappings:
Namespace Name Mixin selector official aLacl;a(Lacr;)Vintermediary method_3260Lnet/minecraft/class_1002;method_3260(Lnet/minecraft/class_1006;)Vnamed addListenerLnet/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:
sendContentUpdatesin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLacl;b()Vintermediary method_3264Lnet/minecraft/class_1002;method_3264()Vnamed sendContentUpdatesLnet/minecraft/screen/ScreenHandler;sendContentUpdates()V
-
setProperty
- Overrides:
setPropertyin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLacl;b(II)Vintermediary method_3266Lnet/minecraft/class_1002;method_3266(II)Vnamed setPropertyLnet/minecraft/screen/ScreenHandler;setProperty(II)V
-
canUse
- Specified by:
canUsein classScreenHandler- Mappings:
Namespace Name Mixin selector official aLacl;a(Laay;)Zintermediary method_3269Lnet/minecraft/class_1002;method_3269(Lnet/minecraft/class_988;)Znamed canUseLnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
transferSlot
- Overrides:
transferSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLacl;b(Laay;I)Lafj;intermediary method_3265Lnet/minecraft/class_1002;method_3265(Lnet/minecraft/class_988;I)Lnet/minecraft/class_1071;named transferSlotLnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
-