类 CompressedChestBlock

java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
net.minecraft.world.level.block.BaseEntityBlock
net.minecraft.world.level.block.AbstractChestBlock<net.minecraft.world.level.block.entity.ChestBlockEntity>
net.minecraft.world.level.block.ChestBlock
committee.nova.mods.avaritia.common.block.chest.CompressedChestBlock
所有已实现的接口:
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 CompressedChestBlock extends net.minecraft.world.level.block.ChestBlock
  • 嵌套类概要

    从类继承的嵌套类/接口 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
  • 字段概要

    从类继承的字段 net.minecraft.world.level.block.ChestBlock

    AABB, AABB_HEIGHT, AABB_OFFSET, EAST_AABB, EVENT_SET_OPEN_COUNT, FACING, NORTH_AABB, SOUTH_AABB, TYPE, WATERLOGGED, WEST_AABB

    从类继承的字段 net.minecraft.world.level.block.AbstractChestBlock

    blockEntityType

    从类继承的字段 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
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    appendHoverText(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)
     
    net.minecraft.world.level.block.state.BlockState
    getStateForPlacement(net.minecraft.world.item.context.BlockPlaceContext pContext)
     
    net.minecraft.world.level.block.entity.BlockEntity
    newBlockEntity(@NotNull net.minecraft.core.BlockPos pPos, @NotNull net.minecraft.world.level.block.state.BlockState pState)
     
    void
    onPlace(@NotNull net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.Level pLevel, @NotNull net.minecraft.core.BlockPos pPos, @NotNull net.minecraft.world.level.block.state.BlockState pOldState, boolean pMovedByPiston)
     
    void
    onRemove(net.minecraft.world.level.block.state.BlockState pState, @NotNull net.minecraft.world.level.Level pLevel, @NotNull net.minecraft.core.BlockPos pPos, net.minecraft.world.level.block.state.BlockState pNewState, boolean pIsMoving)
     
    void
    playerDestroy(@NotNull net.minecraft.world.level.Level pLevel, @NotNull net.minecraft.world.entity.player.Player pPlayer, @NotNull net.minecraft.core.BlockPos pPos, @NotNull net.minecraft.world.level.block.state.BlockState pState, @Nullable net.minecraft.world.level.block.entity.BlockEntity pBlockEntity, net.minecraft.world.item.ItemStack pTool)
     
    void
    setPlacedBy(@NotNull net.minecraft.world.level.Level pLevel, @NotNull net.minecraft.core.BlockPos pPos, @NotNull net.minecraft.world.level.block.state.BlockState pState, @NotNull net.minecraft.world.entity.LivingEntity pPlacer, @NotNull net.minecraft.world.item.ItemStack pStack)
     
    net.minecraft.world.InteractionResult
    use(@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)
     

    从类继承的方法 net.minecraft.world.level.block.ChestBlock

    blockEntityType, combine, createBlockStateDefinition, getAnalogOutputSignal, getBlockType, getConnectedDirection, getContainer, getFluidState, getMenuProvider, getOpenChestStat, getRenderShape, getShape, getTicker, hasAnalogOutputSignal, isChestBlockedAt, isPathfindable, mirror, opennessCombiner, rotate, tick, updateShape

    从类继承的方法 net.minecraft.world.level.block.BaseEntityBlock

    createTickerHelper, triggerEvent

    从类继承的方法 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, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getDrops, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getOcclusionShape, getSeed, getShadeBrightness, getSignal, getVisualShape, isAir, isCollisionShapeFullBlock, isOcclusionShapeFullBlock, isSignalSource, neighborChanged, onProjectileHit, randomTick, requiredFeatures, skipRendering, spawnAfterBreak, 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
  • 构造器详细资料

    • CompressedChestBlock

      public CompressedChestBlock()
  • 方法详细资料

    • use

      public 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.ChestBlock
    • newBlockEntity

      public net.minecraft.world.level.block.entity.BlockEntity newBlockEntity(@NotNull @NotNull net.minecraft.core.BlockPos pPos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState pState)
      指定者:
      newBlockEntity 在接口中 net.minecraft.world.level.block.EntityBlock
      覆盖:
      newBlockEntity 在类中 net.minecraft.world.level.block.ChestBlock
    • getStateForPlacement

      public net.minecraft.world.level.block.state.BlockState getStateForPlacement(net.minecraft.world.item.context.BlockPlaceContext pContext)
      覆盖:
      getStateForPlacement 在类中 net.minecraft.world.level.block.ChestBlock
    • 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, @NotNull @NotNull net.minecraft.world.entity.LivingEntity pPlacer, @NotNull @NotNull net.minecraft.world.item.ItemStack pStack)
      覆盖:
      setPlacedBy 在类中 net.minecraft.world.level.block.ChestBlock
    • onPlace

      public void onPlace(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.Level pLevel, @NotNull @NotNull net.minecraft.core.BlockPos pPos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState pOldState, boolean pMovedByPiston)
      覆盖:
      onPlace 在类中 net.minecraft.world.level.block.state.BlockBehaviour
    • onRemove

      public void onRemove(net.minecraft.world.level.block.state.BlockState pState, @NotNull @NotNull net.minecraft.world.level.Level pLevel, @NotNull @NotNull net.minecraft.core.BlockPos pPos, net.minecraft.world.level.block.state.BlockState pNewState, boolean pIsMoving)
      覆盖:
      onRemove 在类中 net.minecraft.world.level.block.ChestBlock
    • playerDestroy

      public void playerDestroy(@NotNull @NotNull net.minecraft.world.level.Level pLevel, @NotNull @NotNull net.minecraft.world.entity.player.Player pPlayer, @NotNull @NotNull net.minecraft.core.BlockPos pPos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState pState, @Nullable @Nullable net.minecraft.world.level.block.entity.BlockEntity pBlockEntity, net.minecraft.world.item.ItemStack pTool)
      覆盖:
      playerDestroy 在类中 net.minecraft.world.level.block.Block
    • appendHoverText

      public void appendHoverText(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