primaryPower
The primary effect given by this beacon.
MenuConstructor
, BeaconBeamOwner
, MenuProvider
, Nameable
, IAttachmentHolder
, IBlockEntityExtension
, IMenuProviderExtension
BlockEntity.BlockEntityPathElement
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 pComponentGetter)
protected void
collectImplicitComponents(DataComponentMap.Builder pComponents)
createMenu(int pContainerId,
Inventory pPlayerInventory,
Player pPlayer)
filterEffect(Holder<MobEffect> pEffect)
getName()
getUpdateTag(HolderLookup.Provider pRegistries)
protected void
loadAdditional(ValueInput pInput)
loadEffect(ValueInput pInput,
String pKey)
static void
playSound(Level pLevel,
BlockPos pPos,
SoundEvent pSound)
void
removeComponentsFromTag(ValueOutput pOutput)
protected void
saveAdditional(ValueOutput pOutput)
void
setCustomName(Component pName)
void
void
private static void
storeEffect(ValueOutput pOutput,
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, getNameForReporting, getPersistentData, getPosFromTag, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, parseCustomNameSafe, preRemoveSideEffects, problemPath, removeData, saveCustomOnly, saveCustomOnly, saveWithFullMetadata, saveWithFullMetadata, saveWithId, saveWithoutMetadata, 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