Record Class Structure.class_9594
java.lang.Object
java.lang.Record
net.minecraft.world.gen.structure.Structure.class_9594
- Record Components:
offset-dense-
- Enclosing class:
Structure
- Mappings:
Namespace Name official ejt$aintermediary net/minecraft/class_3195$class_9594named net/minecraft/world/gen/structure/Structure$class_9594official bintermediary comp_2599named offsetofficial cintermediary comp_2600named dense
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanThe field for thedenserecord component.static final com.mojang.serialization.Codec<Structure.class_9594> private final Vec3iThe field for theoffsetrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandense()Returns the value of thedenserecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static Structure.class_9594method_59295(int int2, int int3, int int4, boolean bool) offset()Returns the value of theoffsetrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
offset
The field for theoffsetrecord component. -
dense
private final boolean denseThe field for thedenserecord component. -
field_51025
- Mappings:
Namespace Name Mixin selector official aLejt$a;a:Lcom/mojang/serialization/Codec;intermediary field_51025Lnet/minecraft/class_3195$class_9594;field_51025:Lcom/mojang/serialization/Codec;named field_51025Lnet/minecraft/world/gen/structure/Structure$class_9594;field_51025:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_9594
-
-
Method Details
-
method_59295
- Mappings:
Namespace Name Mixin selector official aLejt$a;a(IIIZ)Lejt$a;intermediary method_59295Lnet/minecraft/class_3195$class_9594;method_59295(IIIZ)Lnet/minecraft/class_3195$class_9594;named method_59295Lnet/minecraft/world/gen/structure/Structure$class_9594;method_59295(IIIZ)Lnet/minecraft/world/gen/structure/Structure$class_9594;
-
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 '=='. -
offset
Returns the value of theoffsetrecord component.- Returns:
- the value of the
offsetrecord component
-
dense
public boolean dense()Returns the value of thedenserecord component.- Returns:
- the value of the
denserecord component
-