类 BeaconBlockEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.BeaconBlockEntity
- 所有已实现的接口:
MenuConstructor
,MenuProvider
,Nameable
,ICapabilityProvider
,ICapabilityProviderImpl<BlockEntity>
,IForgeBlockEntity
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.world.level.block.entity.BlockEntity
BlockEntity.ComponentHelper, BlockEntity.DataComponentInput
从类继承的嵌套类/接口 net.minecraftforge.common.capabilities.CapabilityProvider
CapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
-
字段概要
字段修饰符和类型字段说明(专用程序包) 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
(专用程序包) int
private LockCode
private static final int
private Component
static final int
private static final String
private static final String
从类继承的字段 net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition
从接口继承的字段 net.minecraftforge.common.extensions.IForgeBlockEntity
INFINITE_EXTENT_AABB
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static void
applyEffects
(Level p_155098_, BlockPos p_155099_, int p_155100_, Holder<MobEffect> p_329363_, Holder<MobEffect> p_332048_) protected void
protected void
createMenu
(int p_58696_, Inventory p_58697_, Player p_58698_) filterEffect
(Holder<MobEffect> p_330198_) getName()
getUpdateTag
(HolderLookup.Provider p_333588_) protected void
loadAdditional
(CompoundTag p_333194_, HolderLookup.Provider p_333691_) loadEffect
(CompoundTag p_298536_, String p_301201_) static void
playSound
(Level p_155104_, BlockPos p_155105_, SoundEvent p_155106_) void
removeComponentsFromTag
(CompoundTag p_331794_) protected void
saveAdditional
(CompoundTag p_187463_, HolderLookup.Provider p_330516_) void
setCustomName
(Component p_58682_) void
void
private static void
storeEffect
(CompoundTag p_299457_, String p_297212_, Holder<MobEffect> p_329692_) static void
tick
(Level p_155108_, BlockPos p_155109_, BlockState p_155110_, BeaconBlockEntity p_155111_) private static int
updateBase
(Level p_155093_, int p_155094_, int p_155095_, int p_155096_) 从类继承的方法 net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, clearRemoved, collectComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, onChunkUnloaded, parseCustomNameSafe, saveCustomAndMetadata, saveCustomOnly, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, triggerEvent
从类继承的方法 net.minecraftforge.common.capabilities.CapabilityProvider
deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapability
从接口继承的方法 net.minecraftforge.common.extensions.IForgeBlockEntity
getModelData, getRenderBoundingBox, handleUpdateTag, hasCustomOutlineRendering, onDataPacket, onLoad, requestModelDataUpdate
从接口继承的方法 net.minecraft.world.Nameable
hasCustomName
-
字段详细资料
-
MAX_LEVELS
private static final int MAX_LEVELS- 另请参阅:
-
BEACON_EFFECTS
-
VALID_EFFECTS
-
DATA_LEVELS
public static final int DATA_LEVELS- 另请参阅:
-
DATA_PRIMARY
public static final int DATA_PRIMARY- 另请参阅:
-
DATA_SECONDARY
public static final int DATA_SECONDARY- 另请参阅:
-
NUM_DATA_VALUES
public static final int NUM_DATA_VALUES- 另请参阅:
-
BLOCKS_CHECK_PER_TICK
private static final int BLOCKS_CHECK_PER_TICK- 另请参阅:
-
DEFAULT_NAME
-
TAG_PRIMARY
- 另请参阅:
-
TAG_SECONDARY
- 另请参阅:
-
beamSections
List<BeaconBlockEntity.BeaconBeamSection> beamSections -
checkingBeamSections
-
levels
int levels -
lastCheckY
private int lastCheckY -
-
secondaryPower
-
name
-
lockKey
-
dataAccess
-
-
构造器详细资料
-
BeaconBlockEntity
-
-
方法详细资料
-
filterEffect
-
tick
public static void tick(Level p_155108_, BlockPos p_155109_, BlockState p_155110_, BeaconBlockEntity p_155111_) -
updateBase
-
setRemoved
public void setRemoved()- 覆盖:
setRemoved
在类中BlockEntity
-
applyEffects
-
playSound
-
getBeamSections
-
getUpdatePacket
- 覆盖:
getUpdatePacket
在类中BlockEntity
-
getUpdateTag
- 覆盖:
getUpdateTag
在类中BlockEntity
-
storeEffect
private static void storeEffect(CompoundTag p_299457_, String p_297212_, @Nullable Holder<MobEffect> p_329692_) -
loadEffect
-
loadAdditional
- 覆盖:
loadAdditional
在类中BlockEntity
-
saveAdditional
- 覆盖:
saveAdditional
在类中BlockEntity
-
setCustomName
-
getCustomName
- 指定者:
getCustomName
在接口中Nameable
-
createMenu
@Nullable public AbstractContainerMenu createMenu(int p_58696_, Inventory p_58697_, Player p_58698_) - 指定者:
createMenu
在接口中MenuConstructor
-
getDisplayName
- 指定者:
getDisplayName
在接口中MenuProvider
- 指定者:
getDisplayName
在接口中Nameable
-
getName
-
applyImplicitComponents
- 覆盖:
applyImplicitComponents
在类中BlockEntity
-
collectImplicitComponents
- 覆盖:
collectImplicitComponents
在类中BlockEntity
-
removeComponentsFromTag
- 覆盖:
removeComponentsFromTag
在类中BlockEntity
-
setLevel
- 覆盖:
setLevel
在类中BlockEntity
-