net.minecraft.world.inventory

public class BeaconMenu

extends AbstractContainerMenu

cpy
net.minecraft.world.inventory.BeaconMenu
net.minecraft.class_1704
net.minecraft.screen.BeaconScreenHandler
net.minecraft.src.C_1230_
net.minecraft.world.inventory.ContainerBeacon

Field summary

Modifier and TypeField
private static final int
k
PAYMENT_SLOT
field_30756
PAYMENT_SLOT_ID
f_150481_
private static final int
l
SLOT_COUNT
field_30757
BEACON_INVENTORY_SIZE
f_150482_
private static final int
m
DATA_COUNT
field_30758
PROPERTY_COUNT
f_150483_
private static final int
n
INV_SLOT_START
field_30759
INVENTORY_START
f_150484_
private static final int
o
INV_SLOT_END
field_30760
INVENTORY_END
f_150485_
private static final int
p
USE_ROW_SLOT_START
field_30761
HOTBAR_START
f_150486_
private static final int
q
USE_ROW_SLOT_END
field_30762
HOTBAR_END
f_150487_
private static final int
r
NO_EFFECT
field_45758
field_45758
f_290935_
private final Container
s
beacon
field_17287
payment
f_39031_
private final BeaconMenu$PaymentSlot
t
paymentSlot
field_17288
paymentSlot
f_39032_
private final ContainerLevelAccess
u
access
field_17289
context
f_39033_
private final ContainerData
v
beaconData
field_17290
propertyDelegate
f_39034_

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(cmx arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
onClosed(PlayerEntity arg0)
m_6877_(C_1141_ arg0)
public boolean
b(cmx arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
m_6875_(C_1141_ arg0)
public void
a(int arg0, int arg1)
setData(int arg0, int arg1)
method_7606(int arg0, int arg1)
setProperty(int arg0, int arg1)
m_7511_(int p_39045_, int arg1)
public ItemStack
b(cmx arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
m_7648_(C_1141_ p_39052_, int arg1)
public int
l()
getLevels()
method_17373()
getProperties()
m_39056_()
public static int
a(jm<brx> arg0)
encodeEffect(Holder<MobEffect> arg0)
method_53173(class_6880<class_1291> arg0)
getRawIdForStatusEffect(RegistryEntry<StatusEffect> effect)
m_295215_(C_203228_<C_496_> p_334357_)
public static Holder<MobEffect>
e(int arg0)
decodeEffect(int arg0)
method_53174(int arg0)
getStatusEffectForRawId(int id)
m_294609_(int p_297542_)
public Holder<MobEffect>
m()
getPrimaryEffect()
method_17374()
getPrimaryEffect()
m_39057_()
public Holder<MobEffect>
n()
getSecondaryEffect()
method_17375()
getSecondaryEffect()
m_39058_()
public void
a(Optional<jm<brx>> arg0, Optional<jm<brx>> 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)
m_219972_(Optional<C_203228_<C_496_>> p_219974_, Optional<C_203228_<C_496_>> arg1)
public boolean
o()
hasPayment()
method_17376()
hasPayment()
m_39059_()