类 NetherWartBlockMixin

java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
net.minecraft.world.level.block.BushBlock
committee.nova.mods.avaritia.init.mixins.NetherWartBlockMixin
所有已实现的接口:
net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.block.BonemealableBlock, net.minecraft.world.level.ItemLike, net.minecraftforge.common.extensions.IForgeBlock, net.minecraftforge.common.IPlantable

public abstract class NetherWartBlockMixin extends net.minecraft.world.level.block.BushBlock implements net.minecraft.world.level.block.BonemealableBlock
NetherWartBlockMixin
  • 嵌套类概要

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

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

    构造器
    构造器
    说明
    NetherWartBlockMixin(net.minecraft.world.level.block.state.BlockBehaviour.Properties pProperties)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected int
    avaritia$getAge(net.minecraft.world.level.block.state.BlockState blockState)
     
    net.minecraft.world.level.block.state.properties.IntegerProperty
     
    protected int
    avaritia$getBonemealAgeIncrease(net.minecraft.world.level.Level level)
     
    int
     
    net.minecraft.world.level.block.state.BlockState
    avaritia$getStateForAge(net.minecraft.world.level.block.state.BlockState blockState, int plantAge)
     
    void
    avaritia$growCrops(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.block.state.BlockState blockState)
     
    boolean
    avaritia$isMaxAge(net.minecraft.world.level.block.state.BlockState blockState)
     
    void
    avaritia$mayPlaceOn(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.BlockGetter pLevel, net.minecraft.core.BlockPos pPos, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> cir)
     
    boolean
    isBonemealSuccess(@NotNull net.minecraft.world.level.Level pLevel, @NotNull net.minecraft.util.RandomSource pRandom, @NotNull net.minecraft.core.BlockPos pPos, @NotNull net.minecraft.world.level.block.state.BlockState pState)
     
    boolean
    isValidBonemealTarget(@NotNull net.minecraft.world.level.LevelReader pLevel, @NotNull net.minecraft.core.BlockPos pPos, @NotNull net.minecraft.world.level.block.state.BlockState pState, boolean pIsClient)
     
    void
    performBonemeal(@NotNull net.minecraft.server.level.ServerLevel pLevel, @NotNull net.minecraft.util.RandomSource pRandom, @NotNull net.minecraft.core.BlockPos pPos, @NotNull net.minecraft.world.level.block.state.BlockState pState)
     

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

    canSurvive, getPlant, isPathfindable, mayPlaceOn, propagatesSkylightDown, updateShape

    从类继承的方法 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, 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, defaultDestroyTime, defaultMapColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getRenderShape, getSeed, getShadeBrightness, getShape, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isCollisionShapeFullBlock, isOcclusionShapeFullBlock, isSignalSource, mirror, neighborChanged, onPlace, onProjectileHit, onRemove, randomTick, requiredFeatures, rotate, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, use, 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

    从接口继承的方法 net.minecraftforge.common.IPlantable

    getPlantType
  • 构造器详细资料

    • NetherWartBlockMixin

      public NetherWartBlockMixin(net.minecraft.world.level.block.state.BlockBehaviour.Properties pProperties)
  • 方法详细资料

    • avaritia$mayPlaceOn

      public void avaritia$mayPlaceOn(net.minecraft.world.level.block.state.BlockState pState, net.minecraft.world.level.BlockGetter pLevel, net.minecraft.core.BlockPos pPos, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> cir)
    • isValidBonemealTarget

      public boolean isValidBonemealTarget(@NotNull @NotNull net.minecraft.world.level.LevelReader pLevel, @NotNull @NotNull net.minecraft.core.BlockPos pPos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState pState, boolean pIsClient)
      指定者:
      isValidBonemealTarget 在接口中 net.minecraft.world.level.block.BonemealableBlock
    • isBonemealSuccess

      public boolean isBonemealSuccess(@NotNull @NotNull net.minecraft.world.level.Level pLevel, @NotNull @NotNull net.minecraft.util.RandomSource pRandom, @NotNull @NotNull net.minecraft.core.BlockPos pPos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState pState)
      指定者:
      isBonemealSuccess 在接口中 net.minecraft.world.level.block.BonemealableBlock
    • performBonemeal

      public void performBonemeal(@NotNull @NotNull net.minecraft.server.level.ServerLevel pLevel, @NotNull @NotNull net.minecraft.util.RandomSource pRandom, @NotNull @NotNull net.minecraft.core.BlockPos pPos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState pState)
      指定者:
      performBonemeal 在接口中 net.minecraft.world.level.block.BonemealableBlock
    • avaritia$growCrops

      public void avaritia$growCrops(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.block.state.BlockState blockState)
    • avaritia$getStateForAge

      public net.minecraft.world.level.block.state.BlockState avaritia$getStateForAge(net.minecraft.world.level.block.state.BlockState blockState, int plantAge)
    • avaritia$getBonemealAgeIncrease

      protected int avaritia$getBonemealAgeIncrease(net.minecraft.world.level.Level level)
    • avaritia$getAge

      protected int avaritia$getAge(net.minecraft.world.level.block.state.BlockState blockState)
    • avaritia$getAgeProperty

      public net.minecraft.world.level.block.state.properties.IntegerProperty avaritia$getAgeProperty()
    • avaritia$getMaxAge

      public int avaritia$getMaxAge()
    • avaritia$isMaxAge

      public boolean avaritia$isMaxAge(net.minecraft.world.level.block.state.BlockState blockState)