Interface GravityAPI.GravityFunction

All Known Subinterfaces:
GravityAPI.SerializableGravityFunction<T>
All Known Implementing Classes:
GravityAPI.AbsoluteGravityFunction
Enclosing class:
GravityAPI
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface GravityAPI.GravityFunction
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    get(@Nullable net.minecraft.world.entity.Entity entity, double y)
     
  • Method Details

    • get

      double get(@Nullable @Nullable net.minecraft.world.entity.Entity entity, double y)