Package net.minecraft.screen
Class BeaconScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.BeaconScreenHandler
public class BeaconScreenHandler extends ScreenHandler
- Mappings:
Namespace Name official bju
intermediary net/minecraft/class_1704
named net/minecraft/screen/BeaconScreenHandler
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
BeaconScreenHandler.PaymentSlot
-
Field Summary
Fields Modifier and Type Field Description private ScreenHandlerContext
context
private Inventory
payment
private BeaconScreenHandler.PaymentSlot
paymentSlot
private PropertyDelegate
propertyDelegate
Fields inherited from class net.minecraft.screen.ScreenHandler
slots, syncId
-
Constructor Summary
Constructors Constructor Description BeaconScreenHandler(int syncId, Inventory inventory)
BeaconScreenHandler(int syncId, Inventory inventory, PropertyDelegate propertyDelegate, ScreenHandlerContext context)
-
Method Summary
Modifier and Type Method Description boolean
canUse(PlayerEntity player)
void
close(PlayerEntity player)
StatusEffect
getPrimaryEffect()
int
getProperties()
StatusEffect
getSecondaryEffect()
boolean
hasPayment()
void
setEffects(int primaryEffectId, int secondaryEffectId)
void
setProperty(int id, int value)
ItemStack
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, dropInventory, endQuickCraft, getNextActionId, getSlot, getStacks, getType, insertItem, isNotRestricted, onButtonClick, onContentChanged, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setPlayerRestriction, setStackInSlot, shouldQuickCraftContinue, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
payment
- Mappings:
Namespace Name Mixin selector official c
Lbju;c:Lapj;
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 d
Lbju;d:Lbju$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 e
Lbju;e:Lbkc;
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 f
Lbju;f:Lbkb;
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>
Lbju;<init>(ILapj;)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>
Lbju;<init>(ILapj;Lbkb;Lbkc;)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
Lbjr;b(Lbhl;)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
Lbjr;a(Lbhl;)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
Lbjr;a(II)V
intermediary method_7606
Lnet/minecraft/class_1703;method_7606(II)V
named setProperty
Lnet/minecraft/screen/ScreenHandler;setProperty(II)V
-
transferSlot
- Overrides:
transferSlot
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official b
Lbjr;b(Lbhl;I)Lbnv;
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
- Mappings:
Namespace Name Mixin selector official e
Lbju;e()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 f
Lbju;f()Laqn;
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 g
Lbju;g()Laqn;
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
public void setEffects(int primaryEffectId, int secondaryEffectId)- Mappings:
Namespace Name Mixin selector official c
Lbju;c(II)V
intermediary method_17372
Lnet/minecraft/class_1704;method_17372(II)V
named setEffects
Lnet/minecraft/screen/BeaconScreenHandler;setEffects(II)V
-
hasPayment
- Mappings:
Namespace Name Mixin selector official h
Lbju;h()Z
intermediary method_17376
Lnet/minecraft/class_1704;method_17376()Z
named hasPayment
Lnet/minecraft/screen/BeaconScreenHandler;hasPayment()Z
-