Class Octree.Branch
java.lang.Object
net.minecraft.client.render.chunk.Octree.Branch
- All Implemented Interfaces:
Octree.Node
- Enclosing class:
Octree
- Mappings:
Namespace Name named net/minecraft/client/render/chunk/Octree$Branchintermediary net/minecraft/class_10143$class_10145official haq$b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Octree.AxisOrderprivate final BlockBoxprivate final intprivate final intprivate final intprivate final Octree.Node[]private final booleanprivate final booleanprivate final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(ChunkBuilder.BuiltChunk chunk) private booleanprivate BlockBoxgetChildBox(boolean western, boolean bottom, boolean northern) private static intgetIndex(Octree.AxisOrder axisOrder, boolean sameRelativeSideX, boolean sameRelativeSideY, boolean sameRelativeSideZ) voidvisit(Octree.Visitor visitor, boolean skipVisibilityCheck, Frustum frustum, int depth, int margin, boolean nearCenter)
-
Field Details
-
children
- Mappings:
Namespace Name Mixin selector named childrenLnet/minecraft/client/render/chunk/Octree$Branch;children:[Lnet/minecraft/client/render/chunk/Octree$Node;intermediary field_53917Lnet/minecraft/class_10143$class_10145;field_53917:[Lnet/minecraft/class_10143$class_10147;official bLhaq$b;b:[Lhaq$d;
-
box
- Mappings:
Namespace Name Mixin selector named boxLnet/minecraft/client/render/chunk/Octree$Branch;box:Lnet/minecraft/util/math/BlockBox;intermediary field_53918Lnet/minecraft/class_10143$class_10145;field_53918:Lnet/minecraft/class_3341;official cLhaq$b;c:Lewg;
-
centerX
private final int centerX- Mappings:
Namespace Name Mixin selector named centerXLnet/minecraft/client/render/chunk/Octree$Branch;centerX:Iintermediary field_53919Lnet/minecraft/class_10143$class_10145;field_53919:Iofficial dLhaq$b;d:I
-
centerY
private final int centerY- Mappings:
Namespace Name Mixin selector named centerYLnet/minecraft/client/render/chunk/Octree$Branch;centerY:Iintermediary field_53920Lnet/minecraft/class_10143$class_10145;field_53920:Iofficial eLhaq$b;e:I
-
centerZ
private final int centerZ- Mappings:
Namespace Name Mixin selector named centerZLnet/minecraft/client/render/chunk/Octree$Branch;centerZ:Iintermediary field_53921Lnet/minecraft/class_10143$class_10145;field_53921:Iofficial fLhaq$b;f:I
-
axisOrder
- Mappings:
Namespace Name Mixin selector named axisOrderLnet/minecraft/client/render/chunk/Octree$Branch;axisOrder:Lnet/minecraft/client/render/chunk/Octree$AxisOrder;intermediary field_53922Lnet/minecraft/class_10143$class_10145;field_53922:Lnet/minecraft/class_10143$class_10144;official gLhaq$b;g:Lhaq$a;
-
easternSide
private final boolean easternSide- Mappings:
Namespace Name Mixin selector named easternSideLnet/minecraft/client/render/chunk/Octree$Branch;easternSide:Zintermediary field_53923Lnet/minecraft/class_10143$class_10145;field_53923:Zofficial hLhaq$b;h:Z
-
topSide
private final boolean topSide- Mappings:
Namespace Name Mixin selector named topSideLnet/minecraft/client/render/chunk/Octree$Branch;topSide:Zintermediary field_53924Lnet/minecraft/class_10143$class_10145;field_53924:Zofficial iLhaq$b;i:Z
-
southernSide
private final boolean southernSide- Mappings:
Namespace Name Mixin selector named southernSideLnet/minecraft/client/render/chunk/Octree$Branch;southernSide:Zintermediary field_53925Lnet/minecraft/class_10143$class_10145;field_53925:Zofficial jLhaq$b;j:Z
-
-
Constructor Details
-
Branch
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/chunk/Octree$Branch;<init>(Lnet/minecraft/client/render/chunk/Octree;Lnet/minecraft/util/math/BlockBox;)Vintermediary <init>Lnet/minecraft/class_10143$class_10145;<init>(Lnet/minecraft/class_10143;Lnet/minecraft/class_3341;)Vofficial <init>Lhaq$b;<init>(Lhaq;Lewg;)V
-
-
Method Details
-
add
- Mappings:
Namespace Name Mixin selector named addLnet/minecraft/client/render/chunk/Octree$Branch;add(Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;)Zintermediary method_62918Lnet/minecraft/class_10143$class_10145;method_62918(Lnet/minecraft/class_846$class_851;)Zofficial aLhaq$b;a(Lher$a;)Z
-
getIndex
private static int getIndex(Octree.AxisOrder axisOrder, boolean sameRelativeSideX, boolean sameRelativeSideY, boolean sameRelativeSideZ) - Parameters:
sameRelativeSideX- whether the side of the chunk relative to this branch's center equals the side of the branch relative to the player, on the X axissameRelativeSideY- whether the side of the chunk relative to this branch's center equals the side of the branch relative to the player, on the Y axissameRelativeSideZ- whether the side of the chunk relative to this branch's center equals the side of the branch relative to the player, on the Z axis- Mappings:
Namespace Name Mixin selector named getIndexLnet/minecraft/client/render/chunk/Octree$Branch;getIndex(Lnet/minecraft/client/render/chunk/Octree$AxisOrder;ZZZ)Iintermediary method_62916Lnet/minecraft/class_10143$class_10145;method_62916(Lnet/minecraft/class_10143$class_10144;ZZZ)Iofficial aLhaq$b;a(Lhaq$a;ZZZ)I
-
areChildrenLeaves
private boolean areChildrenLeaves()- Mappings:
Namespace Name Mixin selector named areChildrenLeavesLnet/minecraft/client/render/chunk/Octree$Branch;areChildrenLeaves()Zintermediary method_62921Lnet/minecraft/class_10143$class_10145;method_62921()Zofficial cLhaq$b;c()Z
-
getChildBox
- Mappings:
Namespace Name Mixin selector named getChildBoxLnet/minecraft/client/render/chunk/Octree$Branch;getChildBox(ZZZ)Lnet/minecraft/util/math/BlockBox;intermediary method_62919Lnet/minecraft/class_10143$class_10145;method_62919(ZZZ)Lnet/minecraft/class_3341;official aLhaq$b;a(ZZZ)Lewg;
-
visit
public void visit(Octree.Visitor visitor, boolean skipVisibilityCheck, Frustum frustum, int depth, int margin, boolean nearCenter) - 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;IIZ)Vintermediary method_62917Lnet/minecraft/class_10143$class_10147;method_62917(Lnet/minecraft/class_10143$class_10148;ZLnet/minecraft/class_4604;IIZ)Vofficial aLhaq$d;a(Lhaq$e;ZLhew;IIZ)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 aLhaq$d;a()Lher$a;
-
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 bLhaq$d;b()Lfkd;
-