Interface Range<Value>


public interface Range<Value>
Mappings:
Namespace Name
named net/minecraft/world/attribute/Range
intermediary net/minecraft/class_12191
official cdq
  • Field Details

    • UNIT

      static final Range<Float> UNIT
      Mappings:
      Namespace Name Mixin selector
      named UNIT Lnet/minecraft/world/attribute/Range;UNIT:Lnet/minecraft/world/attribute/Range;
      intermediary field_63687 Lnet/minecraft/class_12191;field_63687:Lnet/minecraft/class_12191;
      official a Lcdq;a:Lcdq;
    • POSITIVE

      static final Range<Float> POSITIVE
      Mappings:
      Namespace Name Mixin selector
      named POSITIVE Lnet/minecraft/world/attribute/Range;POSITIVE:Lnet/minecraft/world/attribute/Range;
      intermediary field_63688 Lnet/minecraft/class_12191;field_63688:Lnet/minecraft/class_12191;
      official b Lcdq;b:Lcdq;
  • Method Details

    • unrestricted

      static <Value> Range<Value> unrestricted()
      Mappings:
      Namespace Name Mixin selector
      named unrestricted Lnet/minecraft/world/attribute/Range;unrestricted()Lnet/minecraft/world/attribute/Range;
      intermediary method_75623 Lnet/minecraft/class_12191;method_75623()Lnet/minecraft/class_12191;
      official a Lcdq;a()Lcdq;
    • of

      static Range<Float> of(float min, float max)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/world/attribute/Range;of(FF)Lnet/minecraft/world/attribute/Range;
      intermediary method_75624 Lnet/minecraft/class_12191;method_75624(FF)Lnet/minecraft/class_12191;
      official a Lcdq;a(FF)Lcdq;
    • check

      com.mojang.serialization.DataResult<Value> check(Value x)
      Mappings:
      Namespace Name Mixin selector
      named check Lnet/minecraft/world/attribute/Range;check(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
      intermediary method_75625 Lnet/minecraft/class_12191;method_75625(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
      official a Lcdq;a(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
    • clamp

      Value clamp(Value x)
      Mappings:
      Namespace Name Mixin selector
      named clamp Lnet/minecraft/world/attribute/Range;clamp(Ljava/lang/Object;)Ljava/lang/Object;
      intermediary method_75626 Lnet/minecraft/class_12191;method_75626(Ljava/lang/Object;)Ljava/lang/Object;
      official b Lcdq;b(Ljava/lang/Object;)Ljava/lang/Object;