Class CompassAnglePredicateProvider

java.lang.Object
net.minecraft.client.item.CompassAnglePredicateProvider
All Implemented Interfaces:
ModelPredicateProvider, UnclampedModelPredicateProvider

@Environment(CLIENT) public class CompassAnglePredicateProvider extends Object implements UnclampedModelPredicateProvider
Mappings:
Namespace Name
official fho
intermediary net/minecraft/class_7391
named net/minecraft/client/item/CompassAnglePredicateProvider
  • Field Details

    • field_38798

      public static final int field_38798
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfho;a:I
      intermediary field_38798 Lnet/minecraft/class_7391;field_38798:I
      named field_38798 Lnet/minecraft/client/item/CompassAnglePredicateProvider;field_38798:I
    • aimedInterpolator

      private final CompassAnglePredicateProvider.AngleInterpolator aimedInterpolator
      Mappings:
      Namespace Name Mixin selector
      official c Lfho;c:Lfho$b;
      intermediary field_24449 Lnet/minecraft/class_7391;field_24449:Lnet/minecraft/class_7391$class_5171;
      named aimedInterpolator Lnet/minecraft/client/item/CompassAnglePredicateProvider;aimedInterpolator:Lnet/minecraft/client/item/CompassAnglePredicateProvider$AngleInterpolator;
    • aimlessInterpolator

      private final CompassAnglePredicateProvider.AngleInterpolator aimlessInterpolator
      Mappings:
      Namespace Name Mixin selector
      official d Lfho;d:Lfho$b;
      intermediary field_24450 Lnet/minecraft/class_7391;field_24450:Lnet/minecraft/class_7391$class_5171;
      named aimlessInterpolator Lnet/minecraft/client/item/CompassAnglePredicateProvider;aimlessInterpolator:Lnet/minecraft/client/item/CompassAnglePredicateProvider$AngleInterpolator;
    • compassTarget

      public final CompassAnglePredicateProvider.CompassTarget compassTarget
      Mappings:
      Namespace Name Mixin selector
      official b Lfho;b:Lfho$a;
      intermediary field_38799 Lnet/minecraft/class_7391;field_38799:Lnet/minecraft/class_7391$class_7392;
      named compassTarget Lnet/minecraft/client/item/CompassAnglePredicateProvider;compassTarget:Lnet/minecraft/client/item/CompassAnglePredicateProvider$CompassTarget;
  • Constructor Details

    • CompassAnglePredicateProvider

      public CompassAnglePredicateProvider(CompassAnglePredicateProvider.CompassTarget compassTarget)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfho;<init>(Lfho$a;)V
      intermediary <init> Lnet/minecraft/class_7391;<init>(Lnet/minecraft/class_7391$class_7392;)V
      named <init> Lnet/minecraft/client/item/CompassAnglePredicateProvider;<init>(Lnet/minecraft/client/item/CompassAnglePredicateProvider$CompassTarget;)V
  • Method Details

    • unclampedCall

      public float unclampedCall(ItemStack stack, @Nullable @Nullable ClientWorld world, @Nullable @Nullable LivingEntity entity, int seed)
      Specified by:
      unclampedCall in interface UnclampedModelPredicateProvider
      Mappings:
      Namespace Name Mixin selector
      official unclampedCall Lfhn;unclampedCall(Lcaa;Letl;Lbbf;I)F
      intermediary unclampedCall Lnet/minecraft/class_6395;unclampedCall(Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
      named unclampedCall Lnet/minecraft/client/item/UnclampedModelPredicateProvider;unclampedCall(Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/entity/LivingEntity;I)F
    • getAngle

      private float getAngle(ItemStack stack, ClientWorld world, int seed, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lfho;a(Lcaa;Letl;ILbaq;)F
      intermediary method_43218 Lnet/minecraft/class_7391;method_43218(Lnet/minecraft/class_1799;Lnet/minecraft/class_638;ILnet/minecraft/class_1297;)F
      named getAngle Lnet/minecraft/client/item/CompassAnglePredicateProvider;getAngle(Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/world/ClientWorld;ILnet/minecraft/entity/Entity;)F
    • getAimlessAngle

      private float getAimlessAngle(int seed, long time)
      Mappings:
      Namespace Name Mixin selector
      official a Lfho;a(IJ)F
      intermediary method_43212 Lnet/minecraft/class_7391;method_43212(IJ)F
      named getAimlessAngle Lnet/minecraft/client/item/CompassAnglePredicateProvider;getAimlessAngle(IJ)F
    • getAngleTo

      private float getAngleTo(Entity entity, long time, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lfho;a(Lbaq;JLgt;)F
      intermediary method_43214 Lnet/minecraft/class_7391;method_43214(Lnet/minecraft/class_1297;JLnet/minecraft/class_2338;)F
      named getAngleTo Lnet/minecraft/client/item/CompassAnglePredicateProvider;getAngleTo(Lnet/minecraft/entity/Entity;JLnet/minecraft/util/math/BlockPos;)F
    • getClientWorld

      @Nullable private @Nullable ClientWorld getClientWorld(Entity entity, @Nullable @Nullable ClientWorld world)
      Mappings:
      Namespace Name Mixin selector
      official a Lfho;a(Lbaq;Letl;)Letl;
      intermediary method_43215 Lnet/minecraft/class_7391;method_43215(Lnet/minecraft/class_1297;Lnet/minecraft/class_638;)Lnet/minecraft/class_638;
      named getClientWorld Lnet/minecraft/client/item/CompassAnglePredicateProvider;getClientWorld(Lnet/minecraft/entity/Entity;Lnet/minecraft/client/world/ClientWorld;)Lnet/minecraft/client/world/ClientWorld;
    • canPointTo

      private boolean canPointTo(Entity entity, @Nullable @Nullable GlobalPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lfho;a(Lbaq;Lhb;)Z
      intermediary method_43217 Lnet/minecraft/class_7391;method_43217(Lnet/minecraft/class_1297;Lnet/minecraft/class_4208;)Z
      named canPointTo Lnet/minecraft/client/item/CompassAnglePredicateProvider;canPointTo(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/GlobalPos;)Z
    • method_43216

      private double method_43216(Entity entity, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lfho;a(Lbaq;Lgt;)D
      intermediary method_43216 Lnet/minecraft/class_7391;method_43216(Lnet/minecraft/class_1297;Lnet/minecraft/class_2338;)D
      named method_43216 Lnet/minecraft/client/item/CompassAnglePredicateProvider;method_43216(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;)D
    • method_43213

      private double method_43213(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lfho;a(Lbaq;)D
      intermediary method_43213 Lnet/minecraft/class_7391;method_43213(Lnet/minecraft/class_1297;)D
      named method_43213 Lnet/minecraft/client/item/CompassAnglePredicateProvider;method_43213(Lnet/minecraft/entity/Entity;)D
    • scatter

      private int scatter(int seed)
      Scatters a seed by integer overflow in multiplication onto the whole int domain.
      Mappings:
      Namespace Name Mixin selector
      official a Lfho;a(I)I
      intermediary method_32800 Lnet/minecraft/class_7391;method_32800(I)I
      named scatter Lnet/minecraft/client/item/CompassAnglePredicateProvider;scatter(I)I