Package net.minecraft.block
Class KelpBlock
- All Implemented Interfaces:
Fertilizable,FluidFillable,ItemConvertible
- Mappings:
Namespace Name official cmqintermediary net/minecraft/class_2393named net/minecraft/block/KelpBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroupNested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A> -
Field Summary
FieldsFields inherited from class net.minecraft.block.AbstractPlantStemBlock
AGE, MAX_AGEFields inherited from class net.minecraft.block.AbstractPlantPartBlock
growthDirection, outlineShape, tickWaterFields inherited from class net.minecraft.block.Block
field_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_LIGHTING_UPDATES, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanAttachTo(BlockState state) booleancanFillWithFluid(BlockView world, BlockPos pos, BlockState state, Fluid fluid) protected booleanchooseStemState(BlockState state) getFluidState(BlockState state) protected intgetGrowthLength(Random random) protected BlockgetPlant()booleantryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) Methods inherited from class net.minecraft.block.AbstractPlantStemBlock
age, appendProperties, canGrow, copyState, getRandomGrowthState, getStateForNeighborUpdate, getStem, grow, hasMaxAge, hasRandomTicks, isFertilizable, randomTick, withMaxAgeMethods inherited from class net.minecraft.block.AbstractPlantPartBlock
canPlaceAt, getOutlineShape, scheduledTickMethods inherited from class net.minecraft.block.Block
afterBreak, appendStacks, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getRegistryEntry, 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, toStringMethods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, rotate
-
Field Details
-
SHAPE
- Mappings:
Namespace Name Mixin selector official fLcmq;f:Ldwm;intermediary field_11195Lnet/minecraft/class_2393;field_11195:Lnet/minecraft/class_265;named SHAPELnet/minecraft/block/KelpBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
GROWTH_CHANCE
private static final double GROWTH_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector official gLcmq;g:Dintermediary field_31105Lnet/minecraft/class_2393;field_31105:Dnamed GROWTH_CHANCELnet/minecraft/block/KelpBlock;GROWTH_CHANCE:D
-
-
Constructor Details
-
KelpBlock
- Mappings:
Namespace Name Mixin selector official <init>Lcuq;<init>(Lcuq$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
-
-
Method Details
-
chooseStemState
- Specified by:
chooseStemStatein classAbstractPlantStemBlock- Mappings:
Namespace Name Mixin selector official gLcmc;g(Lcur;)Zintermediary method_24949Lnet/minecraft/class_4865;method_24949(Lnet/minecraft/class_2680;)Znamed chooseStemStateLnet/minecraft/block/AbstractPlantStemBlock;chooseStemState(Lnet/minecraft/block/BlockState;)Z
-
getPlant
- Specified by:
getPlantin classAbstractPlantPartBlock- Mappings:
Namespace Name Mixin selector official bLcma;b()Lciw;intermediary method_24946Lnet/minecraft/class_4863;method_24946()Lnet/minecraft/class_2248;named getPlantLnet/minecraft/block/AbstractPlantPartBlock;getPlant()Lnet/minecraft/block/Block;
-
canAttachTo
- Overrides:
canAttachToin classAbstractPlantPartBlock- Mappings:
Namespace Name Mixin selector official hLcma;h(Lcur;)Zintermediary method_24947Lnet/minecraft/class_4863;method_24947(Lnet/minecraft/class_2680;)Znamed canAttachToLnet/minecraft/block/AbstractPlantPartBlock;canAttachTo(Lnet/minecraft/block/BlockState;)Z
-
canFillWithFluid
- Specified by:
canFillWithFluidin interfaceFluidFillable- Mappings:
Namespace Name Mixin selector official aLcnd;a(Lcfg;Lgt;Lcur;Ldox;)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) - Specified by:
tryFillWithFluidin interfaceFluidFillable- Mappings:
Namespace Name Mixin selector official aLcnd;a(Lcgb;Lgt;Lcur;Ldoy;)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
- Specified by:
getGrowthLengthin classAbstractPlantStemBlock- Mappings:
Namespace Name Mixin selector official aLcmc;a(Lalu;)Iintermediary method_26376Lnet/minecraft/class_4865;method_26376(Lnet/minecraft/class_5819;)Inamed getGrowthLengthLnet/minecraft/block/AbstractPlantStemBlock;getGrowthLength(Lnet/minecraft/util/math/random/Random;)I
-
getPlacementState
- Overrides:
getPlacementStatein classAbstractPlantPartBlock- Mappings:
Namespace Name Mixin selector official aLciw;a(Lcca;)Lcur;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
- Overrides:
getFluidStatein classAbstractBlock- Mappings:
Namespace Name Mixin selector official c_Lcuq;c_(Lcur;)Ldoy;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;
-