From 19c1e1777c2ca8149f681a917bbab5525d22a0ec Mon Sep 17 00:00:00 2001 From: Moritz Ruth Date: Sun, 28 Feb 2021 00:03:13 +0100 Subject: [PATCH] Remove wrong copyright notice in every file --- .idea/copyright/profiles_settings.xml | 3 --- .../src/main/kotlin/space/uranos/mdsp/Constants.kt | 5 ----- .../main/kotlin/space/uranos/mdsp/DataDownloader.kt | 5 ----- .../kotlin/space/uranos/mdsp/DataGeneratorRunner.kt | 5 ----- .../space/uranos/mdsp/MinecraftDataSourcesPlugin.kt | 5 ----- .../mdsp/generator/BlocksAndMaterialGenerator.kt | 7 +------ .../kotlin/space/uranos/mdsp/generator/Constants.kt | 5 ----- .../uranos/mdsp/generator/EntitiesGenerator.kt | 11 +++-------- .../uranos/mdsp/generator/FluidIDMapGenerator.kt | 5 ----- .../uranos/mdsp/generator/ItemTypeEnumGenerator.kt | 5 ----- .../space/uranos/mdsp/generator/TagsGenerator.kt | 5 ----- .../uranos/mdsp/util/ConstructorPropertiesHelper.kt | 5 ----- .../kotlin/space/uranos/testplugin/TestPlugin.kt | 5 ----- .../space/uranos/testplugin/anvil/AnvilChunk.kt | 5 ----- .../uranos/testplugin/anvil/AnvilChunkSection.kt | 5 ----- .../space/uranos/testplugin/anvil/AnvilVoxel.kt | 5 ----- .../space/uranos/testplugin/anvil/AnvilWorld.kt | 5 ----- .../main/kotlin/space/uranos/CardinalDirection.kt | 5 ----- .../src/main/kotlin/space/uranos/CoordinatePart.kt | 5 ----- .../src/main/kotlin/space/uranos/Difficulty.kt | 5 ----- .../src/main/kotlin/space/uranos/Direction.kt | 5 ----- .../src/main/kotlin/space/uranos/NamespacedID.kt | 5 ----- .../src/main/kotlin/space/uranos/PaintingMotive.kt | 5 ----- uranos-api/src/main/kotlin/space/uranos/Registry.kt | 5 ----- .../src/main/kotlin/space/uranos/Scheduler.kt | 5 ----- uranos-api/src/main/kotlin/space/uranos/Uranos.kt | 5 ----- uranos-api/src/main/kotlin/space/uranos/Vector.kt | 5 ----- .../src/main/kotlin/space/uranos/chat/ChatColor.kt | 5 ----- .../main/kotlin/space/uranos/chat/ChatComponent.kt | 5 ----- .../space/uranos/chat/LegacyFormattingCode.kt | 8 +------- .../src/main/kotlin/space/uranos/command/Command.kt | 5 ----- .../src/main/kotlin/space/uranos/entity/Entity.kt | 5 ----- .../main/kotlin/space/uranos/entity/EntityType.kt | 5 ----- .../kotlin/space/uranos/entity/HasMovableHead.kt | 5 ----- .../main/kotlin/space/uranos/entity/LivingEntity.kt | 5 ----- .../src/main/kotlin/space/uranos/entity/Mobile.kt | 5 ----- .../main/kotlin/space/uranos/entity/ObjectEntity.kt | 5 ----- .../kotlin/space/uranos/entity/PaintingEntity.kt | 5 ----- .../kotlin/space/uranos/entity/PitchRotatable.kt | 5 ----- .../main/kotlin/space/uranos/entity/PlayerEntity.kt | 5 ----- .../src/main/kotlin/space/uranos/entity/Position.kt | 5 ----- .../main/kotlin/space/uranos/entity/YawRotatable.kt | 5 ----- .../kotlin/space/uranos/entity/event/EntityEvent.kt | 5 ----- .../uranos/entity/event/ViewingChangedEvent.kt | 5 ----- .../main/kotlin/space/uranos/event/Cancellable.kt | 5 ----- .../src/main/kotlin/space/uranos/event/Event.kt | 5 ----- .../src/main/kotlin/space/uranos/event/EventBus.kt | 5 ----- .../kotlin/space/uranos/event/EventBusWrapper.kt | 5 ----- .../main/kotlin/space/uranos/event/EventHandler.kt | 5 ----- .../space/uranos/event/EventHandlerPosition.kt | 5 ----- .../uranos/event/EventHandlerPositionManager.kt | 5 ----- .../src/main/kotlin/space/uranos/logging/Logger.kt | 5 ----- .../space/uranos/logging/LoggingOutputProvider.kt | 5 ----- .../uranos/net/DisconnectedCancellationException.kt | 5 ----- .../space/uranos/net/PacketDecodingException.kt | 5 ----- .../main/kotlin/space/uranos/net/ServerListInfo.kt | 9 ++------- .../src/main/kotlin/space/uranos/net/Session.kt | 5 ----- .../uranos/net/event/ClientBrandReceivedEvent.kt | 5 ----- .../space/uranos/net/event/PacketReceivedEvent.kt | 5 ----- .../space/uranos/net/event/PacketSendEvent.kt | 5 ----- .../uranos/net/event/PlayerInitializationEvent.kt | 5 ----- .../uranos/net/event/ServerListInfoRequestEvent.kt | 5 ----- .../uranos/net/event/SessionAfterLoginEvent.kt | 5 ----- .../kotlin/space/uranos/net/event/SessionEvent.kt | 5 ----- .../main/kotlin/space/uranos/net/packet/Packet.kt | 5 ----- .../kotlin/space/uranos/net/packet/PacketCodec.kt | 5 ----- .../main/kotlin/space/uranos/net/packet/Protocol.kt | 5 ----- .../src/main/kotlin/space/uranos/player/ChatMode.kt | 5 ----- .../src/main/kotlin/space/uranos/player/GameMode.kt | 5 ----- .../src/main/kotlin/space/uranos/player/Hand.kt | 5 ----- .../src/main/kotlin/space/uranos/player/Player.kt | 7 +------ .../space/uranos/player/SkinPartsConfiguration.kt | 5 ----- .../kotlin/space/uranos/player/event/PlayerEvent.kt | 5 ----- .../space/uranos/player/event/PlayerReadyEvent.kt | 5 ----- .../player/event/PlayerSettingsUpdateEvent.kt | 5 ----- .../src/main/kotlin/space/uranos/plugin/Plugin.kt | 5 ----- .../kotlin/space/uranos/plugin/PluginManager.kt | 5 ----- .../src/main/kotlin/space/uranos/recipe/Recipe.kt | 5 ----- .../src/main/kotlin/space/uranos/server/Server.kt | 5 ----- .../kotlin/space/uranos/server/event/ServerEvent.kt | 5 ----- .../uranos/server/event/SessionInitializedEvent.kt | 5 ----- uranos-api/src/main/kotlin/space/uranos/tag/Tag.kt | 5 ----- .../src/main/kotlin/space/uranos/tag/TagRegistry.kt | 5 ----- .../kotlin/space/uranos/util/KPropertyValuePair.kt | 5 ----- .../kotlin/space/uranos/util/MemoizedDelegate.kt | 5 ----- .../src/main/kotlin/space/uranos/util/Moshi.kt | 7 +------ .../space/uranos/util/NewSingleThreadDispatcher.kt | 5 ----- .../src/main/kotlin/space/uranos/util/RGBColor.kt | 5 ----- .../kotlin/space/uranos/util/SimplePluralize.kt | 5 ----- .../uranos/util/TickSynchronizationContainer.kt | 5 ----- .../src/main/kotlin/space/uranos/util/Ticks.kt | 5 ----- .../src/main/kotlin/space/uranos/util/UUID.kt | 7 +------ .../collections/CreateWeakValuesLoadingCache.kt | 5 ----- .../uranos/util/collections/KClassToInstanceMap.kt | 5 ----- .../space/uranos/util/collections/WatchableSet.kt | 5 ----- .../main/kotlin/space/uranos/util/numbers/Bits.kt | 5 ----- .../main/kotlin/space/uranos/util/numbers/Clamp.kt | 5 ----- .../space/uranos/util/numbers/FloatFloorMod.kt | 5 ----- .../space/uranos/util/numbers/MapNumberRange.kt | 5 ----- .../uranos/util/numbers/UntilPossiblyNegative.kt | 5 ----- .../uranos/util/numbers/ValidateOrientation.kt | 5 ----- .../kotlin/space/uranos/util/runInServerThread.kt | 5 ----- .../src/main/kotlin/space/uranos/world/Biome.kt | 5 ----- .../main/kotlin/space/uranos/world/BiomeRegistry.kt | 5 ----- .../src/main/kotlin/space/uranos/world/Chunk.kt | 5 ----- .../src/main/kotlin/space/uranos/world/ChunkData.kt | 5 ----- .../kotlin/space/uranos/world/ChunkLightData.kt | 5 ----- .../src/main/kotlin/space/uranos/world/Dimension.kt | 5 ----- .../src/main/kotlin/space/uranos/world/Voxel.kt | 5 ----- .../main/kotlin/space/uranos/world/VoxelLocation.kt | 5 ----- .../src/main/kotlin/space/uranos/world/World.kt | 5 ----- .../main/kotlin/space/uranos/world/WorldRegistry.kt | 5 ----- .../kotlin/space/uranos/world/block/AirBlock.kt | 9 --------- .../kotlin/space/uranos/world/block/Attribute.kt | 7 ------- .../main/kotlin/space/uranos/world/block/Block.kt | 5 ----- .../kotlin/space/uranos/world/block/BlockCodec.kt | 5 ----- .../main/kotlin/space/uranos/world/block/Button.kt | 5 ----- .../kotlin/space/uranos/world/block/CaveAirBlock.kt | 8 -------- .../uranos/world/block/DaylightDetectorBlock.kt | 5 ----- .../kotlin/space/uranos/world/block/Material.kt | 5 ----- .../space/uranos/net/MinecraftProtocolDataTypes.kt | 7 +------ .../net/packet/handshaking/HandshakePacketCodec.kt | 5 ----- .../net/packet/handshaking/HandshakingProtocol.kt | 5 ----- .../net/packet/login/DisconnectPacketCodec.kt | 5 ----- .../packet/login/EncryptionRequestPacketCodec.kt | 5 ----- .../packet/login/EncryptionResponsePacketCodec.kt | 5 ----- .../packet/login/LoginPluginRequestPacketCodec.kt | 5 ----- .../packet/login/LoginPluginResponsePacketCodec.kt | 5 ----- .../space/uranos/net/packet/login/LoginProtocol.kt | 5 ----- .../net/packet/login/LoginStartPacketCodec.kt | 5 ----- .../net/packet/login/LoginSuccessPacketCodec.kt | 5 ----- .../net/packet/login/SetCompressionPacketCodec.kt | 5 ----- .../uranos/net/packet/play/ChunkDataPacketCodec.kt | 5 ----- .../net/packet/play/ChunkLightDataPacketCodec.kt | 5 ----- .../net/packet/play/ClientRequestPacketCodec.kt | 5 ----- .../net/packet/play/ClientSettingsPacketCodec.kt | 5 ----- .../net/packet/play/CompassTargetPacketCodec.kt | 5 ----- .../net/packet/play/DeclareCommandsPacketCodec.kt | 5 ----- .../net/packet/play/DeclareRecipesPacketCodec.kt | 5 ----- .../net/packet/play/DestroyEntitiesPacketCodec.kt | 5 ----- .../uranos/net/packet/play/DisconnectPacketCodec.kt | 5 ----- .../net/packet/play/EntityHeadYawPacketCodec.kt | 5 ----- .../net/packet/play/EntityOrientationPacketCodec.kt | 5 ----- .../packet/play/EntityRelativeMovePacketCodec.kt | 5 ----- .../EntityRelativeMoveWithOrientationPacketCodec.kt | 5 ----- .../net/packet/play/EntityTeleportPacketCodec.kt | 5 ----- .../net/packet/play/IncomingKeepAlivePacketCodec.kt | 5 ----- .../play/IncomingPlayerPositionPacketCodec.kt | 5 ----- .../packet/play/IncomingPluginMessagePacketCodec.kt | 5 ----- .../uranos/net/packet/play/JoinGamePacketCodec.kt | 5 ----- .../net/packet/play/OutgoingKeepAlivePacketCodec.kt | 5 ----- .../play/OutgoingPlayerPositionPacketCodec.kt | 5 ----- .../packet/play/OutgoingPluginMessagePacketCodec.kt | 5 ----- .../space/uranos/net/packet/play/PlayProtocol.kt | 5 ----- .../net/packet/play/PlayerAbilitiesPacketCodec.kt | 5 ----- .../uranos/net/packet/play/PlayerInfoPacketCodec.kt | 5 ----- .../net/packet/play/PlayerLocationPacketCodec.kt | 5 ----- .../net/packet/play/PlayerOrientationPacketCodec.kt | 5 ----- .../packet/play/SelectedHotbarSlotPacketCodec.kt | 5 ----- .../net/packet/play/ServerDifficultyPacketCodec.kt | 5 ----- .../packet/play/SpawnExperienceOrbPacketCodec.kt | 5 ----- .../net/packet/play/SpawnLivingEntityPacketCodec.kt | 5 ----- .../net/packet/play/SpawnObjectEntityPacketCodec.kt | 5 ----- .../net/packet/play/SpawnPaintingPacketCodec.kt | 5 ----- .../space/uranos/net/packet/play/TagsPacketCodec.kt | 5 ----- .../net/packet/play/ViewPositionPacketCodec.kt | 5 ----- .../uranos/net/packet/status/PingPacketCodec.kt | 5 ----- .../uranos/net/packet/status/PongPacketCodec.kt | 5 ----- .../uranos/net/packet/status/RequestPacketCodec.kt | 5 ----- .../uranos/net/packet/status/ResponsePacketCodec.kt | 5 ----- .../uranos/net/packet/status/StatusProtocol.kt | 5 ----- .../kotlin/space/uranos/util/CompactedBitArray.kt | 5 ----- .../kotlin/space/uranos/util/GenerateHeightmap.kt | 5 ----- .../src/main/kotlin/space/uranos/util/Hashing.kt | 5 ----- .../space/uranos/util/LongToByteArrayConversion.kt | 5 ----- .../uranos/net/packet/ProtocolValidationTest.kt | 5 ----- .../net/packet/handshaking/HandshakePacket.kt | 5 ----- .../uranos/net/packet/login/DisconnectPacket.kt | 5 ----- .../net/packet/login/EncryptionRequestPacket.kt | 5 ----- .../net/packet/login/EncryptionResponsePacket.kt | 5 ----- .../net/packet/login/LoginPluginRequestPacket.kt | 5 ----- .../net/packet/login/LoginPluginResponsePacket.kt | 5 ----- .../uranos/net/packet/login/LoginStartPacket.kt | 5 ----- .../uranos/net/packet/login/LoginSuccessPacket.kt | 7 +------ .../uranos/net/packet/login/SetCompressionPacket.kt | 5 ----- .../space/uranos/net/packet/play/ChunkDataPacket.kt | 5 ----- .../uranos/net/packet/play/ChunkLightDataPacket.kt | 5 ----- .../uranos/net/packet/play/ClientRequestPacket.kt | 5 ----- .../uranos/net/packet/play/ClientSettingsPacket.kt | 5 ----- .../uranos/net/packet/play/CompassTargetPacket.kt | 5 ----- .../uranos/net/packet/play/DeclareCommandsPacket.kt | 5 ----- .../uranos/net/packet/play/DeclareRecipesPacket.kt | 5 ----- .../uranos/net/packet/play/DestroyEntitiesPacket.kt | 5 ----- .../uranos/net/packet/play/DisconnectPacket.kt | 5 ----- .../uranos/net/packet/play/EntityHeadYawPacket.kt | 5 ----- .../net/packet/play/EntityOrientationPacket.kt | 5 ----- .../net/packet/play/EntityRelativeMovePacket.kt | 5 ----- .../play/EntityRelativeMoveWithOrientationPacket.kt | 5 ----- .../uranos/net/packet/play/EntityTeleportPacket.kt | 5 ----- .../net/packet/play/IncomingKeepAlivePacket.kt | 5 ----- .../net/packet/play/IncomingPlayerPositionPacket.kt | 5 ----- .../net/packet/play/IncomingPluginMessagePacket.kt | 5 ----- .../space/uranos/net/packet/play/JoinGamePacket.kt | 5 ----- .../net/packet/play/OutgoingKeepAlivePacket.kt | 5 ----- .../net/packet/play/OutgoingPlayerPositionPacket.kt | 5 ----- .../net/packet/play/OutgoingPluginMessagePacket.kt | 5 ----- .../uranos/net/packet/play/PlayerAbilitiesPacket.kt | 5 ----- .../uranos/net/packet/play/PlayerInfoPacket.kt | 7 +------ .../net/packet/play/PlayerOrientationPacket.kt | 5 ----- .../uranos/net/packet/play/PlayerPositionPacket.kt | 5 ----- .../net/packet/play/SelectedHotbarSlotPacket.kt | 5 ----- .../net/packet/play/ServerDifficultyPacket.kt | 5 ----- .../net/packet/play/SpawnExperienceOrbPacket.kt | 5 ----- .../net/packet/play/SpawnLivingEntityPacket.kt | 5 ----- .../net/packet/play/SpawnObjectEntityPacket.kt | 5 ----- .../uranos/net/packet/play/SpawnPaintingPacket.kt | 7 +------ .../space/uranos/net/packet/play/TagsPacket.kt | 5 ----- .../uranos/net/packet/play/ViewPositionPacket.kt | 5 ----- .../space/uranos/net/packet/status/PingPacket.kt | 5 ----- .../space/uranos/net/packet/status/PongPacket.kt | 5 ----- .../space/uranos/net/packet/status/RequestPacket.kt | 5 ----- .../uranos/net/packet/status/ResponsePacket.kt | 13 ------------- .../main/kotlin/space/uranos/util/SpawnEntity.kt | 5 ----- .../src/main/kotlin/space/uranos/UranosScheduler.kt | 5 ----- .../src/main/kotlin/space/uranos/UranosServer.kt | 5 ----- .../main/kotlin/space/uranos/config/UranosConfig.kt | 5 ----- .../main/kotlin/space/uranos/entity/UranosEntity.kt | 5 ----- .../space/uranos/entity/impl/UranosBatEntity.kt | 5 ----- .../space/uranos/entity/impl/UranosCowEntity.kt | 5 ----- .../space/uranos/entity/impl/UranosCreeperEntity.kt | 5 ----- .../uranos/entity/impl/UranosMinecartEntity.kt | 5 ----- .../space/uranos/entity/impl/UranosPlayerEntity.kt | 5 ----- .../kotlin/space/uranos/event/UranosEventBus.kt | 5 ----- .../event/UranosEventHandlerPositionManager.kt | 5 ----- .../kotlin/space/uranos/logging/LogbackAppender.kt | 5 ----- .../uranos/logging/UranosLoggingOutputProvider.kt | 7 +------ .../kotlin/space/uranos/net/CompressionCodec.kt | 5 ----- .../src/main/kotlin/space/uranos/net/CryptBuffer.kt | 5 ----- .../uranos/net/DefaultPacketReceivedEventHandler.kt | 5 ----- .../main/kotlin/space/uranos/net/EncryptionCodec.kt | 5 ----- .../main/kotlin/space/uranos/net/FramingCodec.kt | 5 ----- .../space/uranos/net/LoginAndJoinProcedure.kt | 5 ----- .../space/uranos/net/PacketMessageDuplexHandler.kt | 5 ----- .../main/kotlin/space/uranos/net/PacketsAdapter.kt | 5 ----- .../space/uranos/net/UranosChannelInitializer.kt | 5 ----- .../main/kotlin/space/uranos/net/UranosSession.kt | 5 ----- .../kotlin/space/uranos/net/UranosSocketServer.kt | 5 ----- .../handshaking/HandshakingProtocolHandler.kt | 5 ----- .../packet/login/EncryptionResponsePacketHandler.kt | 5 ----- .../uranos/net/packet/login/LoginProtocolHandler.kt | 5 ----- .../net/packet/login/LoginStartPacketHandler.kt | 5 ----- .../net/packet/play/ClientSettingsPacketHandler.kt | 5 ----- .../packet/play/IncomingKeepAlivePacketHandler.kt | 5 ----- .../play/IncomingPlayerPositionPacketHandler.kt | 5 ----- .../play/IncomingPluginMessagePacketHandler.kt | 5 ----- .../uranos/net/packet/play/PlayProtocolHandler.kt | 5 ----- .../net/packet/play/PlayerLocationPacketHandler.kt | 5 ----- .../packet/play/PlayerOrientationPacketHandler.kt | 5 ----- .../net/packet/status/StatusProtocolHandler.kt | 5 ----- .../main/kotlin/space/uranos/player/UranosPlayer.kt | 5 ----- .../space/uranos/plugin/UranosPluginManager.kt | 5 ----- .../space/uranos/util/AuthenticationHelper.kt | 7 +------ .../kotlin/space/uranos/util/AwaitExtensions.kt | 5 ----- .../kotlin/space/uranos/util/EncryptionUtils.kt | 5 ----- .../space/uranos/world/GetInternalsIfRegistered.kt | 5 ----- .../space/uranos/world/UranosWorldRegistry.kt | 5 ----- .../test/kotlin/space/uranos/event/EventBusTest.kt | 5 ----- 267 files changed, 16 insertions(+), 1367 deletions(-) delete mode 100644 .idea/copyright/profiles_settings.xml diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml deleted file mode 100644 index 84c4e3e..0000000 --- a/.idea/copyright/profiles_settings.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/buildSrc/src/main/kotlin/space/uranos/mdsp/Constants.kt b/buildSrc/src/main/kotlin/space/uranos/mdsp/Constants.kt index 3dd0425..183cd07 100644 --- a/buildSrc/src/main/kotlin/space/uranos/mdsp/Constants.kt +++ b/buildSrc/src/main/kotlin/space/uranos/mdsp/Constants.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.mdsp const val PRISMARINE_BASE_URL = "https://raw.githubusercontent.com/PrismarineJS/minecraft-data/master/data/pc/" diff --git a/buildSrc/src/main/kotlin/space/uranos/mdsp/DataDownloader.kt b/buildSrc/src/main/kotlin/space/uranos/mdsp/DataDownloader.kt index baf6532..d19da0e 100644 --- a/buildSrc/src/main/kotlin/space/uranos/mdsp/DataDownloader.kt +++ b/buildSrc/src/main/kotlin/space/uranos/mdsp/DataDownloader.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.mdsp import okhttp3.OkHttpClient diff --git a/buildSrc/src/main/kotlin/space/uranos/mdsp/DataGeneratorRunner.kt b/buildSrc/src/main/kotlin/space/uranos/mdsp/DataGeneratorRunner.kt index 53b87e3..374d499 100644 --- a/buildSrc/src/main/kotlin/space/uranos/mdsp/DataGeneratorRunner.kt +++ b/buildSrc/src/main/kotlin/space/uranos/mdsp/DataGeneratorRunner.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.mdsp import java.io.File diff --git a/buildSrc/src/main/kotlin/space/uranos/mdsp/MinecraftDataSourcesPlugin.kt b/buildSrc/src/main/kotlin/space/uranos/mdsp/MinecraftDataSourcesPlugin.kt index f251f2d..6321095 100644 --- a/buildSrc/src/main/kotlin/space/uranos/mdsp/MinecraftDataSourcesPlugin.kt +++ b/buildSrc/src/main/kotlin/space/uranos/mdsp/MinecraftDataSourcesPlugin.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.mdsp import com.jsoniter.JsonIterator diff --git a/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/BlocksAndMaterialGenerator.kt b/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/BlocksAndMaterialGenerator.kt index 5a78e8d..6092f96 100644 --- a/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/BlocksAndMaterialGenerator.kt +++ b/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/BlocksAndMaterialGenerator.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.mdsp.generator import com.google.common.base.CaseFormat @@ -57,7 +52,7 @@ class BlocksAndMaterialGenerator( .initializer("arrayOf(${items.joinToString()})") .addKdoc( "Explanation what the numbers mean: " + - "https://github.com/PrismarineJS/minecraft-data/blob/master/doc/blockCollisionShapes.md" + "https://github.com/PrismarineJS/minecraft-data/blob/master/doc/blockCollisionShapes.md" ) .build() diff --git a/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/Constants.kt b/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/Constants.kt index e38940a..19c0dc9 100644 --- a/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/Constants.kt +++ b/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/Constants.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.mdsp.generator import com.squareup.kotlinpoet.ClassName diff --git a/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/EntitiesGenerator.kt b/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/EntitiesGenerator.kt index ac33bcd..2087469 100644 --- a/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/EntitiesGenerator.kt +++ b/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/EntitiesGenerator.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.mdsp.generator import com.google.common.base.CaseFormat @@ -31,7 +26,7 @@ class EntitiesGenerator( for (entity in types) { val entityClassName = CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, entity.get("name").toString())!! + - "Entity" + "Entity" val entityClass = ClassName(ENTITY_PACKAGE, entityClassName) @@ -87,7 +82,7 @@ class EntitiesGenerator( private fun generateEntityStubs(types: List) { for (entity in types) { val name = CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, entity.get("name").toString())!! + - "Entity" + "Entity" if (name == "PaintingEntity") continue @@ -132,7 +127,7 @@ class EntitiesGenerator( FunSpec.getterBuilder() .addStatement( "return when(this) {\n${names.joinToString("\n") { "is $it -> $it" }.prependIndent(" ")}\n" + - " else -> error(\"Unknown entity type\")\n} as EntityType" + " else -> error(\"Unknown entity type\")\n} as EntityType" ) .build() ) diff --git a/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/FluidIDMapGenerator.kt b/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/FluidIDMapGenerator.kt index 2776eb0..8d0e4ea 100644 --- a/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/FluidIDMapGenerator.kt +++ b/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/FluidIDMapGenerator.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.mdsp.generator import com.squareup.kotlinpoet.FileSpec diff --git a/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/ItemTypeEnumGenerator.kt b/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/ItemTypeEnumGenerator.kt index 0d808a1..957499d 100644 --- a/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/ItemTypeEnumGenerator.kt +++ b/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/ItemTypeEnumGenerator.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.mdsp.generator import com.google.common.base.CaseFormat diff --git a/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/TagsGenerator.kt b/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/TagsGenerator.kt index 4b04cda..7aceb8a 100644 --- a/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/TagsGenerator.kt +++ b/buildSrc/src/main/kotlin/space/uranos/mdsp/generator/TagsGenerator.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.mdsp.generator import com.jsoniter.JsonIterator diff --git a/buildSrc/src/main/kotlin/space/uranos/mdsp/util/ConstructorPropertiesHelper.kt b/buildSrc/src/main/kotlin/space/uranos/mdsp/util/ConstructorPropertiesHelper.kt index 7dab801..f56f56e 100644 --- a/buildSrc/src/main/kotlin/space/uranos/mdsp/util/ConstructorPropertiesHelper.kt +++ b/buildSrc/src/main/kotlin/space/uranos/mdsp/util/ConstructorPropertiesHelper.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.mdsp.util import com.squareup.kotlinpoet.ParameterSpec diff --git a/test-plugin/src/main/kotlin/space/uranos/testplugin/TestPlugin.kt b/test-plugin/src/main/kotlin/space/uranos/testplugin/TestPlugin.kt index 870fa0a..6404d9e 100644 --- a/test-plugin/src/main/kotlin/space/uranos/testplugin/TestPlugin.kt +++ b/test-plugin/src/main/kotlin/space/uranos/testplugin/TestPlugin.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.testplugin import space.uranos.Uranos diff --git a/test-plugin/src/main/kotlin/space/uranos/testplugin/anvil/AnvilChunk.kt b/test-plugin/src/main/kotlin/space/uranos/testplugin/anvil/AnvilChunk.kt index 3380814..3a92a3a 100644 --- a/test-plugin/src/main/kotlin/space/uranos/testplugin/anvil/AnvilChunk.kt +++ b/test-plugin/src/main/kotlin/space/uranos/testplugin/anvil/AnvilChunk.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.testplugin.anvil import com.google.common.cache.LoadingCache diff --git a/test-plugin/src/main/kotlin/space/uranos/testplugin/anvil/AnvilChunkSection.kt b/test-plugin/src/main/kotlin/space/uranos/testplugin/anvil/AnvilChunkSection.kt index 6e955e6..b9dd8a4 100644 --- a/test-plugin/src/main/kotlin/space/uranos/testplugin/anvil/AnvilChunkSection.kt +++ b/test-plugin/src/main/kotlin/space/uranos/testplugin/anvil/AnvilChunkSection.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.testplugin.anvil import space.uranos.world.Chunk diff --git a/test-plugin/src/main/kotlin/space/uranos/testplugin/anvil/AnvilVoxel.kt b/test-plugin/src/main/kotlin/space/uranos/testplugin/anvil/AnvilVoxel.kt index de635c9..85c33c4 100644 --- a/test-plugin/src/main/kotlin/space/uranos/testplugin/anvil/AnvilVoxel.kt +++ b/test-plugin/src/main/kotlin/space/uranos/testplugin/anvil/AnvilVoxel.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.testplugin.anvil import space.uranos.world.Chunk diff --git a/test-plugin/src/main/kotlin/space/uranos/testplugin/anvil/AnvilWorld.kt b/test-plugin/src/main/kotlin/space/uranos/testplugin/anvil/AnvilWorld.kt index f3493fc..f227b3a 100644 --- a/test-plugin/src/main/kotlin/space/uranos/testplugin/anvil/AnvilWorld.kt +++ b/test-plugin/src/main/kotlin/space/uranos/testplugin/anvil/AnvilWorld.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.testplugin.anvil import com.google.common.cache.CacheBuilder diff --git a/uranos-api/src/main/kotlin/space/uranos/CardinalDirection.kt b/uranos-api/src/main/kotlin/space/uranos/CardinalDirection.kt index 8fd3dcb..6221950 100644 --- a/uranos-api/src/main/kotlin/space/uranos/CardinalDirection.kt +++ b/uranos-api/src/main/kotlin/space/uranos/CardinalDirection.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos enum class CardinalDirection(private val direction: Direction) { diff --git a/uranos-api/src/main/kotlin/space/uranos/CoordinatePart.kt b/uranos-api/src/main/kotlin/space/uranos/CoordinatePart.kt index 8f2b905..c16d2d4 100644 --- a/uranos-api/src/main/kotlin/space/uranos/CoordinatePart.kt +++ b/uranos-api/src/main/kotlin/space/uranos/CoordinatePart.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos enum class CoordinatePart { diff --git a/uranos-api/src/main/kotlin/space/uranos/Difficulty.kt b/uranos-api/src/main/kotlin/space/uranos/Difficulty.kt index 1f9c518..198efaf 100644 --- a/uranos-api/src/main/kotlin/space/uranos/Difficulty.kt +++ b/uranos-api/src/main/kotlin/space/uranos/Difficulty.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos enum class Difficulty { diff --git a/uranos-api/src/main/kotlin/space/uranos/Direction.kt b/uranos-api/src/main/kotlin/space/uranos/Direction.kt index 35399f9..26e6b74 100644 --- a/uranos-api/src/main/kotlin/space/uranos/Direction.kt +++ b/uranos-api/src/main/kotlin/space/uranos/Direction.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos enum class Direction { diff --git a/uranos-api/src/main/kotlin/space/uranos/NamespacedID.kt b/uranos-api/src/main/kotlin/space/uranos/NamespacedID.kt index 5cbbe18..7672ec5 100644 --- a/uranos-api/src/main/kotlin/space/uranos/NamespacedID.kt +++ b/uranos-api/src/main/kotlin/space/uranos/NamespacedID.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos object NamespacedID { diff --git a/uranos-api/src/main/kotlin/space/uranos/PaintingMotive.kt b/uranos-api/src/main/kotlin/space/uranos/PaintingMotive.kt index 7cdf83c..dfefd55 100644 --- a/uranos-api/src/main/kotlin/space/uranos/PaintingMotive.kt +++ b/uranos-api/src/main/kotlin/space/uranos/PaintingMotive.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos enum class PaintingMotive(val width: Int, val height: Int) { diff --git a/uranos-api/src/main/kotlin/space/uranos/Registry.kt b/uranos-api/src/main/kotlin/space/uranos/Registry.kt index 8bc57bb..af33953 100644 --- a/uranos-api/src/main/kotlin/space/uranos/Registry.kt +++ b/uranos-api/src/main/kotlin/space/uranos/Registry.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos open class Registry { diff --git a/uranos-api/src/main/kotlin/space/uranos/Scheduler.kt b/uranos-api/src/main/kotlin/space/uranos/Scheduler.kt index a5892ff..3cef3a7 100644 --- a/uranos-api/src/main/kotlin/space/uranos/Scheduler.kt +++ b/uranos-api/src/main/kotlin/space/uranos/Scheduler.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos import kotlinx.coroutines.NonCancellable diff --git a/uranos-api/src/main/kotlin/space/uranos/Uranos.kt b/uranos-api/src/main/kotlin/space/uranos/Uranos.kt index 53609eb..33f1e60 100644 --- a/uranos-api/src/main/kotlin/space/uranos/Uranos.kt +++ b/uranos-api/src/main/kotlin/space/uranos/Uranos.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos import space.uranos.server.Server diff --git a/uranos-api/src/main/kotlin/space/uranos/Vector.kt b/uranos-api/src/main/kotlin/space/uranos/Vector.kt index c353b6d..876305e 100644 --- a/uranos-api/src/main/kotlin/space/uranos/Vector.kt +++ b/uranos-api/src/main/kotlin/space/uranos/Vector.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos import space.uranos.entity.Position diff --git a/uranos-api/src/main/kotlin/space/uranos/chat/ChatColor.kt b/uranos-api/src/main/kotlin/space/uranos/chat/ChatColor.kt index 54e2848..abc0d2d 100644 --- a/uranos-api/src/main/kotlin/space/uranos/chat/ChatColor.kt +++ b/uranos-api/src/main/kotlin/space/uranos/chat/ChatColor.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.chat import com.squareup.moshi.FromJson diff --git a/uranos-api/src/main/kotlin/space/uranos/chat/ChatComponent.kt b/uranos-api/src/main/kotlin/space/uranos/chat/ChatComponent.kt index f6b24b9..b2062cb 100644 --- a/uranos-api/src/main/kotlin/space/uranos/chat/ChatComponent.kt +++ b/uranos-api/src/main/kotlin/space/uranos/chat/ChatComponent.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.chat import com.squareup.moshi.* diff --git a/uranos-api/src/main/kotlin/space/uranos/chat/LegacyFormattingCode.kt b/uranos-api/src/main/kotlin/space/uranos/chat/LegacyFormattingCode.kt index 188d2aa..4945726 100644 --- a/uranos-api/src/main/kotlin/space/uranos/chat/LegacyFormattingCode.kt +++ b/uranos-api/src/main/kotlin/space/uranos/chat/LegacyFormattingCode.kt @@ -1,14 +1,8 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.chat /** * You should use [ChatComponent][space.uranos.chat.ChatComponent] whenever it's possible, but sometimes these codes - * are required, for example in [the name of a player in a server list sample] - * [space.uranos.net.packet.status.ResponsePacket.Players.SampleEntry.name]. + * are required, for example in the name of a player in a server list sample. */ enum class LegacyFormattingCode(private val char: Char) { BLACK('0'), diff --git a/uranos-api/src/main/kotlin/space/uranos/command/Command.kt b/uranos-api/src/main/kotlin/space/uranos/command/Command.kt index 2798f44..76c1805 100644 --- a/uranos-api/src/main/kotlin/space/uranos/command/Command.kt +++ b/uranos-api/src/main/kotlin/space/uranos/command/Command.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.command import space.uranos.RegistryItem diff --git a/uranos-api/src/main/kotlin/space/uranos/entity/Entity.kt b/uranos-api/src/main/kotlin/space/uranos/entity/Entity.kt index 32b4205..26389ea 100644 --- a/uranos-api/src/main/kotlin/space/uranos/entity/Entity.kt +++ b/uranos-api/src/main/kotlin/space/uranos/entity/Entity.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity import com.google.common.cache.CacheBuilder diff --git a/uranos-api/src/main/kotlin/space/uranos/entity/EntityType.kt b/uranos-api/src/main/kotlin/space/uranos/entity/EntityType.kt index 4e6cb76..36c8a07 100644 --- a/uranos-api/src/main/kotlin/space/uranos/entity/EntityType.kt +++ b/uranos-api/src/main/kotlin/space/uranos/entity/EntityType.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity import kotlin.reflect.KClass diff --git a/uranos-api/src/main/kotlin/space/uranos/entity/HasMovableHead.kt b/uranos-api/src/main/kotlin/space/uranos/entity/HasMovableHead.kt index 48dc29d..7ded856 100644 --- a/uranos-api/src/main/kotlin/space/uranos/entity/HasMovableHead.kt +++ b/uranos-api/src/main/kotlin/space/uranos/entity/HasMovableHead.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity interface HasMovableHead : Mobile, Entity { diff --git a/uranos-api/src/main/kotlin/space/uranos/entity/LivingEntity.kt b/uranos-api/src/main/kotlin/space/uranos/entity/LivingEntity.kt index 774a7b5..754a32b 100644 --- a/uranos-api/src/main/kotlin/space/uranos/entity/LivingEntity.kt +++ b/uranos-api/src/main/kotlin/space/uranos/entity/LivingEntity.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity interface LivingEntity : Entity, Mobile { diff --git a/uranos-api/src/main/kotlin/space/uranos/entity/Mobile.kt b/uranos-api/src/main/kotlin/space/uranos/entity/Mobile.kt index e56f120..31c9e23 100644 --- a/uranos-api/src/main/kotlin/space/uranos/entity/Mobile.kt +++ b/uranos-api/src/main/kotlin/space/uranos/entity/Mobile.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity import space.uranos.Vector diff --git a/uranos-api/src/main/kotlin/space/uranos/entity/ObjectEntity.kt b/uranos-api/src/main/kotlin/space/uranos/entity/ObjectEntity.kt index 7a7f274..e8e6303 100644 --- a/uranos-api/src/main/kotlin/space/uranos/entity/ObjectEntity.kt +++ b/uranos-api/src/main/kotlin/space/uranos/entity/ObjectEntity.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity interface ObjectEntity : Entity, Mobile { diff --git a/uranos-api/src/main/kotlin/space/uranos/entity/PaintingEntity.kt b/uranos-api/src/main/kotlin/space/uranos/entity/PaintingEntity.kt index d6f60ad..0b6e9b1 100644 --- a/uranos-api/src/main/kotlin/space/uranos/entity/PaintingEntity.kt +++ b/uranos-api/src/main/kotlin/space/uranos/entity/PaintingEntity.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity import space.uranos.CardinalDirection diff --git a/uranos-api/src/main/kotlin/space/uranos/entity/PitchRotatable.kt b/uranos-api/src/main/kotlin/space/uranos/entity/PitchRotatable.kt index 1e16e1a..7a8d78a 100644 --- a/uranos-api/src/main/kotlin/space/uranos/entity/PitchRotatable.kt +++ b/uranos-api/src/main/kotlin/space/uranos/entity/PitchRotatable.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity interface PitchRotatable { diff --git a/uranos-api/src/main/kotlin/space/uranos/entity/PlayerEntity.kt b/uranos-api/src/main/kotlin/space/uranos/entity/PlayerEntity.kt index 6c2ace2..f0b23ff 100644 --- a/uranos-api/src/main/kotlin/space/uranos/entity/PlayerEntity.kt +++ b/uranos-api/src/main/kotlin/space/uranos/entity/PlayerEntity.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity import space.uranos.player.Player diff --git a/uranos-api/src/main/kotlin/space/uranos/entity/Position.kt b/uranos-api/src/main/kotlin/space/uranos/entity/Position.kt index 4037c51..fef16c1 100644 --- a/uranos-api/src/main/kotlin/space/uranos/entity/Position.kt +++ b/uranos-api/src/main/kotlin/space/uranos/entity/Position.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity import space.uranos.CoordinatePart diff --git a/uranos-api/src/main/kotlin/space/uranos/entity/YawRotatable.kt b/uranos-api/src/main/kotlin/space/uranos/entity/YawRotatable.kt index a7c1c6c..a929a7e 100644 --- a/uranos-api/src/main/kotlin/space/uranos/entity/YawRotatable.kt +++ b/uranos-api/src/main/kotlin/space/uranos/entity/YawRotatable.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity interface YawRotatable { diff --git a/uranos-api/src/main/kotlin/space/uranos/entity/event/EntityEvent.kt b/uranos-api/src/main/kotlin/space/uranos/entity/event/EntityEvent.kt index a36f48b..a5364b5 100644 --- a/uranos-api/src/main/kotlin/space/uranos/entity/event/EntityEvent.kt +++ b/uranos-api/src/main/kotlin/space/uranos/entity/event/EntityEvent.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity.event import space.uranos.entity.Entity diff --git a/uranos-api/src/main/kotlin/space/uranos/entity/event/ViewingChangedEvent.kt b/uranos-api/src/main/kotlin/space/uranos/entity/event/ViewingChangedEvent.kt index 866f8dd..e9a4d9e 100644 --- a/uranos-api/src/main/kotlin/space/uranos/entity/event/ViewingChangedEvent.kt +++ b/uranos-api/src/main/kotlin/space/uranos/entity/event/ViewingChangedEvent.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity.event import space.uranos.entity.Entity diff --git a/uranos-api/src/main/kotlin/space/uranos/event/Cancellable.kt b/uranos-api/src/main/kotlin/space/uranos/event/Cancellable.kt index b4ff5c8..9ec44e0 100644 --- a/uranos-api/src/main/kotlin/space/uranos/event/Cancellable.kt +++ b/uranos-api/src/main/kotlin/space/uranos/event/Cancellable.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.event import kotlin.contracts.InvocationKind diff --git a/uranos-api/src/main/kotlin/space/uranos/event/Event.kt b/uranos-api/src/main/kotlin/space/uranos/event/Event.kt index 2f16437..4d3074e 100644 --- a/uranos-api/src/main/kotlin/space/uranos/event/Event.kt +++ b/uranos-api/src/main/kotlin/space/uranos/event/Event.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.event abstract class Event diff --git a/uranos-api/src/main/kotlin/space/uranos/event/EventBus.kt b/uranos-api/src/main/kotlin/space/uranos/event/EventBus.kt index 652bb9f..5f7b018 100644 --- a/uranos-api/src/main/kotlin/space/uranos/event/EventBus.kt +++ b/uranos-api/src/main/kotlin/space/uranos/event/EventBus.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.event import kotlinx.coroutines.suspendCancellableCoroutine diff --git a/uranos-api/src/main/kotlin/space/uranos/event/EventBusWrapper.kt b/uranos-api/src/main/kotlin/space/uranos/event/EventBusWrapper.kt index 52827d5..bf8ba01 100644 --- a/uranos-api/src/main/kotlin/space/uranos/event/EventBusWrapper.kt +++ b/uranos-api/src/main/kotlin/space/uranos/event/EventBusWrapper.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.event import space.uranos.Uranos diff --git a/uranos-api/src/main/kotlin/space/uranos/event/EventHandler.kt b/uranos-api/src/main/kotlin/space/uranos/event/EventHandler.kt index d0ebc31..7bb7405 100644 --- a/uranos-api/src/main/kotlin/space/uranos/event/EventHandler.kt +++ b/uranos-api/src/main/kotlin/space/uranos/event/EventHandler.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.event import space.uranos.plugin.Plugin diff --git a/uranos-api/src/main/kotlin/space/uranos/event/EventHandlerPosition.kt b/uranos-api/src/main/kotlin/space/uranos/event/EventHandlerPosition.kt index 5426d5b..9901076 100644 --- a/uranos-api/src/main/kotlin/space/uranos/event/EventHandlerPosition.kt +++ b/uranos-api/src/main/kotlin/space/uranos/event/EventHandlerPosition.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.event import space.uranos.Uranos diff --git a/uranos-api/src/main/kotlin/space/uranos/event/EventHandlerPositionManager.kt b/uranos-api/src/main/kotlin/space/uranos/event/EventHandlerPositionManager.kt index 644fbd6..c9797d5 100644 --- a/uranos-api/src/main/kotlin/space/uranos/event/EventHandlerPositionManager.kt +++ b/uranos-api/src/main/kotlin/space/uranos/event/EventHandlerPositionManager.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.event interface EventHandlerPositionManager { diff --git a/uranos-api/src/main/kotlin/space/uranos/logging/Logger.kt b/uranos-api/src/main/kotlin/space/uranos/logging/Logger.kt index b792ade..1436a2e 100644 --- a/uranos-api/src/main/kotlin/space/uranos/logging/Logger.kt +++ b/uranos-api/src/main/kotlin/space/uranos/logging/Logger.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.logging import space.uranos.Uranos diff --git a/uranos-api/src/main/kotlin/space/uranos/logging/LoggingOutputProvider.kt b/uranos-api/src/main/kotlin/space/uranos/logging/LoggingOutputProvider.kt index 00fe470..dd730aa 100644 --- a/uranos-api/src/main/kotlin/space/uranos/logging/LoggingOutputProvider.kt +++ b/uranos-api/src/main/kotlin/space/uranos/logging/LoggingOutputProvider.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.logging interface LoggingOutputProvider { diff --git a/uranos-api/src/main/kotlin/space/uranos/net/DisconnectedCancellationException.kt b/uranos-api/src/main/kotlin/space/uranos/net/DisconnectedCancellationException.kt index ae6afff..1a83ad3 100644 --- a/uranos-api/src/main/kotlin/space/uranos/net/DisconnectedCancellationException.kt +++ b/uranos-api/src/main/kotlin/space/uranos/net/DisconnectedCancellationException.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net import java.util.concurrent.CancellationException diff --git a/uranos-api/src/main/kotlin/space/uranos/net/PacketDecodingException.kt b/uranos-api/src/main/kotlin/space/uranos/net/PacketDecodingException.kt index fe2ad28..87c16ce 100644 --- a/uranos-api/src/main/kotlin/space/uranos/net/PacketDecodingException.kt +++ b/uranos-api/src/main/kotlin/space/uranos/net/PacketDecodingException.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net class PacketDecodingException : Exception("Packet decoding failed") diff --git a/uranos-api/src/main/kotlin/space/uranos/net/ServerListInfo.kt b/uranos-api/src/main/kotlin/space/uranos/net/ServerListInfo.kt index cc4aacd..6c45017 100644 --- a/uranos-api/src/main/kotlin/space/uranos/net/ServerListInfo.kt +++ b/uranos-api/src/main/kotlin/space/uranos/net/ServerListInfo.kt @@ -1,14 +1,9 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net import com.squareup.moshi.Json import com.squareup.moshi.JsonClass import space.uranos.chat.TextComponent -import java.util.* +import java.util.UUID /** * Used in the [ServerListInfoRequestEvent][space.uranos.net.event.ServerListInfoRequestEvent]. @@ -32,7 +27,7 @@ data class ServerListInfo( val favicon: String? = null ) { /** - * @param name The name of the player. You can use [LegacyFormattingCode]s. + * @param name The name of the player. You can use [LegacyFormattingCode][space.uranos.chat.LegacyFormattingCode]s. * @param uuid The UUID of the player as a string. You can use a random UUID as it does not get validated by the * Minecraft client */ diff --git a/uranos-api/src/main/kotlin/space/uranos/net/Session.kt b/uranos-api/src/main/kotlin/space/uranos/net/Session.kt index 9b5d8b2..95625ce 100644 --- a/uranos-api/src/main/kotlin/space/uranos/net/Session.kt +++ b/uranos-api/src/main/kotlin/space/uranos/net/Session.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net import io.netty.buffer.ByteBuf diff --git a/uranos-api/src/main/kotlin/space/uranos/net/event/ClientBrandReceivedEvent.kt b/uranos-api/src/main/kotlin/space/uranos/net/event/ClientBrandReceivedEvent.kt index 56ed65d..1998785 100644 --- a/uranos-api/src/main/kotlin/space/uranos/net/event/ClientBrandReceivedEvent.kt +++ b/uranos-api/src/main/kotlin/space/uranos/net/event/ClientBrandReceivedEvent.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.event import space.uranos.event.Cancellable diff --git a/uranos-api/src/main/kotlin/space/uranos/net/event/PacketReceivedEvent.kt b/uranos-api/src/main/kotlin/space/uranos/net/event/PacketReceivedEvent.kt index 33a86d8..b759fc2 100644 --- a/uranos-api/src/main/kotlin/space/uranos/net/event/PacketReceivedEvent.kt +++ b/uranos-api/src/main/kotlin/space/uranos/net/event/PacketReceivedEvent.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.event import space.uranos.event.Cancellable diff --git a/uranos-api/src/main/kotlin/space/uranos/net/event/PacketSendEvent.kt b/uranos-api/src/main/kotlin/space/uranos/net/event/PacketSendEvent.kt index 67d1373..2e9363a 100644 --- a/uranos-api/src/main/kotlin/space/uranos/net/event/PacketSendEvent.kt +++ b/uranos-api/src/main/kotlin/space/uranos/net/event/PacketSendEvent.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.event import space.uranos.event.Cancellable diff --git a/uranos-api/src/main/kotlin/space/uranos/net/event/PlayerInitializationEvent.kt b/uranos-api/src/main/kotlin/space/uranos/net/event/PlayerInitializationEvent.kt index 87cbdd1..ab058fa 100644 --- a/uranos-api/src/main/kotlin/space/uranos/net/event/PlayerInitializationEvent.kt +++ b/uranos-api/src/main/kotlin/space/uranos/net/event/PlayerInitializationEvent.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.event import space.uranos.event.Cancellable diff --git a/uranos-api/src/main/kotlin/space/uranos/net/event/ServerListInfoRequestEvent.kt b/uranos-api/src/main/kotlin/space/uranos/net/event/ServerListInfoRequestEvent.kt index 9fe470f..cfcf8f2 100644 --- a/uranos-api/src/main/kotlin/space/uranos/net/event/ServerListInfoRequestEvent.kt +++ b/uranos-api/src/main/kotlin/space/uranos/net/event/ServerListInfoRequestEvent.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.event import space.uranos.event.Cancellable diff --git a/uranos-api/src/main/kotlin/space/uranos/net/event/SessionAfterLoginEvent.kt b/uranos-api/src/main/kotlin/space/uranos/net/event/SessionAfterLoginEvent.kt index 9b2a8a3..5590932 100644 --- a/uranos-api/src/main/kotlin/space/uranos/net/event/SessionAfterLoginEvent.kt +++ b/uranos-api/src/main/kotlin/space/uranos/net/event/SessionAfterLoginEvent.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.event import space.uranos.entity.Position diff --git a/uranos-api/src/main/kotlin/space/uranos/net/event/SessionEvent.kt b/uranos-api/src/main/kotlin/space/uranos/net/event/SessionEvent.kt index 272e216..0247e40 100644 --- a/uranos-api/src/main/kotlin/space/uranos/net/event/SessionEvent.kt +++ b/uranos-api/src/main/kotlin/space/uranos/net/event/SessionEvent.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.event import space.uranos.event.TargetedEvent diff --git a/uranos-api/src/main/kotlin/space/uranos/net/packet/Packet.kt b/uranos-api/src/main/kotlin/space/uranos/net/packet/Packet.kt index 3dade4b..0099dd5 100644 --- a/uranos-api/src/main/kotlin/space/uranos/net/packet/Packet.kt +++ b/uranos-api/src/main/kotlin/space/uranos/net/packet/Packet.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet sealed class Packet { diff --git a/uranos-api/src/main/kotlin/space/uranos/net/packet/PacketCodec.kt b/uranos-api/src/main/kotlin/space/uranos/net/packet/PacketCodec.kt index 113bf89..cdf02f1 100644 --- a/uranos-api/src/main/kotlin/space/uranos/net/packet/PacketCodec.kt +++ b/uranos-api/src/main/kotlin/space/uranos/net/packet/PacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet import com.google.common.cache.CacheBuilder diff --git a/uranos-api/src/main/kotlin/space/uranos/net/packet/Protocol.kt b/uranos-api/src/main/kotlin/space/uranos/net/packet/Protocol.kt index a55edc6..fb1b1ba 100644 --- a/uranos-api/src/main/kotlin/space/uranos/net/packet/Protocol.kt +++ b/uranos-api/src/main/kotlin/space/uranos/net/packet/Protocol.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet import kotlin.reflect.KClass diff --git a/uranos-api/src/main/kotlin/space/uranos/player/ChatMode.kt b/uranos-api/src/main/kotlin/space/uranos/player/ChatMode.kt index ae318ae..64d8a6e 100644 --- a/uranos-api/src/main/kotlin/space/uranos/player/ChatMode.kt +++ b/uranos-api/src/main/kotlin/space/uranos/player/ChatMode.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.player enum class ChatMode { diff --git a/uranos-api/src/main/kotlin/space/uranos/player/GameMode.kt b/uranos-api/src/main/kotlin/space/uranos/player/GameMode.kt index ad90e9d..9c5ca17 100644 --- a/uranos-api/src/main/kotlin/space/uranos/player/GameMode.kt +++ b/uranos-api/src/main/kotlin/space/uranos/player/GameMode.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.player enum class GameMode(val numericID: Int) { diff --git a/uranos-api/src/main/kotlin/space/uranos/player/Hand.kt b/uranos-api/src/main/kotlin/space/uranos/player/Hand.kt index 643898f..8ed7919 100644 --- a/uranos-api/src/main/kotlin/space/uranos/player/Hand.kt +++ b/uranos-api/src/main/kotlin/space/uranos/player/Hand.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.player enum class Hand { diff --git a/uranos-api/src/main/kotlin/space/uranos/player/Player.kt b/uranos-api/src/main/kotlin/space/uranos/player/Player.kt index aaedb4b..0d12a61 100644 --- a/uranos-api/src/main/kotlin/space/uranos/player/Player.kt +++ b/uranos-api/src/main/kotlin/space/uranos/player/Player.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.player import space.uranos.chat.TextComponent @@ -10,7 +5,7 @@ import space.uranos.entity.PlayerEntity import space.uranos.net.Session import space.uranos.world.Chunk import space.uranos.world.VoxelLocation -import java.util.* +import java.util.UUID interface Player { val scope get() = session.scope diff --git a/uranos-api/src/main/kotlin/space/uranos/player/SkinPartsConfiguration.kt b/uranos-api/src/main/kotlin/space/uranos/player/SkinPartsConfiguration.kt index ef22524..c8b7c12 100644 --- a/uranos-api/src/main/kotlin/space/uranos/player/SkinPartsConfiguration.kt +++ b/uranos-api/src/main/kotlin/space/uranos/player/SkinPartsConfiguration.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.player data class SkinPartsConfiguration( diff --git a/uranos-api/src/main/kotlin/space/uranos/player/event/PlayerEvent.kt b/uranos-api/src/main/kotlin/space/uranos/player/event/PlayerEvent.kt index 939509c..23e6389 100644 --- a/uranos-api/src/main/kotlin/space/uranos/player/event/PlayerEvent.kt +++ b/uranos-api/src/main/kotlin/space/uranos/player/event/PlayerEvent.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.player.event import space.uranos.event.Event diff --git a/uranos-api/src/main/kotlin/space/uranos/player/event/PlayerReadyEvent.kt b/uranos-api/src/main/kotlin/space/uranos/player/event/PlayerReadyEvent.kt index 513ea1e..9b49fda 100644 --- a/uranos-api/src/main/kotlin/space/uranos/player/event/PlayerReadyEvent.kt +++ b/uranos-api/src/main/kotlin/space/uranos/player/event/PlayerReadyEvent.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.player.event import space.uranos.player.Player diff --git a/uranos-api/src/main/kotlin/space/uranos/player/event/PlayerSettingsUpdateEvent.kt b/uranos-api/src/main/kotlin/space/uranos/player/event/PlayerSettingsUpdateEvent.kt index 039e686..6af8178 100644 --- a/uranos-api/src/main/kotlin/space/uranos/player/event/PlayerSettingsUpdateEvent.kt +++ b/uranos-api/src/main/kotlin/space/uranos/player/event/PlayerSettingsUpdateEvent.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.player.event import space.uranos.player.Player diff --git a/uranos-api/src/main/kotlin/space/uranos/plugin/Plugin.kt b/uranos-api/src/main/kotlin/space/uranos/plugin/Plugin.kt index 6515d52..ef59403 100644 --- a/uranos-api/src/main/kotlin/space/uranos/plugin/Plugin.kt +++ b/uranos-api/src/main/kotlin/space/uranos/plugin/Plugin.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.plugin abstract class Plugin(name: String, version: String) { diff --git a/uranos-api/src/main/kotlin/space/uranos/plugin/PluginManager.kt b/uranos-api/src/main/kotlin/space/uranos/plugin/PluginManager.kt index b30dab7..913a455 100644 --- a/uranos-api/src/main/kotlin/space/uranos/plugin/PluginManager.kt +++ b/uranos-api/src/main/kotlin/space/uranos/plugin/PluginManager.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.plugin interface PluginManager { diff --git a/uranos-api/src/main/kotlin/space/uranos/recipe/Recipe.kt b/uranos-api/src/main/kotlin/space/uranos/recipe/Recipe.kt index eff8123..0cf37cd 100644 --- a/uranos-api/src/main/kotlin/space/uranos/recipe/Recipe.kt +++ b/uranos-api/src/main/kotlin/space/uranos/recipe/Recipe.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.recipe import space.uranos.RegistryItem diff --git a/uranos-api/src/main/kotlin/space/uranos/server/Server.kt b/uranos-api/src/main/kotlin/space/uranos/server/Server.kt index 302df07..4066a17 100644 --- a/uranos-api/src/main/kotlin/space/uranos/server/Server.kt +++ b/uranos-api/src/main/kotlin/space/uranos/server/Server.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.server import kotlinx.coroutines.CoroutineDispatcher diff --git a/uranos-api/src/main/kotlin/space/uranos/server/event/ServerEvent.kt b/uranos-api/src/main/kotlin/space/uranos/server/event/ServerEvent.kt index 81a505a..59d5745 100644 --- a/uranos-api/src/main/kotlin/space/uranos/server/event/ServerEvent.kt +++ b/uranos-api/src/main/kotlin/space/uranos/server/event/ServerEvent.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.server.event import space.uranos.event.Event diff --git a/uranos-api/src/main/kotlin/space/uranos/server/event/SessionInitializedEvent.kt b/uranos-api/src/main/kotlin/space/uranos/server/event/SessionInitializedEvent.kt index ac2009a..f050c7c 100644 --- a/uranos-api/src/main/kotlin/space/uranos/server/event/SessionInitializedEvent.kt +++ b/uranos-api/src/main/kotlin/space/uranos/server/event/SessionInitializedEvent.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.server.event import space.uranos.event.Cancellable diff --git a/uranos-api/src/main/kotlin/space/uranos/tag/Tag.kt b/uranos-api/src/main/kotlin/space/uranos/tag/Tag.kt index 2c95fb1..b3abc0b 100644 --- a/uranos-api/src/main/kotlin/space/uranos/tag/Tag.kt +++ b/uranos-api/src/main/kotlin/space/uranos/tag/Tag.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.tag import space.uranos.entity.EntityType diff --git a/uranos-api/src/main/kotlin/space/uranos/tag/TagRegistry.kt b/uranos-api/src/main/kotlin/space/uranos/tag/TagRegistry.kt index 8f018d4..5d0df67 100644 --- a/uranos-api/src/main/kotlin/space/uranos/tag/TagRegistry.kt +++ b/uranos-api/src/main/kotlin/space/uranos/tag/TagRegistry.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.tag object TagRegistry { diff --git a/uranos-api/src/main/kotlin/space/uranos/util/KPropertyValuePair.kt b/uranos-api/src/main/kotlin/space/uranos/util/KPropertyValuePair.kt index 3e9473c..f25bb42 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/KPropertyValuePair.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/KPropertyValuePair.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util import kotlin.reflect.KProperty diff --git a/uranos-api/src/main/kotlin/space/uranos/util/MemoizedDelegate.kt b/uranos-api/src/main/kotlin/space/uranos/util/MemoizedDelegate.kt index 6a87de9..3c5c69c 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/MemoizedDelegate.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/MemoizedDelegate.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util import kotlin.reflect.KProperty diff --git a/uranos-api/src/main/kotlin/space/uranos/util/Moshi.kt b/uranos-api/src/main/kotlin/space/uranos/util/Moshi.kt index da1e992..7bf68db 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/Moshi.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/Moshi.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util import com.squareup.moshi.FromJson @@ -12,7 +7,7 @@ import com.squareup.moshi.ToJson import space.uranos.chat.ChatColor import space.uranos.chat.ChatComponent import space.uranos.chat.TextComponent -import java.util.* +import java.util.UUID fun Moshi.toJson(value: Map<*, *>): String = adapter(Map::class.java).toJson(value) diff --git a/uranos-api/src/main/kotlin/space/uranos/util/NewSingleThreadDispatcher.kt b/uranos-api/src/main/kotlin/space/uranos/util/NewSingleThreadDispatcher.kt index e70f316..41c7857 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/NewSingleThreadDispatcher.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/NewSingleThreadDispatcher.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util import kotlinx.coroutines.asCoroutineDispatcher diff --git a/uranos-api/src/main/kotlin/space/uranos/util/RGBColor.kt b/uranos-api/src/main/kotlin/space/uranos/util/RGBColor.kt index 4db0c88..eb4ad5c 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/RGBColor.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/RGBColor.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util class RGBColor(rgb: Int) { diff --git a/uranos-api/src/main/kotlin/space/uranos/util/SimplePluralize.kt b/uranos-api/src/main/kotlin/space/uranos/util/SimplePluralize.kt index 49e706d..20f391a 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/SimplePluralize.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/SimplePluralize.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util /** diff --git a/uranos-api/src/main/kotlin/space/uranos/util/TickSynchronizationContainer.kt b/uranos-api/src/main/kotlin/space/uranos/util/TickSynchronizationContainer.kt index 7b2ffdb..947fa55 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/TickSynchronizationContainer.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/TickSynchronizationContainer.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util import kotlinx.coroutines.coroutineScope diff --git a/uranos-api/src/main/kotlin/space/uranos/util/Ticks.kt b/uranos-api/src/main/kotlin/space/uranos/util/Ticks.kt index 48143ac..53ad56f 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/Ticks.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/Ticks.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util import kotlinx.coroutines.CoroutineScope diff --git a/uranos-api/src/main/kotlin/space/uranos/util/UUID.kt b/uranos-api/src/main/kotlin/space/uranos/util/UUID.kt index fe45d8c..5ab03fa 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/UUID.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/UUID.kt @@ -1,11 +1,6 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util -import java.util.* +import java.util.UUID /** * Parses the UUID represented by this string and returns it. diff --git a/uranos-api/src/main/kotlin/space/uranos/util/collections/CreateWeakValuesLoadingCache.kt b/uranos-api/src/main/kotlin/space/uranos/util/collections/CreateWeakValuesLoadingCache.kt index b1c092e..eb4e2d7 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/collections/CreateWeakValuesLoadingCache.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/collections/CreateWeakValuesLoadingCache.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util.collections import com.google.common.cache.CacheBuilder diff --git a/uranos-api/src/main/kotlin/space/uranos/util/collections/KClassToInstanceMap.kt b/uranos-api/src/main/kotlin/space/uranos/util/collections/KClassToInstanceMap.kt index 6f60678..1ab67a4 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/collections/KClassToInstanceMap.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/collections/KClassToInstanceMap.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util.collections import kotlin.reflect.KClass diff --git a/uranos-api/src/main/kotlin/space/uranos/util/collections/WatchableSet.kt b/uranos-api/src/main/kotlin/space/uranos/util/collections/WatchableSet.kt index b918b68..8d7020f 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/collections/WatchableSet.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/collections/WatchableSet.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util.collections import java.util.Spliterator diff --git a/uranos-api/src/main/kotlin/space/uranos/util/numbers/Bits.kt b/uranos-api/src/main/kotlin/space/uranos/util/numbers/Bits.kt index 46bd293..cc108b6 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/numbers/Bits.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/numbers/Bits.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util.numbers import kotlin.experimental.and diff --git a/uranos-api/src/main/kotlin/space/uranos/util/numbers/Clamp.kt b/uranos-api/src/main/kotlin/space/uranos/util/numbers/Clamp.kt index cf2ed96..d944538 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/numbers/Clamp.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/numbers/Clamp.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util.numbers fun Int.clamp(range: IntRange) = maxOf(minOf(range.first, range.last), minOf(maxOf(range.first, range.last), this)) diff --git a/uranos-api/src/main/kotlin/space/uranos/util/numbers/FloatFloorMod.kt b/uranos-api/src/main/kotlin/space/uranos/util/numbers/FloatFloorMod.kt index 2b2ee36..b5eaf22 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/numbers/FloatFloorMod.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/numbers/FloatFloorMod.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util.numbers fun floorMod(dividend: Float, divisor: Float): Float { diff --git a/uranos-api/src/main/kotlin/space/uranos/util/numbers/MapNumberRange.kt b/uranos-api/src/main/kotlin/space/uranos/util/numbers/MapNumberRange.kt index 0112a7a..cc51c63 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/numbers/MapNumberRange.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/numbers/MapNumberRange.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util.numbers fun Float.mapToUByte(divisor: Float) = ((this / divisor) * 256).toInt().toUByte() diff --git a/uranos-api/src/main/kotlin/space/uranos/util/numbers/UntilPossiblyNegative.kt b/uranos-api/src/main/kotlin/space/uranos/util/numbers/UntilPossiblyNegative.kt index 85835f5..248df5a 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/numbers/UntilPossiblyNegative.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/numbers/UntilPossiblyNegative.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util.numbers infix fun Int.untilPossiblyLower(other: Int) = diff --git a/uranos-api/src/main/kotlin/space/uranos/util/numbers/ValidateOrientation.kt b/uranos-api/src/main/kotlin/space/uranos/util/numbers/ValidateOrientation.kt index 5c1139d..929dd72 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/numbers/ValidateOrientation.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/numbers/ValidateOrientation.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util.numbers fun validateYaw(value: Float, name: String = "yaw") { diff --git a/uranos-api/src/main/kotlin/space/uranos/util/runInServerThread.kt b/uranos-api/src/main/kotlin/space/uranos/util/runInServerThread.kt index 92afaa7..0e0b34c 100644 --- a/uranos-api/src/main/kotlin/space/uranos/util/runInServerThread.kt +++ b/uranos-api/src/main/kotlin/space/uranos/util/runInServerThread.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util import kotlinx.coroutines.withContext diff --git a/uranos-api/src/main/kotlin/space/uranos/world/Biome.kt b/uranos-api/src/main/kotlin/space/uranos/world/Biome.kt index bfc7cbf..4a19641 100644 --- a/uranos-api/src/main/kotlin/space/uranos/world/Biome.kt +++ b/uranos-api/src/main/kotlin/space/uranos/world/Biome.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world import space.uranos.RegistryItem diff --git a/uranos-api/src/main/kotlin/space/uranos/world/BiomeRegistry.kt b/uranos-api/src/main/kotlin/space/uranos/world/BiomeRegistry.kt index f2038a0..508eff3 100644 --- a/uranos-api/src/main/kotlin/space/uranos/world/BiomeRegistry.kt +++ b/uranos-api/src/main/kotlin/space/uranos/world/BiomeRegistry.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world import space.uranos.Registry diff --git a/uranos-api/src/main/kotlin/space/uranos/world/Chunk.kt b/uranos-api/src/main/kotlin/space/uranos/world/Chunk.kt index cf4fe8b..28cd82d 100644 --- a/uranos-api/src/main/kotlin/space/uranos/world/Chunk.kt +++ b/uranos-api/src/main/kotlin/space/uranos/world/Chunk.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world import kotlinx.coroutines.CoroutineScope diff --git a/uranos-api/src/main/kotlin/space/uranos/world/ChunkData.kt b/uranos-api/src/main/kotlin/space/uranos/world/ChunkData.kt index bab1240..7d3304d 100644 --- a/uranos-api/src/main/kotlin/space/uranos/world/ChunkData.kt +++ b/uranos-api/src/main/kotlin/space/uranos/world/ChunkData.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world import space.uranos.world.block.Block diff --git a/uranos-api/src/main/kotlin/space/uranos/world/ChunkLightData.kt b/uranos-api/src/main/kotlin/space/uranos/world/ChunkLightData.kt index 444cd33..b7d9f4f 100644 --- a/uranos-api/src/main/kotlin/space/uranos/world/ChunkLightData.kt +++ b/uranos-api/src/main/kotlin/space/uranos/world/ChunkLightData.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world data class ChunkLightData( diff --git a/uranos-api/src/main/kotlin/space/uranos/world/Dimension.kt b/uranos-api/src/main/kotlin/space/uranos/world/Dimension.kt index 4d485a1..811d9a7 100644 --- a/uranos-api/src/main/kotlin/space/uranos/world/Dimension.kt +++ b/uranos-api/src/main/kotlin/space/uranos/world/Dimension.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world import space.uranos.RegistryItem diff --git a/uranos-api/src/main/kotlin/space/uranos/world/Voxel.kt b/uranos-api/src/main/kotlin/space/uranos/world/Voxel.kt index 39ac346..f4a4ad5 100644 --- a/uranos-api/src/main/kotlin/space/uranos/world/Voxel.kt +++ b/uranos-api/src/main/kotlin/space/uranos/world/Voxel.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world import space.uranos.world.block.Block diff --git a/uranos-api/src/main/kotlin/space/uranos/world/VoxelLocation.kt b/uranos-api/src/main/kotlin/space/uranos/world/VoxelLocation.kt index 697dfaf..205ee2b 100644 --- a/uranos-api/src/main/kotlin/space/uranos/world/VoxelLocation.kt +++ b/uranos-api/src/main/kotlin/space/uranos/world/VoxelLocation.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world import space.uranos.CoordinatePart diff --git a/uranos-api/src/main/kotlin/space/uranos/world/World.kt b/uranos-api/src/main/kotlin/space/uranos/world/World.kt index aad073f..4f8eccd 100644 --- a/uranos-api/src/main/kotlin/space/uranos/world/World.kt +++ b/uranos-api/src/main/kotlin/space/uranos/world/World.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world import kotlinx.coroutines.CoroutineDispatcher diff --git a/uranos-api/src/main/kotlin/space/uranos/world/WorldRegistry.kt b/uranos-api/src/main/kotlin/space/uranos/world/WorldRegistry.kt index 9cad049..5b4d837 100644 --- a/uranos-api/src/main/kotlin/space/uranos/world/WorldRegistry.kt +++ b/uranos-api/src/main/kotlin/space/uranos/world/WorldRegistry.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world open class WorldRegistry { diff --git a/uranos-api/src/main/kotlin/space/uranos/world/block/AirBlock.kt b/uranos-api/src/main/kotlin/space/uranos/world/block/AirBlock.kt index 2f1967a..c3c0d39 100644 --- a/uranos-api/src/main/kotlin/space/uranos/world/block/AirBlock.kt +++ b/uranos-api/src/main/kotlin/space/uranos/world/block/AirBlock.kt @@ -1,14 +1,5 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world.block - -/** - * Material: [AIR][Material.AIR] - */ object AirBlock : Block(), Material by material( 0, "minecraft:air", diff --git a/uranos-api/src/main/kotlin/space/uranos/world/block/Attribute.kt b/uranos-api/src/main/kotlin/space/uranos/world/block/Attribute.kt index 1d57d0a..07cea83 100644 --- a/uranos-api/src/main/kotlin/space/uranos/world/block/Attribute.kt +++ b/uranos-api/src/main/kotlin/space/uranos/world/block/Attribute.kt @@ -1,12 +1,5 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world.block -import kotlin.annotation.Target - /** * @suppress */ diff --git a/uranos-api/src/main/kotlin/space/uranos/world/block/Block.kt b/uranos-api/src/main/kotlin/space/uranos/world/block/Block.kt index a1f9b3c..fd22b78 100644 --- a/uranos-api/src/main/kotlin/space/uranos/world/block/Block.kt +++ b/uranos-api/src/main/kotlin/space/uranos/world/block/Block.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world.block import space.uranos.world.block.Block.Companion.material diff --git a/uranos-api/src/main/kotlin/space/uranos/world/block/BlockCodec.kt b/uranos-api/src/main/kotlin/space/uranos/world/block/BlockCodec.kt index 6ecee6e..387109b 100644 --- a/uranos-api/src/main/kotlin/space/uranos/world/block/BlockCodec.kt +++ b/uranos-api/src/main/kotlin/space/uranos/world/block/BlockCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world.block import space.uranos.util.KPropertyValuePair diff --git a/uranos-api/src/main/kotlin/space/uranos/world/block/Button.kt b/uranos-api/src/main/kotlin/space/uranos/world/block/Button.kt index 187833b..782ef14 100644 --- a/uranos-api/src/main/kotlin/space/uranos/world/block/Button.kt +++ b/uranos-api/src/main/kotlin/space/uranos/world/block/Button.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world.block interface Button { diff --git a/uranos-api/src/main/kotlin/space/uranos/world/block/CaveAirBlock.kt b/uranos-api/src/main/kotlin/space/uranos/world/block/CaveAirBlock.kt index e54f43b..fef2be9 100644 --- a/uranos-api/src/main/kotlin/space/uranos/world/block/CaveAirBlock.kt +++ b/uranos-api/src/main/kotlin/space/uranos/world/block/CaveAirBlock.kt @@ -1,13 +1,5 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world.block -/** - * Material: [CAVE_AIR][Material.CAVE_AIR] - */ object CaveAirBlock : Block(), Material by material( 617, "minecraft:cave_air", diff --git a/uranos-api/src/main/kotlin/space/uranos/world/block/DaylightDetectorBlock.kt b/uranos-api/src/main/kotlin/space/uranos/world/block/DaylightDetectorBlock.kt index c0ace32..91f70ce 100644 --- a/uranos-api/src/main/kotlin/space/uranos/world/block/DaylightDetectorBlock.kt +++ b/uranos-api/src/main/kotlin/space/uranos/world/block/DaylightDetectorBlock.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world.block data class DaylightDetectorBlock( diff --git a/uranos-api/src/main/kotlin/space/uranos/world/block/Material.kt b/uranos-api/src/main/kotlin/space/uranos/world/block/Material.kt index b94134f..2950017 100644 --- a/uranos-api/src/main/kotlin/space/uranos/world/block/Material.kt +++ b/uranos-api/src/main/kotlin/space/uranos/world/block/Material.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world.block import kotlin.reflect.KClass diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/MinecraftProtocolDataTypes.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/MinecraftProtocolDataTypes.kt index bfb707c..c3a05d4 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/MinecraftProtocolDataTypes.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/MinecraftProtocolDataTypes.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net import io.netty.buffer.ByteBuf @@ -11,7 +6,7 @@ import space.uranos.nbt.NBT import space.uranos.world.VoxelLocation import java.io.DataOutputStream import java.io.IOException -import java.util.* +import java.util.UUID import kotlin.experimental.and /** diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/handshaking/HandshakePacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/handshaking/HandshakePacketCodec.kt index b8b5269..795cd2e 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/handshaking/HandshakePacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/handshaking/HandshakePacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.handshaking import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/handshaking/HandshakingProtocol.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/handshaking/HandshakingProtocol.kt index c638c4c..b09cc40 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/handshaking/HandshakingProtocol.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/handshaking/HandshakingProtocol.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.handshaking import space.uranos.net.packet.Protocol diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/DisconnectPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/DisconnectPacketCodec.kt index 9a770a1..883df0d 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/DisconnectPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/DisconnectPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/EncryptionRequestPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/EncryptionRequestPacketCodec.kt index 1ed203b..737d542 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/EncryptionRequestPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/EncryptionRequestPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/EncryptionResponsePacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/EncryptionResponsePacketCodec.kt index f997960..8572cab 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/EncryptionResponsePacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/EncryptionResponsePacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginPluginRequestPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginPluginRequestPacketCodec.kt index 6f88030..0285223 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginPluginRequestPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginPluginRequestPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginPluginResponsePacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginPluginResponsePacketCodec.kt index c88c0e3..f12a892 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginPluginResponsePacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginPluginResponsePacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginProtocol.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginProtocol.kt index b974671..cf3e55f 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginProtocol.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginProtocol.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import space.uranos.net.packet.Protocol diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginStartPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginStartPacketCodec.kt index f210ee8..162601e 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginStartPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginStartPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginSuccessPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginSuccessPacketCodec.kt index b4f4ab3..6e28c8c 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginSuccessPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/LoginSuccessPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/SetCompressionPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/SetCompressionPacketCodec.kt index 613c4f2..b9fc765 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/SetCompressionPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/login/SetCompressionPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ChunkDataPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ChunkDataPacketCodec.kt index 98e60b0..49ec99e 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ChunkDataPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ChunkDataPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ChunkLightDataPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ChunkLightDataPacketCodec.kt index d541189..e75672d 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ChunkLightDataPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ChunkLightDataPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ClientRequestPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ClientRequestPacketCodec.kt index e7fa663..258d158 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ClientRequestPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ClientRequestPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ClientSettingsPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ClientSettingsPacketCodec.kt index f6fe735..31fb19e 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ClientSettingsPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ClientSettingsPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/CompassTargetPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/CompassTargetPacketCodec.kt index c3722bb..6b16d0e 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/CompassTargetPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/CompassTargetPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/DeclareCommandsPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/DeclareCommandsPacketCodec.kt index e03e362..1c3a805 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/DeclareCommandsPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/DeclareCommandsPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/DeclareRecipesPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/DeclareRecipesPacketCodec.kt index 2b582af..60246f7 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/DeclareRecipesPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/DeclareRecipesPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/DestroyEntitiesPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/DestroyEntitiesPacketCodec.kt index 50e286d..0d2dda7 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/DestroyEntitiesPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/DestroyEntitiesPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/DisconnectPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/DisconnectPacketCodec.kt index d64fcf8..0c844a5 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/DisconnectPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/DisconnectPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityHeadYawPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityHeadYawPacketCodec.kt index 0b0d1a2..43abf0a 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityHeadYawPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityHeadYawPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityOrientationPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityOrientationPacketCodec.kt index 9f70490..8c52fba 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityOrientationPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityOrientationPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityRelativeMovePacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityRelativeMovePacketCodec.kt index 1fb54b2..6ecf9db 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityRelativeMovePacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityRelativeMovePacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityRelativeMoveWithOrientationPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityRelativeMoveWithOrientationPacketCodec.kt index d6fc32a..d3db018 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityRelativeMoveWithOrientationPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityRelativeMoveWithOrientationPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityTeleportPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityTeleportPacketCodec.kt index 7672466..d1e17fe 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityTeleportPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/EntityTeleportPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/IncomingKeepAlivePacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/IncomingKeepAlivePacketCodec.kt index ee8df06..0f45ed1 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/IncomingKeepAlivePacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/IncomingKeepAlivePacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/IncomingPlayerPositionPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/IncomingPlayerPositionPacketCodec.kt index 528bc2e..c36383d 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/IncomingPlayerPositionPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/IncomingPlayerPositionPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/IncomingPluginMessagePacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/IncomingPluginMessagePacketCodec.kt index 7b71107..e813445 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/IncomingPluginMessagePacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/IncomingPluginMessagePacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/JoinGamePacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/JoinGamePacketCodec.kt index 72831bc..01380cc 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/JoinGamePacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/JoinGamePacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/OutgoingKeepAlivePacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/OutgoingKeepAlivePacketCodec.kt index ae00db4..452c0e8 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/OutgoingKeepAlivePacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/OutgoingKeepAlivePacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/OutgoingPlayerPositionPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/OutgoingPlayerPositionPacketCodec.kt index 06ab331..42833eb 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/OutgoingPlayerPositionPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/OutgoingPlayerPositionPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/OutgoingPluginMessagePacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/OutgoingPluginMessagePacketCodec.kt index b730c29..daa992e 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/OutgoingPluginMessagePacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/OutgoingPluginMessagePacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayProtocol.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayProtocol.kt index a4d62b7..244a6ae 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayProtocol.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayProtocol.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.Protocol diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayerAbilitiesPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayerAbilitiesPacketCodec.kt index 75d0fd8..883440c 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayerAbilitiesPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayerAbilitiesPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayerInfoPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayerInfoPacketCodec.kt index 8bd04e1..f91a35d 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayerInfoPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayerInfoPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayerLocationPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayerLocationPacketCodec.kt index 0c3c502..d11bca3 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayerLocationPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayerLocationPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayerOrientationPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayerOrientationPacketCodec.kt index fcfb583..04189c0 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayerOrientationPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/PlayerOrientationPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SelectedHotbarSlotPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SelectedHotbarSlotPacketCodec.kt index 03507bd..888b501 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SelectedHotbarSlotPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SelectedHotbarSlotPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ServerDifficultyPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ServerDifficultyPacketCodec.kt index 39d214a..e3e9529 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ServerDifficultyPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ServerDifficultyPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SpawnExperienceOrbPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SpawnExperienceOrbPacketCodec.kt index e8d912e..7d501b3 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SpawnExperienceOrbPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SpawnExperienceOrbPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SpawnLivingEntityPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SpawnLivingEntityPacketCodec.kt index 7b6196f..ba0beaf 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SpawnLivingEntityPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SpawnLivingEntityPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SpawnObjectEntityPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SpawnObjectEntityPacketCodec.kt index e0d9877..ab36f85 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SpawnObjectEntityPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SpawnObjectEntityPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SpawnPaintingPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SpawnPaintingPacketCodec.kt index 3145345..bfc7ede 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SpawnPaintingPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/SpawnPaintingPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/TagsPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/TagsPacketCodec.kt index 4097545..4d0f9cc 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/TagsPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/TagsPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ViewPositionPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ViewPositionPacketCodec.kt index 6d6ed3d..94072e6 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ViewPositionPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/play/ViewPositionPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/PingPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/PingPacketCodec.kt index e53801e..b9f58c0 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/PingPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/PingPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.status import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/PongPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/PongPacketCodec.kt index 76bb5c7..55b3534 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/PongPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/PongPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.status import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/RequestPacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/RequestPacketCodec.kt index 61d3d5d..19b51be 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/RequestPacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/RequestPacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.status import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/ResponsePacketCodec.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/ResponsePacketCodec.kt index 82014ac..0a5620d 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/ResponsePacketCodec.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/ResponsePacketCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.status import io.netty.buffer.ByteBuf diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/StatusProtocol.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/StatusProtocol.kt index b3612e4..035b482 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/StatusProtocol.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/net/packet/status/StatusProtocol.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.status import space.uranos.net.packet.Protocol diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/util/CompactedBitArray.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/util/CompactedBitArray.kt index f7d0ee6..7202251 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/util/CompactedBitArray.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/util/CompactedBitArray.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - @file:Suppress("DuplicatedCode") package space.uranos.util diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/util/GenerateHeightmap.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/util/GenerateHeightmap.kt index 56350ad..01e7b92 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/util/GenerateHeightmap.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/util/GenerateHeightmap.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util import space.uranos.world.Chunk diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/util/Hashing.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/util/Hashing.kt index e5efbd0..c7684bc 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/util/Hashing.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/util/Hashing.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util import java.security.MessageDigest diff --git a/uranos-packet-codecs/src/main/kotlin/space/uranos/util/LongToByteArrayConversion.kt b/uranos-packet-codecs/src/main/kotlin/space/uranos/util/LongToByteArrayConversion.kt index 1e69d73..63704cf 100644 --- a/uranos-packet-codecs/src/main/kotlin/space/uranos/util/LongToByteArrayConversion.kt +++ b/uranos-packet-codecs/src/main/kotlin/space/uranos/util/LongToByteArrayConversion.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util import java.nio.ByteBuffer diff --git a/uranos-packet-codecs/src/test/kotlin/space/uranos/net/packet/ProtocolValidationTest.kt b/uranos-packet-codecs/src/test/kotlin/space/uranos/net/packet/ProtocolValidationTest.kt index 1f9453d..7607c89 100644 --- a/uranos-packet-codecs/src/test/kotlin/space/uranos/net/packet/ProtocolValidationTest.kt +++ b/uranos-packet-codecs/src/test/kotlin/space/uranos/net/packet/ProtocolValidationTest.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet import org.junit.jupiter.api.Test diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/handshaking/HandshakePacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/handshaking/HandshakePacket.kt index 5ec4d5c..6325173 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/handshaking/HandshakePacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/handshaking/HandshakePacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.handshaking import space.uranos.net.packet.IncomingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/DisconnectPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/DisconnectPacket.kt index 417443e..6659a3c 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/DisconnectPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/DisconnectPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import space.uranos.chat.ChatComponent diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/EncryptionRequestPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/EncryptionRequestPacket.kt index 80783f4..9272e2f 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/EncryptionRequestPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/EncryptionRequestPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/EncryptionResponsePacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/EncryptionResponsePacket.kt index ffa87df..5a07af1 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/EncryptionResponsePacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/EncryptionResponsePacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import space.uranos.net.packet.IncomingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/LoginPluginRequestPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/LoginPluginRequestPacket.kt index 9e82ee3..741b052 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/LoginPluginRequestPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/LoginPluginRequestPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/LoginPluginResponsePacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/LoginPluginResponsePacket.kt index 594a755..86efb9a 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/LoginPluginResponsePacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/LoginPluginResponsePacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import space.uranos.net.packet.IncomingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/LoginStartPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/LoginStartPacket.kt index 9cc6471..ed98fcf 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/LoginStartPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/LoginStartPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import space.uranos.net.packet.IncomingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/LoginSuccessPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/LoginSuccessPacket.kt index d74bab2..77ff85b 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/LoginSuccessPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/LoginSuccessPacket.kt @@ -1,12 +1,7 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import space.uranos.net.packet.OutgoingPacket -import java.util.* +import java.util.UUID /** * Sent by the server to indicate that the login process succeeded. diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/SetCompressionPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/SetCompressionPacket.kt index f04a3ff..481ee8c 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/SetCompressionPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/login/SetCompressionPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ChunkDataPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ChunkDataPacket.kt index b2df1b5..3822c37 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ChunkDataPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ChunkDataPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ChunkLightDataPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ChunkLightDataPacket.kt index c1364f6..a0f7cf5 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ChunkLightDataPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ChunkLightDataPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ClientRequestPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ClientRequestPacket.kt index 0f9c24e..ce227a4 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ClientRequestPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ClientRequestPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.IncomingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ClientSettingsPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ClientSettingsPacket.kt index bbe8336..225bf7a 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ClientSettingsPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ClientSettingsPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.IncomingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/CompassTargetPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/CompassTargetPacket.kt index c09cf3a..6d7880d 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/CompassTargetPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/CompassTargetPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/DeclareCommandsPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/DeclareCommandsPacket.kt index 621a3f5..f8560e3 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/DeclareCommandsPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/DeclareCommandsPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.command.Command diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/DeclareRecipesPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/DeclareRecipesPacket.kt index a6a81da..6559f11 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/DeclareRecipesPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/DeclareRecipesPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/DestroyEntitiesPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/DestroyEntitiesPacket.kt index 530ff50..f421cad 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/DestroyEntitiesPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/DestroyEntitiesPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.Mergeable diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/DisconnectPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/DisconnectPacket.kt index 68ae4df..a9abb95 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/DisconnectPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/DisconnectPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityHeadYawPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityHeadYawPacket.kt index 0517cf6..609d64d 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityHeadYawPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityHeadYawPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityOrientationPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityOrientationPacket.kt index 40f0162..836d45a 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityOrientationPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityOrientationPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityRelativeMovePacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityRelativeMovePacket.kt index 0a878b3..e3fc495 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityRelativeMovePacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityRelativeMovePacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityRelativeMoveWithOrientationPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityRelativeMoveWithOrientationPacket.kt index b7c6f83..8737693 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityRelativeMoveWithOrientationPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityRelativeMoveWithOrientationPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityTeleportPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityTeleportPacket.kt index 6017d92..68e5c1d 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityTeleportPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/EntityTeleportPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/IncomingKeepAlivePacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/IncomingKeepAlivePacket.kt index 5bf7869..d726af3 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/IncomingKeepAlivePacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/IncomingKeepAlivePacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.IncomingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/IncomingPlayerPositionPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/IncomingPlayerPositionPacket.kt index 640ab7f..fe58813 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/IncomingPlayerPositionPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/IncomingPlayerPositionPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.entity.Position diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/IncomingPluginMessagePacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/IncomingPluginMessagePacket.kt index 142dc62..c2948d1 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/IncomingPluginMessagePacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/IncomingPluginMessagePacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.IncomingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/JoinGamePacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/JoinGamePacket.kt index d8ac393..9779702 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/JoinGamePacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/JoinGamePacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/OutgoingKeepAlivePacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/OutgoingKeepAlivePacket.kt index dd5a0da..c3972f0 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/OutgoingKeepAlivePacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/OutgoingKeepAlivePacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/OutgoingPlayerPositionPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/OutgoingPlayerPositionPacket.kt index d22991e..ed10e87 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/OutgoingPlayerPositionPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/OutgoingPlayerPositionPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/OutgoingPluginMessagePacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/OutgoingPluginMessagePacket.kt index 1cda199..c3fe68b 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/OutgoingPluginMessagePacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/OutgoingPluginMessagePacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/PlayerAbilitiesPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/PlayerAbilitiesPacket.kt index 132e594..292593f 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/PlayerAbilitiesPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/PlayerAbilitiesPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/PlayerInfoPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/PlayerInfoPacket.kt index 0da001e..9110612 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/PlayerInfoPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/PlayerInfoPacket.kt @@ -1,15 +1,10 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.chat.TextComponent import space.uranos.net.packet.Mergeable import space.uranos.net.packet.OutgoingPacket import space.uranos.player.GameMode -import java.util.* +import java.util.UUID /** * Informs the client about other players. diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/PlayerOrientationPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/PlayerOrientationPacket.kt index 74dadf1..245c8d8 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/PlayerOrientationPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/PlayerOrientationPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.IncomingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/PlayerPositionPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/PlayerPositionPacket.kt index 5c7629e..6711e3c 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/PlayerPositionPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/PlayerPositionPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.entity.Position diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SelectedHotbarSlotPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SelectedHotbarSlotPacket.kt index 7998292..2cff9ce 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SelectedHotbarSlotPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SelectedHotbarSlotPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ServerDifficultyPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ServerDifficultyPacket.kt index 5ec6b2d..aeb872d 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ServerDifficultyPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ServerDifficultyPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.DifficultySettings diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SpawnExperienceOrbPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SpawnExperienceOrbPacket.kt index 924eb00..c34df66 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SpawnExperienceOrbPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SpawnExperienceOrbPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SpawnLivingEntityPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SpawnLivingEntityPacket.kt index 120c724..2ef4f57 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SpawnLivingEntityPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SpawnLivingEntityPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.Vector diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SpawnObjectEntityPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SpawnObjectEntityPacket.kt index bbfcd9a..58f121e 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SpawnObjectEntityPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SpawnObjectEntityPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.Vector diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SpawnPaintingPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SpawnPaintingPacket.kt index b9debb8..9ee06d6 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SpawnPaintingPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/SpawnPaintingPacket.kt @@ -1,15 +1,10 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.CardinalDirection import space.uranos.PaintingMotive import space.uranos.net.packet.OutgoingPacket import space.uranos.world.VoxelLocation -import java.util.* +import java.util.UUID /** * Sent to spawn **living** entities. diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/TagsPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/TagsPacket.kt index 05e779a..5981f04 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/TagsPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/TagsPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ViewPositionPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ViewPositionPacket.kt index 6797f9e..88c9c9a 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ViewPositionPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/play/ViewPositionPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/status/PingPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/status/PingPacket.kt index 775362a..7974c83 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/status/PingPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/status/PingPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.status import space.uranos.net.packet.IncomingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/status/PongPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/status/PongPacket.kt index b5d6350..08f2093 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/status/PongPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/status/PongPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.status import space.uranos.net.packet.OutgoingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/status/RequestPacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/status/RequestPacket.kt index 198caf8..4fb6ea5 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/status/RequestPacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/status/RequestPacket.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.status import space.uranos.net.packet.IncomingPacket diff --git a/uranos-packets/src/main/kotlin/space/uranos/net/packet/status/ResponsePacket.kt b/uranos-packets/src/main/kotlin/space/uranos/net/packet/status/ResponsePacket.kt index d0693db..73ee720 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/net/packet/status/ResponsePacket.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/net/packet/status/ResponsePacket.kt @@ -1,23 +1,10 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.status -import space.uranos.chat.LegacyFormattingCode -import space.uranos.chat.TextComponent import space.uranos.net.ServerListInfo import space.uranos.net.packet.OutgoingPacket /** * Sent by the server in response to a [RequestPacket][space.uranos.net.packet.status]. - * - * @param versionName The name of the Minecraft version the server uses. - * @param protocolVersion The number of the [protocol version](https://wiki.vg/Protocol_version_numbers) used by the server. - * @param description The description of the server. Although this is a [TextComponent], [LegacyFormattingCode]s must be used. - * @param players The players shown when hovering over the player count. - * @param favicon The favicon of the server. This must be a base64 encoded 64x64 PNG image. */ data class ResponsePacket( val response: ServerListInfo diff --git a/uranos-packets/src/main/kotlin/space/uranos/util/SpawnEntity.kt b/uranos-packets/src/main/kotlin/space/uranos/util/SpawnEntity.kt index 98c40f0..1dd4dab 100644 --- a/uranos-packets/src/main/kotlin/space/uranos/util/SpawnEntity.kt +++ b/uranos-packets/src/main/kotlin/space/uranos/util/SpawnEntity.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util import space.uranos.entity.* diff --git a/uranos-server/src/main/kotlin/space/uranos/UranosScheduler.kt b/uranos-server/src/main/kotlin/space/uranos/UranosScheduler.kt index 762ec2a..caab31b 100644 --- a/uranos-server/src/main/kotlin/space/uranos/UranosScheduler.kt +++ b/uranos-server/src/main/kotlin/space/uranos/UranosScheduler.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos import kotlinx.coroutines.CancellableContinuation diff --git a/uranos-server/src/main/kotlin/space/uranos/UranosServer.kt b/uranos-server/src/main/kotlin/space/uranos/UranosServer.kt index cf6d5fc..200d0d6 100644 --- a/uranos-server/src/main/kotlin/space/uranos/UranosServer.kt +++ b/uranos-server/src/main/kotlin/space/uranos/UranosServer.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos import com.sksamuel.hoplite.ConfigFilePropertySource diff --git a/uranos-server/src/main/kotlin/space/uranos/config/UranosConfig.kt b/uranos-server/src/main/kotlin/space/uranos/config/UranosConfig.kt index d5dc40d..014c998 100644 --- a/uranos-server/src/main/kotlin/space/uranos/config/UranosConfig.kt +++ b/uranos-server/src/main/kotlin/space/uranos/config/UranosConfig.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.config import space.uranos.logging.Logger diff --git a/uranos-server/src/main/kotlin/space/uranos/entity/UranosEntity.kt b/uranos-server/src/main/kotlin/space/uranos/entity/UranosEntity.kt index a5684c5..79b9acd 100644 --- a/uranos-server/src/main/kotlin/space/uranos/entity/UranosEntity.kt +++ b/uranos-server/src/main/kotlin/space/uranos/entity/UranosEntity.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity import kotlinx.coroutines.launch diff --git a/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosBatEntity.kt b/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosBatEntity.kt index 853821f..2f4360e 100644 --- a/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosBatEntity.kt +++ b/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosBatEntity.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity.impl import space.uranos.UranosServer diff --git a/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosCowEntity.kt b/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosCowEntity.kt index 76f2a53..8366ae5 100644 --- a/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosCowEntity.kt +++ b/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosCowEntity.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity.impl import space.uranos.UranosServer diff --git a/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosCreeperEntity.kt b/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosCreeperEntity.kt index 1ec17dc..8e391ea 100644 --- a/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosCreeperEntity.kt +++ b/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosCreeperEntity.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity.impl import space.uranos.UranosServer diff --git a/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosMinecartEntity.kt b/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosMinecartEntity.kt index e29c4a9..7ceb116 100644 --- a/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosMinecartEntity.kt +++ b/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosMinecartEntity.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity.impl import space.uranos.UranosServer diff --git a/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosPlayerEntity.kt b/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosPlayerEntity.kt index f51f7a0..3541faa 100644 --- a/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosPlayerEntity.kt +++ b/uranos-server/src/main/kotlin/space/uranos/entity/impl/UranosPlayerEntity.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.entity.impl import space.uranos.UranosServer diff --git a/uranos-server/src/main/kotlin/space/uranos/event/UranosEventBus.kt b/uranos-server/src/main/kotlin/space/uranos/event/UranosEventBus.kt index 6696628..e426cff 100644 --- a/uranos-server/src/main/kotlin/space/uranos/event/UranosEventBus.kt +++ b/uranos-server/src/main/kotlin/space/uranos/event/UranosEventBus.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.event import space.uranos.logging.Logger diff --git a/uranos-server/src/main/kotlin/space/uranos/event/UranosEventHandlerPositionManager.kt b/uranos-server/src/main/kotlin/space/uranos/event/UranosEventHandlerPositionManager.kt index 5aa9539..9703fe6 100644 --- a/uranos-server/src/main/kotlin/space/uranos/event/UranosEventHandlerPositionManager.kt +++ b/uranos-server/src/main/kotlin/space/uranos/event/UranosEventHandlerPositionManager.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.event class UranosEventHandlerPositionManager: EventHandlerPositionManager { diff --git a/uranos-server/src/main/kotlin/space/uranos/logging/LogbackAppender.kt b/uranos-server/src/main/kotlin/space/uranos/logging/LogbackAppender.kt index 3c22361..665a7d4 100644 --- a/uranos-server/src/main/kotlin/space/uranos/logging/LogbackAppender.kt +++ b/uranos-server/src/main/kotlin/space/uranos/logging/LogbackAppender.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.logging import ch.qos.logback.classic.Level diff --git a/uranos-server/src/main/kotlin/space/uranos/logging/UranosLoggingOutputProvider.kt b/uranos-server/src/main/kotlin/space/uranos/logging/UranosLoggingOutputProvider.kt index 65eaacd..fe3aede 100644 --- a/uranos-server/src/main/kotlin/space/uranos/logging/UranosLoggingOutputProvider.kt +++ b/uranos-server/src/main/kotlin/space/uranos/logging/UranosLoggingOutputProvider.kt @@ -1,14 +1,9 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.logging import de.moritzruth.khalk.Khalk import java.io.PrintStream import java.text.SimpleDateFormat -import java.util.* +import java.util.Date object UranosLoggingOutputProvider : LoggingOutputProvider { private val dateFormat = SimpleDateFormat("HH:mm:ss.SSS") diff --git a/uranos-server/src/main/kotlin/space/uranos/net/CompressionCodec.kt b/uranos-server/src/main/kotlin/space/uranos/net/CompressionCodec.kt index a25cd77..1c14f73 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/CompressionCodec.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/CompressionCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net import io.netty.buffer.ByteBuf diff --git a/uranos-server/src/main/kotlin/space/uranos/net/CryptBuffer.kt b/uranos-server/src/main/kotlin/space/uranos/net/CryptBuffer.kt index 4b81f67..486c05d 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/CryptBuffer.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/CryptBuffer.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net import io.netty.buffer.ByteBuf diff --git a/uranos-server/src/main/kotlin/space/uranos/net/DefaultPacketReceivedEventHandler.kt b/uranos-server/src/main/kotlin/space/uranos/net/DefaultPacketReceivedEventHandler.kt index e1eb3a3..6407fbf 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/DefaultPacketReceivedEventHandler.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/DefaultPacketReceivedEventHandler.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net import space.uranos.net.packet.IncomingPacket diff --git a/uranos-server/src/main/kotlin/space/uranos/net/EncryptionCodec.kt b/uranos-server/src/main/kotlin/space/uranos/net/EncryptionCodec.kt index 3b64950..b9b944f 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/EncryptionCodec.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/EncryptionCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net import io.netty.buffer.ByteBuf diff --git a/uranos-server/src/main/kotlin/space/uranos/net/FramingCodec.kt b/uranos-server/src/main/kotlin/space/uranos/net/FramingCodec.kt index 658d138..7e25095 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/FramingCodec.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/FramingCodec.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net import io.netty.buffer.ByteBuf diff --git a/uranos-server/src/main/kotlin/space/uranos/net/LoginAndJoinProcedure.kt b/uranos-server/src/main/kotlin/space/uranos/net/LoginAndJoinProcedure.kt index 74c25e9..daa6654 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/LoginAndJoinProcedure.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/LoginAndJoinProcedure.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net import io.netty.buffer.Unpooled diff --git a/uranos-server/src/main/kotlin/space/uranos/net/PacketMessageDuplexHandler.kt b/uranos-server/src/main/kotlin/space/uranos/net/PacketMessageDuplexHandler.kt index a2fd492..c4ce4d5 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/PacketMessageDuplexHandler.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/PacketMessageDuplexHandler.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net import io.netty.buffer.ByteBuf diff --git a/uranos-server/src/main/kotlin/space/uranos/net/PacketsAdapter.kt b/uranos-server/src/main/kotlin/space/uranos/net/PacketsAdapter.kt index d5e45aa..1c95bbc 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/PacketsAdapter.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/PacketsAdapter.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net import io.netty.buffer.ByteBuf diff --git a/uranos-server/src/main/kotlin/space/uranos/net/UranosChannelInitializer.kt b/uranos-server/src/main/kotlin/space/uranos/net/UranosChannelInitializer.kt index 60516e5..894f8bb 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/UranosChannelInitializer.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/UranosChannelInitializer.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net import io.netty.channel.Channel diff --git a/uranos-server/src/main/kotlin/space/uranos/net/UranosSession.kt b/uranos-server/src/main/kotlin/space/uranos/net/UranosSession.kt index c4d5fab..09d0d61 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/UranosSession.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/UranosSession.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net import io.netty.buffer.ByteBuf diff --git a/uranos-server/src/main/kotlin/space/uranos/net/UranosSocketServer.kt b/uranos-server/src/main/kotlin/space/uranos/net/UranosSocketServer.kt index 34f24c0..e35c843 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/UranosSocketServer.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/UranosSocketServer.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net import io.netty.bootstrap.ServerBootstrap diff --git a/uranos-server/src/main/kotlin/space/uranos/net/packet/handshaking/HandshakingProtocolHandler.kt b/uranos-server/src/main/kotlin/space/uranos/net/packet/handshaking/HandshakingProtocolHandler.kt index 88406b8..9c4a10f 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/packet/handshaking/HandshakingProtocolHandler.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/packet/handshaking/HandshakingProtocolHandler.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.handshaking import space.uranos.net.PacketReceivedEventHandler diff --git a/uranos-server/src/main/kotlin/space/uranos/net/packet/login/EncryptionResponsePacketHandler.kt b/uranos-server/src/main/kotlin/space/uranos/net/packet/login/EncryptionResponsePacketHandler.kt index 86ca2bb..19a6b7f 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/packet/login/EncryptionResponsePacketHandler.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/packet/login/EncryptionResponsePacketHandler.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import kotlinx.coroutines.launch diff --git a/uranos-server/src/main/kotlin/space/uranos/net/packet/login/LoginProtocolHandler.kt b/uranos-server/src/main/kotlin/space/uranos/net/packet/login/LoginProtocolHandler.kt index 47ac4da..8ff47d7 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/packet/login/LoginProtocolHandler.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/packet/login/LoginProtocolHandler.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import space.uranos.net.ProtocolPacketReceivedEventHandler diff --git a/uranos-server/src/main/kotlin/space/uranos/net/packet/login/LoginStartPacketHandler.kt b/uranos-server/src/main/kotlin/space/uranos/net/packet/login/LoginStartPacketHandler.kt index 646dbd1..1d602fd 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/packet/login/LoginStartPacketHandler.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/packet/login/LoginStartPacketHandler.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.login import kotlinx.coroutines.launch diff --git a/uranos-server/src/main/kotlin/space/uranos/net/packet/play/ClientSettingsPacketHandler.kt b/uranos-server/src/main/kotlin/space/uranos/net/packet/play/ClientSettingsPacketHandler.kt index fef71a7..34b497b 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/packet/play/ClientSettingsPacketHandler.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/packet/play/ClientSettingsPacketHandler.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import kotlinx.coroutines.launch diff --git a/uranos-server/src/main/kotlin/space/uranos/net/packet/play/IncomingKeepAlivePacketHandler.kt b/uranos-server/src/main/kotlin/space/uranos/net/packet/play/IncomingKeepAlivePacketHandler.kt index 21483a3..4fe006a 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/packet/play/IncomingKeepAlivePacketHandler.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/packet/play/IncomingKeepAlivePacketHandler.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.chat.TextComponent diff --git a/uranos-server/src/main/kotlin/space/uranos/net/packet/play/IncomingPlayerPositionPacketHandler.kt b/uranos-server/src/main/kotlin/space/uranos/net/packet/play/IncomingPlayerPositionPacketHandler.kt index ab0d2ba..a85ac2e 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/packet/play/IncomingPlayerPositionPacketHandler.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/packet/play/IncomingPlayerPositionPacketHandler.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.PacketReceivedEventHandler diff --git a/uranos-server/src/main/kotlin/space/uranos/net/packet/play/IncomingPluginMessagePacketHandler.kt b/uranos-server/src/main/kotlin/space/uranos/net/packet/play/IncomingPluginMessagePacketHandler.kt index bab04c3..68af8b2 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/packet/play/IncomingPluginMessagePacketHandler.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/packet/play/IncomingPluginMessagePacketHandler.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import io.netty.buffer.ByteBuf diff --git a/uranos-server/src/main/kotlin/space/uranos/net/packet/play/PlayProtocolHandler.kt b/uranos-server/src/main/kotlin/space/uranos/net/packet/play/PlayProtocolHandler.kt index 5c64d21..3cbccbe 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/packet/play/PlayProtocolHandler.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/packet/play/PlayProtocolHandler.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.ProtocolPacketReceivedEventHandler diff --git a/uranos-server/src/main/kotlin/space/uranos/net/packet/play/PlayerLocationPacketHandler.kt b/uranos-server/src/main/kotlin/space/uranos/net/packet/play/PlayerLocationPacketHandler.kt index 16ea0cf..6577d4f 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/packet/play/PlayerLocationPacketHandler.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/packet/play/PlayerLocationPacketHandler.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.PacketReceivedEventHandler diff --git a/uranos-server/src/main/kotlin/space/uranos/net/packet/play/PlayerOrientationPacketHandler.kt b/uranos-server/src/main/kotlin/space/uranos/net/packet/play/PlayerOrientationPacketHandler.kt index c76b8e0..203ef25 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/packet/play/PlayerOrientationPacketHandler.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/packet/play/PlayerOrientationPacketHandler.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.play import space.uranos.net.PacketReceivedEventHandler diff --git a/uranos-server/src/main/kotlin/space/uranos/net/packet/status/StatusProtocolHandler.kt b/uranos-server/src/main/kotlin/space/uranos/net/packet/status/StatusProtocolHandler.kt index 42a9a70..46b92a9 100644 --- a/uranos-server/src/main/kotlin/space/uranos/net/packet/status/StatusProtocolHandler.kt +++ b/uranos-server/src/main/kotlin/space/uranos/net/packet/status/StatusProtocolHandler.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.net.packet.status import space.uranos.net.PacketReceivedEventHandler diff --git a/uranos-server/src/main/kotlin/space/uranos/player/UranosPlayer.kt b/uranos-server/src/main/kotlin/space/uranos/player/UranosPlayer.kt index dbead37..22842b0 100644 --- a/uranos-server/src/main/kotlin/space/uranos/player/UranosPlayer.kt +++ b/uranos-server/src/main/kotlin/space/uranos/player/UranosPlayer.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.player import space.uranos.chat.TextComponent diff --git a/uranos-server/src/main/kotlin/space/uranos/plugin/UranosPluginManager.kt b/uranos-server/src/main/kotlin/space/uranos/plugin/UranosPluginManager.kt index 92e6662..c3da2dd 100644 --- a/uranos-server/src/main/kotlin/space/uranos/plugin/UranosPluginManager.kt +++ b/uranos-server/src/main/kotlin/space/uranos/plugin/UranosPluginManager.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.plugin import space.uranos.UranosServer diff --git a/uranos-server/src/main/kotlin/space/uranos/util/AuthenticationHelper.kt b/uranos-server/src/main/kotlin/space/uranos/util/AuthenticationHelper.kt index e1e12ac..8b263b7 100644 --- a/uranos-server/src/main/kotlin/space/uranos/util/AuthenticationHelper.kt +++ b/uranos-server/src/main/kotlin/space/uranos/util/AuthenticationHelper.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util import com.squareup.moshi.Json @@ -14,7 +9,7 @@ import okhttp3.CacheControl import okhttp3.OkHttpClient import okhttp3.Request import space.uranos.Uranos -import java.util.* +import java.util.UUID object AuthenticationHelper { private const val URL = "https://sessionserver.mojang.com/session/minecraft/hasJoined" diff --git a/uranos-server/src/main/kotlin/space/uranos/util/AwaitExtensions.kt b/uranos-server/src/main/kotlin/space/uranos/util/AwaitExtensions.kt index 9141d60..991fe36 100644 --- a/uranos-server/src/main/kotlin/space/uranos/util/AwaitExtensions.kt +++ b/uranos-server/src/main/kotlin/space/uranos/util/AwaitExtensions.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util import io.netty.channel.ChannelFuture diff --git a/uranos-server/src/main/kotlin/space/uranos/util/EncryptionUtils.kt b/uranos-server/src/main/kotlin/space/uranos/util/EncryptionUtils.kt index c446f6d..2aec4e9 100644 --- a/uranos-server/src/main/kotlin/space/uranos/util/EncryptionUtils.kt +++ b/uranos-server/src/main/kotlin/space/uranos/util/EncryptionUtils.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.util import java.math.BigInteger diff --git a/uranos-server/src/main/kotlin/space/uranos/world/GetInternalsIfRegistered.kt b/uranos-server/src/main/kotlin/space/uranos/world/GetInternalsIfRegistered.kt index 651774c..7043479 100644 --- a/uranos-server/src/main/kotlin/space/uranos/world/GetInternalsIfRegistered.kt +++ b/uranos-server/src/main/kotlin/space/uranos/world/GetInternalsIfRegistered.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world import space.uranos.Uranos diff --git a/uranos-server/src/main/kotlin/space/uranos/world/UranosWorldRegistry.kt b/uranos-server/src/main/kotlin/space/uranos/world/UranosWorldRegistry.kt index bc63c88..ba0edc7 100644 --- a/uranos-server/src/main/kotlin/space/uranos/world/UranosWorldRegistry.kt +++ b/uranos-server/src/main/kotlin/space/uranos/world/UranosWorldRegistry.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.world class UranosWorldRegistry : WorldRegistry() { diff --git a/uranos-server/src/test/kotlin/space/uranos/event/EventBusTest.kt b/uranos-server/src/test/kotlin/space/uranos/event/EventBusTest.kt index f66a1f9..bf4cdd2 100644 --- a/uranos-server/src/test/kotlin/space/uranos/event/EventBusTest.kt +++ b/uranos-server/src/test/kotlin/space/uranos/event/EventBusTest.kt @@ -1,8 +1,3 @@ -/* - * Copyright 2020-2021 Moritz Ruth and Uranos contributors - * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file - */ - package space.uranos.event import kotlinx.coroutines.runBlocking