Package net.minecraft.screen
Class SmithingScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.ForgingScreenHandler
net.minecraft.screen.SmithingScreenHandler
- Mappings:
Namespace Name official bob
intermediary net/minecraft/class_4862
named net/minecraft/screen/SmithingScreenHandler
-
Field Summary
Modifier and TypeFieldDescriptionprivate final World
private @Nullable SmithingRecipe
private final List<SmithingRecipe>
Fields inherited from class net.minecraft.screen.ForgingScreenHandler
context, FIRST_INPUT_SLOT_INDEX, input, output, OUTPUT_SLOT_INDEX, player, SECOND_INPUT_SLOT_INDEX
Fields inherited from class net.minecraft.screen.ScreenHandler
EMPTY_SPACE_SLOT_INDEX, field_30731, field_30732, field_30733, field_30734, field_30735, field_30736, field_30737, slots, syncId
-
Constructor Summary
ConstructorDescriptionSmithingScreenHandler
(int syncId, PlayerInventory playerInventory) SmithingScreenHandler
(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context) -
Method Summary
Modifier and TypeMethodDescriptionboolean
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 void
onTakeOutput
(PlayerEntity player, ItemStack stack) void
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, copySharedSlots, disableSyncing, dropInventory, enableSyncing, endQuickCraft, getCursorStack, getSlot, getStacks, getType, insertItem, onButtonClick, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setCursorStack, setPreviousCursorStack, setPreviousTrackedSlot, setProperty, setStackInSlot, shouldQuickCraftContinue, syncState, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks, updateSyncHandler
-
Field Details
-
field_25385
- Mappings:
Namespace Name Mixin selector official k
Lbob;k:Lbwp;
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 s
Lbob;s:Lbty;
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 t
Lbob;t: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>
Lbob;<init>(ILbkc;)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>
Lbob;<init>(ILbkc;Lbmu;)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
Lbnj;a(Lcks;)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 a
Lbnj;a(Lbkd;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
Lbnj;a(Lbkd;Lbqp;)V
intermediary method_24923
Lnet/minecraft/class_4861;method_24923(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V
named onTakeOutput
Lnet/minecraft/screen/ForgingScreenHandler;onTakeOutput(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
-
method_29539
private void method_29539(int int2) - Mappings:
Namespace Name Mixin selector official d
Lbob;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 i
Lbnj;i()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 c
Lbnj;c(Lbqp;)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
Lbmj;a(Lbqp;Lboa;)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
-