public class SmithingScreenHandler extends ForgingScreenHandler
| Modifier and Type | Field and Description |
|---|---|
private World |
field_25385 |
private SmithingRecipe |
field_25386 |
context, input, output, playerslots, syncId| Constructor and Description |
|---|
SmithingScreenHandler(int syncId,
PlayerInventory playerInventory) |
SmithingScreenHandler(int syncId,
PlayerInventory playerInventory,
ScreenHandlerContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canTakeOutput(PlayerEntity player,
boolean present) |
protected boolean |
canUse(BlockState state) |
private void |
method_29539(int int2) |
protected ItemStack |
onTakeOutput(PlayerEntity player,
ItemStack stack) |
void |
updateResult() |
canUse, close, onContentChanged, transferSlotaddListener, addProperties, addProperty, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertIntoSlot, canInsertItemIntoSlot, canStacksCombine, canUse, checkDataCount, checkSize, dropInventory, endQuickCraft, getNextActionId, getSlot, getStacks, getType, insertItem, isNotRestricted, onButtonClick, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacksprivate final World field_25385
@Nullable private SmithingRecipe field_25386
public SmithingScreenHandler(int syncId,
PlayerInventory playerInventory)
public SmithingScreenHandler(int syncId,
PlayerInventory playerInventory,
ScreenHandlerContext context)
protected boolean canUse(BlockState state)
canUse in class ForgingScreenHandlerprotected boolean canTakeOutput(PlayerEntity player, boolean present)
canTakeOutput in class ForgingScreenHandlerprotected ItemStack onTakeOutput(PlayerEntity player, ItemStack stack)
onTakeOutput in class ForgingScreenHandlerprivate void method_29539(int int2)
public void updateResult()
updateResult in class ForgingScreenHandler