Package net.minecraft
Record Class class_11326
java.lang.Object
java.lang.Record
net.minecraft.class_11326
- Record Components:
nearDistance-farDistance-sprites-spriteLocations-
@Environment(CLIENT)
public record class_11326(int nearDistance, int farDistance, List<Identifier> sprites, List<Identifier> spriteLocations)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11326intermediary net/minecraft/class_11326official hounamed nearDistanceintermediary comp_4191official dnamed farDistanceintermediary comp_4192official enamed spritesintermediary comp_4193official fnamed spriteLocationsintermediary comp_4194official g
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thefarDistancerecord component.static final intstatic final intstatic final com.mojang.serialization.Codec<class_11326> private static final com.mojang.serialization.Codec<Integer> private final intThe field for thenearDistancerecord component.private final List<Identifier> The field for thespriteLocationsrecord component.private final List<Identifier> The field for thespritesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11326(int int2, int int3, List<Identifier> list) class_11326(int int2, int int3, List<Identifier> list, List<Identifier> list2) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intReturns the value of thefarDistancerecord component.final inthashCode()Returns a hash code value for this object.method_71321(float float2) private com.mojang.serialization.DataResult<class_11326> intReturns the value of thenearDistancerecord component.Returns the value of thespriteLocationsrecord component.sprites()Returns the value of thespritesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
nearDistance
private final int nearDistanceThe field for thenearDistancerecord component. -
farDistance
private final int farDistanceThe field for thefarDistancerecord component. -
sprites
The field for thespritesrecord component. -
spriteLocations
The field for thespriteLocationsrecord component. -
field_60321
public static final int field_60321- See Also:
- Mappings:
Namespace Name Mixin selector named field_60321Lnet/minecraft/class_11326;field_60321:Iintermediary field_60321Lnet/minecraft/class_11326;field_60321:Iofficial aLhou;a:I
-
field_60322
public static final int field_60322- See Also:
- Mappings:
Namespace Name Mixin selector named field_60322Lnet/minecraft/class_11326;field_60322:Iintermediary field_60322Lnet/minecraft/class_11326;field_60322:Iofficial bLhou;b:I
-
field_60324
- Mappings:
Namespace Name Mixin selector named field_60324Lnet/minecraft/class_11326;field_60324:Lcom/mojang/serialization/Codec;intermediary field_60324Lnet/minecraft/class_11326;field_60324:Lcom/mojang/serialization/Codec;official hLhou;h:Lcom/mojang/serialization/Codec;
-
field_60323
- Mappings:
Namespace Name Mixin selector named field_60323Lnet/minecraft/class_11326;field_60323:Lcom/mojang/serialization/Codec;intermediary field_60323Lnet/minecraft/class_11326;field_60323:Lcom/mojang/serialization/Codec;official cLhou;c:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_11326
-
class_11326
-
-
Method Details
-
method_71324
- Mappings:
Namespace Name Mixin selector named method_71324Lnet/minecraft/class_11326;method_71324()Lcom/mojang/serialization/DataResult;intermediary method_71324Lnet/minecraft/class_11326;method_71324()Lcom/mojang/serialization/DataResult;official eLhou;e()Lcom/mojang/serialization/DataResult;
-
method_71321
- Mappings:
Namespace Name Mixin selector named method_71321Lnet/minecraft/class_11326;method_71321(F)Lnet/minecraft/util/Identifier;intermediary method_71321Lnet/minecraft/class_11326;method_71321(F)Lnet/minecraft/class_2960;official aLhou;a(F)Lalu;
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
nearDistance
public int nearDistance()Returns the value of thenearDistancerecord component.- Returns:
- the value of the
nearDistancerecord component
-
farDistance
public int farDistance()Returns the value of thefarDistancerecord component.- Returns:
- the value of the
farDistancerecord component
-
sprites
Returns the value of thespritesrecord component.- Returns:
- the value of the
spritesrecord component
-
spriteLocations
Returns the value of thespriteLocationsrecord component.- Returns:
- the value of the
spriteLocationsrecord component
-