Package net.minecraft.block
Class BigDripleafStemBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.HorizontalFacingBlock
net.minecraft.block.BigDripleafStemBlock
- All Implemented Interfaces:
Fertilizable
,FluidDrainable
,FluidFillable
,Waterloggable
,ItemConvertible
public class BigDripleafStemBlock
extends HorizontalFacingBlock
implements Fertilizable, Waterloggable
- Mappings:
Namespace Name official cdo
intermediary net/minecraft/class_5802
named net/minecraft/block/BigDripleafStemBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroup
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final VoxelShape
private static final int
protected static final VoxelShape
protected static final VoxelShape
private static final BooleanProperty
protected static final VoxelShape
Fields inherited from class net.minecraft.block.HorizontalFacingBlock
FACING
Fields 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, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
appendProperties
(StateManager.Builder<Block, BlockState> builder) boolean
canGrow
(World world, Random random, BlockPos pos, BlockState state) boolean
canPlaceAt
(BlockState state, WorldView world, BlockPos pos) getFluidState
(BlockState state) getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) getPickStack
(BlockView world, BlockPos pos, BlockState state) getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.void
grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) boolean
isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) protected static boolean
placeStemAt
(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction) void
scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) Methods inherited from class net.minecraft.block.HorizontalFacingBlock
mirror, rotate
Methods inherited from class net.minecraft.block.Block
afterBreak, appendStacks, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPlacementState, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isShapeFullCube, isSideInvisible, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.block.Waterloggable
canFillWithFluid, getBucketFillSound, tryDrainFluid, tryFillWithFluid
-
Field Details
-
WATERLOGGED
- Mappings:
Namespace Name Mixin selector official e
Lcdo;e:Lcpm;
intermediary field_28667
Lnet/minecraft/class_5802;field_28667:Lnet/minecraft/class_2746;
named WATERLOGGED
Lnet/minecraft/block/BigDripleafStemBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;
-
field_31021
private static final int field_31021- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lcdo;f:I
intermediary field_31021
Lnet/minecraft/class_5802;field_31021:I
named field_31021
Lnet/minecraft/block/BigDripleafStemBlock;field_31021:I
-
NORTH_SHAPE
- Mappings:
Namespace Name Mixin selector official a
Lcdo;a:Ldqh;
intermediary field_28668
Lnet/minecraft/class_5802;field_28668:Lnet/minecraft/class_265;
named NORTH_SHAPE
Lnet/minecraft/block/BigDripleafStemBlock;NORTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_SHAPE
- Mappings:
Namespace Name Mixin selector official b
Lcdo;b:Ldqh;
intermediary field_28669
Lnet/minecraft/class_5802;field_28669:Lnet/minecraft/class_265;
named SOUTH_SHAPE
Lnet/minecraft/block/BigDripleafStemBlock;SOUTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_SHAPE
- Mappings:
Namespace Name Mixin selector official c
Lcdo;c:Ldqh;
intermediary field_28670
Lnet/minecraft/class_5802;field_28670:Lnet/minecraft/class_265;
named EAST_SHAPE
Lnet/minecraft/block/BigDripleafStemBlock;EAST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_SHAPE
- Mappings:
Namespace Name Mixin selector official d
Lcdo;d:Ldqh;
intermediary field_28671
Lnet/minecraft/class_5802;field_28671:Lnet/minecraft/class_265;
named WEST_SHAPE
Lnet/minecraft/block/BigDripleafStemBlock;WEST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
-
Constructor Details
-
BigDripleafStemBlock
- Mappings:
Namespace Name Mixin selector official <init>
Lcou;<init>(Lcou$c;)V
intermediary <init>
Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
named <init>
Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getOutlineShape
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lcou;a(Lcov;Lcab;Lgj;Ldpt;)Ldqh;
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;
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;
-
appendProperties
- Overrides:
appendProperties
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lcdq;a(Lcow$a;)V
intermediary method_9515
Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
named appendProperties
Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-
getFluidState
- Overrides:
getFluidState
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official c_
Lcou;c_(Lcov;)Ldix;
intermediary method_9545
Lnet/minecraft/class_4970;method_9545(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;
named getFluidState
Lnet/minecraft/block/AbstractBlock;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
-
canPlaceAt
- Overrides:
canPlaceAt
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lcou;a(Lcov;Lcay;Lgj;)Z
intermediary method_9558
Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
named canPlaceAt
Lnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
placeStemAt
protected static boolean placeStemAt(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction) - Mappings:
Namespace Name Mixin selector official a
Lcdo;a(Lcaw;Lgj;Ldix;Lgo;)Z
intermediary method_33728
Lnet/minecraft/class_5802;method_33728(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_3610;Lnet/minecraft/class_2350;)Z
named placeStemAt
Lnet/minecraft/block/BigDripleafStemBlock;placeStemAt(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/FluidState;Lnet/minecraft/util/math/Direction;)Z
-
getStateForNeighborUpdate
public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.- Overrides:
getStateForNeighborUpdate
in classAbstractBlock
- Parameters:
state
- the state of this blockdirection
- the direction from this block to the neighborneighborState
- the state of the updated neighbor blockworld
- the worldpos
- the position of this blockneighborPos
- the position of the neighbor block- Returns:
- the new state of this block
- Mappings:
Namespace Name Mixin selector official a
Lcou;a(Lcov;Lgo;Lcov;Lcaw;Lgj;Lgj;)Lcov;
intermediary method_9559
Lnet/minecraft/class_4970;method_9559(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
named getStateForNeighborUpdate
Lnet/minecraft/block/AbstractBlock;getStateForNeighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
scheduledTick
- Overrides:
scheduledTick
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lcou;a(Lcov;Ladw;Lgj;Ljava/util/Random;)V
intermediary method_9588
Lnet/minecraft/class_4970;method_9588(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/util/Random;)V
named scheduledTick
Lnet/minecraft/block/AbstractBlock;scheduledTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
isFertilizable
- Specified by:
isFertilizable
in interfaceFertilizable
- Mappings:
Namespace Name Mixin selector official a
Lcds;a(Lcab;Lgj;Lcov;Z)Z
intermediary method_9651
Lnet/minecraft/class_2256;method_9651(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Z
named isFertilizable
Lnet/minecraft/block/Fertilizable;isFertilizable(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Z
-
canGrow
- Specified by:
canGrow
in interfaceFertilizable
- Mappings:
Namespace Name Mixin selector official a
Lcds;a(Lcav;Ljava/util/Random;Lgj;Lcov;)Z
intermediary method_9650
Lnet/minecraft/class_2256;method_9650(Lnet/minecraft/class_1937;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
named canGrow
Lnet/minecraft/block/Fertilizable;canGrow(Lnet/minecraft/world/World;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
grow
- Specified by:
grow
in interfaceFertilizable
- Mappings:
Namespace Name Mixin selector official a
Lcds;a(Ladw;Ljava/util/Random;Lgj;Lcov;)V
intermediary method_9652
Lnet/minecraft/class_2256;method_9652(Lnet/minecraft/class_3218;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named grow
Lnet/minecraft/block/Fertilizable;grow(Lnet/minecraft/server/world/ServerWorld;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
getPickStack
- Overrides:
getPickStack
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lcdq;a(Lcab;Lgj;Lcov;)Lbuw;
intermediary method_9574
Lnet/minecraft/class_2248;method_9574(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_1799;
named getPickStack
Lnet/minecraft/block/Block;getPickStack(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
-