Package net.minecraft.client.sound
Record Class SoundListenerTransform
java.lang.Object
java.lang.Record
net.minecraft.client.sound.SoundListenerTransform
- Record Components:
position
-forward
-up
-
@Environment(CLIENT)
public record SoundListenerTransform(Vec3d position, Vec3d forward, Vec3d up)
extends Record
- Mappings:
Namespace Name official eny
intermediary net/minecraft/class_9054
named net/minecraft/client/sound/SoundListenerTransform
official b
intermediary comp_2165
named position
official c
intermediary comp_2166
named forward
official d
intermediary comp_2167
named up
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.forward()
Returns the value of theforward
record component.final int
hashCode()
Returns a hash code value for this object.position()
Returns the value of theposition
record component.right()
final String
toString()
Returns a string representation of this record class.up()
Returns the value of theup
record component.
-
Field Details
-
position
The field for theposition
record component. -
forward
The field for theforward
record component. -
up
The field for theup
record component. -
DEFAULT
- Mappings:
Namespace Name Mixin selector official a
Leny;a:Leny;
intermediary field_47671
Lnet/minecraft/class_9054;field_47671:Lnet/minecraft/class_9054;
named DEFAULT
Lnet/minecraft/client/sound/SoundListenerTransform;DEFAULT:Lnet/minecraft/client/sound/SoundListenerTransform;
-
-
Constructor Details
-
SoundListenerTransform
-
-
Method Details
-
right
- Mappings:
Namespace Name Mixin selector official a
Leny;a()Lelt;
intermediary method_55586
Lnet/minecraft/class_9054;method_55586()Lnet/minecraft/class_243;
named right
Lnet/minecraft/client/sound/SoundListenerTransform;right()Lnet/minecraft/util/math/Vec3d;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
position
Returns the value of theposition
record component.- Returns:
- the value of the
position
record component
-
forward
Returns the value of theforward
record component.- Returns:
- the value of the
forward
record component
-
up
Returns the value of theup
record component.- Returns:
- the value of the
up
record component
-