java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.ConnectingBlock
pers.saikel0rado1iu.silk.api.magiccube.PhysicsConnectingBlock
pers.saikel0rado1iu.spontaneousreplace.terriforest.block.EerieBoughBlock
所有已实现的接口:
net.fabricmc.fabric.api.block.v1.FabricBlock, net.minecraft.block.BlockEntityProvider, net.minecraft.item.ItemConvertible, net.minecraft.resource.featuretoggle.ToggleableFeature

public class EerieBoughBlock extends pers.saikel0rado1iu.silk.api.magiccube.PhysicsConnectingBlock

阴森木枝方块

一种可连接方块
从以下版本开始:
1.0.0
  • 嵌套类概要

    从类继承的嵌套类/接口 net.minecraft.block.Block

    net.minecraft.block.Block.NeighborGroup

    从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock

    net.minecraft.block.AbstractBlock.AbstractBlockState, net.minecraft.block.AbstractBlock.ContextPredicate, net.minecraft.block.AbstractBlock.Offsetter, net.minecraft.block.AbstractBlock.OffsetType, net.minecraft.block.AbstractBlock.Settings, net.minecraft.block.AbstractBlock.TypedContextPredicate<A>
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final com.mojang.serialization.MapCodec<EerieBoughBlock>
     

    从类继承的字段 pers.saikel0rado1iu.silk.api.magiccube.PhysicsConnectingBlock

    CONFLICT_OFFSETS

    从类继承的字段 net.minecraft.block.ConnectingBlock

    DOWN, EAST, FACING_PROPERTIES, facingsToShape, NORTH, SOUTH, UP, WEST

    从类继承的字段 net.minecraft.block.Block

    field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_ALL_AND_REDRAW, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, STATE_IDS, stateManager

    从类继承的字段 net.minecraft.block.AbstractBlock

    collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplier

    从接口继承的字段 net.minecraft.resource.featuretoggle.ToggleableFeature

    FEATURE_ENABLED_REGISTRY_KEYS
  • 构造器概要

    构造器
    限定符
    构造器
    说明
    protected
    EerieBoughBlock(net.minecraft.block.AbstractBlock.Settings settings)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    @Nullable net.minecraft.block.entity.BlockEntity
    createBlockEntity(net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState state)
     
    protected com.mojang.serialization.MapCodec<? extends net.minecraft.block.ConnectingBlock>
     
    boolean
    isConnectable(net.minecraft.block.BlockState state)
    是否可连接
    boolean
    isPlaceable(net.minecraft.block.BlockState state)
    是否可放置

    从类继承的方法 pers.saikel0rado1iu.silk.api.magiccube.PhysicsConnectingBlock

    appendProperties, canPlaceAt, getPlacementState, getStateForNeighborUpdate, onBreak, onPlaced, placeBlock, setConnectionProperties, withConnectionProperties

    从类继承的方法 net.minecraft.block.ConnectingBlock

    getConnectionMask, getOutlineShape, isTransparent

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

    afterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasTopRim, isFaceFullSquare, isShapeFullCube, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString

    从类继承的方法 net.minecraft.block.AbstractBlock

    calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canReplace, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, onUseWithItem, prepare, randomTick, rotate, scheduledTick

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

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

    从接口继承的方法 net.minecraft.block.BlockEntityProvider

    getGameEventListener, getTicker

    从接口继承的方法 net.fabricmc.fabric.api.block.v1.FabricBlock

    getAppearance

    从接口继承的方法 net.minecraft.resource.featuretoggle.ToggleableFeature

    isEnabled
  • 字段详细资料

    • CODEC

      public static final com.mojang.serialization.MapCodec<EerieBoughBlock> CODEC
  • 构造器详细资料

    • EerieBoughBlock

      protected EerieBoughBlock(net.minecraft.block.AbstractBlock.Settings settings)
  • 方法详细资料

    • isPlaceable

      public boolean isPlaceable(net.minecraft.block.BlockState state)
      是否可放置
      指定者:
      isPlaceable 在类中 pers.saikel0rado1iu.silk.api.magiccube.PhysicsConnectingBlock
      参数:
      state - 检测方块状态
      返回:
      如果为 true 则此连接块可以放置在这些完整方块上
    • isConnectable

      public boolean isConnectable(net.minecraft.block.BlockState state)
      是否可连接
      指定者:
      isConnectable 在类中 pers.saikel0rado1iu.silk.api.magiccube.PhysicsConnectingBlock
      参数:
      state - 检测方块状态
      返回:
      如果为 true 此方块会将这些方块识别为可连接的一部分
    • createBlockEntity

      @Nullable public @Nullable net.minecraft.block.entity.BlockEntity createBlockEntity(net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState state)
    • getCodec

      protected com.mojang.serialization.MapCodec<? extends net.minecraft.block.ConnectingBlock> getCodec()
      指定者:
      getCodec 在类中 net.minecraft.block.ConnectingBlock