mirror of https://github.com/FabricMC/yarn.git
Map getLuminanceSupplier methods (#2464)
* Map getLuminanceSupplier methods * Update mappings/net/minecraft/block/CaveVines.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com>
This commit is contained in:
parent
b96c56fcd5
commit
a308aa67e3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue