yarn/mappings/net/minecraft/block/CaveVines.mapping

17 lines
933 B
Plaintext

CLASS net/minecraft/class_5803 net/minecraft/block/CaveVines
FIELD field_28687 SHAPE Lnet/minecraft/class_265;
FIELD field_28688 BERRIES Lnet/minecraft/class_2746;
METHOD method_33618 hasBerries (Lnet/minecraft/class_2680;)Z
ARG 0 state
METHOD method_33619 pickBerries (Lnet/minecraft/class_1297;Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1269;
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