Package net.minecraft.screen
Class AnvilScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.ForgingScreenHandler
net.minecraft.screen.AnvilScreenHandler
- Mappings:
Namespace Name official cbf
intermediary net/minecraft/class_1706
named net/minecraft/screen/AnvilScreenHandler
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final int
static final int
private static final boolean
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
static final int
static final int
static final int
private final Property
private static final Logger
private String
private int
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
ConstructorDescriptionAnvilScreenHandler
(int syncId, PlayerInventory inventory) AnvilScreenHandler
(int syncId, PlayerInventory inventory, ScreenHandlerContext context) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canTakeOutput
(PlayerEntity player, boolean present) protected boolean
canUse
(BlockState state) protected ForgingSlotsManager
int
static int
getNextCost
(int cost) protected void
onTakeOutput
(PlayerEntity player, ItemStack stack) void
setNewItemName
(String newItemName) void
Methods inherited from class net.minecraft.screen.ForgingScreenHandler
canUse, getResultSlotIndex, getSlotFor, isValidIngredient, onClosed, onContentChanged, quickMove
Methods inherited from class net.minecraft.screen.ScreenHandler
addListener, addProperties, addProperty, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, 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_41898
public static final int field_41898- See Also:
- Mappings:
Namespace Name Mixin selector official k
Lcbf;k:I
intermediary field_41898
Lnet/minecraft/class_1706;field_41898:I
named field_41898
Lnet/minecraft/screen/AnvilScreenHandler;field_41898:I
-
field_41899
public static final int field_41899- See Also:
- Mappings:
Namespace Name Mixin selector official l
Lcbf;l:I
intermediary field_41899
Lnet/minecraft/class_1706;field_41899:I
named field_41899
Lnet/minecraft/screen/AnvilScreenHandler;field_41899:I
-
field_41900
public static final int field_41900- See Also:
- Mappings:
Namespace Name Mixin selector official m
Lcbf;m:I
intermediary field_41900
Lnet/minecraft/class_1706;field_41900:I
named field_41900
Lnet/minecraft/screen/AnvilScreenHandler;field_41900:I
-
LOGGER
- Mappings:
Namespace Name Mixin selector official s
Lcbf;s:Lorg/slf4j/Logger;
intermediary field_7771
Lnet/minecraft/class_1706;field_7771:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/screen/AnvilScreenHandler;LOGGER:Lorg/slf4j/Logger;
-
field_30752
private static final boolean field_30752- See Also:
- Mappings:
Namespace Name Mixin selector official t
Lcbf;t:Z
intermediary field_30752
Lnet/minecraft/class_1706;field_30752:Z
named field_30752
Lnet/minecraft/screen/AnvilScreenHandler;field_30752:Z
-
field_30751
public static final int field_30751- See Also:
- Mappings:
Namespace Name Mixin selector official n
Lcbf;n:I
intermediary field_30751
Lnet/minecraft/class_1706;field_30751:I
named field_30751
Lnet/minecraft/screen/AnvilScreenHandler;field_30751:I
-
field_30753
private static final int field_30753- See Also:
- Mappings:
Namespace Name Mixin selector official x
Lcbf;x:I
intermediary field_30753
Lnet/minecraft/class_1706;field_30753:I
named field_30753
Lnet/minecraft/screen/AnvilScreenHandler;field_30753:I
-
field_30754
private static final int field_30754- See Also:
- Mappings:
Namespace Name Mixin selector official y
Lcbf;y:I
intermediary field_30754
Lnet/minecraft/class_1706;field_30754:I
named field_30754
Lnet/minecraft/screen/AnvilScreenHandler;field_30754:I
-
field_30755
private static final int field_30755- See Also:
- Mappings:
Namespace Name Mixin selector official z
Lcbf;z:I
intermediary field_30755
Lnet/minecraft/class_1706;field_30755:I
named field_30755
Lnet/minecraft/screen/AnvilScreenHandler;field_30755:I
-
field_30747
private static final int field_30747- See Also:
- Mappings:
Namespace Name Mixin selector official A
Lcbf;A:I
intermediary field_30747
Lnet/minecraft/class_1706;field_30747:I
named field_30747
Lnet/minecraft/screen/AnvilScreenHandler;field_30747:I
-
field_30748
private static final int field_30748- See Also:
- Mappings:
Namespace Name Mixin selector official B
Lcbf;B:I
intermediary field_30748
Lnet/minecraft/class_1706;field_30748:I
named field_30748
Lnet/minecraft/screen/AnvilScreenHandler;field_30748:I
-
field_30749
private static final int field_30749- See Also:
- Mappings:
Namespace Name Mixin selector official C
Lcbf;C:I
intermediary field_30749
Lnet/minecraft/class_1706;field_30749:I
named field_30749
Lnet/minecraft/screen/AnvilScreenHandler;field_30749:I
-
field_30750
private static final int field_30750- See Also:
- Mappings:
Namespace Name Mixin selector official D
Lcbf;D:I
intermediary field_30750
Lnet/minecraft/class_1706;field_30750:I
named field_30750
Lnet/minecraft/screen/AnvilScreenHandler;field_30750:I
-
field_41894
private static final int field_41894- See Also:
- Mappings:
Namespace Name Mixin selector official E
Lcbf;E:I
intermediary field_41894
Lnet/minecraft/class_1706;field_41894:I
named field_41894
Lnet/minecraft/screen/AnvilScreenHandler;field_41894:I
-
field_41895
private static final int field_41895- See Also:
- Mappings:
Namespace Name Mixin selector official F
Lcbf;F:I
intermediary field_41895
Lnet/minecraft/class_1706;field_41895:I
named field_41895
Lnet/minecraft/screen/AnvilScreenHandler;field_41895:I
-
field_41896
private static final int field_41896- See Also:
- Mappings:
Namespace Name Mixin selector official G
Lcbf;G:I
intermediary field_41896
Lnet/minecraft/class_1706;field_41896:I
named field_41896
Lnet/minecraft/screen/AnvilScreenHandler;field_41896:I
-
field_41897
private static final int field_41897- See Also:
- Mappings:
Namespace Name Mixin selector official H
Lcbf;H:I
intermediary field_41897
Lnet/minecraft/class_1706;field_41897:I
named field_41897
Lnet/minecraft/screen/AnvilScreenHandler;field_41897:I
-
repairItemUsage
private int repairItemUsage- Mappings:
Namespace Name Mixin selector official u
Lcbf;u:I
intermediary field_7776
Lnet/minecraft/class_1706;field_7776:I
named repairItemUsage
Lnet/minecraft/screen/AnvilScreenHandler;repairItemUsage:I
-
newItemName
- Mappings:
Namespace Name Mixin selector official v
Lcbf;v:Ljava/lang/String;
intermediary field_7774
Lnet/minecraft/class_1706;field_7774:Ljava/lang/String;
named newItemName
Lnet/minecraft/screen/AnvilScreenHandler;newItemName:Ljava/lang/String;
-
levelCost
- Mappings:
Namespace Name Mixin selector official w
Lcbf;w:Lcbt;
intermediary field_7770
Lnet/minecraft/class_1706;field_7770:Lnet/minecraft/class_3915;
named levelCost
Lnet/minecraft/screen/AnvilScreenHandler;levelCost:Lnet/minecraft/screen/Property;
-
-
Constructor Details
-
AnvilScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>
Lcbf;<init>(ILbyl;)V
intermediary <init>
Lnet/minecraft/class_1706;<init>(ILnet/minecraft/class_1661;)V
named <init>
Lnet/minecraft/screen/AnvilScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;)V
-
AnvilScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>
Lcbf;<init>(ILbyl;Lcbo;)V
intermediary <init>
Lnet/minecraft/class_1706;<init>(ILnet/minecraft/class_1661;Lnet/minecraft/class_3914;)V
named <init>
Lnet/minecraft/screen/AnvilScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/screen/ScreenHandlerContext;)V
-
-
Method Details
-
getForgingSlotsManager
- 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
- 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
- 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
- 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
-
updateResult
public void updateResult()- 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
-
getNextCost
public static int getNextCost(int cost) - Mappings:
Namespace Name Mixin selector official e
Lcbf;e(I)I
intermediary method_20398
Lnet/minecraft/class_1706;method_20398(I)I
named getNextCost
Lnet/minecraft/screen/AnvilScreenHandler;getNextCost(I)I
-
setNewItemName
- Mappings:
Namespace Name Mixin selector official a
Lcbf;a(Ljava/lang/String;)V
intermediary method_7625
Lnet/minecraft/class_1706;method_7625(Ljava/lang/String;)V
named setNewItemName
Lnet/minecraft/screen/AnvilScreenHandler;setNewItemName(Ljava/lang/String;)V
-
getLevelCost
public int getLevelCost()- Mappings:
Namespace Name Mixin selector official n
Lcbf;n()I
intermediary method_17369
Lnet/minecraft/class_1706;method_17369()I
named getLevelCost
Lnet/minecraft/screen/AnvilScreenHandler;getLevelCost()I
-