Record Class Octree.Leaf
java.lang.Object
java.lang.Record
net.minecraft.client.render.chunk.Octree.Leaf
- Record Components:
section-
- All Implemented Interfaces:
Octree.Node
- Enclosing class:
Octree
@Environment(CLIENT)
private static record Octree.Leaf(ChunkBuilder.BuiltChunk section)
extends Record
implements Octree.Node
- Mappings:
Namespace Name named net/minecraft/client/render/chunk/Octree$Leafintermediary net/minecraft/class_10143$class_10146official ghh$cnamed sectionintermediary comp_3101official a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ChunkBuilder.BuiltChunkThe field for thesectionrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.section()Returns the value of thesectionrecord component.final StringtoString()Returns a string representation of this record class.voidvisit(Octree.Visitor visitor, boolean skipVisibilityCheck, Frustum frustum, int depth)
-
Field Details
-
section
The field for thesectionrecord component.
-
-
Constructor Details
-
Leaf
Leaf(ChunkBuilder.BuiltChunk builtChunk)
-
-
Method Details
-
visit
- Specified by:
visitin interfaceOctree.Node- Mappings:
Namespace Name Mixin selector named visitLnet/minecraft/client/render/chunk/Octree$Node;visit(Lnet/minecraft/client/render/chunk/Octree$Visitor;ZLnet/minecraft/client/render/Frustum;I)Vintermediary method_62917Lnet/minecraft/class_10143$class_10147;method_62917(Lnet/minecraft/class_10143$class_10148;ZLnet/minecraft/class_4604;I)Vofficial aLghh$d;a(Lghh$e;ZLgkx;I)V
-
getBuiltChunk
- Specified by:
getBuiltChunkin interfaceOctree.Node- Mappings:
Namespace Name Mixin selector named getBuiltChunkLnet/minecraft/client/render/chunk/Octree$Node;getBuiltChunk()Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;intermediary method_62915Lnet/minecraft/class_10143$class_10147;method_62915()Lnet/minecraft/class_846$class_851;official aLghh$d;a()Lgkt$b;
-
getBoundingBox
- Specified by:
getBoundingBoxin interfaceOctree.Node- Mappings:
Namespace Name Mixin selector named getBoundingBoxLnet/minecraft/client/render/chunk/Octree$Node;getBoundingBox()Lnet/minecraft/util/math/Box;intermediary method_62920Lnet/minecraft/class_10143$class_10147;method_62920()Lnet/minecraft/class_238;official bLghh$d;b()Leyn;
-
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). -
section
Returns the value of thesectionrecord component.- Returns:
- the value of the
sectionrecord component
-