类 StickyCompactCobwebBlock

java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
pers.saikel0rado1iu.spontaneousreplace.cobwebbed.block.StickyCompactCobwebBlock
所有已实现的接口:
net.fabricmc.fabric.api.block.v1.FabricBlock, net.minecraft.block.FluidDrainable, net.minecraft.block.FluidFillable, net.minecraft.block.Waterloggable, net.minecraft.item.ItemConvertible, net.minecraft.resource.featuretoggle.ToggleableFeature

public class StickyCompactCobwebBlock extends net.minecraft.block.Block implements net.minecraft.block.Waterloggable

黏密蛛网方块

黏密蛛网方块,一种更加强力的蛛网方块,但是可以被燃烧
从以下版本开始:
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 int
     
    static final float
     
    static final float
     
    static final float
     
    static final float
     
    static final net.minecraft.block.AbstractBlock.Settings
     
    static final int
     
    static final float
     
    static final float
     

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

    CODEC, 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
  • 构造器概要

    构造器
    构造器
    说明
    StickyCompactCobwebBlock(net.minecraft.block.AbstractBlock.Settings settings)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected void
    appendProperties(net.minecraft.state.StateManager.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
     
    net.minecraft.fluid.FluidState
    getFluidState(net.minecraft.block.BlockState state)
     
    @Nullable net.minecraft.block.BlockState
    getPlacementState(net.minecraft.item.ItemPlacementContext ctx)
     
    net.minecraft.block.BlockState
    getStateForNeighborUpdate(net.minecraft.block.BlockState state, net.minecraft.util.math.Direction direction, net.minecraft.block.BlockState neighborState, net.minecraft.world.WorldAccess world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.math.BlockPos neighborPos)
     
    void
    onEntityCollision(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.Entity entity)
    如果非蜘蛛实体冲突则减速

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

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

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

    calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getHardness, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getOutlineShape, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, isTransparent, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, 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.fabricmc.fabric.api.block.v1.FabricBlock

    getAppearance

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

    isEnabled

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

    canFillWithFluid, getBucketFillSound, tryDrainFluid, tryFillWithFluid
  • 字段详细资料

    • BURN_CHANCE

      public static final int BURN_CHANCE
      另请参阅:
    • SPREAD_CHANCE

      public static final int SPREAD_CHANCE
      另请参阅:
    • STRENGTH_RADIO

      public static final float STRENGTH_RADIO
      另请参阅:
    • DECELERATION_RADIO

      public static final float DECELERATION_RADIO
      另请参阅:
    • COBWEB_DROP

      public static final float COBWEB_DROP
      另请参阅:
    • STRENGTH

      public static final float STRENGTH
      另请参阅:
    • DECELERATION

      public static final float DECELERATION
      另请参阅:
    • DROP

      public static final float DROP
      另请参阅:
    • SETTINGS

      public static final net.minecraft.block.AbstractBlock.Settings SETTINGS
  • 构造器详细资料

    • StickyCompactCobwebBlock

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

    • appendProperties

      protected void appendProperties(net.minecraft.state.StateManager.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
      覆盖:
      appendProperties 在类中 net.minecraft.block.Block
    • getPlacementState

      @Nullable public @Nullable net.minecraft.block.BlockState getPlacementState(net.minecraft.item.ItemPlacementContext ctx)
      覆盖:
      getPlacementState 在类中 net.minecraft.block.Block
    • getFluidState

      public net.minecraft.fluid.FluidState getFluidState(net.minecraft.block.BlockState state)
      覆盖:
      getFluidState 在类中 net.minecraft.block.AbstractBlock
    • getStateForNeighborUpdate

      public net.minecraft.block.BlockState getStateForNeighborUpdate(net.minecraft.block.BlockState state, net.minecraft.util.math.Direction direction, net.minecraft.block.BlockState neighborState, net.minecraft.world.WorldAccess world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.math.BlockPos neighborPos)
      覆盖:
      getStateForNeighborUpdate 在类中 net.minecraft.block.AbstractBlock
    • onEntityCollision

      public void onEntityCollision(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.Entity entity)
      如果非蜘蛛实体冲突则减速
      覆盖:
      onEntityCollision 在类中 net.minecraft.block.AbstractBlock