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 ccg
intermediary net/minecraft/class_8050
named net/minecraft/screen/LegacySmithingScreenHandler
-
Field Summary
Modifier and TypeFieldDescriptionprivate @Nullable LegacySmithingRecipe
Deprecated, for removal: This API element is subject to removal in a future version.static final int
Deprecated, for removal: This API element is subject to removal in a future version.static final int
Deprecated, for removal: This API element is subject to removal in a future version.static final int
Deprecated, for removal: This API element is subject to removal in a future version.private static final int
Deprecated, for removal: This API element is subject to removal in a future version.private static final int
Deprecated, for removal: This API element is subject to removal in a future version.private static final int
Deprecated, for removal: This API element is subject to removal in a future version.private static final int
Deprecated, 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 World
Deprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class net.minecraft.screen.ForgingScreenHandler
context, input, output, player
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
ConstructorDescriptionLegacySmithingScreenHandler
(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 TypeMethodDescriptionboolean
canInsertIntoSlot
(ItemStack stack, Slot slot) Deprecated, for removal: This API element is subject to removal in a future version.Returns whetherstack
can be inserted toslot
.protected boolean
canTakeOutput
(PlayerEntity player, boolean present) Deprecated, for removal: This API element is subject to removal in a future version.protected boolean
canUse
(BlockState state) Deprecated, for removal: This API element is subject to removal in a future version.private void
decrementStack
(int slot) Deprecated, for removal: This API element is subject to removal in a future version.protected ForgingSlotsManager
Deprecated, for removal: This API element is subject to removal in a future version.int
getSlotFor
(ItemStack stack) Deprecated, for removal: This API element is subject to removal in a future version.protected void
onTakeOutput
(PlayerEntity player, ItemStack stack) Deprecated, for removal: This API element is subject to removal in a future version.protected boolean
testAddition
(ItemStack stack) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, 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, quickMove
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, 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 k
Lccg;k:I
intermediary field_41912
Lnet/minecraft/class_8050;field_41912:I
named field_41912
Lnet/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 l
Lccg;l:I
intermediary field_41913
Lnet/minecraft/class_8050;field_41913:I
named field_41913
Lnet/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 m
Lccg;m:I
intermediary field_41914
Lnet/minecraft/class_8050;field_41914:I
named field_41914
Lnet/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 s
Lccg;s:I
intermediary field_41916
Lnet/minecraft/class_8050;field_41916:I
named field_41916
Lnet/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 t
Lccg;t:I
intermediary field_41917
Lnet/minecraft/class_8050;field_41917:I
named field_41917
Lnet/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 u
Lccg;u:I
intermediary field_41918
Lnet/minecraft/class_8050;field_41918:I
named field_41918
Lnet/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 v
Lccg;v:I
intermediary field_41919
Lnet/minecraft/class_8050;field_41919:I
named field_41919
Lnet/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 n
Lccg;n:Lcmi;
intermediary field_41915
Lnet/minecraft/class_8050;field_41915:Lnet/minecraft/class_1937;
named world
Lnet/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 w
Lccg;w:Lciv;
intermediary field_41920
Lnet/minecraft/class_8050;field_41920:Lnet/minecraft/class_5357;
named currentRecipe
Lnet/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 x
Lccg;x:Ljava/util/List;
intermediary field_41921
Lnet/minecraft/class_8050;field_41921:Ljava/util/List;
named recipes
Lnet/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;)V
intermediary <init>
Lnet/minecraft/class_8050;<init>(ILnet/minecraft/class_1661;)V
named <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;)V
intermediary <init>
Lnet/minecraft/class_8050;<init>(ILnet/minecraft/class_1661;Lnet/minecraft/class_3914;)V
named <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:
getForgingSlotsManager
in classForgingScreenHandler
- Mappings:
Namespace Name Mixin selector official l
Lccd;l()Lcce;
intermediary method_48352
Lnet/minecraft/class_4861;method_48352()Lnet/minecraft/class_8047;
named getForgingSlotsManager
Lnet/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:
canUse
in classForgingScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lccd;a(Ldbq;)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
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
canTakeOutput
in classForgingScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lccd;a(Lbym;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
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
onTakeOutput
in classForgingScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lccd;a(Lbym;Lcfv;)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
-
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 e
Lccg;e(I)V
intermediary method_48383
Lnet/minecraft/class_8050;method_48383(I)V
named decrementStack
Lnet/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:
updateResult
in classForgingScreenHandler
- Mappings:
Namespace Name Mixin selector official m
Lccd;m()V
intermediary method_24928
Lnet/minecraft/class_4861;method_24928()V
named updateResult
Lnet/minecraft/screen/ForgingScreenHandler;updateResult()V
-
getSlotFor
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getSlotFor
in classForgingScreenHandler
- Mappings:
Namespace Name Mixin selector official d
Lccd;d(Lcfv;)I
intermediary method_48357
Lnet/minecraft/class_4861;method_48357(Lnet/minecraft/class_1799;)I
named getSlotFor
Lnet/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 e
Lccg;e(Lcfv;)Z
intermediary method_48384
Lnet/minecraft/class_8050;method_48384(Lnet/minecraft/class_1799;)Z
named testAddition
Lnet/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 whetherstack
can be inserted toslot
.Subclasses should override this to return
false
if the slot is used for output.- Overrides:
canInsertIntoSlot
in classScreenHandler
- Returns:
- whether
stack
can be inserted toslot
- Mappings:
Namespace Name Mixin selector official a
Lcbd;a(Lcfv;Lccw;)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
-