Class GravityInducer

java.lang.Object
net.jcm.vsch.event.GravityInducer
All Implemented Interfaces:
org.valkyrienskies.core.api.ships.ShipForcesInducer

public class GravityInducer extends Object implements org.valkyrienskies.core.api.ships.ShipForcesInducer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static net.minecraft.nbt.CompoundTag
     
    org.valkyrienskies.core.api.ships.ServerShip
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    GravityInducer(org.valkyrienskies.core.api.ships.ServerShip ship)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    applyForces(@NotNull org.valkyrienskies.core.api.ships.PhysShip physShip)
     
    getOrCreate(org.valkyrienskies.core.api.ships.ServerShip ship)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.valkyrienskies.core.api.ships.ShipForcesInducer

    applyForcesAndLookupPhysShips
  • Field Details

    • gravityDataTag

      public static net.minecraft.nbt.CompoundTag gravityDataTag
    • ship

      public org.valkyrienskies.core.api.ships.ServerShip ship
  • Constructor Details

    • GravityInducer

      public GravityInducer()
    • GravityInducer

      public GravityInducer(org.valkyrienskies.core.api.ships.ServerShip ship)
  • Method Details

    • applyForces

      public void applyForces(@NotNull @NotNull org.valkyrienskies.core.api.ships.PhysShip physShip)
      Specified by:
      applyForces in interface org.valkyrienskies.core.api.ships.ShipForcesInducer
    • getOrCreate

      public static GravityInducer getOrCreate(org.valkyrienskies.core.api.ships.ServerShip ship)