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 fjn
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 Lfjn;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 Lfjn;c:Lfjn$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 Lfjn;d:Lfjn$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 Lfjn;b:Lfjn$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> Lfjn;<init>(Lfjn$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 Lfjm;unclampedCall(Lcax;Leuv;Lbcc;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 Lfjn;a(Lcax;Leuv;ILbbn;)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 Lfjn;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 Lfjn;a(Lbbn;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 Lfjn;a(Lbbn;Leuv;)Leuv;
      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 Lfjn;a(Lbbn;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
    • getAngleTo

      private double getAngleTo(Entity entity, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lfjn;a(Lbbn;Lgt;)D
      intermediary method_43216 Lnet/minecraft/class_7391;method_43216(Lnet/minecraft/class_1297;Lnet/minecraft/class_2338;)D
      named getAngleTo Lnet/minecraft/client/item/CompassAnglePredicateProvider;getAngleTo(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;)D
    • getBodyYaw

      private double getBodyYaw(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lfjn;a(Lbbn;)D
      intermediary method_43213 Lnet/minecraft/class_7391;method_43213(Lnet/minecraft/class_1297;)D
      named getBodyYaw Lnet/minecraft/client/item/CompassAnglePredicateProvider;getBodyYaw(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 Lfjn;a(I)I
      intermediary method_32800 Lnet/minecraft/class_7391;method_32800(I)I
      named scatter Lnet/minecraft/client/item/CompassAnglePredicateProvider;scatter(I)I