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 drc
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
Nested classes/interfaces inherited from interface net.minecraft.block.Fertilizable
Fertilizable.FertilizableType
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<GlowLichenBlock> private final MultifaceGrower
Fields inherited from class net.minecraft.block.MultifaceBlock
DIRECTIONS, WATERLOGGED
Fields inherited from class net.minecraft.block.Block
field_31023, field_31024, field_31025, FORCE_STATE, FORCE_STATE_AND_SKIP_CALLBACKS_AND_DROPS, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_ALL_AND_REDRAW, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_BLOCK_ADDED_CALLBACK, SKIP_BLOCK_ENTITY_REPLACED_CALLBACK, SKIP_DROPS, SKIP_REDRAW_AND_BLOCK_ENTITY_REPLACED_CALLBACK, SKIP_REDSTONE_WIRE_STATE_REPLACEMENT, STATE_IDS, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, translationKey, velocityMultiplier
Fields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
canGrow
(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 aBlockState
and returns the luminance for the state.void
grow
(ServerWorld world, Random random, BlockPos pos, BlockState state) boolean
isFertilizable
(WorldView world, BlockPos pos, BlockState state) protected boolean
isTransparent
(BlockState state) Methods inherited from class net.minecraft.block.MultifaceBlock
appendProperties, canGrowOn, canGrowOn, canGrowWithDirection, canHaveDirection, canPlaceAt, canReplace, collectDirections, directionsToFlag, flagToDirections, getFluidState, getOutlineShape, getPlacementState, getProperty, getStateForNeighborUpdate, hasAnyDirection, hasDirection, mirror, rotate, withDirection
Methods inherited from class net.minecraft.block.Block
afterBreak, asBlock, asItem, canMobSpawnInside, cannotConnect, createColumnShape, createColumnShape, createCubeShape, createCuboidShape, createCuboidShape, createCuboidZShape, createCuboidZShape, createCuboidZShape, createShapeArray, createShapeFunction, createShapeFunction, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getRawIdFromState, getRegistryEntry, 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, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, 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, 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.Fertilizable
getFertilizableType, getFertilizeParticlePos
Methods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
Methods inherited from interface net.minecraft.block.Waterloggable
canFillWithFluid, 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
Ldrc;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
Ldrc;e:Ldsw;
-
-
Constructor Details
-
Method Details
-
getCodec
- Specified by:
getCodec
in classMultifaceGrowthBlock
- 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
Lebp;a()Lcom/mojang/serialization/MapCodec;
-
getLuminanceSupplier
Returns a function that receives aBlockState
and 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
BlockState
and returns the luminance for the state - API Note:
- The return value is meant to be passed to
AbstractBlock.Settings.luminance
builder 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
Ldrc;b(I)Ljava/util/function/ToIntFunction;
-
isFertilizable
- Specified by:
isFertilizable
in interfaceFertilizable
- 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
Ldnr;a(Ldkm;Liw;Lebq;)Z
-
canGrow
- Specified by:
canGrow
in interfaceFertilizable
- 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
Ldnr;a(Ldkj;Lbai;Liw;Lebq;)Z
-
grow
- Specified by:
grow
in interfaceFertilizable
- 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
Ldnr;a(Lasb;Lbai;Liw;Lebq;)V
-
isTransparent
- Overrides:
isTransparent
in classAbstractBlock
- 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_
Lebp;e_(Lebq;)Z
-
getGrower
- Specified by:
getGrower
in classMultifaceGrowthBlock
- 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
Ldsv;c()Ldsw;
-