Class Frustum

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

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

    • field_34820

      public static final int field_34820
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfco;a:I
      intermediary field_34820 Lnet/minecraft/class_4604;field_34820:I
      named field_34820 Lnet/minecraft/client/render/Frustum;field_34820:I
    • homogeneousCoordinates

      private final Vector4f[] homogeneousCoordinates
      Mappings:
      Namespace Name Mixin selector
      official b Lfco;b:[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;
    • field_34821

      private Vector4f field_34821
      Mappings:
      Namespace Name Mixin selector
      official c Lfco;c:Ll;
      intermediary field_34821 Lnet/minecraft/class_4604;field_34821:Lnet/minecraft/class_1162;
      named field_34821 Lnet/minecraft/client/render/Frustum;field_34821:Lnet/minecraft/util/math/Vector4f;
    • x

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

    • Frustum

      public Frustum(Matrix4f positionMatrix, Matrix4f projectionMatrix)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfco;<init>(Ld;Ld;)V
      intermediary <init> Lnet/minecraft/class_4604;<init>(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
    • Frustum

      public Frustum(Frustum frustum)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfco;<init>(Lfco;)V
      intermediary <init> Lnet/minecraft/class_4604;<init>(Lnet/minecraft/class_4604;)V
      named <init> Lnet/minecraft/client/render/Frustum;<init>(Lnet/minecraft/client/render/Frustum;)V
  • Method Details

    • method_38557

      public Frustum method_38557(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lfco;a(I)Lfco;
      intermediary method_38557 Lnet/minecraft/class_4604;method_38557(I)Lnet/minecraft/class_4604;
      named method_38557 Lnet/minecraft/client/render/Frustum;method_38557(I)Lnet/minecraft/client/render/Frustum;
    • setPosition

      public void setPosition(double cameraX, double cameraY, double cameraZ)
      Mappings:
      Namespace Name Mixin selector
      official a Lfco;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 positionMatrix, Matrix4f projectionMatrix)
      Mappings:
      Namespace Name Mixin selector
      official a Lfco;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 Lfco;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 Lfco;a(Ldwl;)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 Lfco;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 Lfco;a(FFFFFF)Z
      intermediary method_23090 Lnet/minecraft/class_4604;method_23090(FFFFFF)Z
      named isAnyCornerVisible Lnet/minecraft/client/render/Frustum;isAnyCornerVisible(FFFFFF)Z
    • method_38558

      private boolean method_38558(float float2, float float3, float float4, float float5, float float6, float float7)
      Mappings:
      Namespace Name Mixin selector
      official b Lfco;b(FFFFFF)Z
      intermediary method_38558 Lnet/minecraft/class_4604;method_38558(FFFFFF)Z
      named method_38558 Lnet/minecraft/client/render/Frustum;method_38558(FFFFFF)Z