Fix imports

This commit is contained in:
DBotThePony 2024-04-19 15:05:58 +07:00
parent 29288803bd
commit 5c840eaf77
Signed by: DBot
GPG Key ID: DCC23B5715498507
23 changed files with 36 additions and 36 deletions

View File

@ -7,8 +7,8 @@ import com.google.gson.stream.JsonReader
import com.google.gson.stream.JsonWriter
import ru.dbotthepony.kommons.io.StreamCodec
import ru.dbotthepony.kommons.io.readUUID
import ru.dbotthepony.kstarbound.math.vector.readVector2d
import ru.dbotthepony.kstarbound.math.vector.readVector2f
import ru.dbotthepony.kstarbound.io.readVector2d
import ru.dbotthepony.kstarbound.io.readVector2f
import ru.dbotthepony.kommons.io.writeBinaryString
import ru.dbotthepony.kommons.io.writeStruct2d
import ru.dbotthepony.kommons.io.writeStruct2f

View File

@ -1,7 +1,7 @@
package ru.dbotthepony.kstarbound.defs.actor
import ru.dbotthepony.kstarbound.math.vector.readVector2d
import ru.dbotthepony.kstarbound.math.vector.readVector2f
import ru.dbotthepony.kstarbound.io.readVector2d
import ru.dbotthepony.kstarbound.io.readVector2f
import ru.dbotthepony.kommons.io.writeBinaryString
import ru.dbotthepony.kommons.io.writeStruct2d
import ru.dbotthepony.kommons.io.writeStruct2f

View File

@ -13,8 +13,8 @@ import ru.dbotthepony.kommons.gson.consumeNull
import ru.dbotthepony.kommons.gson.set
import ru.dbotthepony.kommons.gson.value
import ru.dbotthepony.kommons.io.readCollection
import ru.dbotthepony.kstarbound.math.vector.readVector2d
import ru.dbotthepony.kstarbound.math.vector.readVector2f
import ru.dbotthepony.kstarbound.io.readVector2d
import ru.dbotthepony.kstarbound.io.readVector2f
import ru.dbotthepony.kommons.io.writeBinaryString
import ru.dbotthepony.kommons.io.writeCollection
import ru.dbotthepony.kommons.io.writeStruct2d

View File

@ -1,6 +1,6 @@
package ru.dbotthepony.kstarbound.defs.world
import ru.dbotthepony.kstarbound.math.vector.readVector2i
import ru.dbotthepony.kstarbound.io.readVector2i
import ru.dbotthepony.kommons.io.writeStruct2i
import ru.dbotthepony.kstarbound.math.vector.Vector2i
import ru.dbotthepony.kstarbound.json.builder.JsonFactory

View File

@ -17,7 +17,7 @@ import ru.dbotthepony.kommons.gson.value
import ru.dbotthepony.kommons.io.readByteArray
import ru.dbotthepony.kommons.io.readCollection
import ru.dbotthepony.kommons.io.readVarInt
import ru.dbotthepony.kstarbound.math.vector.readVector2i
import ru.dbotthepony.kstarbound.io.readVector2i
import ru.dbotthepony.kommons.io.writeBinaryString
import ru.dbotthepony.kommons.io.writeByteArray
import ru.dbotthepony.kommons.io.writeCollection

View File

@ -2,8 +2,8 @@ package ru.dbotthepony.kstarbound.network.packets.clientbound
import ru.dbotthepony.kommons.io.readCollection
import ru.dbotthepony.kommons.io.readMap
import ru.dbotthepony.kstarbound.math.vector.readVector2i
import ru.dbotthepony.kstarbound.math.vector.readVector3i
import ru.dbotthepony.kstarbound.io.readVector2i
import ru.dbotthepony.kstarbound.io.readVector3i
import ru.dbotthepony.kommons.io.writeCollection
import ru.dbotthepony.kommons.io.writeMap
import ru.dbotthepony.kommons.io.writeStruct2i

View File

@ -1,8 +1,8 @@
package ru.dbotthepony.kstarbound.network.packets.clientbound
import ru.dbotthepony.kommons.io.readBinaryString
import ru.dbotthepony.kstarbound.math.vector.readVector2d
import ru.dbotthepony.kstarbound.math.vector.readVector2f
import ru.dbotthepony.kstarbound.io.readVector2d
import ru.dbotthepony.kstarbound.io.readVector2f
import ru.dbotthepony.kommons.io.writeBinaryString
import ru.dbotthepony.kommons.io.writeStruct2d
import ru.dbotthepony.kommons.io.writeStruct2f

View File

@ -3,7 +3,7 @@ package ru.dbotthepony.kstarbound.network.packets.clientbound
import ru.dbotthepony.kommons.arrays.Object2DArray
import ru.dbotthepony.kommons.io.readSignedVarInt
import ru.dbotthepony.kommons.io.readVarInt
import ru.dbotthepony.kstarbound.math.vector.readVector2i
import ru.dbotthepony.kstarbound.io.readVector2i
import ru.dbotthepony.kommons.io.writeSignedVarInt
import ru.dbotthepony.kommons.io.writeStruct2i
import ru.dbotthepony.kommons.io.writeVarInt

View File

@ -1,7 +1,7 @@
package ru.dbotthepony.kstarbound.network.packets.clientbound
import ru.dbotthepony.kstarbound.math.vector.readVector2d
import ru.dbotthepony.kstarbound.math.vector.readVector2f
import ru.dbotthepony.kstarbound.io.readVector2d
import ru.dbotthepony.kstarbound.io.readVector2f
import ru.dbotthepony.kommons.io.writeStruct2d
import ru.dbotthepony.kommons.io.writeStruct2f
import ru.dbotthepony.kstarbound.math.vector.Vector2d

View File

@ -4,7 +4,7 @@ import it.unimi.dsi.fastutil.bytes.ByteArrayList
import ru.dbotthepony.kommons.io.readByteArray
import ru.dbotthepony.kommons.io.readCollection
import ru.dbotthepony.kommons.io.readUUID
import ru.dbotthepony.kstarbound.math.vector.readVector3i
import ru.dbotthepony.kstarbound.io.readVector3i
import ru.dbotthepony.kommons.io.writeByteArray
import ru.dbotthepony.kommons.io.writeCollection
import ru.dbotthepony.kommons.io.writeStruct3i

View File

@ -1,7 +1,7 @@
package ru.dbotthepony.kstarbound.network.packets.clientbound
import ru.dbotthepony.kommons.io.readCollection
import ru.dbotthepony.kstarbound.math.vector.readVector2i
import ru.dbotthepony.kstarbound.io.readVector2i
import ru.dbotthepony.kommons.io.writeCollection
import ru.dbotthepony.kommons.io.writeStruct2i
import ru.dbotthepony.kstarbound.math.vector.Vector2i

View File

@ -8,8 +8,8 @@ import it.unimi.dsi.fastutil.ints.IntAVLTreeSet
import ru.dbotthepony.kommons.io.readByteArray
import ru.dbotthepony.kommons.io.readCollection
import ru.dbotthepony.kommons.io.readMap
import ru.dbotthepony.kstarbound.math.vector.readVector2d
import ru.dbotthepony.kstarbound.math.vector.readVector2f
import ru.dbotthepony.kstarbound.io.readVector2d
import ru.dbotthepony.kstarbound.io.readVector2f
import ru.dbotthepony.kommons.io.writeByteArray
import ru.dbotthepony.kommons.io.writeCollection
import ru.dbotthepony.kommons.io.writeMap

View File

@ -2,8 +2,8 @@ package ru.dbotthepony.kstarbound.network.packets.serverbound
import kotlinx.coroutines.launch
import ru.dbotthepony.kommons.io.readCollection
import ru.dbotthepony.kstarbound.math.vector.readVector2i
import ru.dbotthepony.kstarbound.math.vector.readVector3i
import ru.dbotthepony.kstarbound.io.readVector2i
import ru.dbotthepony.kstarbound.io.readVector3i
import ru.dbotthepony.kommons.io.writeCollection
import ru.dbotthepony.kommons.io.writeStruct2i
import ru.dbotthepony.kommons.io.writeStruct3i

View File

@ -1,9 +1,9 @@
package ru.dbotthepony.kstarbound.network.packets.serverbound
import ru.dbotthepony.kommons.io.readCollection
import ru.dbotthepony.kstarbound.math.vector.readVector2d
import ru.dbotthepony.kstarbound.math.vector.readVector2f
import ru.dbotthepony.kstarbound.math.vector.readVector2i
import ru.dbotthepony.kstarbound.io.readVector2d
import ru.dbotthepony.kstarbound.io.readVector2f
import ru.dbotthepony.kstarbound.io.readVector2i
import ru.dbotthepony.kommons.io.writeCollection
import ru.dbotthepony.kommons.io.writeStruct2d
import ru.dbotthepony.kommons.io.writeStruct2f

View File

@ -1,6 +1,6 @@
package ru.dbotthepony.kstarbound.network.packets.serverbound
import ru.dbotthepony.kstarbound.math.vector.readVector3i
import ru.dbotthepony.kstarbound.io.readVector3i
import ru.dbotthepony.kommons.io.writeStruct3i
import ru.dbotthepony.kstarbound.math.vector.Vector3i
import ru.dbotthepony.kstarbound.network.IServerPacket

View File

@ -1,7 +1,7 @@
package ru.dbotthepony.kstarbound.network.packets.serverbound
import ru.dbotthepony.kommons.io.readCollection
import ru.dbotthepony.kstarbound.math.vector.readVector2i
import ru.dbotthepony.kstarbound.io.readVector2i
import ru.dbotthepony.kommons.io.writeCollection
import ru.dbotthepony.kommons.io.writeStruct2i
import ru.dbotthepony.kstarbound.math.vector.Vector2i

View File

@ -30,6 +30,8 @@ import ru.dbotthepony.kstarbound.math.vector.Vector2d
import ru.dbotthepony.kstarbound.Starbound
import ru.dbotthepony.kstarbound.defs.item.ItemDescriptor
import ru.dbotthepony.kstarbound.defs.world.SkyType
import ru.dbotthepony.kstarbound.io.Vector2dCodec
import ru.dbotthepony.kstarbound.io.Vector2fCodec
import ru.dbotthepony.kstarbound.io.readAABB
import ru.dbotthepony.kstarbound.io.readAABBLegacy
import ru.dbotthepony.kstarbound.io.readAABBLegacyOptional
@ -43,8 +45,6 @@ import ru.dbotthepony.kstarbound.json.readJsonElement
import ru.dbotthepony.kstarbound.json.readJsonObject
import ru.dbotthepony.kstarbound.json.writeJsonElement
import ru.dbotthepony.kstarbound.json.writeJsonObject
import ru.dbotthepony.kstarbound.math.vector.Vector2dCodec
import ru.dbotthepony.kstarbound.math.vector.Vector2fCodec
import ru.dbotthepony.kstarbound.world.physics.Poly
import java.io.DataInputStream
import java.io.DataOutputStream

View File

@ -1,7 +1,7 @@
package ru.dbotthepony.kstarbound.world
import ru.dbotthepony.kstarbound.math.vector.readVector2d
import ru.dbotthepony.kstarbound.math.vector.readVector2f
import ru.dbotthepony.kstarbound.io.readVector2d
import ru.dbotthepony.kstarbound.io.readVector2f
import ru.dbotthepony.kommons.io.writeStruct2d
import ru.dbotthepony.kommons.io.writeStruct2f
import ru.dbotthepony.kommons.util.getValue

View File

@ -14,7 +14,7 @@ import ru.dbotthepony.kommons.gson.get
import ru.dbotthepony.kstarbound.math.vector.Vector3i
import ru.dbotthepony.kommons.gson.consumeNull
import ru.dbotthepony.kommons.io.readVarInt
import ru.dbotthepony.kstarbound.math.vector.readVector3i
import ru.dbotthepony.kstarbound.io.readVector3i
import ru.dbotthepony.kommons.io.writeSignedVarInt
import ru.dbotthepony.kommons.io.writeStruct3i
import ru.dbotthepony.kommons.io.writeVarInt

View File

@ -2,7 +2,7 @@ package ru.dbotthepony.kstarbound.world
import it.unimi.dsi.fastutil.objects.ObjectArrayList
import it.unimi.dsi.fastutil.objects.ObjectArraySet
import ru.dbotthepony.kstarbound.math.vector.readVector2i
import ru.dbotthepony.kstarbound.io.readVector2i
import ru.dbotthepony.kommons.io.writeStruct2i
import ru.dbotthepony.kstarbound.math.AABB
import ru.dbotthepony.kstarbound.math.AABBi

View File

@ -1,6 +1,6 @@
package ru.dbotthepony.kstarbound.world.api
import ru.dbotthepony.kstarbound.math.vector.readVector2i
import ru.dbotthepony.kstarbound.io.readVector2i
import ru.dbotthepony.kstarbound.defs.tile.NO_DUNGEON_ID
import java.io.DataInputStream

View File

@ -43,6 +43,7 @@ import ru.dbotthepony.kstarbound.defs.animation.AnimationDefinition
import ru.dbotthepony.kstarbound.defs.`object`.ObjectType
import ru.dbotthepony.kstarbound.defs.quest.QuestArcDescriptor
import ru.dbotthepony.kstarbound.defs.tile.TileDamage
import ru.dbotthepony.kstarbound.io.Vector2iCodec
import ru.dbotthepony.kstarbound.json.JsonPath
import ru.dbotthepony.kstarbound.json.mergeJson
import ru.dbotthepony.kstarbound.json.stream
@ -73,7 +74,6 @@ import ru.dbotthepony.kstarbound.lua.set
import ru.dbotthepony.kstarbound.lua.tableOf
import ru.dbotthepony.kstarbound.lua.toJson
import ru.dbotthepony.kstarbound.lua.toJsonFromLua
import ru.dbotthepony.kstarbound.math.vector.Vector2iCodec
import ru.dbotthepony.kstarbound.util.ManualLazy
import ru.dbotthepony.kstarbound.util.asStringOrNull
import ru.dbotthepony.kstarbound.world.Direction

View File

@ -19,8 +19,8 @@ import ru.dbotthepony.kstarbound.client.StarboundClient
import ru.dbotthepony.kstarbound.client.gl.vertex.GeometryType
import ru.dbotthepony.kommons.gson.consumeNull
import ru.dbotthepony.kommons.io.readCollection
import ru.dbotthepony.kstarbound.math.vector.readVector2d
import ru.dbotthepony.kstarbound.math.vector.readVector2f
import ru.dbotthepony.kstarbound.io.readVector2d
import ru.dbotthepony.kstarbound.io.readVector2f
import ru.dbotthepony.kommons.io.writeCollection
import ru.dbotthepony.kommons.io.writeStruct2d
import ru.dbotthepony.kommons.io.writeStruct2f