类 KelpBlock
-
- 所有已实现的接口:
Fertilizable,FluidFillable,ItemConvertible
public class KelpBlock extends AbstractPlantStemBlock implements FluidFillable
- Mappings:
Namespace Name official cchintermediary net/minecraft/class_2393named net/minecraft/block/KelpBlock
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.block.Block
Block.NeighborGroup
-
从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
-
字段概要
字段 修饰符和类型 字段 说明 private static doublefield_31105protected static VoxelShapeSHAPE-
从类继承的字段 net.minecraft.block.AbstractPlantStemBlock
AGE, MAX_AGE
-
从类继承的字段 net.minecraft.block.AbstractPlantPartBlock
growthDirection, outlineShape, tickWater
-
从类继承的字段 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
-
-
构造器概要
构造器 限定符 构造器 说明 protectedKelpBlock(AbstractBlock.Settings settings)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected booleancanAttachTo(BlockState state)booleancanFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid)protected booleanchooseStemState(BlockState state)FluidStategetFluidState(BlockState state)protected intgetGrowthLength(Random random)@Nullable BlockStategetPlacementState(ItemPlacementContext ctx)protected BlockgetPlant()booleantryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState)-
从类继承的方法 net.minecraft.block.AbstractPlantStemBlock
age, appendProperties, canGrow, copyState, getRandomGrowthState, getStateForNeighborUpdate, getStem, grow, hasRandomTicks, isFertilizable, randomTick
-
从类继承的方法 net.minecraft.block.AbstractPlantPartBlock
canPlaceAt, getOutlineShape, scheduledTick
-
从类继承的方法 net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, 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, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, rotate
-
-
-
-
字段详细资料
-
SHAPE
protected static final VoxelShape SHAPE
- Mappings:
Namespace Name Mixin selector official fLcch;f:Ldmt;intermediary field_11195Lnet/minecraft/class_2393;field_11195:Lnet/minecraft/class_265;named SHAPELnet/minecraft/block/KelpBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
field_31105
private static final double field_31105
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official gLcch;g:Dintermediary field_31105Lnet/minecraft/class_2393;field_31105:Dnamed field_31105Lnet/minecraft/block/KelpBlock;field_31105:D
-
-
构造器详细资料
-
KelpBlock
protected KelpBlock(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
-
-
方法详细资料
-
chooseStemState
protected boolean chooseStemState(BlockState state)
- 指定者:
chooseStemState在类中AbstractPlantStemBlock- Mappings:
Namespace Name Mixin selector official gLcbu;g(Lcjr;)Zintermediary method_24949Lnet/minecraft/class_4865;method_24949(Lnet/minecraft/class_2680;)Znamed chooseStemStateLnet/minecraft/block/AbstractPlantStemBlock;chooseStemState(Lnet/minecraft/block/BlockState;)Z
-
getPlant
protected Block getPlant()
- 指定者:
getPlant在类中AbstractPlantPartBlock- Mappings:
Namespace Name Mixin selector official cLcbs;c()Lbyq;intermediary method_24946Lnet/minecraft/class_4863;method_24946()Lnet/minecraft/class_2248;named getPlantLnet/minecraft/block/AbstractPlantPartBlock;getPlant()Lnet/minecraft/block/Block;
-
canAttachTo
protected boolean canAttachTo(BlockState state)
- 覆盖:
canAttachTo在类中AbstractPlantPartBlock- Mappings:
Namespace Name Mixin selector official hLcbs;h(Lcjr;)Zintermediary method_24947Lnet/minecraft/class_4863;method_24947(Lnet/minecraft/class_2680;)Znamed canAttachToLnet/minecraft/block/AbstractPlantPartBlock;canAttachTo(Lnet/minecraft/block/BlockState;)Z
-
canFillWithFluid
public boolean canFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid)
- 指定者:
canFillWithFluid在接口中FluidFillable- Mappings:
Namespace Name Mixin selector official aLccu;a(Lbuv;Lgb;Lcjr;Lddr;)Zintermediary method_10310Lnet/minecraft/class_2402;method_10310(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3611;)Znamed canFillWithFluidLnet/minecraft/block/FluidFillable;canFillWithFluid(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/Fluid;)Z
-
tryFillWithFluid
public boolean tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState)
- 指定者:
tryFillWithFluid在接口中FluidFillable- Mappings:
Namespace Name Mixin selector official aLccu;a(Lbvs;Lgb;Lcjr;Ldds;)Zintermediary method_10311Lnet/minecraft/class_2402;method_10311(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3610;)Znamed tryFillWithFluidLnet/minecraft/block/FluidFillable;tryFillWithFluid(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/FluidState;)Z
-
getGrowthLength
protected int getGrowthLength(Random random)
- 指定者:
getGrowthLength在类中AbstractPlantStemBlock- Mappings:
Namespace Name Mixin selector official aLcbu;a(Ljava/util/Random;)Iintermediary method_26376Lnet/minecraft/class_4865;method_26376(Ljava/util/Random;)Inamed getGrowthLengthLnet/minecraft/block/AbstractPlantStemBlock;getGrowthLength(Ljava/util/Random;)I
-
getPlacementState
@Nullable public @Nullable BlockState getPlacementState(ItemPlacementContext ctx)
- 覆盖:
getPlacementState在类中AbstractPlantPartBlock- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lbrr;)Lcjr;intermediary method_9605Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;named getPlacementStateLnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
-
getFluidState
public FluidState getFluidState(BlockState state)
- 覆盖:
getFluidState在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official c_Lcjq;c_(Lcjr;)Ldds;intermediary method_9545Lnet/minecraft/class_4970;method_9545(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;named getFluidStateLnet/minecraft/block/AbstractBlock;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
-
-