diff --git a/mappings/net/minecraft/block/CaveVines.mapping b/mappings/net/minecraft/block/CaveVines.mapping index 061a9e3d7c..d890338c76 100644 --- a/mappings/net/minecraft/block/CaveVines.mapping +++ b/mappings/net/minecraft/block/CaveVines.mapping @@ -7,3 +7,13 @@ CLASS net/minecraft/class_5803 net/minecraft/block/CaveVines ARG 0 state ARG 1 world ARG 2 pos + METHOD method_37361 (ILnet/minecraft/class_2680;)I + ARG 1 state + METHOD method_37362 getLuminanceSupplier (I)Ljava/util/function/ToIntFunction; + COMMENT {@return a function that receives a {@link BlockState} and returns the luminance for the state} + COMMENT If there are no berries, it supplies the value 0. + COMMENT + COMMENT @apiNote The return value is meant to be passed to + COMMENT {@link AbstractBlock.Settings#luminance} builder method. + ARG 0 luminance + COMMENT luminance supplied when the block has berries diff --git a/mappings/net/minecraft/block/GlowLichenBlock.mapping b/mappings/net/minecraft/block/GlowLichenBlock.mapping index c775772fa0..fdc72bec32 100644 --- a/mappings/net/minecraft/block/GlowLichenBlock.mapping +++ b/mappings/net/minecraft/block/GlowLichenBlock.mapping @@ -2,3 +2,13 @@ CLASS net/minecraft/class_5777 net/minecraft/block/GlowLichenBlock FIELD field_28412 WATERLOGGED Lnet/minecraft/class_2746; METHOD method_34727 (Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z ARG 4 direction + METHOD method_37363 (ILnet/minecraft/class_2680;)I + ARG 1 state + METHOD method_37364 getLuminanceSupplier (I)Ljava/util/function/ToIntFunction; + COMMENT {@return a function that receives a {@link BlockState} and returns the luminance for the state} + COMMENT If the lichen has no visible sides, it supplies 0. + COMMENT + COMMENT @apiNote The return value is meant to be passed to + COMMENT {@link AbstractBlock.Settings#luminance} builder method. + ARG 0 luminance + COMMENT luminance supplied when the lichen has at least one visible side