Package net.jcm.vsch.ship
Class VSCHForceInducedShips
java.lang.Object
net.jcm.vsch.ship.VSCHForceInducedShips
- All Implemented Interfaces:
org.valkyrienskies.core.api.ships.ShipForcesInducer
public class VSCHForceInducedShips
extends Object
implements org.valkyrienskies.core.api.ships.ShipForcesInducer
-
Field Summary
FieldsModifier and TypeFieldDescriptionMap<net.minecraft.core.BlockPos,IVSCHForceApplier> Don't mess with this unless you know what your doing. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddApplier(net.minecraft.core.BlockPos pos, IVSCHForceApplier applier) voidaddDragger(net.minecraft.core.BlockPos pos, DraggerData data) voidvoidaddThruster(net.minecraft.core.BlockPos pos, ThrusterData data) voidapplyForces(@NotNull org.valkyrienskies.core.api.ships.PhysShip physicShip) static VSCHForceInducedShipsget(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) getApplierAtPos(net.minecraft.core.BlockPos pos) getDraggerAtPos(net.minecraft.core.BlockPos pos) getGyroAtPos(net.minecraft.core.BlockPos pos) static VSCHForceInducedShipsgetOrCreate(org.valkyrienskies.core.api.ships.ServerShip ship) static VSCHForceInducedShipsgetOrCreate(org.valkyrienskies.core.api.ships.ServerShip ship, String dimensionId) getThrusterAtPos(net.minecraft.core.BlockPos pos) voidremoveApplier(net.minecraft.core.BlockPos pos) voidremoveDragger(net.minecraft.core.BlockPos pos) voidremoveGyro(net.minecraft.core.BlockPos pos) voidremoveThruster(net.minecraft.core.BlockPos pos) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.valkyrienskies.core.api.ships.ShipForcesInducer
applyForcesAndLookupPhysShips
-
Field Details
-
appliers
Don't mess with this unless you know what your doing. I'm making it public for all the people that do know what their doing. Instead, look ataddApplier(BlockPos, IVSCHForceApplier)orremoveApplier(BlockPos)orgetApplierAtPos(BlockPos)or their respective thruster/dragger counterparts.- See Also:
-
-
Constructor Details
-
VSCHForceInducedShips
public VSCHForceInducedShips() -
VSCHForceInducedShips
-
-
Method Details
-
applyForces
public void applyForces(@NotNull @NotNull org.valkyrienskies.core.api.ships.PhysShip physicShip) - Specified by:
applyForcesin interfaceorg.valkyrienskies.core.api.ships.ShipForcesInducer
-
addApplier
-
removeApplier
public void removeApplier(net.minecraft.core.BlockPos pos) -
getApplierAtPos
-
addDragger
-
removeDragger
public void removeDragger(net.minecraft.core.BlockPos pos) -
getDraggerAtPos
-
addThruster
-
removeThruster
public void removeThruster(net.minecraft.core.BlockPos pos) -
getThrusterAtPos
-
addGyro
-
removeGyro
public void removeGyro(net.minecraft.core.BlockPos pos) -
getGyroAtPos
-
getOrCreate
public static VSCHForceInducedShips getOrCreate(org.valkyrienskies.core.api.ships.ServerShip ship, String dimensionId) -
getOrCreate
-
get
public static VSCHForceInducedShips get(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
-