Class GravityField.Point

java.lang.Object
net.minecraft.util.math.GravityField.Point
Enclosing class:
GravityField

private static class GravityField.Point extends Object
Mappings:
Namespace Name
official cqj$a
intermediary net/minecraft/class_5263$class_5264
named net/minecraft/util/math/GravityField$Point
  • Field Details

    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official a Lcqj$a;a:Lgw;
      intermediary field_24402 Lnet/minecraft/class_5263$class_5264;field_24402:Lnet/minecraft/class_2338;
      named pos Lnet/minecraft/util/math/GravityField$Point;pos:Lnet/minecraft/util/math/BlockPos;
    • mass

      private final double mass
      Mappings:
      Namespace Name Mixin selector
      official b Lcqj$a;b:D
      intermediary field_24403 Lnet/minecraft/class_5263$class_5264;field_24403:D
      named mass Lnet/minecraft/util/math/GravityField$Point;mass:D
  • Constructor Details

    • Point

      public Point(BlockPos pos, double mass)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcqj$a;<init>(Lgw;D)V
      intermediary <init> Lnet/minecraft/class_5263$class_5264;<init>(Lnet/minecraft/class_2338;D)V
      named <init> Lnet/minecraft/util/math/GravityField$Point;<init>(Lnet/minecraft/util/math/BlockPos;D)V
  • Method Details

    • getGravityFactor

      public double getGravityFactor(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcqj$a;a(Lgw;)D
      intermediary method_27833 Lnet/minecraft/class_5263$class_5264;method_27833(Lnet/minecraft/class_2338;)D
      named getGravityFactor Lnet/minecraft/util/math/GravityField$Point;getGravityFactor(Lnet/minecraft/util/math/BlockPos;)D