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 pLevel,
BlockPos pPos,
int pBeaconLevel,
Holder<MobEffect> pPrimaryEffect,
Holder<MobEffect> pSecondaryEffect)
protected void
applyImplicitComponents(BlockEntity.DataComponentInput pComponentInput)
protected void
collectImplicitComponents(DataComponentMap.Builder pComponents)
createMenu(int pContainerId,
Inventory pPlayerInventory,
Player pPlayer)
filterEffect(Holder<MobEffect> p_316372_)
getName()
getUpdateTag(HolderLookup.Provider pRegistries)
protected void
loadAdditional(CompoundTag pTag,
HolderLookup.Provider pRegistries)
loadEffect(CompoundTag pTag,
String pKey)
static void
playSound(Level pLevel,
BlockPos pPos,
SoundEvent pSound)
void
protected void
saveAdditional(CompoundTag pTag,
HolderLookup.Provider pRegistries)
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, onlyOpCanSetNbt, parseCustomNameSafe, removeData, saveCustomAndMetadata, saveCustomOnly, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setData, syncData, 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, syncData
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