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
named net/minecraft/util/math/GravityField$Point
intermediary net/minecraft/class_5263$class_5264
official ddk$a
  • Field Details

    • pos

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

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

    • Point

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

    • getGravityFactor

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