类 EndlessCakeBlock

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.common.block.cake.EndlessCakeBlock
所有已实现的接口:
net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.ItemLike, net.minecraftforge.common.extensions.IForgeBlock

public class EndlessCakeBlock extends BaseBlock
  • 嵌套类概要

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

    字段
    修饰符和类型
    字段
    说明
    static final net.minecraft.world.phys.shapes.VoxelShape
     

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

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

    修饰符和类型
    方法
    说明
    int
    getAnalogOutputSignal(@NotNull net.minecraft.world.level.block.state.BlockState pState, @NotNull net.minecraft.world.level.Level pLevel, @NotNull net.minecraft.core.BlockPos pPos)
     
    @NotNull net.minecraft.world.phys.shapes.VoxelShape
    getShape(@NotNull net.minecraft.world.level.block.state.BlockState pState, @NotNull net.minecraft.world.level.BlockGetter pLevel, @NotNull net.minecraft.core.BlockPos pPos, @NotNull net.minecraft.world.phys.shapes.CollisionContext pContext)
     
    boolean
    hasAnalogOutputSignal(@NotNull net.minecraft.world.level.block.state.BlockState pState)
     
    boolean
    isPathfindable(@NotNull net.minecraft.world.level.block.state.BlockState pState, @NotNull net.minecraft.world.level.BlockGetter pLevel, @NotNull net.minecraft.core.BlockPos pPos, @NotNull net.minecraft.world.level.pathfinder.PathComputationType pType)
     
    protected static net.minecraft.world.InteractionResult
    tryEat(net.minecraft.world.level.LevelAccessor pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.entity.player.Player pPlayer)
     
    @NotNull net.minecraft.world.level.block.state.BlockState
    updateShape(@NotNull net.minecraft.world.level.block.state.BlockState pState, @NotNull net.minecraft.core.Direction pFacing, @NotNull net.minecraft.world.level.block.state.BlockState pFacingState, @NotNull net.minecraft.world.level.LevelAccessor pLevel, @NotNull net.minecraft.core.BlockPos pCurrentPos, @NotNull net.minecraft.core.BlockPos pFacingPos)
     
    @NotNull net.minecraft.world.InteractionResult
    use(@NotNull net.minecraft.world.level.block.state.BlockState pState, @NotNull net.minecraft.world.level.Level pLevel, @NotNull net.minecraft.core.BlockPos pPos, net.minecraft.world.entity.player.Player pPlayer, @NotNull net.minecraft.world.InteractionHand pHand, @NotNull net.minecraft.world.phys.BlockHitResult pHit)
     

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

    animateTick, appendHoverText, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, createBlockStateDefinition, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, dropResources, fallOn, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getRenderPropertiesInternal, getShapeForEachState, getSoundType, getSpeedFactor, getStateDefinition, getStateForPlacement, handlePrecipitation, hasDynamicShape, initializeClient, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, popResourceFromFace, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, setPlacedBy, 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, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getRenderShape, getSeed, getShadeBrightness, getSignal, getVisualShape, isAir, isCollisionShapeFullBlock, isOcclusionShapeFullBlock, isSignalSource, mirror, neighborChanged, onPlace, onProjectileHit, onRemove, randomTick, requiredFeatures, rotate, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, useShapeForLightOcclusion

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    从接口继承的方法 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
  • 字段详细资料

    • CAKE_SHAPE

      public static final net.minecraft.world.phys.shapes.VoxelShape CAKE_SHAPE
  • 构造器详细资料

    • EndlessCakeBlock

      public EndlessCakeBlock()
  • 方法详细资料

    • tryEat

      protected static net.minecraft.world.InteractionResult tryEat(net.minecraft.world.level.LevelAccessor pLevel, net.minecraft.core.BlockPos pPos, net.minecraft.world.entity.player.Player pPlayer)
    • getShape

      @NotNull public @NotNull net.minecraft.world.phys.shapes.VoxelShape getShape(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState pState, @NotNull @NotNull net.minecraft.world.level.BlockGetter pLevel, @NotNull @NotNull net.minecraft.core.BlockPos pPos, @NotNull @NotNull net.minecraft.world.phys.shapes.CollisionContext pContext)
      覆盖:
      getShape 在类中 net.minecraft.world.level.block.state.BlockBehaviour
    • use

      @NotNull public @NotNull net.minecraft.world.InteractionResult use(@NotNull @NotNull 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.entity.player.Player pPlayer, @NotNull @NotNull net.minecraft.world.InteractionHand pHand, @NotNull @NotNull net.minecraft.world.phys.BlockHitResult pHit)
      覆盖:
      use 在类中 net.minecraft.world.level.block.state.BlockBehaviour
    • updateShape

      @NotNull public @NotNull net.minecraft.world.level.block.state.BlockState updateShape(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState pState, @NotNull @NotNull net.minecraft.core.Direction pFacing, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState pFacingState, @NotNull @NotNull net.minecraft.world.level.LevelAccessor pLevel, @NotNull @NotNull net.minecraft.core.BlockPos pCurrentPos, @NotNull @NotNull net.minecraft.core.BlockPos pFacingPos)
      覆盖:
      updateShape 在类中 net.minecraft.world.level.block.state.BlockBehaviour
    • getAnalogOutputSignal

      public int getAnalogOutputSignal(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState pState, @NotNull @NotNull net.minecraft.world.level.Level pLevel, @NotNull @NotNull net.minecraft.core.BlockPos pPos)
      覆盖:
      getAnalogOutputSignal 在类中 net.minecraft.world.level.block.state.BlockBehaviour
    • hasAnalogOutputSignal

      public boolean hasAnalogOutputSignal(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState pState)
      覆盖:
      hasAnalogOutputSignal 在类中 net.minecraft.world.level.block.state.BlockBehaviour
    • isPathfindable

      public boolean isPathfindable(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState pState, @NotNull @NotNull net.minecraft.world.level.BlockGetter pLevel, @NotNull @NotNull net.minecraft.core.BlockPos pPos, @NotNull @NotNull net.minecraft.world.level.pathfinder.PathComputationType pType)
      覆盖:
      isPathfindable 在类中 net.minecraft.world.level.block.state.BlockBehaviour