类 SoulFarmLandBlock

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

public class SoulFarmLandBlock 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
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    protected 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
  • 构造器概要

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

    修饰符和类型
    方法
    说明
    boolean
    canSustainPlant(@NotNull net.minecraft.world.level.block.state.BlockState state, @NotNull net.minecraft.world.level.BlockGetter world, @NotNull net.minecraft.core.BlockPos pos, @NotNull net.minecraft.core.Direction facing, @NotNull net.minecraftforge.common.IPlantable plantable)
     
    @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)
     
    @Nullable net.minecraft.world.level.block.state.BlockState
    getToolModifiedState(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.context.UseOnContext context, net.minecraftforge.common.ToolAction toolAction, boolean simulate)
     
    void
    randomTick(@NotNull net.minecraft.world.level.block.state.BlockState state, net.minecraft.server.level.ServerLevel level, @NotNull net.minecraft.core.BlockPos pos, @NotNull net.minecraft.util.RandomSource rand)
     
    @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)
     
    boolean
    useShapeForLightOcclusion(@NotNull net.minecraft.world.level.block.state.BlockState pState)
     

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

    animateTick, appendHoverText, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, 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, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getRenderShape, getSeed, getShadeBrightness, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isCollisionShapeFullBlock, isOcclusionShapeFullBlock, isPathfindable, isSignalSource, mirror, neighborChanged, onPlace, onProjectileHit, onRemove, requiredFeatures, rotate, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, use

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

    • SHAPE

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

    • SoulFarmLandBlock

      public SoulFarmLandBlock()
  • 方法详细资料

    • 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
    • useShapeForLightOcclusion

      public boolean useShapeForLightOcclusion(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState pState)
      覆盖:
      useShapeForLightOcclusion 在类中 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 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
    • getToolModifiedState

      @Nullable public @Nullable net.minecraft.world.level.block.state.BlockState getToolModifiedState(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.context.UseOnContext context, net.minecraftforge.common.ToolAction toolAction, boolean simulate)
    • canSustainPlant

      public boolean canSustainPlant(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState state, @NotNull @NotNull net.minecraft.world.level.BlockGetter world, @NotNull @NotNull net.minecraft.core.BlockPos pos, @NotNull @NotNull net.minecraft.core.Direction facing, @NotNull net.minecraftforge.common.IPlantable plantable)
      指定者:
      canSustainPlant 在接口中 net.minecraftforge.common.extensions.IForgeBlock
      覆盖:
      canSustainPlant 在类中 net.minecraft.world.level.block.Block
    • randomTick

      public void randomTick(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState state, net.minecraft.server.level.ServerLevel level, @NotNull @NotNull net.minecraft.core.BlockPos pos, @NotNull @NotNull net.minecraft.util.RandomSource rand)
      覆盖:
      randomTick 在类中 net.minecraft.world.level.block.state.BlockBehaviour