类 TreacherousVinesPlantBlock

java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.AbstractPlantPartBlock
net.minecraft.block.AbstractPlantBlock
pers.saikel0rado1iu.spontaneousreplace.terriforest.block.TreacherousVinesPlantBlock
所有已实现的接口:
net.fabricmc.fabric.api.block.v1.FabricBlock, net.minecraft.block.Fertilizable, net.minecraft.item.ItemConvertible, net.minecraft.resource.featuretoggle.ToggleableFeature

public class TreacherousVinesPlantBlock extends net.minecraft.block.AbstractPlantBlock

诡谲藤植株方块

一种特殊的悬挂类藤蔓,接触后有概率获得 StatusEffects.ACIDIZE 效果
从以下版本开始:
1.1.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>

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

    net.minecraft.block.Fertilizable.FertilizableType
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final com.mojang.serialization.MapCodec<TreacherousVinesPlantBlock>
     
    static final net.minecraft.util.shape.VoxelShape
     

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

    growthDirection, outlineShape, tickWater

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

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

    修饰符和类型
    方法
    说明
    protected com.mojang.serialization.MapCodec<? extends net.minecraft.block.AbstractPlantBlock>
     
    protected net.minecraft.block.AbstractPlantStemBlock
     
    void
    onEntityCollision(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.Entity entity)
    玩家接触会酸化
    void
    randomDisplayTick(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.math.random.Random random)
    随机酸气粒子效果

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

    canGrow, canReplace, copyState, getPickStack, getPlant, getStateForNeighborUpdate, grow, isFertilizable

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

    canAttachTo, canPlaceAt, getOutlineShape, getPlacementState, getRandomGrowthState, scheduledTick

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

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

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

    calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, 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, isTransparent, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, onUseWithItem, prepare, randomTick, rotate

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

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

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

    getAppearance

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

    getFertilizableType, getFertilizeParticlePos

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

    isEnabled
  • 字段详细资料

    • SHAPE

      public static final net.minecraft.util.shape.VoxelShape SHAPE
    • CODEC

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

    • TreacherousVinesPlantBlock

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

    • randomDisplayTick

      public void randomDisplayTick(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.math.random.Random random)
      随机酸气粒子效果
      覆盖:
      randomDisplayTick 在类中 net.minecraft.block.Block
    • 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
    • getStem

      protected net.minecraft.block.AbstractPlantStemBlock getStem()
      指定者:
      getStem 在类中 net.minecraft.block.AbstractPlantPartBlock
    • getCodec

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