Package net.minecraft.client.render
Class Frustum
java.lang.Object
net.minecraft.client.render.Frustum
@Environment(CLIENT) public class Frustum extends Object
- Mappings:
Namespace Name official ekl
intermediary net/minecraft/class_4604
named net/minecraft/client/render/Frustum
-
Field Summary
Fields Modifier and Type Field Description private Vector4f[]
homogeneousCoordinates
private double
x
private double
y
private double
z
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description private void
init(Matrix4f matrix4f, Matrix4f matrix4f2)
private boolean
isAnyCornerVisible(float x1, float y1, float z1, float x2, float y2, float z2)
private boolean
isVisible(double minX, double minY, double minZ, double maxX, double maxY, double maxZ)
boolean
isVisible(Box box)
void
setPosition(double cameraX, double cameraY, double cameraZ)
private void
transform(Matrix4f function, int x, int y, int z, int index)
-
Field Details
-
homogeneousCoordinates
- Mappings:
Namespace Name Mixin selector official a
Lekl;a:[Lh;
intermediary field_20994
Lnet/minecraft/class_4604;field_20994:[Lnet/minecraft/class_1162;
named homogeneousCoordinates
Lnet/minecraft/client/render/Frustum;homogeneousCoordinates:[Lnet/minecraft/client/util/math/Vector4f;
-
x
private double x- Mappings:
Namespace Name Mixin selector official b
Lekl;b:D
intermediary field_20995
Lnet/minecraft/class_4604;field_20995:D
named x
Lnet/minecraft/client/render/Frustum;x:D
-
y
private double y- Mappings:
Namespace Name Mixin selector official c
Lekl;c:D
intermediary field_20996
Lnet/minecraft/class_4604;field_20996:D
named y
Lnet/minecraft/client/render/Frustum;y:D
-
z
private double z- Mappings:
Namespace Name Mixin selector official d
Lekl;d:D
intermediary field_20997
Lnet/minecraft/class_4604;field_20997:D
named z
Lnet/minecraft/client/render/Frustum;z:D
-
-
Constructor Details
-
Frustum
-
-
Method Details
-
setPosition
public void setPosition(double cameraX, double cameraY, double cameraZ)- Mappings:
Namespace Name Mixin selector official a
Lekl;a(DDD)V
intermediary method_23088
Lnet/minecraft/class_4604;method_23088(DDD)V
named setPosition
Lnet/minecraft/client/render/Frustum;setPosition(DDD)V
-
init
- Mappings:
Namespace Name Mixin selector official a
Lekl;a(Lb;Lb;)V
intermediary method_23092
Lnet/minecraft/class_4604;method_23092(Lnet/minecraft/class_1159;Lnet/minecraft/class_1159;)V
named init
Lnet/minecraft/client/render/Frustum;init(Lnet/minecraft/util/math/Matrix4f;Lnet/minecraft/util/math/Matrix4f;)V
-
transform
- Mappings:
Namespace Name Mixin selector official a
Lekl;a(Lb;IIII)V
intermediary method_23091
Lnet/minecraft/class_4604;method_23091(Lnet/minecraft/class_1159;IIII)V
named transform
Lnet/minecraft/client/render/Frustum;transform(Lnet/minecraft/util/math/Matrix4f;IIII)V
-
isVisible
- Mappings:
Namespace Name Mixin selector official a
Lekl;a(Ldip;)Z
intermediary method_23093
Lnet/minecraft/class_4604;method_23093(Lnet/minecraft/class_238;)Z
named isVisible
Lnet/minecraft/client/render/Frustum;isVisible(Lnet/minecraft/util/math/Box;)Z
-
isVisible
private boolean isVisible(double minX, double minY, double minZ, double maxX, double maxY, double maxZ)- Mappings:
Namespace Name Mixin selector official a
Lekl;a(DDDDDD)Z
intermediary method_23089
Lnet/minecraft/class_4604;method_23089(DDDDDD)Z
named isVisible
Lnet/minecraft/client/render/Frustum;isVisible(DDDDDD)Z
-
isAnyCornerVisible
private boolean isAnyCornerVisible(float x1, float y1, float z1, float x2, float y2, float z2)- Mappings:
Namespace Name Mixin selector official a
Lekl;a(FFFFFF)Z
intermediary method_23090
Lnet/minecraft/class_4604;method_23090(FFFFFF)Z
named isAnyCornerVisible
Lnet/minecraft/client/render/Frustum;isAnyCornerVisible(FFFFFF)Z
-