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 bmdintermediary net/minecraft/class_4862named net/minecraft/screen/SmithingScreenHandler
-
Field Summary
Fields Modifier and Type Field Description private Worldfield_25385private @Nullable SmithingRecipefield_25386private List<SmithingRecipe>field_25668Fields inherited from class net.minecraft.screen.ForgingScreenHandler
context, input, output, playerFields 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 booleancanInsertIntoSlot(ItemStack stack, Slot slot)protected booleancanTakeOutput(PlayerEntity player, boolean present)protected booleancanUse(BlockState state)private voidmethod_29539(int int2)protected booleanmethod_30025(ItemStack itemStack)protected voidonTakeOutput(PlayerEntity player, ItemStack stack)voidupdateResult()Methods inherited from class net.minecraft.screen.ForgingScreenHandler
canUse, close, onContentChanged, transferSlotMethods inherited from class net.minecraft.screen.ScreenHandler
addListener, addProperties, addProperty, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertItemIntoSlot, canUse, checkDataCount, checkSize, dropInventory, endQuickCraft, getSlot, getStacks, getType, insertItem, method_34245, method_34247, method_34248, method_34250, method_34252, method_34254, method_34255, method_34256, method_34257, onButtonClick, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
field_25385
- Mappings:
Namespace Name Mixin selector official gLbmd;g:Lbuq;intermediary field_25385Lnet/minecraft/class_4862;field_25385:Lnet/minecraft/class_1937;named field_25385Lnet/minecraft/screen/SmithingScreenHandler;field_25385:Lnet/minecraft/world/World;
-
field_25386
- Mappings:
Namespace Name Mixin selector official hLbmd;h:Lbrz;intermediary field_25386Lnet/minecraft/class_4862;field_25386:Lnet/minecraft/class_5357;named field_25386Lnet/minecraft/screen/SmithingScreenHandler;field_25386:Lnet/minecraft/recipe/SmithingRecipe;
-
field_25668
- Mappings:
Namespace Name Mixin selector official iLbmd;i:Ljava/util/List;intermediary field_25668Lnet/minecraft/class_4862;field_25668:Ljava/util/List;named field_25668Lnet/minecraft/screen/SmithingScreenHandler;field_25668:Ljava/util/List;
-
-
Constructor Details
-
SmithingScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>Lbmd;<init>(ILbie;)Vintermediary <init>Lnet/minecraft/class_4862;<init>(ILnet/minecraft/class_1661;)Vnamed <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>Lbmd;<init>(ILbie;Lbkw;)Vintermediary <init>Lnet/minecraft/class_4862;<init>(ILnet/minecraft/class_1661;Lnet/minecraft/class_3914;)Vnamed <init>Lnet/minecraft/screen/SmithingScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/screen/ScreenHandlerContext;)V
-
-
Method Details
-
canUse
- Specified by:
canUsein classForgingScreenHandler- Mappings:
Namespace Name Mixin selector official aLbll;a(Lcio;)Zintermediary method_24925Lnet/minecraft/class_4861;method_24925(Lnet/minecraft/class_2680;)Znamed canUseLnet/minecraft/screen/ForgingScreenHandler;canUse(Lnet/minecraft/block/BlockState;)Z
-
canTakeOutput
- Specified by:
canTakeOutputin classForgingScreenHandler- Mappings:
Namespace Name Mixin selector official aLbll;a(Lbif;Z)Zintermediary method_24927Lnet/minecraft/class_4861;method_24927(Lnet/minecraft/class_1657;Z)Znamed canTakeOutputLnet/minecraft/screen/ForgingScreenHandler;canTakeOutput(Lnet/minecraft/entity/player/PlayerEntity;Z)Z
-
onTakeOutput
- Specified by:
onTakeOutputin classForgingScreenHandler- Mappings:
Namespace Name Mixin selector official aLbll;a(Lbif;Lboq;)Vintermediary method_24923Lnet/minecraft/class_4861;method_24923(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Vnamed onTakeOutputLnet/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 dLbmd;d(I)Vintermediary method_29539Lnet/minecraft/class_4862;method_29539(I)Vnamed method_29539Lnet/minecraft/screen/SmithingScreenHandler;method_29539(I)V
-
updateResult
public void updateResult()- Specified by:
updateResultin classForgingScreenHandler- Mappings:
Namespace Name Mixin selector official iLbll;i()Vintermediary method_24928Lnet/minecraft/class_4861;method_24928()Vnamed updateResultLnet/minecraft/screen/ForgingScreenHandler;updateResult()V
-
method_30025
- Overrides:
method_30025in classForgingScreenHandler- Mappings:
Namespace Name Mixin selector official cLbll;c(Lboq;)Zintermediary method_30025Lnet/minecraft/class_4861;method_30025(Lnet/minecraft/class_1799;)Znamed method_30025Lnet/minecraft/screen/ForgingScreenHandler;method_30025(Lnet/minecraft/item/ItemStack;)Z
-
canInsertIntoSlot
- Overrides:
canInsertIntoSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official aLbkl;a(Lboq;Lbmc;)Zintermediary method_7613Lnet/minecraft/class_1703;method_7613(Lnet/minecraft/class_1799;Lnet/minecraft/class_1735;)Znamed canInsertIntoSlotLnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/item/ItemStack;Lnet/minecraft/screen/slot/Slot;)Z
-