Package net.minecraft.screen
Class LegacySmithingScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.ForgingScreenHandler
net.minecraft.screen.LegacySmithingScreenHandler
Deprecated, for removal: This API element is subject to removal in a future version.
- Mappings:
Namespace Name official ccgintermediary net/minecraft/class_8050named net/minecraft/screen/LegacySmithingScreenHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @Nullable LegacySmithingRecipeDeprecated, for removal: This API element is subject to removal in a future version.static final intDeprecated, for removal: This API element is subject to removal in a future version.static final intDeprecated, for removal: This API element is subject to removal in a future version.static final intDeprecated, for removal: This API element is subject to removal in a future version.private static final intDeprecated, for removal: This API element is subject to removal in a future version.private static final intDeprecated, for removal: This API element is subject to removal in a future version.private static final intDeprecated, for removal: This API element is subject to removal in a future version.private static final intDeprecated, for removal: This API element is subject to removal in a future version.private final List<LegacySmithingRecipe>Deprecated, for removal: This API element is subject to removal in a future version.private final WorldDeprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class net.minecraft.screen.ForgingScreenHandler
context, input, output, playerFields 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
ConstructorsConstructorDescriptionLegacySmithingScreenHandler(int syncId, PlayerInventory playerInventory) Deprecated, for removal: This API element is subject to removal in a future version.LegacySmithingScreenHandler(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionbooleancanInsertIntoSlot(ItemStack stack, Slot slot) Deprecated, for removal: This API element is subject to removal in a future version.Returns whetherstackcan be inserted toslot.protected booleancanTakeOutput(PlayerEntity player, boolean present) Deprecated, for removal: This API element is subject to removal in a future version.protected booleancanUse(BlockState state) Deprecated, for removal: This API element is subject to removal in a future version.private voiddecrementStack(int slot) Deprecated, for removal: This API element is subject to removal in a future version.protected ForgingSlotsManagerDeprecated, for removal: This API element is subject to removal in a future version.intgetSlotFor(ItemStack stack) Deprecated, for removal: This API element is subject to removal in a future version.protected voidonTakeOutput(PlayerEntity player, ItemStack stack) Deprecated, for removal: This API element is subject to removal in a future version.protected booleantestAddition(ItemStack stack) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class net.minecraft.screen.ForgingScreenHandler
canUse, getResultSlotIndex, isValidIngredient, onClosed, onContentChanged, quickMoveMethods 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
-
field_41912
public static final int field_41912Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Mappings:
Namespace Name Mixin selector official kLccg;k:Iintermediary field_41912Lnet/minecraft/class_8050;field_41912:Inamed field_41912Lnet/minecraft/screen/LegacySmithingScreenHandler;field_41912:I
-
field_41913
public static final int field_41913Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Mappings:
Namespace Name Mixin selector official lLccg;l:Iintermediary field_41913Lnet/minecraft/class_8050;field_41913:Inamed field_41913Lnet/minecraft/screen/LegacySmithingScreenHandler;field_41913:I
-
field_41914
public static final int field_41914Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Mappings:
Namespace Name Mixin selector official mLccg;m:Iintermediary field_41914Lnet/minecraft/class_8050;field_41914:Inamed field_41914Lnet/minecraft/screen/LegacySmithingScreenHandler;field_41914:I
-
field_41916
private static final int field_41916Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Mappings:
Namespace Name Mixin selector official sLccg;s:Iintermediary field_41916Lnet/minecraft/class_8050;field_41916:Inamed field_41916Lnet/minecraft/screen/LegacySmithingScreenHandler;field_41916:I
-
field_41917
private static final int field_41917Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Mappings:
Namespace Name Mixin selector official tLccg;t:Iintermediary field_41917Lnet/minecraft/class_8050;field_41917:Inamed field_41917Lnet/minecraft/screen/LegacySmithingScreenHandler;field_41917:I
-
field_41918
private static final int field_41918Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Mappings:
Namespace Name Mixin selector official uLccg;u:Iintermediary field_41918Lnet/minecraft/class_8050;field_41918:Inamed field_41918Lnet/minecraft/screen/LegacySmithingScreenHandler;field_41918:I
-
field_41919
private static final int field_41919Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Mappings:
Namespace Name Mixin selector official vLccg;v:Iintermediary field_41919Lnet/minecraft/class_8050;field_41919:Inamed field_41919Lnet/minecraft/screen/LegacySmithingScreenHandler;field_41919:I
-
world
Deprecated, for removal: This API element is subject to removal in a future version.- Mappings:
Namespace Name Mixin selector official nLccg;n:Lcmi;intermediary field_41915Lnet/minecraft/class_8050;field_41915:Lnet/minecraft/class_1937;named worldLnet/minecraft/screen/LegacySmithingScreenHandler;world:Lnet/minecraft/world/World;
-
currentRecipe
Deprecated, for removal: This API element is subject to removal in a future version.- Mappings:
Namespace Name Mixin selector official wLccg;w:Lciv;intermediary field_41920Lnet/minecraft/class_8050;field_41920:Lnet/minecraft/class_5357;named currentRecipeLnet/minecraft/screen/LegacySmithingScreenHandler;currentRecipe:Lnet/minecraft/recipe/LegacySmithingRecipe;
-
recipes
Deprecated, for removal: This API element is subject to removal in a future version.- Mappings:
Namespace Name Mixin selector official xLccg;x:Ljava/util/List;intermediary field_41921Lnet/minecraft/class_8050;field_41921:Ljava/util/List;named recipesLnet/minecraft/screen/LegacySmithingScreenHandler;recipes:Ljava/util/List;
-
-
Constructor Details
-
LegacySmithingScreenHandler
Deprecated, for removal: This API element is subject to removal in a future version.- Mappings:
Namespace Name Mixin selector official <init>Lccg;<init>(ILbyl;)Vintermediary <init>Lnet/minecraft/class_8050;<init>(ILnet/minecraft/class_1661;)Vnamed <init>Lnet/minecraft/screen/LegacySmithingScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;)V
-
LegacySmithingScreenHandler
public LegacySmithingScreenHandler(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context) Deprecated, for removal: This API element is subject to removal in a future version.- Mappings:
Namespace Name Mixin selector official <init>Lccg;<init>(ILbyl;Lcbo;)Vintermediary <init>Lnet/minecraft/class_8050;<init>(ILnet/minecraft/class_1661;Lnet/minecraft/class_3914;)Vnamed <init>Lnet/minecraft/screen/LegacySmithingScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/screen/ScreenHandlerContext;)V
-
-
Method Details
-
getForgingSlotsManager
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getForgingSlotsManagerin classForgingScreenHandler- Mappings:
Namespace Name Mixin selector official lLccd;l()Lcce;intermediary method_48352Lnet/minecraft/class_4861;method_48352()Lnet/minecraft/class_8047;named getForgingSlotsManagerLnet/minecraft/screen/ForgingScreenHandler;getForgingSlotsManager()Lnet/minecraft/screen/slot/ForgingSlotsManager;
-
canUse
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
canUsein classForgingScreenHandler- Mappings:
Namespace Name Mixin selector official aLccd;a(Ldbq;)Zintermediary method_24925Lnet/minecraft/class_4861;method_24925(Lnet/minecraft/class_2680;)Znamed canUseLnet/minecraft/screen/ForgingScreenHandler;canUse(Lnet/minecraft/block/BlockState;)Z
-
canTakeOutput
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
canTakeOutputin classForgingScreenHandler- Mappings:
Namespace Name Mixin selector official aLccd;a(Lbym;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
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
onTakeOutputin classForgingScreenHandler- Mappings:
Namespace Name Mixin selector official aLccd;a(Lbym;Lcfv;)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) Deprecated, for removal: This API element is subject to removal in a future version.- Mappings:
Namespace Name Mixin selector official eLccg;e(I)Vintermediary method_48383Lnet/minecraft/class_8050;method_48383(I)Vnamed decrementStackLnet/minecraft/screen/LegacySmithingScreenHandler;decrementStack(I)V
-
updateResult
public void updateResult()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
updateResultin classForgingScreenHandler- Mappings:
Namespace Name Mixin selector official mLccd;m()Vintermediary method_24928Lnet/minecraft/class_4861;method_24928()Vnamed updateResultLnet/minecraft/screen/ForgingScreenHandler;updateResult()V
-
getSlotFor
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getSlotForin classForgingScreenHandler- Mappings:
Namespace Name Mixin selector official dLccd;d(Lcfv;)Iintermediary method_48357Lnet/minecraft/class_4861;method_48357(Lnet/minecraft/class_1799;)Inamed getSlotForLnet/minecraft/screen/ForgingScreenHandler;getSlotFor(Lnet/minecraft/item/ItemStack;)I
-
testAddition
Deprecated, for removal: This API element is subject to removal in a future version.- Mappings:
Namespace Name Mixin selector official eLccg;e(Lcfv;)Zintermediary method_48384Lnet/minecraft/class_8050;method_48384(Lnet/minecraft/class_1799;)Znamed testAdditionLnet/minecraft/screen/LegacySmithingScreenHandler;testAddition(Lnet/minecraft/item/ItemStack;)Z
-
canInsertIntoSlot
Deprecated, for removal: This API element is subject to removal in a future version.Returns whetherstackcan be inserted toslot.Subclasses should override this to return
falseif the slot is used for output.- Overrides:
canInsertIntoSlotin classScreenHandler- Returns:
- whether
stackcan be inserted toslot - Mappings:
Namespace Name Mixin selector official aLcbd;a(Lcfv;Lccw;)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
-