yarn/mappings/net/minecraft/sound/BiomeMoodSound.mapping

30 lines
1.4 KiB
Plaintext

CLASS net/minecraft/class_4968 net/minecraft/sound/BiomeMoodSound
FIELD field_23146 CAVE Lnet/minecraft/class_4968;
FIELD field_23147 sound Lnet/minecraft/class_3414;
FIELD field_23148 cultivationTicks I
FIELD field_23149 spawnRange I
FIELD field_23150 extraDistance D
FIELD field_24674 CODEC Lcom/mojang/serialization/Codec;
METHOD <init> (Lnet/minecraft/class_3414;IID)V
ARG 1 sound
ARG 2 cultivationTicks
ARG 3 spawnRange
ARG 4 extraDistance
METHOD method_26100 getSound ()Lnet/minecraft/class_3414;
METHOD method_26101 getCultivationTicks ()I
COMMENT Returns the ticks it takes for entering the mood environment (a totally
COMMENT dark cave) to playing the mood sound, or the inverse of the per-tick.
METHOD method_26102 getSpawnRange ()I
COMMENT Returns the chebyshev distance from which the mood sound can play to
COMMENT the player.
METHOD method_26103 getExtraDistance ()D
COMMENT Returns the extra distance of the sound from the player when the sound
COMMENT plays from the mood position.
COMMENT
COMMENT <p>The sound is actually played at a position along the line on the
COMMENT three-dimensional vector from the player to the chosen mood position that
COMMENT is this distance to the mood position and this distance farther from the
COMMENT player.
METHOD method_28394 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance