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 bxhintermediary net/minecraft/class_4862named net/minecraft/screen/SmithingScreenHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @Nullable SmithingRecipeprivate final List<SmithingRecipe>private final WorldFields inherited from class net.minecraft.screen.ForgingScreenHandler
context, FIRST_INPUT_SLOT_INDEX, input, output, OUTPUT_SLOT_INDEX, player, SECOND_INPUT_SLOT_INDEXFields 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
ConstructorsConstructorDescriptionSmithingScreenHandler(int syncId, PlayerInventory playerInventory) SmithingScreenHandler(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanInsertIntoSlot(ItemStack stack, Slot slot) protected booleancanTakeOutput(PlayerEntity player, boolean present) protected booleancanUse(BlockState state) private voiddecrementStack(int slot) protected booleanisUsableAsAddition(ItemStack stack) protected voidonTakeOutput(PlayerEntity player, ItemStack stack) voidMethods 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, copySharedSlots, disableSyncing, dropInventory, enableSyncing, endQuickCraft, getCursorStack, getRevision, getSlot, getSlotIndex, getStacks, getType, insertItem, isValid, nextRevision, onButtonClick, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setCursorStack, setPreviousCursorStack, setPreviousTrackedSlot, setPreviousTrackedSlotMutable, setProperty, setStackInSlot, shouldQuickCraftContinue, syncState, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks, updateSyncHandler, updateToClient
-
Field Details
-
world
- Mappings:
Namespace Name Mixin selector official kLbxh;k:Lcga;intermediary field_25385Lnet/minecraft/class_4862;field_25385:Lnet/minecraft/class_1937;named worldLnet/minecraft/screen/SmithingScreenHandler;world:Lnet/minecraft/world/World;
-
currentRecipe
- Mappings:
Namespace Name Mixin selector official sLbxh;s:Lcdj;intermediary field_25386Lnet/minecraft/class_4862;field_25386:Lnet/minecraft/class_5357;named currentRecipeLnet/minecraft/screen/SmithingScreenHandler;currentRecipe:Lnet/minecraft/recipe/SmithingRecipe;
-
recipes
- Mappings:
Namespace Name Mixin selector official tLbxh;t:Ljava/util/List;intermediary field_25668Lnet/minecraft/class_4862;field_25668:Ljava/util/List;named recipesLnet/minecraft/screen/SmithingScreenHandler;recipes:Ljava/util/List;
-
-
Constructor Details
-
SmithingScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>Lbxh;<init>(ILbte;)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>Lbxh;<init>(ILbte;Lbwa;)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 aLbwp;a(Lcur;)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 aLbwp;a(Lbtf;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 aLbwp;a(Lbtf;Lcaa;)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
-
decrementStack
private void decrementStack(int slot) - Mappings:
Namespace Name Mixin selector official eLbxh;e(I)Vintermediary method_29539Lnet/minecraft/class_4862;method_29539(I)Vnamed decrementStackLnet/minecraft/screen/SmithingScreenHandler;decrementStack(I)V
-
updateResult
public void updateResult()- Specified by:
updateResultin classForgingScreenHandler- Mappings:
Namespace Name Mixin selector official lLbwp;l()Vintermediary method_24928Lnet/minecraft/class_4861;method_24928()Vnamed updateResultLnet/minecraft/screen/ForgingScreenHandler;updateResult()V
-
isUsableAsAddition
- Overrides:
isUsableAsAdditionin classForgingScreenHandler- Mappings:
Namespace Name Mixin selector official cLbwp;c(Lcaa;)Zintermediary method_30025Lnet/minecraft/class_4861;method_30025(Lnet/minecraft/class_1799;)Znamed isUsableAsAdditionLnet/minecraft/screen/ForgingScreenHandler;isUsableAsAddition(Lnet/minecraft/item/ItemStack;)Z
-
canInsertIntoSlot
- Overrides:
canInsertIntoSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official aLbvp;a(Lcaa;Lbxg;)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
-