Package net.minecraft.block
Class SmallDripleafBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.PlantBlock
net.minecraft.block.TallPlantBlock
net.minecraft.block.SmallDripleafBlock
- All Implemented Interfaces:
Fertilizable
,FluidDrainable
,FluidFillable
,Waterloggable
,ItemConvertible
- Mappings:
Namespace Name official cjz
intermediary net/minecraft/class_5808
named net/minecraft/block/SmallDripleafBlock
-
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 TypeFieldDescriptionstatic final DirectionProperty
protected static final float
protected static final VoxelShape
private static final BooleanProperty
Fields inherited from class net.minecraft.block.TallPlantBlock
HALF
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) protected boolean
canPlantOnTop
(BlockState floor, BlockView world, BlockPos pos) getFluidState
(BlockState state) getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) 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.float
void
grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) boolean
isFertilizable
(BlockView world, BlockPos pos, BlockState state, boolean isClient) mirror
(BlockState state, BlockMirror mirror) void
onPlaced
(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) rotate
(BlockState state, BlockRotation rotation) Applies a block rotation to a block state.Methods inherited from class net.minecraft.block.TallPlantBlock
afterBreak, getRenderingSeed, onBreak, onBreakInCreative, placeAt, withWaterloggedState
Methods inherited from class net.minecraft.block.PlantBlock
canPathfindThrough, isTranslucent
Methods inherited from class net.minecraft.block.Block
appendStacks, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, 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, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getPistonBehavior, getRaycastShape, getRenderType, getSidesShape, getStrongRedstonePower, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isShapeFullCube, isSideInvisible, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, scheduledTick
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
Lcjz;e:Lcpm;
intermediary field_28691
Lnet/minecraft/class_5808;field_28691:Lnet/minecraft/class_2746;
named WATERLOGGED
Lnet/minecraft/block/SmallDripleafBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;
-
FACING
- Mappings:
Namespace Name Mixin selector official b
Lcjz;b:Lcpp;
intermediary field_29563
Lnet/minecraft/class_5808;field_29563:Lnet/minecraft/class_2753;
named FACING
Lnet/minecraft/block/SmallDripleafBlock;FACING:Lnet/minecraft/state/property/DirectionProperty;
-
field_31246
protected static final float field_31246- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lcjz;c:F
intermediary field_31246
Lnet/minecraft/class_5808;field_31246:F
named field_31246
Lnet/minecraft/block/SmallDripleafBlock;field_31246:F
-
SHAPE
- Mappings:
Namespace Name Mixin selector official d
Lcjz;d:Ldqh;
intermediary field_28690
Lnet/minecraft/class_5808;field_28690:Lnet/minecraft/class_265;
named SHAPE
Lnet/minecraft/block/SmallDripleafBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
-
Constructor Details
-
SmallDripleafBlock
- 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;
-
canPlantOnTop
- Overrides:
canPlantOnTop
in classPlantBlock
- Mappings:
Namespace Name Mixin selector official d
Lcdx;d(Lcov;Lcab;Lgj;)Z
intermediary method_9695
Lnet/minecraft/class_2261;method_9695(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
named canPlantOnTop
Lnet/minecraft/block/PlantBlock;canPlantOnTop(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
-
getPlacementState
- Overrides:
getPlacementState
in classTallPlantBlock
- Mappings:
Namespace Name Mixin selector official a
Lcdq;a(Lbww;)Lcov;
intermediary method_9605
Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;
named getPlacementState
Lnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
-
onPlaced
public void onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) - Overrides:
onPlaced
in classTallPlantBlock
- Mappings:
Namespace Name Mixin selector official a
Lcdq;a(Lcav;Lgj;Lcov;Laxy;Lbuw;)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
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
-
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 classTallPlantBlock
- 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
-
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 classTallPlantBlock
- 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;
-
appendProperties
- Overrides:
appendProperties
in classTallPlantBlock
- 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
-
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
-
rotate
Applies a block rotation to a block state.By default, this returns the provided block state.
- Overrides:
rotate
in classAbstractBlock
- Returns:
- the rotated block state
- Mappings:
Namespace Name Mixin selector official a
Lcou;a(Lcov;Lcjm;)Lcov;
intermediary method_9598
Lnet/minecraft/class_4970;method_9598(Lnet/minecraft/class_2680;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2680;
named rotate
Lnet/minecraft/block/AbstractBlock;rotate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
-
mirror
- Overrides:
mirror
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lcou;a(Lcov;Lchz;)Lcov;
intermediary method_9569
Lnet/minecraft/class_4970;method_9569(Lnet/minecraft/class_2680;Lnet/minecraft/class_2415;)Lnet/minecraft/class_2680;
named mirror
Lnet/minecraft/block/AbstractBlock;mirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
-
getOffsetType
- Overrides:
getOffsetType
in classTallPlantBlock
- Mappings:
Namespace Name Mixin selector official U_
Lcou;U_()Lcou$b;
intermediary method_16841
Lnet/minecraft/class_4970;method_16841()Lnet/minecraft/class_4970$class_2250;
named getOffsetType
Lnet/minecraft/block/AbstractBlock;getOffsetType()Lnet/minecraft/block/AbstractBlock$OffsetType;
-
getVerticalModelOffsetMultiplier
public float getVerticalModelOffsetMultiplier()- Overrides:
getVerticalModelOffsetMultiplier
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official Z_
Lcou;Z_()F
intermediary method_37247
Lnet/minecraft/class_4970;method_37247()F
named getVerticalModelOffsetMultiplier
Lnet/minecraft/block/AbstractBlock;getVerticalModelOffsetMultiplier()F
-