类 FernBlock
- java.lang.Object
-
- net.minecraft.block.AbstractBlock
-
- net.minecraft.block.Block
-
- net.minecraft.block.PlantBlock
-
- net.minecraft.block.FernBlock
-
- 所有已实现的接口:
Fertilizable,ItemConvertible
public class FernBlock extends PlantBlock implements Fertilizable
- Mappings:
Namespace Name official cfxintermediary net/minecraft/class_2526named net/minecraft/block/FernBlock
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.block.Block
Block.NeighborGroup
-
从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
-
字段概要
字段 修饰符和类型 字段 说明 protected static floatfield_31261protected static VoxelShapeSHAPE-
从类继承的字段 net.minecraft.block.Block
field_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, LOGGER, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_LIGHTING_UPDATES, STATE_IDS, stateManager
-
从类继承的字段 net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
-
构造器概要
构造器 限定符 构造器 说明 protectedFernBlock(AbstractBlock.Settings settings)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanGrow(World world, Random random, BlockPos pos, BlockState state)AbstractBlock.OffsetTypegetOffsetType()VoxelShapegetOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)voidgrow(ServerWorld world, Random random, BlockPos pos, BlockState state)booleanisFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)-
从类继承的方法 net.minecraft.block.PlantBlock
canPathfindThrough, canPlaceAt, canPlantOnTop, getStateForNeighborUpdate, isTranslucent
-
从类继承的方法 net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, 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, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
-
-
-
-
字段详细资料
-
field_31261
protected static final float field_31261
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLcfx;a:Fintermediary field_31261Lnet/minecraft/class_2526;field_31261:Fnamed field_31261Lnet/minecraft/block/FernBlock;field_31261:F
-
SHAPE
protected static final VoxelShape SHAPE
- Mappings:
Namespace Name Mixin selector official bLcfx;b:Ldmt;intermediary field_11617Lnet/minecraft/class_2526;field_11617:Lnet/minecraft/class_265;named SHAPELnet/minecraft/block/FernBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
-
构造器详细资料
-
FernBlock
protected FernBlock(AbstractBlock.Settings settings)
- Mappings:
Namespace Name Mixin selector official <init>Lcjq;<init>(Lcjq$c;)Vintermediary <init>Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)Vnamed <init>Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
方法详细资料
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
- 覆盖:
getOutlineShape在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbuv;Lgb;Ldmf;)Ldmt;intermediary method_9530Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;named getOutlineShapeLnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
-
isFertilizable
public boolean isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
- 指定者:
isFertilizable在接口中Fertilizable- Mappings:
Namespace Name Mixin selector official aLbys;a(Lbuv;Lgb;Lcjr;Z)Zintermediary method_9651Lnet/minecraft/class_2256;method_9651(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Znamed isFertilizableLnet/minecraft/block/Fertilizable;isFertilizable(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Z
-
canGrow
public boolean canGrow(World world, Random random, BlockPos pos, BlockState state)
- 指定者:
canGrow在接口中Fertilizable- Mappings:
Namespace Name Mixin selector official aLbys;a(Lbvr;Ljava/util/Random;Lgb;Lcjr;)Zintermediary method_9650Lnet/minecraft/class_2256;method_9650(Lnet/minecraft/class_1937;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Znamed canGrowLnet/minecraft/block/Fertilizable;canGrow(Lnet/minecraft/world/World;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
grow
public void grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
- 指定者:
grow在接口中Fertilizable- Mappings:
Namespace Name Mixin selector official aLbys;a(Labj;Ljava/util/Random;Lgb;Lcjr;)Vintermediary method_9652Lnet/minecraft/class_2256;method_9652(Lnet/minecraft/class_3218;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed growLnet/minecraft/block/Fertilizable;grow(Lnet/minecraft/server/world/ServerWorld;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
getOffsetType
public AbstractBlock.OffsetType getOffsetType()
- 覆盖:
getOffsetType在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official ak_Lcjq;ak_()Lcjq$b;intermediary method_16841Lnet/minecraft/class_4970;method_16841()Lnet/minecraft/class_4970$class_2250;named getOffsetTypeLnet/minecraft/block/AbstractBlock;getOffsetType()Lnet/minecraft/block/AbstractBlock$OffsetType;
-
-