类 HangingSignBlockEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.SignBlockEntity
net.minecraft.world.level.block.entity.HangingSignBlockEntity
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.level.block.entity.BlockEntity
BlockEntity.ComponentHelper, BlockEntity.DataComponentInput
从类继承的嵌套类/接口 net.minecraftforge.common.capabilities.CapabilityProvider
CapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
-
字段概要
字段从类继承的字段 net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition
从接口继承的字段 net.minecraftforge.common.extensions.IForgeBlockEntity
INFINITE_EXTENT_AABB
-
构造器概要
构造器构造器说明HangingSignBlockEntity
(BlockPos p_250603_, BlockState p_251674_) HangingSignBlockEntity
(BlockEntityType<?> type, BlockPos pos, BlockState state) -
方法概要
修饰符和类型方法说明int
int
从类继承的方法 net.minecraft.world.level.block.entity.SignBlockEntity
canExecuteClickCommands, createDefaultSignText, executeClickCommandsIfPresent, getBackText, getFrontText, getPlayerWhoMayEdit, getRenderBoundingBox, getText, getUpdatePacket, getUpdateTag, isFacingFrontText, isWaxed, loadAdditional, playerIsTooFarAwayToEdit, saveAdditional, setAllowedPlayerEditor, setText, setWaxed, tick, updateSignText, updateText
从类继承的方法 net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, applyImplicitComponents, clearRemoved, collectComponents, collectImplicitComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, onChunkUnloaded, parseCustomNameSafe, removeComponentsFromTag, saveCustomAndMetadata, saveCustomOnly, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setLevel, setRemoved, 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, handleUpdateTag, hasCustomOutlineRendering, onDataPacket, onLoad, requestModelDataUpdate
-
字段详细资料
-
MAX_TEXT_LINE_WIDTH
private static final int MAX_TEXT_LINE_WIDTH- 另请参阅:
-
TEXT_LINE_HEIGHT
private static final int TEXT_LINE_HEIGHT- 另请参阅:
-
-
构造器详细资料
-
HangingSignBlockEntity
-
HangingSignBlockEntity
-
-
方法详细资料
-
getTextLineHeight
public int getTextLineHeight()- 覆盖:
getTextLineHeight
在类中SignBlockEntity
-
getMaxTextLineWidth
public int getMaxTextLineWidth()- 覆盖:
getMaxTextLineWidth
在类中SignBlockEntity
-
getSignInteractionFailedSoundEvent
-