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 level,
BlockPos pos,
int beaconLevel,
Holder<MobEffect> primaryEffect,
Holder<MobEffect> secondaryEffect) protected voidapplyImplicitComponents(BlockEntity.DataComponentInput componentInput) protected voidcollectImplicitComponents(DataComponentMap.Builder components) createMenu(int containerId,
Inventory playerInventory,
Player player) filterEffect(Holder<MobEffect> effect) getName()getUpdateTag(HolderLookup.Provider registries) protected voidloadAdditional(CompoundTag tag,
HolderLookup.Provider registries) loadEffect(CompoundTag tag,
String key) static voidplaySound(Level level,
BlockPos pos,
SoundEvent sound) voidprotected voidsaveAdditional(CompoundTag tag,
HolderLookup.Provider registries) voidsetCustomName(Component name) voidvoidprivate static voidstoreEffect(CompoundTag tag,
String key,
Holder<MobEffect> effect) static voidtick(Level level,
BlockPos pos,
BlockState state,
BeaconBlockEntity blockEntity) private static intupdateBase(Level level,
int x,
int y,
int z) 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, triggerEventdeserializeAttachments, getData, getExistingDataOrNull, hasAttachments, hasData, serializeAttachmentsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetData, getExistingData, getExistingData, getExistingDataOrNull, hasData, removeData, setDatagetModelData, 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