Record Class LivingRenderCancellableHandler.Insert<T extends net.minecraft.world.entity.LivingEntity, S extends net.minecraft.client.renderer.entity.state.LivingEntityRenderState, M extends net.minecraft.client.model.EntityModel<? super S>>

java.lang.Object
java.lang.Record
com.stereowalker.unionlib.insert.handler.LivingRenderCancellableHandler.Insert<T,S,M>
All Implemented Interfaces:
InsertHandler.Insert
Enclosing class:
LivingRenderCancellableHandler

public static record LivingRenderCancellableHandler.Insert<T extends net.minecraft.world.entity.LivingEntity, S extends net.minecraft.client.renderer.entity.state.LivingEntityRenderState, M extends net.minecraft.client.model.EntityModel<? super S>>(net.minecraft.client.renderer.entity.state.LivingEntityRenderState entityState, net.minecraft.client.renderer.entity.LivingEntityRenderer<T extends net.minecraft.world.entity.LivingEntity, S extends net.minecraft.client.renderer.entity.state.LivingEntityRenderState, M extends net.minecraft.client.model.EntityModel<? super S>> renderer, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.SubmitNodeCollector submitNodeCollector, net.minecraft.client.renderer.state.level.CameraRenderState cameraRenderState, InsertCanceller canceller) extends Record implements InsertHandler.Insert
  • Constructor Summary

    Constructors
    Constructor
    Description
    Insert(net.minecraft.client.renderer.entity.state.LivingEntityRenderState entityState, net.minecraft.client.renderer.entity.LivingEntityRenderer<T,S,M> renderer, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.SubmitNodeCollector submitNodeCollector, net.minecraft.client.renderer.state.level.CameraRenderState cameraRenderState, InsertCanceller canceller)
    Creates an instance of a Insert record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.renderer.state.level.CameraRenderState
    Returns the value of the cameraRenderState record component.
    Returns the value of the canceller record component.
    net.minecraft.client.renderer.entity.state.LivingEntityRenderState
    Returns the value of the entityState record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    com.mojang.blaze3d.vertex.PoseStack
    Returns the value of the poseStack record component.
    net.minecraft.client.renderer.entity.LivingEntityRenderer<T,S,M>
    Returns the value of the renderer record component.
    net.minecraft.client.renderer.SubmitNodeCollector
    Returns the value of the submitNodeCollector record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Insert

      public Insert(net.minecraft.client.renderer.entity.state.LivingEntityRenderState entityState, net.minecraft.client.renderer.entity.LivingEntityRenderer<T,S,M> renderer, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.SubmitNodeCollector submitNodeCollector, net.minecraft.client.renderer.state.level.CameraRenderState cameraRenderState, InsertCanceller canceller)
      Creates an instance of a Insert record class.
      Parameters:
      entityState - the value for the entityState record component
      renderer - the value for the renderer record component
      poseStack - the value for the poseStack record component
      submitNodeCollector - the value for the submitNodeCollector record component
      cameraRenderState - the value for the cameraRenderState record component
      canceller - the value for the canceller record component
  • 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 o)
      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. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • entityState

      public net.minecraft.client.renderer.entity.state.LivingEntityRenderState entityState()
      Returns the value of the entityState record component.
      Returns:
      the value of the entityState record component
    • renderer

      public net.minecraft.client.renderer.entity.LivingEntityRenderer<T,S,M> renderer()
      Returns the value of the renderer record component.
      Returns:
      the value of the renderer record component
    • poseStack

      public com.mojang.blaze3d.vertex.PoseStack poseStack()
      Returns the value of the poseStack record component.
      Returns:
      the value of the poseStack record component
    • submitNodeCollector

      public net.minecraft.client.renderer.SubmitNodeCollector submitNodeCollector()
      Returns the value of the submitNodeCollector record component.
      Returns:
      the value of the submitNodeCollector record component
    • cameraRenderState

      public net.minecraft.client.renderer.state.level.CameraRenderState cameraRenderState()
      Returns the value of the cameraRenderState record component.
      Returns:
      the value of the cameraRenderState record component
    • canceller

      public InsertCanceller canceller()
      Returns the value of the canceller record component.
      Returns:
      the value of the canceller record component