类 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 bndintermediary net/minecraft/class_4862named net/minecraft/screen/SmithingScreenHandler
-
-
字段概要
字段 修饰符和类型 字段 说明 private Worldfield_25385private @Nullable SmithingRecipefield_25386private List<SmithingRecipe>field_25668-
从类继承的字段 net.minecraft.screen.ForgingScreenHandler
context, FIRST_INPUT_SLOT_INDEX, input, output, OUTPUT_SLOT_INDEX, player, SECOND_INPUT_SLOT_INDEX
-
从类继承的字段 net.minecraft.screen.ScreenHandler
EMPTY_SPACE_SLOT_INDEX, field_30731, field_30732, field_30733, field_30734, field_30735, field_30736, field_30737, slots, syncId
-
-
构造器概要
构造器 构造器 说明 SmithingScreenHandler(int syncId, PlayerInventory playerInventory)SmithingScreenHandler(int syncId, PlayerInventory playerInventory, ScreenHandlerContext context)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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()-
从类继承的方法 net.minecraft.screen.ForgingScreenHandler
canUse, close, onContentChanged, transferSlot
-
从类继承的方法 net.minecraft.screen.ScreenHandler
addListener, addProperties, addProperty, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertItemIntoSlot, canUse, checkDataCount, checkSize, copySharedSlots, disableSyncing, dropInventory, enableSyncing, endQuickCraft, getCursorStack, getSlot, getStacks, getType, insertItem, onButtonClick, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setCursorStack, setPreviousCursorStack, setPreviousTrackedSlot, setProperty, setStackInSlot, shouldQuickCraftContinue, syncState, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks, updateSyncHandler
-
-
-
-
字段详细资料
-
field_25385
private final World field_25385
- Mappings:
Namespace Name Mixin selector official kLbnd;k:Lbvr;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
@Nullable private @Nullable SmithingRecipe field_25386
- Mappings:
Namespace Name Mixin selector official sLbnd;s:Lbta;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
private final List<SmithingRecipe> field_25668
- Mappings:
Namespace Name Mixin selector official tLbnd;t: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;
-
-
构造器详细资料
-
SmithingScreenHandler
public SmithingScreenHandler(int syncId, PlayerInventory playerInventory)- Mappings:
Namespace Name Mixin selector official <init>Lbnd;<init>(ILbje;)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>Lbnd;<init>(ILbje;Lblw;)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
-
-
方法详细资料
-
canUse
protected boolean canUse(BlockState state)
- 指定者:
canUse在类中ForgingScreenHandler- Mappings:
Namespace Name Mixin selector official aLbml;a(Lcjr;)Zintermediary method_24925Lnet/minecraft/class_4861;method_24925(Lnet/minecraft/class_2680;)Znamed canUseLnet/minecraft/screen/ForgingScreenHandler;canUse(Lnet/minecraft/block/BlockState;)Z
-
canTakeOutput
protected boolean canTakeOutput(PlayerEntity player, boolean present)
- 指定者:
canTakeOutput在类中ForgingScreenHandler- Mappings:
Namespace Name Mixin selector official aLbml;a(Lbjf;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
protected void onTakeOutput(PlayerEntity player, ItemStack stack)
- 指定者:
onTakeOutput在类中ForgingScreenHandler- Mappings:
Namespace Name Mixin selector official aLbml;a(Lbjf;Lbpr;)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 dLbnd;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()
- 指定者:
updateResult在类中ForgingScreenHandler- Mappings:
Namespace Name Mixin selector official iLbml;i()Vintermediary method_24928Lnet/minecraft/class_4861;method_24928()Vnamed updateResultLnet/minecraft/screen/ForgingScreenHandler;updateResult()V
-
method_30025
protected boolean method_30025(ItemStack itemStack)
- 覆盖:
method_30025在类中ForgingScreenHandler- Mappings:
Namespace Name Mixin selector official cLbml;c(Lbpr;)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
public boolean canInsertIntoSlot(ItemStack stack, Slot slot)
- 覆盖:
canInsertIntoSlot在类中ScreenHandler- Mappings:
Namespace Name Mixin selector official aLbll;a(Lbpr;Lbnc;)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
-
-