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$Branch
intermediary net/minecraft/class_10143$class_10145
official gll$b
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Octree.AxisOrder
private final BlockBox
private final int
private final int
private final int
private final Octree.Node[]
private final boolean
private final boolean
private final boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
add
(ChunkBuilder.BuiltChunk chunk) private boolean
private BlockBox
getChildBox
(boolean western, boolean bottom, boolean northern) private static int
getIndex
(Octree.AxisOrder axisOrder, boolean sameRelativeSideX, boolean sameRelativeSideY, boolean sameRelativeSideZ) void
visit
(Octree.Visitor visitor, boolean skipVisibilityCheck, Frustum frustum, int depth, int margin, boolean nearCenter)
-
Field Details
-
children
- Mappings:
Namespace Name Mixin selector named children
Lnet/minecraft/client/render/chunk/Octree$Branch;children:[Lnet/minecraft/client/render/chunk/Octree$Node;
intermediary field_53917
Lnet/minecraft/class_10143$class_10145;field_53917:[Lnet/minecraft/class_10143$class_10147;
official b
Lgll$b;b:[Lgll$d;
-
box
- Mappings:
Namespace Name Mixin selector named box
Lnet/minecraft/client/render/chunk/Octree$Branch;box:Lnet/minecraft/util/math/BlockBox;
intermediary field_53918
Lnet/minecraft/class_10143$class_10145;field_53918:Lnet/minecraft/class_3341;
official c
Lgll$b;c:Leob;
-
centerX
private final int centerX- Mappings:
Namespace Name Mixin selector named centerX
Lnet/minecraft/client/render/chunk/Octree$Branch;centerX:I
intermediary field_53919
Lnet/minecraft/class_10143$class_10145;field_53919:I
official d
Lgll$b;d:I
-
centerY
private final int centerY- Mappings:
Namespace Name Mixin selector named centerY
Lnet/minecraft/client/render/chunk/Octree$Branch;centerY:I
intermediary field_53920
Lnet/minecraft/class_10143$class_10145;field_53920:I
official e
Lgll$b;e:I
-
centerZ
private final int centerZ- Mappings:
Namespace Name Mixin selector named centerZ
Lnet/minecraft/client/render/chunk/Octree$Branch;centerZ:I
intermediary field_53921
Lnet/minecraft/class_10143$class_10145;field_53921:I
official f
Lgll$b;f:I
-
axisOrder
- Mappings:
Namespace Name Mixin selector named axisOrder
Lnet/minecraft/client/render/chunk/Octree$Branch;axisOrder:Lnet/minecraft/client/render/chunk/Octree$AxisOrder;
intermediary field_53922
Lnet/minecraft/class_10143$class_10145;field_53922:Lnet/minecraft/class_10143$class_10144;
official g
Lgll$b;g:Lgll$a;
-
easternSide
private final boolean easternSide- Mappings:
Namespace Name Mixin selector named easternSide
Lnet/minecraft/client/render/chunk/Octree$Branch;easternSide:Z
intermediary field_53923
Lnet/minecraft/class_10143$class_10145;field_53923:Z
official h
Lgll$b;h:Z
-
topSide
private final boolean topSide- Mappings:
Namespace Name Mixin selector named topSide
Lnet/minecraft/client/render/chunk/Octree$Branch;topSide:Z
intermediary field_53924
Lnet/minecraft/class_10143$class_10145;field_53924:Z
official i
Lgll$b;i:Z
-
southernSide
private final boolean southernSide- Mappings:
Namespace Name Mixin selector named southernSide
Lnet/minecraft/client/render/chunk/Octree$Branch;southernSide:Z
intermediary field_53925
Lnet/minecraft/class_10143$class_10145;field_53925:Z
official j
Lgll$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;)V
intermediary <init>
Lnet/minecraft/class_10143$class_10145;<init>(Lnet/minecraft/class_10143;Lnet/minecraft/class_3341;)V
official <init>
Lgll$b;<init>(Lgll;Leob;)V
-
-
Method Details
-
add
- Mappings:
Namespace Name Mixin selector named add
Lnet/minecraft/client/render/chunk/Octree$Branch;add(Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;)Z
intermediary method_62918
Lnet/minecraft/class_10143$class_10145;method_62918(Lnet/minecraft/class_846$class_851;)Z
official a
Lgll$b;a(Lgox$b;)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 getIndex
Lnet/minecraft/client/render/chunk/Octree$Branch;getIndex(Lnet/minecraft/client/render/chunk/Octree$AxisOrder;ZZZ)I
intermediary method_62916
Lnet/minecraft/class_10143$class_10145;method_62916(Lnet/minecraft/class_10143$class_10144;ZZZ)I
official a
Lgll$b;a(Lgll$a;ZZZ)I
-
areChildrenLeaves
private boolean areChildrenLeaves()- Mappings:
Namespace Name Mixin selector named areChildrenLeaves
Lnet/minecraft/client/render/chunk/Octree$Branch;areChildrenLeaves()Z
intermediary method_62921
Lnet/minecraft/class_10143$class_10145;method_62921()Z
official c
Lgll$b;c()Z
-
getChildBox
- Mappings:
Namespace Name Mixin selector named getChildBox
Lnet/minecraft/client/render/chunk/Octree$Branch;getChildBox(ZZZ)Lnet/minecraft/util/math/BlockBox;
intermediary method_62919
Lnet/minecraft/class_10143$class_10145;method_62919(ZZZ)Lnet/minecraft/class_3341;
official a
Lgll$b;a(ZZZ)Leob;
-
visit
public void visit(Octree.Visitor visitor, boolean skipVisibilityCheck, Frustum frustum, int depth, int margin, boolean nearCenter) - Specified by:
visit
in interfaceOctree.Node
- Mappings:
Namespace Name Mixin selector named visit
Lnet/minecraft/client/render/chunk/Octree$Node;visit(Lnet/minecraft/client/render/chunk/Octree$Visitor;ZLnet/minecraft/client/render/Frustum;IIZ)V
intermediary method_62917
Lnet/minecraft/class_10143$class_10147;method_62917(Lnet/minecraft/class_10143$class_10148;ZLnet/minecraft/class_4604;IIZ)V
official a
Lgll$d;a(Lgll$e;ZLgpb;IIZ)V
-
getBuiltChunk
- Specified by:
getBuiltChunk
in interfaceOctree.Node
- Mappings:
Namespace Name Mixin selector named getBuiltChunk
Lnet/minecraft/client/render/chunk/Octree$Node;getBuiltChunk()Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;
intermediary method_62915
Lnet/minecraft/class_10143$class_10147;method_62915()Lnet/minecraft/class_846$class_851;
official a
Lgll$d;a()Lgox$b;
-
getBoundingBox
- Specified by:
getBoundingBox
in interfaceOctree.Node
- Mappings:
Namespace Name Mixin selector named getBoundingBox
Lnet/minecraft/client/render/chunk/Octree$Node;getBoundingBox()Lnet/minecraft/util/math/Box;
intermediary method_62920
Lnet/minecraft/class_10143$class_10147;method_62920()Lnet/minecraft/class_238;
official b
Lgll$d;b()Lfbs;
-