Record Class OutlineRenderState

java.lang.Object
java.lang.Record
net.minecraft.client.render.state.OutlineRenderState
Record Components:
pos -
isTranslucent -
highContrast -
shape -
collisionShape -
occlusionShape -
interactionShape -

@Environment(CLIENT) public record OutlineRenderState(BlockPos pos, boolean isTranslucent, boolean highContrast, VoxelShape shape, @Nullable VoxelShape collisionShape, @Nullable VoxelShape occlusionShape, @Nullable VoxelShape interactionShape) extends Record
Mappings:
Namespace Name
named net/minecraft/client/render/state/OutlineRenderState
intermediary net/minecraft/class_12074
official ibn
named pos
intermediary comp_4932
official a
named isTranslucent
intermediary comp_4933
official b
named highContrast
intermediary comp_4934
official c
named shape
intermediary comp_4935
official d
named collisionShape
intermediary comp_4936
official e
named occlusionShape
intermediary comp_4937
official f
named interactionShape
intermediary comp_4938
official g
  • Field Details

  • Constructor Details

    • OutlineRenderState

      public OutlineRenderState(BlockPos pos, boolean isTranslucent, boolean highContrast, VoxelShape shape)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/state/OutlineRenderState;<init>(Lnet/minecraft/util/math/BlockPos;ZZLnet/minecraft/util/shape/VoxelShape;)V
      intermediary <init> Lnet/minecraft/class_12074;<init>(Lnet/minecraft/class_2338;ZZLnet/minecraft/class_265;)V
      official <init> Libn;<init>(Lja;ZZLfpc;)V
    • OutlineRenderState

      public OutlineRenderState(BlockPos blockPos, boolean bool, boolean bool2, VoxelShape voxelShape, @Nullable @Nullable VoxelShape voxelShape2, @Nullable @Nullable VoxelShape voxelShape3, @Nullable @Nullable VoxelShape voxelShape4)
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • pos

      public BlockPos pos()
      Returns the value of the pos record component.
      Returns:
      the value of the pos record component
    • isTranslucent

      public boolean isTranslucent()
      Returns the value of the isTranslucent record component.
      Returns:
      the value of the isTranslucent record component
    • highContrast

      public boolean highContrast()
      Returns the value of the highContrast record component.
      Returns:
      the value of the highContrast record component
    • shape

      public VoxelShape shape()
      Returns the value of the shape record component.
      Returns:
      the value of the shape record component
    • collisionShape

      @Nullable public @Nullable VoxelShape collisionShape()
      Returns the value of the collisionShape record component.
      Returns:
      the value of the collisionShape record component
    • occlusionShape

      @Nullable public @Nullable VoxelShape occlusionShape()
      Returns the value of the occlusionShape record component.
      Returns:
      the value of the occlusionShape record component
    • interactionShape

      @Nullable public @Nullable VoxelShape interactionShape()
      Returns the value of the interactionShape record component.
      Returns:
      the value of the interactionShape record component