primaryPower
The primary effect given by this beacon.
MenuConstructor
, BeaconBeamOwner
, MenuProvider
, Nameable
, IAttachmentHolder
, IBlockEntityExtension
, IMenuProviderExtension
BlockEntity.ComponentHelper
AttachmentHolder.AsField
BeaconBeamOwner.Section
(package private) List<BeaconBeamOwner.Section>
private static final int
private List<BeaconBeamOwner.Section>
static final int
static final int
static final int
private final ContainerData
private static final Component
private int
(package private) int
private LockCode
private static final int
private Component
static final int
private static final String
private static final String
level, remove, worldPosition
ATTACHMENTS_NBT_KEY
private static void
applyEffects(Level pLevel,
BlockPos pPos,
int pBeaconLevel,
Holder<MobEffect> pPrimaryEffect,
Holder<MobEffect> pSecondaryEffect)
protected void
applyImplicitComponents(DataComponentGetter p_397309_)
protected void
createMenu(int p_58696_,
Inventory p_58697_,
Player p_58698_)
filterEffect(Holder<MobEffect> pEffect)
getName()
getUpdateTag(HolderLookup.Provider p_324570_)
protected void
loadAdditional(CompoundTag p_338669_,
HolderLookup.Provider p_338291_)
loadEffect(CompoundTag pTag,
String pKey)
static void
playSound(Level pLevel,
BlockPos pPos,
SoundEvent pSound)
void
removeComponentsFromTag(CompoundTag p_331401_)
protected void
saveAdditional(CompoundTag p_187463_,
HolderLookup.Provider p_324268_)
void
setCustomName(Component pName)
void
void
private static void
storeEffect(CompoundTag pTag,
String pKey,
Holder<MobEffect> pEffect)
static void
tick(Level pLevel,
BlockPos pPos,
BlockState pState,
BeaconBlockEntity pBlockEntity)
private static int
updateBase(Level pLevel,
int pX,
int pY,
int pZ)
addEntityType, applyComponents, applyComponentsFromItemStack, clearRemoved, collectComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPersistentData, getPosFromTag, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, parseCustomNameSafe, preRemoveSideEffects, removeData, saveCustomAndMetadata, saveCustomOnly, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setData, triggerEvent
deserializeAttachments, getData, getExistingDataOrNull, hasAttachments, hasData, serializeAttachments
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getData, getExistingData, getExistingData, getExistingDataOrNull, hasData, removeData, setData
getModelData, handleUpdateTag, invalidateCapabilities, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate
shouldTriggerClientSideContainerClosingOnOpen, writeClientSideData
hasCustomName
setRemoved
in class BlockEntity
getBeamSections
in interface BeaconBeamOwner
getUpdatePacket
in class BlockEntity
getUpdateTag
in class BlockEntity
loadAdditional
in class BlockEntity
saveAdditional
in class BlockEntity
getCustomName
in interface Nameable
createMenu
in interface MenuConstructor
getDisplayName
in interface MenuProvider
getDisplayName
in interface Nameable
applyImplicitComponents
in class BlockEntity
collectImplicitComponents
in class BlockEntity
removeComponentsFromTag
in class BlockEntity
setLevel
in class BlockEntity