Package net.minecraft.block
Class MossBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.MossBlock
- All Implemented Interfaces:
Fertilizable
,ItemConvertible
public class MossBlock extends Block implements Fertilizable
- Mappings:
Namespace Name official cbc
intermediary net/minecraft/class_5807
named net/minecraft/block/MossBlock
-
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
Fields inherited from class net.minecraft.block.Block
LOGGER, 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
Constructors Constructor Description MossBlock(AbstractBlock.Settings settings)
-
Method Summary
Modifier and Type Method Description boolean
canGrow(World world, Random random, BlockPos pos, BlockState state)
private static BlockState
getPlant(Random random)
void
grow(ServerWorld world, Random random, BlockPos pos, BlockState state)
boolean
isFertilizable(BlockView world, BlockPos pos, BlockState state, boolean isClient)
private static void
method_33631(StructureWorldAccess world, Random random, BlockPos pos)
private static int
placePlant(StructureWorldAccess world, Random random, BlockPos pos)
static boolean
placePlantsAround(StructureWorldAccess world, Random random, BlockPos pos)
Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, method_33614, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getOutlineShape, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
-
Constructor Details
-
MossBlock
- Mappings:
Namespace Name Mixin selector official <init>
Lchs;<init>(Lchs$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
-
isFertilizable
- Specified by:
isFertilizable
in interfaceFertilizable
- Mappings:
Namespace Name Mixin selector official a
Lbww;a(Lbsz;Lfx;Lcht;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
Lbww;a(Lbtv;Ljava/util/Random;Lfx;Lcht;)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
Lbww;a(Laav;Ljava/util/Random;Lfx;Lcht;)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
-
placePlantsAround
- Mappings:
Namespace Name Mixin selector official a
Lcbc;a(Lbuq;Ljava/util/Random;Lfx;)Z
intermediary method_33628
Lnet/minecraft/class_5807;method_33628(Lnet/minecraft/class_5281;Ljava/util/Random;Lnet/minecraft/class_2338;)Z
named placePlantsAround
Lnet/minecraft/block/MossBlock;placePlantsAround(Lnet/minecraft/world/StructureWorldAccess;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Z
-
placePlant
- Mappings:
Namespace Name Mixin selector official b
Lcbc;b(Lbuq;Ljava/util/Random;Lfx;)I
intermediary method_33630
Lnet/minecraft/class_5807;method_33630(Lnet/minecraft/class_5281;Ljava/util/Random;Lnet/minecraft/class_2338;)I
named placePlant
Lnet/minecraft/block/MossBlock;placePlant(Lnet/minecraft/world/StructureWorldAccess;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)I
-
method_33631
- Mappings:
Namespace Name Mixin selector official c
Lcbc;c(Lbuq;Ljava/util/Random;Lfx;)V
intermediary method_33631
Lnet/minecraft/class_5807;method_33631(Lnet/minecraft/class_5281;Ljava/util/Random;Lnet/minecraft/class_2338;)V
named method_33631
Lnet/minecraft/block/MossBlock;method_33631(Lnet/minecraft/world/StructureWorldAccess;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)V
-
getPlant
- Mappings:
Namespace Name Mixin selector official a
Lcbc;a(Ljava/util/Random;)Lcht;
intermediary method_33629
Lnet/minecraft/class_5807;method_33629(Ljava/util/Random;)Lnet/minecraft/class_2680;
named getPlant
Lnet/minecraft/block/MossBlock;getPlant(Ljava/util/Random;)Lnet/minecraft/block/BlockState;
-