Class PitcherCropBlock
- All Implemented Interfaces:
- Fertilizable,- ItemConvertible,- ToggleableFeature
- Mappings:
- Namespace - Name - named - net/minecraft/block/PitcherCropBlock- intermediary - net/minecraft/class_8237- official - dpg
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class net.minecraft.block.AbstractBlockAbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>Nested classes/interfaces inherited from interface net.minecraft.block.FertilizableFertilizable.FertilizableType
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final IntPropertyprivate static final VoxelShapestatic final com.mojang.serialization.MapCodec<PitcherCropBlock> static final intprivate static final intprivate static final intprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShapeprivate static final VoxelShape[]private static final VoxelShape[]Fields inherited from class net.minecraft.block.TallPlantBlockHALFFields inherited from class net.minecraft.block.Blockfield_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, SKIP_REDSTONE_WIRE_STATE_REPLACEMENT, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlockcollidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, translationKey, velocityMultiplierFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureFEATURE_ENABLED_REGISTRY_KEYS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) Appends block state properties to this block.booleancanGrow(World world, Random random, BlockPos pos, BlockState state) private booleancanGrow(WorldView world, BlockPos pos, BlockState state, int age) private static booleanbooleancanPlaceAt(BlockState state, WorldView world, BlockPos pos) Returns whether the block can be placed atpos.private static booleancanPlaceAt(WorldView world, BlockPos pos) protected booleancanPlantOnTop(BlockState floor, BlockView world, BlockPos pos) booleancanReplace(BlockState state, ItemPlacementContext context) Returns whether the item can replace the block.com.mojang.serialization.MapCodec<PitcherCropBlock> getCodec()getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) getLowerHalfContext(WorldView world, BlockPos pos, BlockState state) getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.voidgrow(ServerWorld world, Random random, BlockPos pos, BlockState state) booleanhasRandomTicks(BlockState state) private static booleanisDoubleTallAtAge(int age) booleanisFertilizable(WorldView world, BlockPos pos, BlockState state) private booleanisFullyGrown(BlockState state) private static booleanisLowerHalf(BlockState state) voidonEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidonPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.voidrandomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.private voidtryGrow(ServerWorld world, BlockState state, BlockPos pos, int amount) Methods inherited from class net.minecraft.block.TallPlantBlockafterBreak, getRenderingSeed, onBreak, onBreakInCreative, placeAt, withWaterloggedStateMethods inherited from class net.minecraft.block.PlantBlockcanPathfindThrough, isTransparentMethods inherited from class net.minecraft.block.BlockappendTooltip, 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, getVelocityMultiplier, hasDynamicBounds, hasTopRim, isFaceFullSquare, isShapeFullCube, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toStringMethods inherited from class net.minecraft.block.AbstractBlockcalcBlockBreakingDelta, canBucketPlace, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getInsideCollisionShape, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getPickStack, getRaycastShape, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStrongRedstonePower, getTranslationKey, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, onUseWithItem, prepare, rotate, scheduledTickMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.block.FertilizablegetFertilizableType, getFertilizeParticlePosMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureisEnabled
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/block/PitcherCropBlock;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_46410- Lnet/minecraft/class_8237;field_46410:Lcom/mojang/serialization/MapCodec;- official - c- Ldpg;c:Lcom/mojang/serialization/MapCodec;
 
- 
AGE- Mappings:
- Namespace - Name - Mixin selector - named - AGE- Lnet/minecraft/block/PitcherCropBlock;AGE:Lnet/minecraft/state/property/IntProperty;- intermediary - field_43239- Lnet/minecraft/class_8237;field_43239:Lnet/minecraft/class_2758;- official - d- Ldpg;d:Ldxx;
 
- 
field_43240public static final int field_43240- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_43240- Lnet/minecraft/block/PitcherCropBlock;field_43240:I- intermediary - field_43240- Lnet/minecraft/class_8237;field_43240:I- official - e- Ldpg;e:I
 
- 
field_43241private static final int field_43241- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_43241- Lnet/minecraft/block/PitcherCropBlock;field_43241:I- intermediary - field_43241- Lnet/minecraft/class_8237;field_43241:I- official - f- Ldpg;f:I
 
- 
field_43391private static final int field_43391- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_43391- Lnet/minecraft/block/PitcherCropBlock;field_43391:I- intermediary - field_43391- Lnet/minecraft/class_8237;field_43391:I- official - g- Ldpg;g:I
 
- 
GROWN_UPPER_OUTLINE_SHAPE- Mappings:
- Namespace - Name - Mixin selector - named - GROWN_UPPER_OUTLINE_SHAPE- Lnet/minecraft/block/PitcherCropBlock;GROWN_UPPER_OUTLINE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;- intermediary - field_43244- Lnet/minecraft/class_8237;field_43244:Lnet/minecraft/class_265;- official - h- Ldpg;h:Lfbv;
 
- 
GROWN_LOWER_OUTLINE_SHAPE- Mappings:
- Namespace - Name - Mixin selector - named - GROWN_LOWER_OUTLINE_SHAPE- Lnet/minecraft/block/PitcherCropBlock;GROWN_LOWER_OUTLINE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;- intermediary - field_43245- Lnet/minecraft/class_8237;field_43245:Lnet/minecraft/class_265;- official - i- Ldpg;i:Lfbv;
 
- 
AGE_0_SHAPE- Mappings:
- Namespace - Name - Mixin selector - named - AGE_0_SHAPE- Lnet/minecraft/block/PitcherCropBlock;AGE_0_SHAPE:Lnet/minecraft/util/shape/VoxelShape;- intermediary - field_43246- Lnet/minecraft/class_8237;field_43246:Lnet/minecraft/class_265;- official - j- Ldpg;j:Lfbv;
 
- 
LOWER_COLLISION_SHAPE- Mappings:
- Namespace - Name - Mixin selector - named - LOWER_COLLISION_SHAPE- Lnet/minecraft/block/PitcherCropBlock;LOWER_COLLISION_SHAPE:Lnet/minecraft/util/shape/VoxelShape;- intermediary - field_43247- Lnet/minecraft/class_8237;field_43247:Lnet/minecraft/class_265;- official - k- Ldpg;k:Lfbv;
 
- 
UPPER_OUTLINE_SHAPES- Mappings:
- Namespace - Name - Mixin selector - named - UPPER_OUTLINE_SHAPES- Lnet/minecraft/block/PitcherCropBlock;UPPER_OUTLINE_SHAPES:[Lnet/minecraft/util/shape/VoxelShape;- intermediary - field_44477- Lnet/minecraft/class_8237;field_44477:[Lnet/minecraft/class_265;- official - l- Ldpg;l:[Lfbv;
 
- 
LOWER_OUTLINE_SHAPES- Mappings:
- Namespace - Name - Mixin selector - named - LOWER_OUTLINE_SHAPES- Lnet/minecraft/block/PitcherCropBlock;LOWER_OUTLINE_SHAPES:[Lnet/minecraft/util/shape/VoxelShape;- intermediary - field_44478- Lnet/minecraft/class_8237;field_44478:[Lnet/minecraft/class_265;- official - m- Ldpg;m:[Lfbv;
 
 
- 
- 
Constructor Details- 
PitcherCropBlock- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V- intermediary - <init>- Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V- official - <init>- Ldwx;<init>(Ldwx$d;)V
 
 
- 
- 
Method Details- 
getCodec- Overrides:
- getCodecin class- TallPlantBlock
- Mappings:
- Namespace - Name - Mixin selector - named - getCodec- Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;- intermediary - method_53969- Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;- official - a- Ldwx;a()Lcom/mojang/serialization/MapCodec;
 
- 
getPlacementState- Overrides:
- getPlacementStatein class- TallPlantBlock
- Mappings:
- Namespace - Name - Mixin selector - named - getPlacementState- Lnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;- intermediary - method_9605- Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;- official - a- Ldjn;a(Ldah;)Ldwy;
 
- 
getOutlineShapepublic VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
- getOutlineShapein class- AbstractBlock
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - getOutlineShape- Lnet/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;- intermediary - method_9530- Lnet/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;- official - a- Ldwx;a(Ldwy;Ldfo;Lji;Lfbg;)Lfbv;
 
- 
getCollisionShapepublic VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
- getCollisionShapein class- AbstractBlock
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - getCollisionShape- Lnet/minecraft/block/AbstractBlock;getCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;- intermediary - method_9549- Lnet/minecraft/class_4970;method_9549(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;- official - b- Ldwx;b(Ldwy;Ldfo;Lji;Lfbg;)Lfbv;
 
- 
getStateForNeighborUpdatepublic BlockState getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.Returning Blocks.AIRbreaks the block. This is useful to implement supporting block requirement for blocks (if used along withcanPlaceAt(net.minecraft.block.BlockState, net.minecraft.world.WorldView, net.minecraft.util.math.BlockPos)).Side effects like activating a redstone component (but not scheduling a tick) should be performed in AbstractBlock.neighborUpdate(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.Block, net.minecraft.world.block.WireOrientation, boolean)instead. If the block supports waterlogging and currently has water, this method should be overridden to tick the fluid at the block's position.This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using World.isClient. This is not called ifBlock.FORCE_STATEflag is set in thesetBlockStatecall.This method can be used for multiple purposes. Here are some examples: - FenceBlockuses it to update the fence's connection when a horizontally neighboring block's state is changed.
- PlantBlockuses it to break the plant if the state change causes it to lose its supporting block.
- DoorBlockuses it to copy the state of the other half of the door.
- SlabBlockuses it to schedule the fluid to tick if waterlogged.
- SoulSandBlockuses it to schedule the water block above to tick so that it becomes a bubble column.
- FallingBlockuses it to schedule the block to tick so that it can fall if needed.
 - Overrides:
- getStateForNeighborUpdatein class- TallPlantBlock
- Parameters:
- state- the state of this block
- world- the world
- pos- the position of this block
- direction- the direction from this block to the neighbor
- neighborPos- the position of the neighbor block
- neighborState- the state of the updated neighbor block
- Returns:
- the state of the block after a neighboring block's state change
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - getStateForNeighborUpdate- Lnet/minecraft/block/AbstractBlock;getStateForNeighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/world/tick/ScheduledTickView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/block/BlockState;- intermediary - method_9559- Lnet/minecraft/class_4970;method_9559(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_10225;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_5819;)Lnet/minecraft/class_2680;- official - a- Ldwx;a(Ldwy;Ldgm;Ldgy;Lji;Ljn;Lji;Ldwy;Lazh;)Ldwy;
 
- 
canPlaceAtReturns whether the block can be placed atpos.Blocks with supporting block requirements should override this method. Note that this should also be checked manually during getStateForNeighborUpdate(net.minecraft.block.BlockState, net.minecraft.world.WorldView, net.minecraft.world.tick.ScheduledTickView, net.minecraft.util.math.BlockPos, net.minecraft.util.math.Direction, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState, net.minecraft.util.math.random.Random)in order to break the block that lost its supporting block.This is only checked during the use of block items or by endermen, falling blocks, etc that can place blocks. This does not affect block state changes performed through World.setBlockState(BlockPos, BlockState)call.This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using World.isClient.- Overrides:
- canPlaceAtin class- TallPlantBlock
- Returns:
- whether the block can be placed at pos
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - canPlaceAt- Lnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z- intermediary - method_9558- Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z- official - a- Ldwx;a(Ldwy;Ldgm;Lji;)Z
 
- 
canPlantOnTop- Overrides:
- canPlantOnTopin class- PlantBlock
- Mappings:
- Namespace - Name - Mixin selector - named - canPlantOnTop- Lnet/minecraft/block/PlantBlock;canPlantOnTop(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z- intermediary - method_9695- Lnet/minecraft/class_2261;method_9695(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z- official - b- Ldjx;b(Ldwy;Ldfo;Lji;)Z
 
- 
appendPropertiesAppends block state properties to this block. To use this, override and callStateManager.Builder.add(net.minecraft.state.property.Property<?>[])inside the method. SeePropertiesfor the list of pre-defined properties.- Overrides:
- appendPropertiesin class- TallPlantBlock
- Mappings:
- Namespace - Name - Mixin selector - named - appendProperties- Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V- intermediary - method_9515- Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V- official - a- Ldjn;a(Ldwz$a;)V
 
- 
onEntityCollisionCalled when the entity's collision box intersects the block. Therefore, this method is not called for blocks with a collision; useBlock.onSteppedOn(net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState, net.minecraft.entity.Entity)for those blocks.This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using World.isClient.Here are some examples: - CactusBlockdamages the entity.
- AbstractPressurePlateBlocktriggers.
- CobwebBlockslows the entity.
- EndPortalBlockteleports the entity.
- HopperBlockcollects the item entity.
 - Overrides:
- onEntityCollisionin class- AbstractBlock
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - onEntityCollision- Lnet/minecraft/block/AbstractBlock;onEntityCollision(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)V- intermediary - method_9548- Lnet/minecraft/class_4970;method_9548(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)V- official - a- Ldwx;a(Ldwy;Ldgj;Lji;Lbum;)V
 
- 
canReplaceReturns whether the item can replace the block.By default, this checks if the block allows replacing and whether the item differs from the block's item. Items composed of multiple blocks, such as candles, vines, or snow layers, should override this to implement additional checks. This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using World.isClient.- Overrides:
- canReplacein class- AbstractBlock
- Returns:
- whether the item can replace the block
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - canReplace- Lnet/minecraft/block/AbstractBlock;canReplace(Lnet/minecraft/block/BlockState;Lnet/minecraft/item/ItemPlacementContext;)Z- intermediary - method_9616- Lnet/minecraft/class_4970;method_9616(Lnet/minecraft/class_2680;Lnet/minecraft/class_1750;)Z- official - a- Ldwx;a(Ldwy;Ldah;)Z
 
- 
onPlacedpublic void onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Called when the player placed the block.Tall or wide blocks (such as doors or beds) should override this to place the other half of the block. Blocks with block entities can use this to copy the data from the item stack, such as the custom name. This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using World.isClient.- Overrides:
- onPlacedin class- TallPlantBlock
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - onPlaced- Lnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)V- intermediary - method_9567- Lnet/minecraft/class_2248;method_9567(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;)V- official - a- Ldjn;a(Ldgj;Lji;Ldwy;Lbvi;Lcwq;)V
 
- 
hasRandomTicks- Overrides:
- hasRandomTicksin class- AbstractBlock
- Mappings:
- Namespace - Name - Mixin selector - named - hasRandomTicks- Lnet/minecraft/block/AbstractBlock;hasRandomTicks(Lnet/minecraft/block/BlockState;)Z- intermediary - method_9542- Lnet/minecraft/class_4970;method_9542(Lnet/minecraft/class_2680;)Z- official - f- Ldwx;f(Ldwy;)Z
 
- 
randomTickCalled server-side when a block gets ticked randomly. This can be overridden to implement various logics, most commonly plant growth. Default implementation does nothing. To control the rate of the action, userandom.Random tick speed is controlled by the game rule randomTickSpeedand can be disabled. Only blocks within 128-block cylinder (i.e. ignoring Y coordinates) around players receive random ticks.Blocks overriding this must use AbstractBlock.Settings.ticksRandomly()block settings.Here are some examples: - SugarCaneBlockuses this to grow sugar cane.
- OxidizableBlockuses this to oxidize.
- NetherPortalBlockuses this to spawn zombified piglins.
- LeavesBlockuses this to decay when far from logs.
 - Overrides:
- randomTickin class- AbstractBlock
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - randomTick- Lnet/minecraft/block/AbstractBlock;randomTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V- intermediary - method_9514- Lnet/minecraft/class_4970;method_9514(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V- official - b- Ldwx;b(Ldwy;Lard;Lji;Lazh;)V
 
- 
tryGrow- Mappings:
- Namespace - Name - Mixin selector - named - tryGrow- Lnet/minecraft/block/PitcherCropBlock;tryGrow(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;I)V- intermediary - method_49819- Lnet/minecraft/class_8237;method_49819(Lnet/minecraft/class_3218;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;I)V- official - a- Ldpg;a(Lard;Ldwy;Lji;I)V
 
- 
canGrowAt- Mappings:
- Namespace - Name - Mixin selector - named - canGrowAt- Lnet/minecraft/block/PitcherCropBlock;canGrowAt(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z- intermediary - method_49820- Lnet/minecraft/class_8237;method_49820(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z- official - a- Ldpg;a(Ldgm;Lji;)Z
 
- 
canPlaceAt- Mappings:
- Namespace - Name - Mixin selector - named - canPlaceAt- Lnet/minecraft/block/PitcherCropBlock;canPlaceAt(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z- intermediary - method_52267- Lnet/minecraft/class_8237;method_52267(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z- official - b- Ldpg;b(Ldgm;Lji;)Z
 
- 
isLowerHalf- Mappings:
- Namespace - Name - Mixin selector - named - isLowerHalf- Lnet/minecraft/block/PitcherCropBlock;isLowerHalf(Lnet/minecraft/block/BlockState;)Z- intermediary - method_51171- Lnet/minecraft/class_8237;method_51171(Lnet/minecraft/class_2680;)Z- official - o- Ldpg;o(Ldwy;)Z
 
- 
isDoubleTallAtAgeprivate static boolean isDoubleTallAtAge(int age) - Mappings:
- Namespace - Name - Mixin selector - named - isDoubleTallAtAge- Lnet/minecraft/block/PitcherCropBlock;isDoubleTallAtAge(I)Z- intermediary - method_52575- Lnet/minecraft/class_8237;method_52575(I)Z- official - b- Ldpg;b(I)Z
 
- 
canGrow- Mappings:
- Namespace - Name - Mixin selector - named - canGrow- Lnet/minecraft/block/PitcherCropBlock;canGrow(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)Z- intermediary - method_52266- Lnet/minecraft/class_8237;method_52266(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;I)Z- official - a- Ldpg;a(Ldgm;Lji;Ldwy;I)Z
 
- 
isFullyGrown- Mappings:
- Namespace - Name - Mixin selector - named - isFullyGrown- Lnet/minecraft/block/PitcherCropBlock;isFullyGrown(Lnet/minecraft/block/BlockState;)Z- intermediary - method_49821- Lnet/minecraft/class_8237;method_49821(Lnet/minecraft/class_2680;)Z- official - q- Ldpg;q(Ldwy;)Z
 
- 
getLowerHalfContext@Nullable private @Nullable PitcherCropBlock.LowerHalfContext getLowerHalfContext(WorldView world, BlockPos pos, BlockState state) - Mappings:
- Namespace - Name - Mixin selector - named - getLowerHalfContext- Lnet/minecraft/block/PitcherCropBlock;getLowerHalfContext(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/PitcherCropBlock$LowerHalfContext;- intermediary - method_52268- Lnet/minecraft/class_8237;method_52268(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_8237$class_8587;- official - c- Ldpg;c(Ldgm;Lji;Ldwy;)Ldpg$a;
 
- 
isFertilizable- Specified by:
- isFertilizablein interface- Fertilizable
- Mappings:
- Namespace - Name - Mixin selector - named - isFertilizable- Lnet/minecraft/block/Fertilizable;isFertilizable(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z- intermediary - method_9651- Lnet/minecraft/class_2256;method_9651(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z- official - a- Ldjq;a(Ldgm;Lji;Ldwy;)Z
 
- 
canGrow- Specified by:
- canGrowin interface- Fertilizable
- Mappings:
- Namespace - Name - Mixin selector - named - canGrow- Lnet/minecraft/block/Fertilizable;canGrow(Lnet/minecraft/world/World;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z- intermediary - method_9650- Lnet/minecraft/class_2256;method_9650(Lnet/minecraft/class_1937;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z- official - a- Ldjq;a(Ldgj;Lazh;Lji;Ldwy;)Z
 
- 
grow- Specified by:
- growin interface- Fertilizable
- Mappings:
- Namespace - Name - Mixin selector - named - grow- Lnet/minecraft/block/Fertilizable;grow(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V- intermediary - method_9652- Lnet/minecraft/class_2256;method_9652(Lnet/minecraft/class_3218;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V- official - a- Ldjq;a(Lard;Lazh;Lji;Ldwy;)V
 
 
-