Package net.minecraft.screen
Class BeaconScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.BeaconScreenHandler
- Mappings:
Namespace Name official bwp
intermediary net/minecraft/class_1704
named net/minecraft/screen/BeaconScreenHandler
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ScreenHandlerContext
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
private final Inventory
private final BeaconScreenHandler.PaymentSlot
private final PropertyDelegate
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
ConstructorDescriptionBeaconScreenHandler
(int syncId, Inventory inventory) BeaconScreenHandler
(int syncId, Inventory inventory, PropertyDelegate propertyDelegate, ScreenHandlerContext context) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canUse
(PlayerEntity player) void
close
(PlayerEntity player) int
boolean
void
setEffects
(Optional<StatusEffect> primary, Optional<StatusEffect> secondary) void
setProperty
(int id, int value) transferSlot
(PlayerEntity player, int index) 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, onContentChanged, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setCursorStack, setPreviousCursorStack, setPreviousTrackedSlot, setPreviousTrackedSlotMutable, setStackInSlot, shouldQuickCraftContinue, syncState, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks, updateSyncHandler, updateToClient
-
Field Details
-
field_30756
private static final int field_30756- See Also:
- Mappings:
Namespace Name Mixin selector official k
Lbwp;k:I
intermediary field_30756
Lnet/minecraft/class_1704;field_30756:I
named field_30756
Lnet/minecraft/screen/BeaconScreenHandler;field_30756:I
-
field_30757
private static final int field_30757- See Also:
- Mappings:
Namespace Name Mixin selector official l
Lbwp;l:I
intermediary field_30757
Lnet/minecraft/class_1704;field_30757:I
named field_30757
Lnet/minecraft/screen/BeaconScreenHandler;field_30757:I
-
field_30758
private static final int field_30758- See Also:
- Mappings:
Namespace Name Mixin selector official m
Lbwp;m:I
intermediary field_30758
Lnet/minecraft/class_1704;field_30758:I
named field_30758
Lnet/minecraft/screen/BeaconScreenHandler;field_30758:I
-
field_30759
private static final int field_30759- See Also:
- Mappings:
Namespace Name Mixin selector official n
Lbwp;n:I
intermediary field_30759
Lnet/minecraft/class_1704;field_30759:I
named field_30759
Lnet/minecraft/screen/BeaconScreenHandler;field_30759:I
-
field_30760
private static final int field_30760- See Also:
- Mappings:
Namespace Name Mixin selector official o
Lbwp;o:I
intermediary field_30760
Lnet/minecraft/class_1704;field_30760:I
named field_30760
Lnet/minecraft/screen/BeaconScreenHandler;field_30760:I
-
field_30761
private static final int field_30761- See Also:
- Mappings:
Namespace Name Mixin selector official p
Lbwp;p:I
intermediary field_30761
Lnet/minecraft/class_1704;field_30761:I
named field_30761
Lnet/minecraft/screen/BeaconScreenHandler;field_30761:I
-
field_30762
private static final int field_30762- See Also:
- Mappings:
Namespace Name Mixin selector official q
Lbwp;q:I
intermediary field_30762
Lnet/minecraft/class_1704;field_30762:I
named field_30762
Lnet/minecraft/screen/BeaconScreenHandler;field_30762:I
-
payment
- Mappings:
Namespace Name Mixin selector official r
Lbwp;r:Lbac;
intermediary field_17287
Lnet/minecraft/class_1704;field_17287:Lnet/minecraft/class_1263;
named payment
Lnet/minecraft/screen/BeaconScreenHandler;payment:Lnet/minecraft/inventory/Inventory;
-
paymentSlot
- Mappings:
Namespace Name Mixin selector official s
Lbwp;s:Lbwp$a;
intermediary field_17288
Lnet/minecraft/class_1704;field_17288:Lnet/minecraft/class_1704$class_1705;
named paymentSlot
Lnet/minecraft/screen/BeaconScreenHandler;paymentSlot:Lnet/minecraft/screen/BeaconScreenHandler$PaymentSlot;
-
context
- Mappings:
Namespace Name Mixin selector official t
Lbwp;t:Lbwx;
intermediary field_17289
Lnet/minecraft/class_1704;field_17289:Lnet/minecraft/class_3914;
named context
Lnet/minecraft/screen/BeaconScreenHandler;context:Lnet/minecraft/screen/ScreenHandlerContext;
-
propertyDelegate
- Mappings:
Namespace Name Mixin selector official u
Lbwp;u:Lbww;
intermediary field_17290
Lnet/minecraft/class_1704;field_17290:Lnet/minecraft/class_3913;
named propertyDelegate
Lnet/minecraft/screen/BeaconScreenHandler;propertyDelegate:Lnet/minecraft/screen/PropertyDelegate;
-
-
Constructor Details
-
BeaconScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>
Lbwp;<init>(ILbac;)V
intermediary <init>
Lnet/minecraft/class_1704;<init>(ILnet/minecraft/class_1263;)V
named <init>
Lnet/minecraft/screen/BeaconScreenHandler;<init>(ILnet/minecraft/inventory/Inventory;)V
-
BeaconScreenHandler
public BeaconScreenHandler(int syncId, Inventory inventory, PropertyDelegate propertyDelegate, ScreenHandlerContext context) - Mappings:
Namespace Name Mixin selector official <init>
Lbwp;<init>(ILbac;Lbww;Lbwx;)V
intermediary <init>
Lnet/minecraft/class_1704;<init>(ILnet/minecraft/class_1263;Lnet/minecraft/class_3913;Lnet/minecraft/class_3914;)V
named <init>
Lnet/minecraft/screen/BeaconScreenHandler;<init>(ILnet/minecraft/inventory/Inventory;Lnet/minecraft/screen/PropertyDelegate;Lnet/minecraft/screen/ScreenHandlerContext;)V
-
-
Method Details
-
close
- Overrides:
close
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official b
Lbwm;b(Lbuc;)V
intermediary method_7595
Lnet/minecraft/class_1703;method_7595(Lnet/minecraft/class_1657;)V
named close
Lnet/minecraft/screen/ScreenHandler;close(Lnet/minecraft/entity/player/PlayerEntity;)V
-
canUse
- Specified by:
canUse
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbwm;a(Lbuc;)Z
intermediary method_7597
Lnet/minecraft/class_1703;method_7597(Lnet/minecraft/class_1657;)Z
named canUse
Lnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
setProperty
public void setProperty(int id, int value) - Overrides:
setProperty
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbwm;a(II)V
intermediary method_7606
Lnet/minecraft/class_1703;method_7606(II)V
named setProperty
Lnet/minecraft/screen/ScreenHandler;setProperty(II)V
-
transferSlot
- Specified by:
transferSlot
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbwm;a(Lbuc;I)Lcax;
intermediary method_7601
Lnet/minecraft/class_1703;method_7601(Lnet/minecraft/class_1657;I)Lnet/minecraft/class_1799;
named transferSlot
Lnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
-
getProperties
public int getProperties()- Mappings:
Namespace Name Mixin selector official l
Lbwp;l()I
intermediary method_17373
Lnet/minecraft/class_1704;method_17373()I
named getProperties
Lnet/minecraft/screen/BeaconScreenHandler;getProperties()I
-
getPrimaryEffect
- Mappings:
Namespace Name Mixin selector official m
Lbwp;m()Lbbe;
intermediary method_17374
Lnet/minecraft/class_1704;method_17374()Lnet/minecraft/class_1291;
named getPrimaryEffect
Lnet/minecraft/screen/BeaconScreenHandler;getPrimaryEffect()Lnet/minecraft/entity/effect/StatusEffect;
-
getSecondaryEffect
- Mappings:
Namespace Name Mixin selector official n
Lbwp;n()Lbbe;
intermediary method_17375
Lnet/minecraft/class_1704;method_17375()Lnet/minecraft/class_1291;
named getSecondaryEffect
Lnet/minecraft/screen/BeaconScreenHandler;getSecondaryEffect()Lnet/minecraft/entity/effect/StatusEffect;
-
setEffects
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Ljava/util/Optional;Ljava/util/Optional;)V
intermediary method_17372
Lnet/minecraft/class_1704;method_17372(Ljava/util/Optional;Ljava/util/Optional;)V
named setEffects
Lnet/minecraft/screen/BeaconScreenHandler;setEffects(Ljava/util/Optional;Ljava/util/Optional;)V
-
hasPayment
public boolean hasPayment()- Mappings:
Namespace Name Mixin selector official o
Lbwp;o()Z
intermediary method_17376
Lnet/minecraft/class_1704;method_17376()Z
named hasPayment
Lnet/minecraft/screen/BeaconScreenHandler;hasPayment()Z
-