primaryPower
The primary effect given by this beacon.
MenuConstructor
, MenuProvider
, Nameable
, IAttachmentHolder
, IMenuProviderExtension
, IBlockEntityExtension
BlockEntity.ComponentHelper, BlockEntity.DataComponentInput
AttachmentHolder.AsField
(package private) List<BeaconBlockEntity.BeaconBeamSection>
private static final int
private List<BeaconBlockEntity.BeaconBeamSection>
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 level,
BlockPos pos,
int beaconLevel,
Holder<MobEffect> primaryEffect,
Holder<MobEffect> secondaryEffect)
protected void
applyImplicitComponents(BlockEntity.DataComponentInput componentInput)
protected void
collectImplicitComponents(DataComponentMap.Builder components)
createMenu(int containerId,
Inventory playerInventory,
Player player)
filterEffect(Holder<MobEffect> effect)
getName()
getUpdateTag(HolderLookup.Provider registries)
protected void
loadAdditional(CompoundTag tag,
HolderLookup.Provider registries)
loadEffect(CompoundTag tag,
String key)
static void
playSound(Level level,
BlockPos pos,
SoundEvent sound)
void
protected void
saveAdditional(CompoundTag tag,
HolderLookup.Provider registries)
void
setCustomName(Component name)
void
void
private static void
storeEffect(CompoundTag tag,
String key,
Holder<MobEffect> effect)
static void
tick(Level level,
BlockPos pos,
BlockState state,
BeaconBlockEntity blockEntity)
private static int
updateBase(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, 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, hasCustomOutlineRendering, invalidateCapabilities, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate
shouldTriggerClientSideContainerClosingOnOpen, writeClientSideData
hasCustomName
setRemoved
in class BlockEntity
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