Class Frustum

java.lang.Object
net.minecraft.client.render.Frustum

@Environment(CLIENT) public class Frustum extends Object
Mappings:
Namespace Name
official eqb
intermediary net/minecraft/class_4604
named net/minecraft/client/render/Frustum
  • Field Details

    • homogeneousCoordinates

      private final Vector4f[] homogeneousCoordinates
      Mappings:
      Namespace Name Mixin selector
      official a Leqb;a:[Ll;
      intermediary field_20994 Lnet/minecraft/class_4604;field_20994:[Lnet/minecraft/class_1162;
      named homogeneousCoordinates Lnet/minecraft/client/render/Frustum;homogeneousCoordinates:[Lnet/minecraft/util/math/Vector4f;
    • x

      private double x
      Mappings:
      Namespace Name Mixin selector
      official b Leqb;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 Leqb;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 Leqb;d:D
      intermediary field_20997 Lnet/minecraft/class_4604;field_20997:D
      named z Lnet/minecraft/client/render/Frustum;z:D
  • Constructor Details

  • Method Details

    • setPosition

      public void setPosition(double cameraX, double cameraY, double cameraZ)
      Mappings:
      Namespace Name Mixin selector
      official a Leqb;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

      private void init(Matrix4f matrix4f, Matrix4f matrix4f2)
      Mappings:
      Namespace Name Mixin selector
      official a Leqb;a(Ld;Ld;)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

      private void transform(Matrix4f function, int x, int y, int z, int index)
      Mappings:
      Namespace Name Mixin selector
      official a Leqb;a(Ld;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

      public boolean isVisible(Box box)
      Mappings:
      Namespace Name Mixin selector
      official a Leqb;a(Ldmv;)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 Leqb;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 Leqb;a(FFFFFF)Z
      intermediary method_23090 Lnet/minecraft/class_4604;method_23090(FFFFFF)Z
      named isAnyCornerVisible Lnet/minecraft/client/render/Frustum;isAnyCornerVisible(FFFFFF)Z