net.minecraft.world.level.block.entity

public class BeaconBlockEntity

extends BlockEntity implements MenuProvider, Nameable

All mapped superinterfaces:

MenuProvider, MenuConstructor, Nameable

dur
net.minecraft.world.level.block.entity.BeaconBlockEntity
net.minecraft.class_2580
net.minecraft.unmapped.C_wwadquuj
net.minecraft.block.entity.BeaconBlockEntity
net.minecraft.block.entity.BeaconBlockEntity
net.minecraft.src.C_1981_
net.minecraft.world.level.block.entity.TileEntityContainer

Field summary

Modifier and TypeField
private static final int
f
MAX_LEVELS
field_31304
f_ryyxokfs
field_31304
MAX_LEVEL
f_155085_
public static final List<List<Holder<MobEffect>>>
a
BEACON_EFFECTS
field_11801
f_rkpllpyn
EFFECTS_BY_LEVEL
EFFECTS_BY_LEVEL
f_58646_
private static final Set<Holder<MobEffect>>
g
VALID_EFFECTS
field_11798
f_gdxyfopa
EFFECTS
EFFECTS
f_58647_
public static final int
b
DATA_LEVELS
field_31300
f_qqcnhnwr
LEVEL_PROPERTY_INDEX
LEVEL_DATA
f_155081_
public static final int
c
DATA_PRIMARY
field_31301
f_mhasxwwh
PRIMARY_PROPERTY_INDEX
PRIMARY_DATA
f_155082_
public static final int
d
DATA_SECONDARY
field_31302
f_pczjddup
SECONDARY_PROPERTY_INDEX
SECONDARY_DATA
f_155083_
public static final int
e
NUM_DATA_VALUES
field_31303
f_iespktor
PROPERTY_COUNT
DATA_VALUES
f_155084_
private static final int
h
BLOCKS_CHECK_PER_TICK
field_31305
f_noizsupm
field_31305
CHECKED_BLOCKS_PER_TICK
f_155086_
private static final Component
i
DEFAULT_NAME
field_40328
f_xgrxgnhp
CONTAINER_NAME_TEXT
TITLE
f_243996_
private static final String
j
TAG_PRIMARY
field_45784
f_bjgypucn
PRIMARY_EFFECT_NBT_KEY
PRIMARY_EFFECT_KEY
f_291334_
private static final String
k
TAG_SECONDARY
field_45785
f_lcbehrid
SECONDARY_EFFECT_NBT_KEY
SECONDARY_EFFECT_KEY
f_291760_
List<BeaconBlockEntity$BeaconBeamSection>
l
beamSections
field_19177
f_fjwoaamy
beamSegments
beamSegments
f_58648_
private List<BeaconBlockEntity$BeaconBeamSection>
m
checkingBeamSections
field_19178
f_ugyhjati
field_19178
beamSegmentsToCheck
f_58649_
int
n
levels
field_11803
f_bppowtht
level
level
f_58650_
private int
r
lastCheckY
field_19179
f_olqmkzcd
minY
minY
f_58651_
Holder<MobEffect>
s
primaryPower
field_11795
f_qtfjebrg
primary
primary
f_58652_
Holder<MobEffect>
t
secondaryPower
field_11799
f_zsuppjvr
secondary
secondary
f_58653_
private Component
u
name
field_11793
f_galoemma
customName
customName
f_58654_
private LockCode
v
lockKey
field_17377
f_wgjgzhjw
lock
lock
f_58655_
private final ContainerData
w
dataAccess
field_17378
f_fvmnfejs
propertyDelegate
propertyDelegate
f_58656_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
static Holder<MobEffect>
a(jq<bum> arg0)
filterEffect(Holder<MobEffect> arg0)
method_53251(class_6880<class_1291> arg0)
m_jlfysuud(C_cjzoxshv<C_jaqasomh> arg0)
getEffectOrNull(RegistryEntry<StatusEffect> effect)
validate(Holder<StatusEffect> statusEffect)
m_294441_(C_203228_<C_496_> p_330198_)
public static void
a(dhh arg0, jh arg1, dxu arg2, dur arg3)
tick(Level arg0, BlockPos arg1, BlockState arg2, BeaconBlockEntity arg3)
method_16896(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2580 arg3)
m_dgttzgkz(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_wwadquuj arg3)
tick(World world, BlockPos pos, BlockState state, BeaconBlockEntity blockEntity)
tick(World world, BlockPos pos, BlockState state, BeaconBlockEntity blockEntity)
m_155107_(C_1596_ p_155108_, C_4675_ p_155109_, C_2064_ p_155110_, C_1981_ p_155111_)
private static int
a(dhh arg0, int arg1, int arg2, int arg3)
updateBase(Level arg0, int arg1, int arg2, int arg3)
method_20293(class_1937 arg0, int arg1, int arg2, int arg3)
m_hsnerjpa(C_cdctfzbn arg0, int arg1, int arg2, int arg3)
updateLevel(World world, int x, int y, int z)
updateLevel(World world, int x, int y, int z)
m_155092_(C_1596_ p_155093_, int p_155094_, int p_155095_, int p_155096_)
public void
aw_()
setRemoved()
method_11012()
m_ftinwujz()
markRemoved()
markRemoved()
m_7651_()
private static void
a(dhh arg0, jh arg1, int arg2, jq<bum> arg3, jq<bum> arg4)
applyEffects(Level arg0, BlockPos arg1, int arg2, Holder<MobEffect> arg3, Holder<MobEffect> arg4)
method_10940(class_1937 arg0, class_2338 arg1, int arg2, class_6880<class_1291> arg3, class_6880<class_1291> arg4)
m_hpgbimed(C_cdctfzbn arg0, C_hynzadkk arg1, int arg2, C_cjzoxshv<C_jaqasomh> arg3, C_cjzoxshv<C_jaqasomh> arg4)
applyPlayerEffects(World world, BlockPos pos, int beaconLevel, RegistryEntry<StatusEffect> primaryEffect, RegistryEntry<StatusEffect> secondaryEffect)
applyPlayerEffects(World world, BlockPos pos, int beaconLevel, Holder<StatusEffect> primaryEffect, Holder<StatusEffect> secondaryEffect)
m_155097_(C_1596_ p_155098_, C_4675_ p_155099_, int p_155100_, C_203228_<C_496_> p_329363_, C_203228_<C_496_> p_332048_)
public static void
a(dhh arg0, jh arg1, axe arg2)
playSound(Level arg0, BlockPos arg1, SoundEvent arg2)
method_10938(class_1937 arg0, class_2338 arg1, class_3414 arg2)
m_uspuntja(C_cdctfzbn arg0, C_hynzadkk arg1, C_avavozay arg2)
playSound(World world, BlockPos pos, SoundEvent sound)
playSound(World world, BlockPos pos, SoundEvent sound)
m_155103_(C_1596_ p_155104_, C_4675_ p_155105_, C_123_ p_155106_)
public List<BeaconBlockEntity$BeaconBeamSection>
b()
getBeamSections()
method_10937()
m_nfnxayia()
getBeamSegments()
getBeamSegments()
m_58702_()
public ClientboundBlockEntityDataPacket
c()
getUpdatePacket()
method_38236()
m_eqxggzlw()
toUpdatePacket()
toUpdatePacket()
m_58483_()
public CompoundTag
a(js$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
m_escrnqip(C_vtbxyypo$C_etmlgbig arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
toSyncedNbt(HolderLookup$Provider arg0)
m_5995_(C_213466_$C_254607_ arg0)
private static void
a(ux arg0, String arg1, jq<bum> arg2)
storeEffect(CompoundTag arg0, String arg1, Holder<MobEffect> arg2)
method_53253(class_2487 arg0, String arg1, class_6880<class_1291> arg2)
m_rubjuwzj(C_hhlwcnih arg0, String arg1, C_cjzoxshv<C_jaqasomh> arg2)
writeStatusEffect(NbtCompound nbt, String key, RegistryEntry<StatusEffect> effect)
writeStatusEffect(NbtCompound nbt, String effectName, Holder<StatusEffect> statusEffect)
m_295548_(C_4917_ p_299457_, String p_297212_, C_203228_<C_496_> p_329692_)
private static Holder<MobEffect>
a(ux arg0, String arg1)
loadEffect(CompoundTag arg0, String arg1)
method_53252(class_2487 arg0, String arg1)
m_aynqdjcm(C_hhlwcnih arg0, String arg1)
readStatusEffect(NbtCompound nbt, String key)
readStatusEffect(NbtCompound nbt, String effectName)
m_296015_(C_4917_ p_298536_, String p_301201_)
protected void
a(ux arg0, js$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
m_trzmaydr(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
readNbtImpl(NbtCompound arg0, HolderLookup$Provider arg1)
m_318667_(C_4917_ p_333691_, C_213466_$C_254607_ arg1)
protected void
b(ux arg0, js$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
m_qopnimsa(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
writeNbt(NbtCompound arg0, HolderLookup$Provider arg1)
m_183515_(C_4917_ p_330516_, C_213466_$C_254607_ arg1)
public void
a(xv arg0)
setCustomName(Component arg0)
method_10936(class_2561 arg0)
m_vcgizbgv(C_rdaqiwdt arg0)
setCustomName(Text customName)
setCustomName(Text customName)
m_58681_(C_4996_ arg0)
public Component
an()
getCustomName()
method_5797()
m_admxpjqc()
getCustomName()
getCustomName()
m_7770_()
public AbstractContainerMenu
createMenu(int arg0, cpv arg1, cpw arg2)
createMenu(int arg0, Inventory arg1, Player arg2)
createMenu(int arg0, class_1661 arg1, class_1657 arg2)
createMenu(int arg0, PlayerInventory arg1, PlayerEntity arg2)
m_7208_(int p_58697_, C_1140_ p_58698_, C_1141_ arg2)
public Component
p_()
getDisplayName()
method_5476()
m_hyhtasei()
getDisplayName()
getDisplayName()
m_5446_()
public Component
al()
getName()
method_5477()
m_ymwfywvb()
getName()
getName()
m_7755_()
protected void
a(duw$b arg0)
applyImplicitComponents(BlockEntity$DataComponentInput arg0)
method_57568(class_2586$class_9473 arg0)
m_cckjpvhm(C_kvegafmh$C_uyhxhbrv arg0)
readComponents(BlockEntity$ComponentsAccess arg0)
readComponents(BlockEntity$ComponentAccess arg0)
m_318741_(C_1991_$C_313341_ arg0)
protected void
a(kq$a arg0)
collectImplicitComponents(DataComponentMap$Builder arg0)
method_57567(class_9323$class_9324 arg0)
m_apmtvpji(C_kouhnfig$C_vfzyoahz arg0)
addComponents(ComponentMap$Builder arg0)
addComponents(DataComponentMap$Builder arg0)
m_318837_(C_313470_$C_313535_ arg0)
public void
a(ux arg0)
removeComponentsFromTag(CompoundTag arg0)
method_57569(class_2487 arg0)
m_pcgjfrqh(C_hhlwcnih arg0)
removeFromCopiedStackNbt(NbtCompound arg0)
removeComponentData(NbtCompound arg0)
m_318942_(C_4917_ arg0)
public void
a(dhh arg0)
setLevel(Level arg0)
method_31662(class_1937 arg0)
m_kdzukdvh(C_cdctfzbn arg0)
setWorld(World arg0)
setWorld(World arg0)
m_142339_(C_1596_ arg0)