Package net.jcm.vsch.ship
Class ShipLandingAttachment
java.lang.Object
net.jcm.vsch.ship.ShipLandingAttachment
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfreezeShip(org.valkyrienskies.core.api.ships.LoadedServerShip ship) static ShipLandingAttachmentget(org.valkyrienskies.core.api.ships.ServerShip ship) net.minecraft.world.level.ChunkPosgetLaunchPosition(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level) Map<net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level>,net.minecraft.world.level.ChunkPos> voidvoidsetLaunching(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level, net.minecraft.world.level.ChunkPos pos)
-
Field Details
-
launching
public boolean launching -
landing
public boolean landing -
commander
public net.minecraft.server.level.ServerPlayer commander -
freezed
public boolean freezed -
velocity
public org.joml.Vector3dc velocity -
omega
public org.joml.Vector3dc omega
-
-
Constructor Details
-
ShipLandingAttachment
public ShipLandingAttachment()
-
-
Method Details
-
get
-
setLaunching
public void setLaunching(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level, net.minecraft.world.level.ChunkPos pos) -
setLanding
public void setLanding() -
freezeShip
public void freezeShip(org.valkyrienskies.core.api.ships.LoadedServerShip ship) -
getLaunchPositions
public Map<net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level>,net.minecraft.world.level.ChunkPos> getLaunchPositions() -
getLaunchPosition
public net.minecraft.world.level.ChunkPos getLaunchPosition(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> level)
-