类 InfinityChestBlock
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
committee.nova.mods.avaritia.api.common.block.BaseBlock
committee.nova.mods.avaritia.api.common.block.BaseTileEntityBlock
committee.nova.mods.avaritia.common.block.chest.InfinityChestBlock
- 所有已实现的接口:
net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.block.BucketPickup,net.minecraft.world.level.block.EntityBlock,net.minecraft.world.level.block.LiquidBlockContainer,net.minecraft.world.level.block.SimpleWaterloggedBlock,net.minecraft.world.level.ItemLike,net.minecraftforge.common.extensions.IForgeBlock,net.minecraftforge.common.extensions.IForgeBucketPickup
public class InfinityChestBlock
extends BaseTileEntityBlock
implements net.minecraft.world.level.block.SimpleWaterloggedBlock
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.level.block.Block
net.minecraft.world.level.block.Block.BlockStatePairKey从类继承的嵌套类/接口 net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.state.BlockBehaviour.BlockStateBase, net.minecraft.world.level.block.state.BlockBehaviour.OffsetFunction, net.minecraft.world.level.block.state.BlockBehaviour.OffsetType, net.minecraft.world.level.block.state.BlockBehaviour.Properties, net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<A extends Object>, net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate -
字段概要
字段修饰符和类型字段说明protected static final net.minecraft.world.phys.shapes.VoxelShapestatic final net.minecraft.world.level.block.state.properties.DirectionPropertystatic final net.minecraft.world.level.block.state.properties.BooleanProperty从类继承的字段 net.minecraft.world.level.block.Block
BLOCK_STATE_REGISTRY, INDESTRUCTIBLE, INSTANT, stateDefinition, UPDATE_ALL, UPDATE_ALL_IMMEDIATE, UPDATE_CLIENTS, UPDATE_IMMEDIATE, UPDATE_INVISIBLE, UPDATE_KNOWN_SHAPE, UPDATE_LIMIT, UPDATE_MOVE_BY_PISTON, UPDATE_NEIGHBORS, UPDATE_NONE, UPDATE_SUPPRESS_DROPS从类继承的字段 net.minecraft.world.level.block.state.BlockBehaviour
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, properties, requiredFeatures, soundType, speedFactor, UPDATE_SHAPE_ORDER从接口继承的字段 net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidappendHoverText(@NotNull net.minecraft.world.item.ItemStack pStack, @Nullable net.minecraft.world.level.BlockGetter pLevel, @NotNull List<net.minecraft.network.chat.Component> pTooltip, @NotNull net.minecraft.world.item.TooltipFlag pFlag) protected voidcreateBlockStateDefinition(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState> builder) protected <T extends net.minecraft.world.level.block.entity.BlockEntity>
net.minecraft.world.level.block.entity.BlockEntityTicker<T>getClientTicker(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.entity.BlockEntityType<T> type) @NotNull net.minecraft.world.level.block.RenderShapegetRenderShape(@NotNull net.minecraft.world.level.block.state.BlockState state) @NotNull net.minecraft.world.phys.shapes.VoxelShapegetShape(@NotNull net.minecraft.world.level.block.state.BlockState state, @NotNull net.minecraft.world.level.BlockGetter level, @NotNull net.minecraft.core.BlockPos pos, @NotNull net.minecraft.world.phys.shapes.CollisionContext context) net.minecraft.world.level.block.state.BlockStategetStateForPlacement(net.minecraft.world.item.context.BlockPlaceContext context) booleanhasAnalogOutputSignal(@NotNull net.minecraft.world.level.block.state.BlockState state) booleanisPathfindable(@NotNull net.minecraft.world.level.block.state.BlockState state, @NotNull net.minecraft.world.level.BlockGetter level, @NotNull net.minecraft.core.BlockPos pos, @NotNull net.minecraft.world.level.pathfinder.PathComputationType type) net.minecraft.world.level.block.state.BlockStatemirror(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Mirror mirror) @Nullable net.minecraft.world.level.block.entity.BlockEntitynewBlockEntity(@NotNull net.minecraft.core.BlockPos pos, @NotNull net.minecraft.world.level.block.state.BlockState state) voidplayerDestroy(@NotNull net.minecraft.world.level.Level pLevel, @NotNull net.minecraft.world.entity.player.Player player, @NotNull net.minecraft.core.BlockPos pPos, @NotNull net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity, @NotNull net.minecraft.world.item.ItemStack tool) net.minecraft.world.level.block.state.BlockStaterotate(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Rotation rotation) voidsetPlacedBy(@NotNull net.minecraft.world.level.Level pLevel, @NotNull net.minecraft.core.BlockPos pPos, @NotNull net.minecraft.world.level.block.state.BlockState pState, @Nullable net.minecraft.world.entity.LivingEntity pPlacer, @NotNull net.minecraft.world.item.ItemStack pStack) @NotNull net.minecraft.world.level.block.state.BlockStateupdateShape(net.minecraft.world.level.block.state.BlockState state, @NotNull net.minecraft.core.Direction facing, @NotNull net.minecraft.world.level.block.state.BlockState facingState, @NotNull net.minecraft.world.level.LevelAccessor level, @NotNull net.minecraft.core.BlockPos currentPos, @NotNull net.minecraft.core.BlockPos facingPos) @NotNull net.minecraft.world.InteractionResultuse(@NotNull net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, @NotNull net.minecraft.core.BlockPos pos, @NotNull net.minecraft.world.entity.player.Player player, @NotNull net.minecraft.world.InteractionHand hand, @NotNull net.minecraft.world.phys.BlockHitResult trace) 从类继承的方法 committee.nova.mods.avaritia.api.common.block.BaseTileEntityBlock
createTicker, getServerTicker, getTicker从类继承的方法 net.minecraft.world.level.block.Block
animateTick, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, dropResources, fallOn, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getRenderPropertiesInternal, getShapeForEachState, getSoundType, getSpeedFactor, getStateDefinition, handlePrecipitation, hasDynamicShape, initializeClient, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerWillDestroy, popExperience, popResource, popResourceFromFace, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, tryDropExperience, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOf从类继承的方法 net.minecraft.world.level.block.state.BlockBehaviour
attack, canBeReplaced, canBeReplaced, canSurvive, defaultDestroyTime, defaultMapColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getSeed, getShadeBrightness, getSignal, getVisualShape, isAir, isCollisionShapeFullBlock, isOcclusionShapeFullBlock, isSignalSource, neighborChanged, onPlace, onProjectileHit, onRemove, randomTick, requiredFeatures, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, useShapeForLightOcclusion从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait从接口继承的方法 net.minecraft.world.level.block.EntityBlock
getListener从接口继承的方法 net.minecraft.world.flag.FeatureElement
isEnabled从接口继承的方法 net.minecraftforge.common.extensions.IForgeBlock
addLandingEffects, addRunningEffects, canBeHydrated, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, collisionExtendsVertically, getAdjacentBlockPathType, getAppearance, getBeaconColorMultiplier, getBedDirection, getBlockPathType, getCloneItemStack, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getMapColor, getPistonPushReaction, getRespawnPosition, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hidesNeighborFace, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isValidSpawn, makesOpenTrapdoorAboveClimbable, onBlockExploded, onBlockStateChange, onCaughtFire, onDestroyedByPlayer, onNeighborChange, onTreeGrow, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, supportsExternalFaceHiding从接口继承的方法 net.minecraftforge.common.extensions.IForgeBucketPickup
getPickupSound从接口继承的方法 net.minecraft.world.level.block.SimpleWaterloggedBlock
canPlaceLiquid, getPickupSound, pickupBlock, placeLiquid
-
字段详细资料
-
FACING
public static final net.minecraft.world.level.block.state.properties.DirectionProperty FACING -
WATERLOGGED
public static final net.minecraft.world.level.block.state.properties.BooleanProperty WATERLOGGED -
AABB
protected static final net.minecraft.world.phys.shapes.VoxelShape AABB
-
-
构造器详细资料
-
InfinityChestBlock
public InfinityChestBlock()
-
-
方法详细资料
-
getRenderShape
@NotNull public @NotNull net.minecraft.world.level.block.RenderShape getRenderShape(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState state) - 覆盖:
getRenderShape在类中net.minecraft.world.level.block.state.BlockBehaviour
-
updateShape
@NotNull public @NotNull net.minecraft.world.level.block.state.BlockState updateShape(net.minecraft.world.level.block.state.BlockState state, @NotNull @NotNull net.minecraft.core.Direction facing, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState facingState, @NotNull @NotNull net.minecraft.world.level.LevelAccessor level, @NotNull @NotNull net.minecraft.core.BlockPos currentPos, @NotNull @NotNull net.minecraft.core.BlockPos facingPos) - 覆盖:
updateShape在类中net.minecraft.world.level.block.state.BlockBehaviour
-
getShape
@NotNull public @NotNull net.minecraft.world.phys.shapes.VoxelShape getShape(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState state, @NotNull @NotNull net.minecraft.world.level.BlockGetter level, @NotNull @NotNull net.minecraft.core.BlockPos pos, @NotNull @NotNull net.minecraft.world.phys.shapes.CollisionContext context) - 覆盖:
getShape在类中net.minecraft.world.level.block.state.BlockBehaviour
-
getStateForPlacement
public net.minecraft.world.level.block.state.BlockState getStateForPlacement(net.minecraft.world.item.context.BlockPlaceContext context) - 覆盖:
getStateForPlacement在类中net.minecraft.world.level.block.Block
-
newBlockEntity
@Nullable public @Nullable net.minecraft.world.level.block.entity.BlockEntity newBlockEntity(@NotNull @NotNull net.minecraft.core.BlockPos pos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState state) - 指定者:
newBlockEntity在接口中net.minecraft.world.level.block.EntityBlock
-
appendHoverText
public void appendHoverText(@NotNull @NotNull net.minecraft.world.item.ItemStack pStack, @Nullable @Nullable net.minecraft.world.level.BlockGetter pLevel, @NotNull @NotNull List<net.minecraft.network.chat.Component> pTooltip, @NotNull @NotNull net.minecraft.world.item.TooltipFlag pFlag) - 覆盖:
appendHoverText在类中net.minecraft.world.level.block.Block
-
setPlacedBy
public void setPlacedBy(@NotNull @NotNull net.minecraft.world.level.Level pLevel, @NotNull @NotNull net.minecraft.core.BlockPos pPos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState pState, @Nullable @Nullable net.minecraft.world.entity.LivingEntity pPlacer, @NotNull @NotNull net.minecraft.world.item.ItemStack pStack) - 覆盖:
setPlacedBy在类中net.minecraft.world.level.block.Block
-
playerDestroy
public void playerDestroy(@NotNull @NotNull net.minecraft.world.level.Level pLevel, @NotNull @NotNull net.minecraft.world.entity.player.Player player, @NotNull @NotNull net.minecraft.core.BlockPos pPos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState state, @Nullable @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity, @NotNull @NotNull net.minecraft.world.item.ItemStack tool) - 覆盖:
playerDestroy在类中net.minecraft.world.level.block.Block
-
use
@NotNull public @NotNull net.minecraft.world.InteractionResult use(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.core.BlockPos pos, @NotNull @NotNull net.minecraft.world.entity.player.Player player, @NotNull @NotNull net.minecraft.world.InteractionHand hand, @NotNull @NotNull net.minecraft.world.phys.BlockHitResult trace) - 覆盖:
use在类中net.minecraft.world.level.block.state.BlockBehaviour
-
getClientTicker
protected <T extends net.minecraft.world.level.block.entity.BlockEntity> net.minecraft.world.level.block.entity.BlockEntityTicker<T> getClientTicker(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.entity.BlockEntityType<T> type) - 覆盖:
getClientTicker在类中BaseTileEntityBlock
-
hasAnalogOutputSignal
public boolean hasAnalogOutputSignal(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState state) - 覆盖:
hasAnalogOutputSignal在类中net.minecraft.world.level.block.state.BlockBehaviour
-
rotate
public net.minecraft.world.level.block.state.BlockState rotate(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Rotation rotation) - 覆盖:
rotate在类中net.minecraft.world.level.block.state.BlockBehaviour
-
mirror
public net.minecraft.world.level.block.state.BlockState mirror(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Mirror mirror) - 覆盖:
mirror在类中net.minecraft.world.level.block.state.BlockBehaviour
-
createBlockStateDefinition
protected void createBlockStateDefinition(net.minecraft.world.level.block.state.StateDefinition.Builder<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.state.BlockState> builder) - 覆盖:
createBlockStateDefinition在类中net.minecraft.world.level.block.Block
-
isPathfindable
public boolean isPathfindable(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState state, @NotNull @NotNull net.minecraft.world.level.BlockGetter level, @NotNull @NotNull net.minecraft.core.BlockPos pos, @NotNull @NotNull net.minecraft.world.level.pathfinder.PathComputationType type) - 覆盖:
isPathfindable在类中net.minecraft.world.level.block.state.BlockBehaviour
-