Package net.minecraft.screen
Class SmithingScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.ForgingScreenHandler
net.minecraft.screen.SmithingScreenHandler
public class SmithingScreenHandler extends ForgingScreenHandler
- Mappings:
Namespace Name official bli
intermediary net/minecraft/class_4862
named net/minecraft/screen/SmithingScreenHandler
-
Field Summary
Fields Modifier and Type Field Description private World
field_25385
private SmithingRecipe
field_25386
private List<SmithingRecipe>
field_25668
Fields inherited from class net.minecraft.screen.ForgingScreenHandler
context, input, output, player
Fields inherited from class net.minecraft.screen.ScreenHandler
slots, syncId
-
Constructor Summary
Constructors Constructor Description SmithingScreenHandler(int syncId, PlayerInventory playerInventory)
SmithingScreenHandler(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context)
-
Method Summary
Modifier and Type Method Description boolean
canInsertIntoSlot(ItemStack stack, Slot slot)
protected boolean
canTakeOutput(PlayerEntity player, boolean present)
protected boolean
canUse(BlockState state)
private void
method_29539(int int2)
protected boolean
method_30025(ItemStack itemStack)
protected ItemStack
onTakeOutput(PlayerEntity player, ItemStack stack)
void
updateResult()
Methods inherited from class net.minecraft.screen.ForgingScreenHandler
canUse, close, onContentChanged, transferSlot
Methods inherited from class net.minecraft.screen.ScreenHandler
addListener, addProperties, addProperty, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertItemIntoSlot, canUse, checkDataCount, checkSize, dropInventory, endQuickCraft, getNextActionId, getSlot, getStacks, getType, insertItem, isNotRestricted, onButtonClick, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
field_25385
- Mappings:
Namespace Name Mixin selector official g
Lbli;g:Lbtv;
intermediary field_25385
Lnet/minecraft/class_4862;field_25385:Lnet/minecraft/class_1937;
named field_25385
Lnet/minecraft/screen/SmithingScreenHandler;field_25385:Lnet/minecraft/world/World;
-
field_25386
- Mappings:
Namespace Name Mixin selector official h
Lbli;h:Lbre;
intermediary field_25386
Lnet/minecraft/class_4862;field_25386:Lnet/minecraft/class_5357;
named field_25386
Lnet/minecraft/screen/SmithingScreenHandler;field_25386:Lnet/minecraft/recipe/SmithingRecipe;
-
field_25668
- Mappings:
Namespace Name Mixin selector official i
Lbli;i:Ljava/util/List;
intermediary field_25668
Lnet/minecraft/class_4862;field_25668:Ljava/util/List;
named field_25668
Lnet/minecraft/screen/SmithingScreenHandler;field_25668:Ljava/util/List;
-
-
Constructor Details
-
SmithingScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>
Lbli;<init>(ILbhk;)V
intermediary <init>
Lnet/minecraft/class_4862;<init>(ILnet/minecraft/class_1661;)V
named <init>
Lnet/minecraft/screen/SmithingScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;)V
-
SmithingScreenHandler
public SmithingScreenHandler(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context)- Mappings:
Namespace Name Mixin selector official <init>
Lbli;<init>(ILbhk;Lbkc;)V
intermediary <init>
Lnet/minecraft/class_4862;<init>(ILnet/minecraft/class_1661;Lnet/minecraft/class_3914;)V
named <init>
Lnet/minecraft/screen/SmithingScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/screen/ScreenHandlerContext;)V
-
-
Method Details
-
canUse
- Specified by:
canUse
in classForgingScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbkq;a(Lcht;)Z
intermediary method_24925
Lnet/minecraft/class_4861;method_24925(Lnet/minecraft/class_2680;)Z
named canUse
Lnet/minecraft/screen/ForgingScreenHandler;canUse(Lnet/minecraft/block/BlockState;)Z
-
canTakeOutput
- Specified by:
canTakeOutput
in classForgingScreenHandler
- Mappings:
Namespace Name Mixin selector official b
Lbkq;b(Lbhl;Z)Z
intermediary method_24927
Lnet/minecraft/class_4861;method_24927(Lnet/minecraft/class_1657;Z)Z
named canTakeOutput
Lnet/minecraft/screen/ForgingScreenHandler;canTakeOutput(Lnet/minecraft/entity/player/PlayerEntity;Z)Z
-
onTakeOutput
- Specified by:
onTakeOutput
in classForgingScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbkq;a(Lbhl;Lbnv;)Lbnv;
intermediary method_24923
Lnet/minecraft/class_4861;method_24923(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
named onTakeOutput
Lnet/minecraft/screen/ForgingScreenHandler;onTakeOutput(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
-
method_29539
private void method_29539(int int2)- Mappings:
Namespace Name Mixin selector official d
Lbli;d(I)V
intermediary method_29539
Lnet/minecraft/class_4862;method_29539(I)V
named method_29539
Lnet/minecraft/screen/SmithingScreenHandler;method_29539(I)V
-
updateResult
public void updateResult()- Specified by:
updateResult
in classForgingScreenHandler
- Mappings:
Namespace Name Mixin selector official e
Lbkq;e()V
intermediary method_24928
Lnet/minecraft/class_4861;method_24928()V
named updateResult
Lnet/minecraft/screen/ForgingScreenHandler;updateResult()V
-
method_30025
- Overrides:
method_30025
in classForgingScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbkq;a(Lbnv;)Z
intermediary method_30025
Lnet/minecraft/class_4861;method_30025(Lnet/minecraft/class_1799;)Z
named method_30025
Lnet/minecraft/screen/ForgingScreenHandler;method_30025(Lnet/minecraft/item/ItemStack;)Z
-
canInsertIntoSlot
- Overrides:
canInsertIntoSlot
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbjr;a(Lbnv;Lblh;)Z
intermediary method_7613
Lnet/minecraft/class_1703;method_7613(Lnet/minecraft/class_1799;Lnet/minecraft/class_1735;)Z
named canInsertIntoSlot
Lnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/item/ItemStack;Lnet/minecraft/screen/slot/Slot;)Z
-