primaryPower
The primary effect given by this beacon.
MenuConstructor, MenuProvider, Nameable, IAttachmentHolder, IMenuProviderExtension, IBlockEntityExtensionBlockEntity.ComponentHelper, BlockEntity.DataComponentInputAttachmentHolder.AsField(package private) List<BeaconBlockEntity.BeaconBeamSection> private static final intprivate List<BeaconBlockEntity.BeaconBeamSection> static final intstatic final intstatic final intprivate final ContainerDataprivate static final Componentprivate int(package private) intprivate LockCodeprivate static final intprivate Componentstatic final intprivate static final Stringprivate static final Stringlevel, remove, worldPositionATTACHMENTS_NBT_KEYprivate static voidapplyEffects(Level pLevel,
BlockPos pPos,
int pBeaconLevel,
Holder<MobEffect> pPrimaryEffect,
Holder<MobEffect> pSecondaryEffect) protected voidapplyImplicitComponents(BlockEntity.DataComponentInput pComponentInput) protected voidcollectImplicitComponents(DataComponentMap.Builder pComponents) createMenu(int pContainerId,
Inventory pPlayerInventory,
Player pPlayer) filterEffect(Holder<MobEffect> p_316372_) getName()getUpdateTag(HolderLookup.Provider pRegistries) protected voidloadAdditional(CompoundTag pTag,
HolderLookup.Provider pRegistries) loadEffect(CompoundTag pTag,
String pKey) static voidplaySound(Level pLevel,
BlockPos pPos,
SoundEvent pSound) voidprotected voidsaveAdditional(CompoundTag pTag,
HolderLookup.Provider pRegistries) voidsetCustomName(Component pName) voidvoidprivate static voidstoreEffect(CompoundTag pTag,
String pKey,
Holder<MobEffect> pEffect) static voidtick(Level pLevel,
BlockPos pPos,
BlockState pState,
BeaconBlockEntity pBlockEntity) private static intupdateBase(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, onlyOpCanSetNbt, parseCustomNameSafe, removeData, saveCustomAndMetadata, saveCustomOnly, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setData, syncData, triggerEventdeserializeAttachments, getData, getExistingDataOrNull, hasAttachments, hasData, serializeAttachmentsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetData, getExistingData, getExistingData, getExistingDataOrNull, hasData, removeData, setData, syncDatagetModelData, handleUpdateTag, hasCustomOutlineRendering, invalidateCapabilities, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdateshouldTriggerClientSideContainerClosingOnOpen, writeClientSideDatahasCustomNamesetRemoved in class BlockEntitygetUpdatePacket in class BlockEntitygetUpdateTag in class BlockEntityloadAdditional in class BlockEntitysaveAdditional in class BlockEntitygetCustomName in interface NameablecreateMenu in interface MenuConstructorgetDisplayName in interface MenuProvidergetDisplayName in interface NameableapplyImplicitComponents in class BlockEntitycollectImplicitComponents in class BlockEntityremoveComponentsFromTag in class BlockEntitysetLevel in class BlockEntity