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 bkointermediary net/minecraft/class_1704named net/minecraft/screen/BeaconScreenHandler
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) classBeaconScreenHandler.PaymentSlot -
Field Summary
Fields Modifier and Type Field Description private ScreenHandlerContextcontextprivate Inventorypaymentprivate BeaconScreenHandler.PaymentSlotpaymentSlotprivate PropertyDelegatepropertyDelegateFields 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 booleancanUse(PlayerEntity player)voidclose(PlayerEntity playerEntity)@Nullable StatusEffectgetPrimaryEffect()intgetProperties()@Nullable StatusEffectgetSecondaryEffect()booleanhasPayment()voidsetEffects(int primaryEffectId, int secondaryEffectId)voidsetProperty(int id, int value)ItemStacktransferSlot(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, getSlot, getStacks, getType, insertItem, method_34245, method_34247, method_34248, method_34250, method_34252, method_34254, method_34255, method_34256, method_34257, onButtonClick, onContentChanged, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setStackInSlot, shouldQuickCraftContinue, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
payment
- Mappings:
Namespace Name Mixin selector official cLbko;c:Laqc;intermediary field_17287Lnet/minecraft/class_1704;field_17287:Lnet/minecraft/class_1263;named paymentLnet/minecraft/screen/BeaconScreenHandler;payment:Lnet/minecraft/inventory/Inventory;
-
paymentSlot
- Mappings:
Namespace Name Mixin selector official dLbko;d:Lbko$a;intermediary field_17288Lnet/minecraft/class_1704;field_17288:Lnet/minecraft/class_1704$class_1705;named paymentSlotLnet/minecraft/screen/BeaconScreenHandler;paymentSlot:Lnet/minecraft/screen/BeaconScreenHandler$PaymentSlot;
-
context
- Mappings:
Namespace Name Mixin selector official eLbko;e:Lbkw;intermediary field_17289Lnet/minecraft/class_1704;field_17289:Lnet/minecraft/class_3914;named contextLnet/minecraft/screen/BeaconScreenHandler;context:Lnet/minecraft/screen/ScreenHandlerContext;
-
propertyDelegate
- Mappings:
Namespace Name Mixin selector official fLbko;f:Lbkv;intermediary field_17290Lnet/minecraft/class_1704;field_17290:Lnet/minecraft/class_3913;named propertyDelegateLnet/minecraft/screen/BeaconScreenHandler;propertyDelegate:Lnet/minecraft/screen/PropertyDelegate;
-
-
Constructor Details
-
BeaconScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>Lbko;<init>(ILaqc;)Vintermediary <init>Lnet/minecraft/class_1704;<init>(ILnet/minecraft/class_1263;)Vnamed <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>Lbko;<init>(ILaqc;Lbkv;Lbkw;)Vintermediary <init>Lnet/minecraft/class_1704;<init>(ILnet/minecraft/class_1263;Lnet/minecraft/class_3913;Lnet/minecraft/class_3914;)Vnamed <init>Lnet/minecraft/screen/BeaconScreenHandler;<init>(ILnet/minecraft/inventory/Inventory;Lnet/minecraft/screen/PropertyDelegate;Lnet/minecraft/screen/ScreenHandlerContext;)V
-
-
Method Details
-
close
- Overrides:
closein classScreenHandler- Mappings:
Namespace Name Mixin selector official bLbkl;b(Lbif;)Vintermediary method_7595Lnet/minecraft/class_1703;method_7595(Lnet/minecraft/class_1657;)Vnamed closeLnet/minecraft/screen/ScreenHandler;close(Lnet/minecraft/entity/player/PlayerEntity;)V
-
canUse
- Specified by:
canUsein classScreenHandler- Mappings:
Namespace Name Mixin selector official aLbkl;a(Lbif;)Zintermediary method_7597Lnet/minecraft/class_1703;method_7597(Lnet/minecraft/class_1657;)Znamed canUseLnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
setProperty
public void setProperty(int id, int value)- Overrides:
setPropertyin classScreenHandler- Mappings:
Namespace Name Mixin selector official aLbkl;a(II)Vintermediary method_7606Lnet/minecraft/class_1703;method_7606(II)Vnamed setPropertyLnet/minecraft/screen/ScreenHandler;setProperty(II)V
-
transferSlot
- Overrides:
transferSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLbkl;b(Lbif;I)Lboq;intermediary method_7601Lnet/minecraft/class_1703;method_7601(Lnet/minecraft/class_1657;I)Lnet/minecraft/class_1799;named transferSlotLnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
-
getProperties
- Mappings:
Namespace Name Mixin selector official iLbko;i()Iintermediary method_17373Lnet/minecraft/class_1704;method_17373()Inamed getPropertiesLnet/minecraft/screen/BeaconScreenHandler;getProperties()I
-
getPrimaryEffect
- Mappings:
Namespace Name Mixin selector official jLbko;j()Larg;intermediary method_17374Lnet/minecraft/class_1704;method_17374()Lnet/minecraft/class_1291;named getPrimaryEffectLnet/minecraft/screen/BeaconScreenHandler;getPrimaryEffect()Lnet/minecraft/entity/effect/StatusEffect;
-
getSecondaryEffect
- Mappings:
Namespace Name Mixin selector official kLbko;k()Larg;intermediary method_17375Lnet/minecraft/class_1704;method_17375()Lnet/minecraft/class_1291;named getSecondaryEffectLnet/minecraft/screen/BeaconScreenHandler;getSecondaryEffect()Lnet/minecraft/entity/effect/StatusEffect;
-
setEffects
public void setEffects(int primaryEffectId, int secondaryEffectId)- Mappings:
Namespace Name Mixin selector official cLbko;c(II)Vintermediary method_17372Lnet/minecraft/class_1704;method_17372(II)Vnamed setEffectsLnet/minecraft/screen/BeaconScreenHandler;setEffects(II)V
-
hasPayment
- Mappings:
Namespace Name Mixin selector official lLbko;l()Zintermediary method_17376Lnet/minecraft/class_1704;method_17376()Znamed hasPaymentLnet/minecraft/screen/BeaconScreenHandler;hasPayment()Z
-