net.minecraft.world.inventory

public class BeaconMenu

extends AbstractContainerMenu

cth
net.minecraft.world.inventory.BeaconMenu
net.minecraft.class_1704
net.minecraft.screen.BeaconScreenHandler
net.minecraft.world.inventory.ContainerBeacon

Field summary

Modifier and TypeField
private static final int
m
PAYMENT_SLOT
field_30756
PAYMENT_SLOT_ID
private static final int
n
SLOT_COUNT
field_30757
BEACON_INVENTORY_SIZE
private static final int
o
DATA_COUNT
field_30758
PROPERTY_COUNT
private static final int
p
INV_SLOT_START
field_30759
INVENTORY_START
private static final int
q
INV_SLOT_END
field_30760
INVENTORY_END
private static final int
r
USE_ROW_SLOT_START
field_30761
HOTBAR_START
private static final int
s
USE_ROW_SLOT_END
field_30762
HOTBAR_END
private static final int
t
NO_EFFECT
field_45758
field_45758
private final Container
u
beacon
field_17287
payment
private final BeaconMenu$PaymentSlot
v
paymentSlot
field_17288
paymentSlot
private final ContainerLevelAccess
w
access
field_17289
context
private final ContainerData
x
beaconData
field_17290
propertyDelegate

Constructor summary

ModifierConstructor
public (int syncId, Container inventory)
public (int syncId, Container inventory, ContainerData propertyDelegate, ContainerLevelAccess context)

Method summary

Modifier and TypeMethod
public void
a(cpx arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
onClosed(PlayerEntity arg0)
public boolean
b(cpx arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
public void
b(int arg0, int arg1)
setData(int arg0, int arg1)
method_7606(int arg0, int arg1)
setProperty(int arg0, int arg1)
public ItemStack
b(cpx arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
public int
l()
getLevels()
method_17373()
getProperties()
public static int
a(jq<bun> arg0)
encodeEffect(Holder<MobEffect> arg0)
method_53173(class_6880<class_1291> arg0)
getRawIdForStatusEffect(RegistryEntry<StatusEffect> effect)
public static Holder<MobEffect>
e(int arg0)
decodeEffect(int arg0)
method_53174(int arg0)
getStatusEffectForRawId(int id)
public Holder<MobEffect>
m()
getPrimaryEffect()
method_17374()
getPrimaryEffect()
public Holder<MobEffect>
n()
getSecondaryEffect()
method_17375()
getSecondaryEffect()
public void
a(Optional<jq<bun>> arg0, Optional<jq<bun>> arg1)
updateEffects(Optional<Holder<MobEffect>> arg0, Optional<Holder<MobEffect>> arg1)
method_17372(Optional<class_6880<class_1291>> arg0, Optional<class_6880<class_1291>> arg1)
setEffects(Optional<RegistryEntry<StatusEffect>> primary, Optional<RegistryEntry<StatusEffect>> secondary)
public boolean
o()
hasPayment()
method_17376()
hasPayment()