Package net.minecraft

Record Class class_10707.class_10709

java.lang.Object
java.lang.Record
net.minecraft.class_10707.class_10709
Record Components:
threshold -
base -
factor -
Enclosing class:
class_10707

public static record class_10707.class_10709(float threshold, float base, float factor) extends Record
Mappings:
Namespace Name
named net/minecraft/class_10707$class_10709
intermediary net/minecraft/class_10707$class_10709
official dat$b
named threshold
intermediary comp_3595
official d
named base
intermediary comp_3596
official e
named factor
intermediary comp_3597
official f
  • Field Details

    • threshold

      private final float threshold
      The field for the threshold record component.
    • base

      private final float base
      The field for the base record component.
    • factor

      private final float factor
      The field for the factor record component.
    • field_56306

      public static final com.mojang.serialization.Codec<class_10707.class_10709> field_56306
      Mappings:
      Namespace Name Mixin selector
      named field_56306 Lnet/minecraft/class_10707$class_10709;field_56306:Lcom/mojang/serialization/Codec;
      intermediary field_56306 Lnet/minecraft/class_10707$class_10709;field_56306:Lcom/mojang/serialization/Codec;
      official a Ldat$b;a:Lcom/mojang/serialization/Codec;
    • field_56307

      public static final PacketCodec<ByteBuf,class_10707.class_10709> field_56307
      Mappings:
      Namespace Name Mixin selector
      named field_56307 Lnet/minecraft/class_10707$class_10709;field_56307:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_56307 Lnet/minecraft/class_10707$class_10709;field_56307:Lnet/minecraft/class_9139;
      official b Ldat$b;b:Lyu;
    • field_56308

      public static final class_10707.class_10709 field_56308
      Mappings:
      Namespace Name Mixin selector
      named field_56308 Lnet/minecraft/class_10707$class_10709;field_56308:Lnet/minecraft/class_10707$class_10709;
      intermediary field_56308 Lnet/minecraft/class_10707$class_10709;field_56308:Lnet/minecraft/class_10707$class_10709;
      official c Ldat$b;c:Ldat$b;
  • Constructor Details

    • class_10709

      public class_10709(float float2, float float3, float float4)
  • Method Details

    • method_67208

      public int method_67208(float float2)
      Mappings:
      Namespace Name Mixin selector
      named method_67208 Lnet/minecraft/class_10707$class_10709;method_67208(F)I
      intermediary method_67208 Lnet/minecraft/class_10707$class_10709;method_67208(F)I
      official a Ldat$b;a(F)I
    • 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. All components in this record class 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.
    • threshold

      public float threshold()
      Returns the value of the threshold record component.
      Returns:
      the value of the threshold record component
    • base

      public float base()
      Returns the value of the base record component.
      Returns:
      the value of the base record component
    • factor

      public float factor()
      Returns the value of the factor record component.
      Returns:
      the value of the factor record component