Package net.minecraft.block
Class GlowLichenBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.MultifaceBlock
net.minecraft.block.MultifaceGrowthBlock
net.minecraft.block.GlowLichenBlock
- All Implemented Interfaces:
- Fertilizable,- FluidDrainable,- FluidFillable,- Waterloggable,- ItemConvertible,- ToggleableFeature
- Mappings:
- Namespace - Name - named - net/minecraft/block/GlowLichenBlock- intermediary - net/minecraft/class_5777- official - dmy
- 
Nested Class SummaryNested 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 com.mojang.serialization.MapCodec<GlowLichenBlock> private final MultifaceGrowerFields inherited from class net.minecraft.block.MultifaceBlockDIRECTIONS, WATERLOGGEDFields 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, 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 TypeMethodDescriptionbooleancanGrow(World world, Random random, BlockPos pos, BlockState state) com.mojang.serialization.MapCodec<GlowLichenBlock> getCodec()static ToIntFunction<BlockState> getLuminanceSupplier(int luminance) Returns a function that receives aBlockStateand returns the luminance for the state.voidgrow(ServerWorld world, Random random, BlockPos pos, BlockState state) booleanisFertilizable(WorldView world, BlockPos pos, BlockState state) protected booleanisTransparent(BlockState state) Methods inherited from class net.minecraft.block.MultifaceBlockappendProperties, canGrowOn, canGrowOn, canGrowWithDirection, canHaveDirection, canPlaceAt, canReplace, collectDirections, directionsToFlag, flagToDirections, getFluidState, getOutlineShape, getPlacementState, getProperty, getStateForNeighborUpdate, hasAnyDirection, hasDirection, mirror, rotate, withDirectionMethods inherited from class net.minecraft.block.BlockafterBreak, appendTooltip, 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, 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.AbstractBlockcalcBlockBreakingDelta, canBucketPlace, canPathfindThrough, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getHardness, getInsideCollisionShape, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getPickStack, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStrongRedstonePower, getTranslationKey, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isShapeFullCube, isSideInvisible, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, onUseWithItem, prepare, randomTick, 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.ToggleableFeatureisEnabledMethods inherited from interface net.minecraft.block.WaterloggablecanFillWithFluid, getBucketFillSound, tryDrainFluid, tryFillWithFluid
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/block/GlowLichenBlock;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_46363- Lnet/minecraft/class_5777;field_46363:Lcom/mojang/serialization/MapCodec;- official - a- Ldmy;a:Lcom/mojang/serialization/MapCodec;
 
- 
grower- Mappings:
- Namespace - Name - Mixin selector - named - grower- Lnet/minecraft/block/GlowLichenBlock;grower:Lnet/minecraft/block/MultifaceGrower;- intermediary - field_37585- Lnet/minecraft/class_5777;field_37585:Lnet/minecraft/class_7118;- official - e- Ldmy;e:Ldor;
 
 
- 
- 
Constructor Details- 
GlowLichenBlock- 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- Specified by:
- getCodecin class- MultifaceGrowthBlock
- 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;
 
- 
getLuminanceSupplierReturns a function that receives aBlockStateand returns the luminance for the state. If the lichen has no visible sides, it supplies 0.- Parameters:
- luminance- luminance supplied when the lichen has at least one visible side
- Returns:
- a function that receives a BlockStateand returns the luminance for the state
- API Note:
- The return value is meant to be passed to
 AbstractBlock.Settings.luminancebuilder method.
- Mappings:
- Namespace - Name - Mixin selector - named - getLuminanceSupplier- Lnet/minecraft/block/GlowLichenBlock;getLuminanceSupplier(I)Ljava/util/function/ToIntFunction;- intermediary - method_37364- Lnet/minecraft/class_5777;method_37364(I)Ljava/util/function/ToIntFunction;- official - b- Ldmy;b(I)Ljava/util/function/ToIntFunction;
 
- 
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
 
- 
isTransparent- Overrides:
- isTransparentin class- AbstractBlock
- Mappings:
- Namespace - Name - Mixin selector - named - isTransparent- Lnet/minecraft/block/AbstractBlock;isTransparent(Lnet/minecraft/block/BlockState;)Z- intermediary - method_9579- Lnet/minecraft/class_4970;method_9579(Lnet/minecraft/class_2680;)Z- official - e_- Ldwx;e_(Ldwy;)Z
 
- 
getGrower- Specified by:
- getGrowerin class- MultifaceGrowthBlock
- Mappings:
- Namespace - Name - Mixin selector - named - getGrower- Lnet/minecraft/block/MultifaceGrowthBlock;getGrower()Lnet/minecraft/block/MultifaceGrower;- intermediary - method_41432- Lnet/minecraft/class_10376;method_41432()Lnet/minecraft/class_7118;- official - c- Ldoq;c()Ldor;
 
 
-