类 BeaconScreenHandler
- java.lang.Object
-
- net.minecraft.screen.ScreenHandler
-
- net.minecraft.screen.BeaconScreenHandler
-
public class BeaconScreenHandler extends ScreenHandler
- Mappings:
Namespace Name official blointermediary net/minecraft/class_1704named net/minecraft/screen/BeaconScreenHandler
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 (专用程序包) classBeaconScreenHandler.PaymentSlot
-
字段概要
字段 修饰符和类型 字段 说明 private ScreenHandlerContextcontextprivate static intfield_30756private static intfield_30757private static intfield_30758private static intfield_30759private static intfield_30760private static intfield_30761private static intfield_30762private Inventorypaymentprivate BeaconScreenHandler.PaymentSlotpaymentSlotprivate PropertyDelegatepropertyDelegate-
从类继承的字段 net.minecraft.screen.ScreenHandler
EMPTY_SPACE_SLOT_INDEX, field_30731, field_30732, field_30733, field_30734, field_30735, field_30736, field_30737, slots, syncId
-
-
构造器概要
构造器 构造器 说明 BeaconScreenHandler(int syncId, Inventory inventory)BeaconScreenHandler(int syncId, Inventory inventory, PropertyDelegate propertyDelegate, ScreenHandlerContext context)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanUse(PlayerEntity player)voidclose(PlayerEntity player)@Nullable StatusEffectgetPrimaryEffect()intgetProperties()@Nullable StatusEffectgetSecondaryEffect()booleanhasPayment()voidsetEffects(int primaryEffectId, int secondaryEffectId)voidsetProperty(int id, int value)ItemStacktransferSlot(PlayerEntity player, int index)-
从类继承的方法 net.minecraft.screen.ScreenHandler
addListener, addProperties, addProperty, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertIntoSlot, canInsertItemIntoSlot, canUse, checkDataCount, checkSize, copySharedSlots, disableSyncing, dropInventory, enableSyncing, endQuickCraft, getCursorStack, getSlot, getStacks, getType, insertItem, onButtonClick, onContentChanged, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setCursorStack, setPreviousCursorStack, setPreviousTrackedSlot, setStackInSlot, shouldQuickCraftContinue, syncState, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks, updateSyncHandler
-
-
-
-
字段详细资料
-
field_30756
private static final int field_30756
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official kLblo;k:Iintermediary field_30756Lnet/minecraft/class_1704;field_30756:Inamed field_30756Lnet/minecraft/screen/BeaconScreenHandler;field_30756:I
-
field_30757
private static final int field_30757
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official lLblo;l:Iintermediary field_30757Lnet/minecraft/class_1704;field_30757:Inamed field_30757Lnet/minecraft/screen/BeaconScreenHandler;field_30757:I
-
field_30758
private static final int field_30758
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official mLblo;m:Iintermediary field_30758Lnet/minecraft/class_1704;field_30758:Inamed field_30758Lnet/minecraft/screen/BeaconScreenHandler;field_30758:I
-
field_30759
private static final int field_30759
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official nLblo;n:Iintermediary field_30759Lnet/minecraft/class_1704;field_30759:Inamed field_30759Lnet/minecraft/screen/BeaconScreenHandler;field_30759:I
-
field_30760
private static final int field_30760
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official oLblo;o:Iintermediary field_30760Lnet/minecraft/class_1704;field_30760:Inamed field_30760Lnet/minecraft/screen/BeaconScreenHandler;field_30760:I
-
field_30761
private static final int field_30761
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official pLblo;p:Iintermediary field_30761Lnet/minecraft/class_1704;field_30761:Inamed field_30761Lnet/minecraft/screen/BeaconScreenHandler;field_30761:I
-
field_30762
private static final int field_30762
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official qLblo;q:Iintermediary field_30762Lnet/minecraft/class_1704;field_30762:Inamed field_30762Lnet/minecraft/screen/BeaconScreenHandler;field_30762:I
-
payment
private final Inventory payment
- Mappings:
Namespace Name Mixin selector official rLblo;r:Laqz;intermediary field_17287Lnet/minecraft/class_1704;field_17287:Lnet/minecraft/class_1263;named paymentLnet/minecraft/screen/BeaconScreenHandler;payment:Lnet/minecraft/inventory/Inventory;
-
paymentSlot
private final BeaconScreenHandler.PaymentSlot paymentSlot
- Mappings:
Namespace Name Mixin selector official sLblo;s:Lblo$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
private final ScreenHandlerContext context
- Mappings:
Namespace Name Mixin selector official tLblo;t:Lblw;intermediary field_17289Lnet/minecraft/class_1704;field_17289:Lnet/minecraft/class_3914;named contextLnet/minecraft/screen/BeaconScreenHandler;context:Lnet/minecraft/screen/ScreenHandlerContext;
-
propertyDelegate
private final PropertyDelegate propertyDelegate
- Mappings:
Namespace Name Mixin selector official uLblo;u:Lblv;intermediary field_17290Lnet/minecraft/class_1704;field_17290:Lnet/minecraft/class_3913;named propertyDelegateLnet/minecraft/screen/BeaconScreenHandler;propertyDelegate:Lnet/minecraft/screen/PropertyDelegate;
-
-
构造器详细资料
-
BeaconScreenHandler
public BeaconScreenHandler(int syncId, Inventory inventory)- Mappings:
Namespace Name Mixin selector official <init>Lblo;<init>(ILaqz;)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>Lblo;<init>(ILaqz;Lblv;Lblw;)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
-
-
方法详细资料
-
close
public void close(PlayerEntity player)
- 覆盖:
close在类中ScreenHandler- Mappings:
Namespace Name Mixin selector official bLbll;b(Lbjf;)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
public boolean canUse(PlayerEntity player)
- 指定者:
canUse在类中ScreenHandler- Mappings:
Namespace Name Mixin selector official aLbll;a(Lbjf;)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)- 覆盖:
setProperty在类中ScreenHandler- Mappings:
Namespace Name Mixin selector official aLbll;a(II)Vintermediary method_7606Lnet/minecraft/class_1703;method_7606(II)Vnamed setPropertyLnet/minecraft/screen/ScreenHandler;setProperty(II)V
-
transferSlot
public ItemStack transferSlot(PlayerEntity player, int index)
- 覆盖:
transferSlot在类中ScreenHandler- Mappings:
Namespace Name Mixin selector official bLbll;b(Lbjf;I)Lbpr;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
public int getProperties()
- Mappings:
Namespace Name Mixin selector official iLblo;i()Iintermediary method_17373Lnet/minecraft/class_1704;method_17373()Inamed getPropertiesLnet/minecraft/screen/BeaconScreenHandler;getProperties()I
-
getPrimaryEffect
@Nullable public @Nullable StatusEffect getPrimaryEffect()
- Mappings:
Namespace Name Mixin selector official jLblo;j()Lasd;intermediary method_17374Lnet/minecraft/class_1704;method_17374()Lnet/minecraft/class_1291;named getPrimaryEffectLnet/minecraft/screen/BeaconScreenHandler;getPrimaryEffect()Lnet/minecraft/entity/effect/StatusEffect;
-
getSecondaryEffect
@Nullable public @Nullable StatusEffect getSecondaryEffect()
- Mappings:
Namespace Name Mixin selector official kLblo;k()Lasd;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 cLblo;c(II)Vintermediary method_17372Lnet/minecraft/class_1704;method_17372(II)Vnamed setEffectsLnet/minecraft/screen/BeaconScreenHandler;setEffects(II)V
-
hasPayment
public boolean hasPayment()
- Mappings:
Namespace Name Mixin selector official lLblo;l()Zintermediary method_17376Lnet/minecraft/class_1704;method_17376()Znamed hasPaymentLnet/minecraft/screen/BeaconScreenHandler;hasPayment()Z
-
-