Class PotentialCalculator.PointCharge

java.lang.Object
net.minecraft.world.level.PotentialCalculator.PointCharge
Enclosing class:
PotentialCalculator

static class PotentialCalculator.PointCharge extends Object
  • Field Details

    • pos

      private final BlockPos pos
    • charge

      private final double charge
  • Constructor Details

    • PointCharge

      public PointCharge(BlockPos pPos, double pCharge)
  • Method Details

    • getPotentialChange

      public double getPotentialChange(BlockPos pPos)