diff --git a/README.md b/README.md index 8a30e740..393c368b 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,11 @@ MCProtocolLib is a simple library for communicating with a Minecraft client/server. It aims to allow people to make custom bots, clients, or servers for Minecraft easily. ## Example Code -See example/org/spacehq/mc/protocol/test +See example/com/github/steveice10/mc/protocol/test ## Building the Source MCProtocolLib uses Maven to manage dependencies. Simply run 'mvn clean install' in the source's directory. -Builds can be downloaded **[here](https://build.spacehq.org/job/MCProtocolLib)**. -Javadocs can be found **[here](https://build.spacehq.org/job/MCProtocolLib/javadoc)**. - ## License MCProtocolLib is licensed under the **[MIT license](http://www.opensource.org/licenses/mit-license.html)**. diff --git a/example/org/spacehq/mc/protocol/test/MinecraftProtocolTest.java b/example/com/github/steveice10/mc/protocol/test/MinecraftProtocolTest.java similarity index 75% rename from example/org/spacehq/mc/protocol/test/MinecraftProtocolTest.java rename to example/com/github/steveice10/mc/protocol/test/MinecraftProtocolTest.java index c9b22634..f8236ffe 100644 --- a/example/org/spacehq/mc/protocol/test/MinecraftProtocolTest.java +++ b/example/com/github/steveice10/mc/protocol/test/MinecraftProtocolTest.java @@ -1,39 +1,39 @@ -package org.spacehq.mc.protocol.test; +package com.github.steveice10.mc.protocol.test; -import org.spacehq.mc.auth.data.GameProfile; -import org.spacehq.mc.auth.exception.request.RequestException; -import org.spacehq.mc.protocol.MinecraftProtocol; -import org.spacehq.mc.protocol.MinecraftConstants; -import org.spacehq.mc.protocol.data.SubProtocol; -import org.spacehq.mc.protocol.ServerLoginHandler; -import org.spacehq.mc.protocol.data.game.entity.player.GameMode; -import org.spacehq.mc.protocol.data.game.setting.Difficulty; -import org.spacehq.mc.protocol.data.game.world.WorldType; -import org.spacehq.mc.protocol.data.message.ChatColor; -import org.spacehq.mc.protocol.data.message.ChatFormat; -import org.spacehq.mc.protocol.data.message.Message; -import org.spacehq.mc.protocol.data.message.MessageStyle; -import org.spacehq.mc.protocol.data.message.TextMessage; -import org.spacehq.mc.protocol.data.message.TranslationMessage; -import org.spacehq.mc.protocol.data.status.PlayerInfo; -import org.spacehq.mc.protocol.data.status.ServerStatusInfo; -import org.spacehq.mc.protocol.data.status.VersionInfo; -import org.spacehq.mc.protocol.data.status.handler.ServerInfoBuilder; -import org.spacehq.mc.protocol.data.status.handler.ServerInfoHandler; -import org.spacehq.mc.protocol.data.status.handler.ServerPingTimeHandler; -import org.spacehq.mc.protocol.packet.ingame.client.ClientChatPacket; -import org.spacehq.mc.protocol.packet.ingame.server.ServerChatPacket; -import org.spacehq.mc.protocol.packet.ingame.server.ServerJoinGamePacket; -import org.spacehq.packetlib.Client; -import org.spacehq.packetlib.Server; -import org.spacehq.packetlib.Session; -import org.spacehq.packetlib.event.server.ServerAdapter; -import org.spacehq.packetlib.event.server.SessionAddedEvent; -import org.spacehq.packetlib.event.server.SessionRemovedEvent; -import org.spacehq.packetlib.event.session.DisconnectedEvent; -import org.spacehq.packetlib.event.session.PacketReceivedEvent; -import org.spacehq.packetlib.event.session.SessionAdapter; -import org.spacehq.packetlib.tcp.TcpSessionFactory; +import com.github.steveice10.mc.auth.data.GameProfile; +import com.github.steveice10.mc.auth.exception.request.RequestException; +import com.github.steveice10.mc.protocol.MinecraftProtocol; +import com.github.steveice10.mc.protocol.MinecraftConstants; +import com.github.steveice10.mc.protocol.data.SubProtocol; +import com.github.steveice10.mc.protocol.ServerLoginHandler; +import com.github.steveice10.mc.protocol.data.game.entity.player.GameMode; +import com.github.steveice10.mc.protocol.data.game.setting.Difficulty; +import com.github.steveice10.mc.protocol.data.game.world.WorldType; +import com.github.steveice10.mc.protocol.data.message.ChatColor; +import com.github.steveice10.mc.protocol.data.message.ChatFormat; +import com.github.steveice10.mc.protocol.data.message.Message; +import com.github.steveice10.mc.protocol.data.message.MessageStyle; +import com.github.steveice10.mc.protocol.data.message.TextMessage; +import com.github.steveice10.mc.protocol.data.message.TranslationMessage; +import com.github.steveice10.mc.protocol.data.status.PlayerInfo; +import com.github.steveice10.mc.protocol.data.status.ServerStatusInfo; +import com.github.steveice10.mc.protocol.data.status.VersionInfo; +import com.github.steveice10.mc.protocol.data.status.handler.ServerInfoBuilder; +import com.github.steveice10.mc.protocol.data.status.handler.ServerInfoHandler; +import com.github.steveice10.mc.protocol.data.status.handler.ServerPingTimeHandler; +import com.github.steveice10.mc.protocol.packet.ingame.client.ClientChatPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerChatPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerJoinGamePacket; +import com.github.steveice10.packetlib.Client; +import com.github.steveice10.packetlib.Server; +import com.github.steveice10.packetlib.Session; +import com.github.steveice10.packetlib.event.server.ServerAdapter; +import com.github.steveice10.packetlib.event.server.SessionAddedEvent; +import com.github.steveice10.packetlib.event.server.SessionRemovedEvent; +import com.github.steveice10.packetlib.event.session.DisconnectedEvent; +import com.github.steveice10.packetlib.event.session.PacketReceivedEvent; +import com.github.steveice10.packetlib.event.session.SessionAdapter; +import com.github.steveice10.packetlib.tcp.TcpSessionFactory; import java.net.Proxy; import java.util.Arrays; diff --git a/pom.xml b/pom.xml index a90b56a7..597419ad 100644 --- a/pom.xml +++ b/pom.xml @@ -2,9 +2,9 @@ 4.0.0 - org.spacehq + com.github.steveice10 mcprotocollib - 1.11.2-SNAPSHOT + 1.11.2-1 jar MCProtocolLib @@ -37,45 +37,28 @@ - - - spacehq - spacehq-releases - https://repo.spacehq.org/content/repositories/releases/ - - - spacehq - spacehq-snapshots - https://repo.spacehq.org/content/repositories/snapshots/ - - - - spacehq-releases - https://repo.spacehq.org/content/repositories/releases/ - - - spacehq-snapshots - https://repo.spacehq.org/content/repositories/snapshots/ + jitpack.io + https://jitpack.io - org.spacehq + com.github.steveice10 opennbt - 1.1 + 1.0 compile - org.spacehq + com.github.steveice10 packetlib 1.0 compile - org.spacehq + com.github.steveice10 mcauthlib 1.0 @@ -94,20 +77,21 @@ org.apache.maven.plugins maven-compiler-plugin - 2.5.1 + 3.6.1 - 1.6 - 1.6 + 1.7 + 1.7 org.apache.maven.plugins maven-jar-plugin - 2.6 + 3.0.2 org.apache.maven.plugins maven-source-plugin + 3.0.1 attach-sources @@ -120,6 +104,7 @@ org.apache.maven.plugins maven-javadoc-plugin + 2.10.4 attach-javadocs @@ -132,7 +117,7 @@ org.apache.maven.plugins maven-shade-plugin - 2.4.1 + 2.4.3 package diff --git a/src/main/java/org/spacehq/mc/protocol/ClientListener.java b/src/main/java/com/github/steveice10/mc/protocol/ClientListener.java similarity index 71% rename from src/main/java/org/spacehq/mc/protocol/ClientListener.java rename to src/main/java/com/github/steveice10/mc/protocol/ClientListener.java index de7719c8..46dfe7a5 100644 --- a/src/main/java/org/spacehq/mc/protocol/ClientListener.java +++ b/src/main/java/com/github/steveice10/mc/protocol/ClientListener.java @@ -1,34 +1,34 @@ -package org.spacehq.mc.protocol; +package com.github.steveice10.mc.protocol; -import org.spacehq.mc.auth.data.GameProfile; -import org.spacehq.mc.auth.exception.request.InvalidCredentialsException; -import org.spacehq.mc.auth.exception.request.RequestException; -import org.spacehq.mc.auth.exception.request.ServiceUnavailableException; -import org.spacehq.mc.auth.service.SessionService; -import org.spacehq.mc.protocol.data.SubProtocol; -import org.spacehq.mc.protocol.data.handshake.HandshakeIntent; -import org.spacehq.mc.protocol.data.status.ServerStatusInfo; -import org.spacehq.mc.protocol.data.status.handler.ServerInfoHandler; -import org.spacehq.mc.protocol.data.status.handler.ServerPingTimeHandler; -import org.spacehq.mc.protocol.packet.handshake.client.HandshakePacket; -import org.spacehq.mc.protocol.packet.ingame.client.ClientKeepAlivePacket; -import org.spacehq.mc.protocol.packet.ingame.server.ServerDisconnectPacket; -import org.spacehq.mc.protocol.packet.ingame.server.ServerKeepAlivePacket; -import org.spacehq.mc.protocol.packet.ingame.server.ServerSetCompressionPacket; -import org.spacehq.mc.protocol.packet.login.client.EncryptionResponsePacket; -import org.spacehq.mc.protocol.packet.login.client.LoginStartPacket; -import org.spacehq.mc.protocol.packet.login.server.EncryptionRequestPacket; -import org.spacehq.mc.protocol.packet.login.server.LoginDisconnectPacket; -import org.spacehq.mc.protocol.packet.login.server.LoginSetCompressionPacket; -import org.spacehq.mc.protocol.packet.login.server.LoginSuccessPacket; -import org.spacehq.mc.protocol.packet.status.client.StatusPingPacket; -import org.spacehq.mc.protocol.packet.status.client.StatusQueryPacket; -import org.spacehq.mc.protocol.packet.status.server.StatusPongPacket; -import org.spacehq.mc.protocol.packet.status.server.StatusResponsePacket; -import org.spacehq.mc.protocol.util.CryptUtil; -import org.spacehq.packetlib.event.session.ConnectedEvent; -import org.spacehq.packetlib.event.session.PacketReceivedEvent; -import org.spacehq.packetlib.event.session.SessionAdapter; +import com.github.steveice10.mc.protocol.packet.login.client.LoginStartPacket; +import com.github.steveice10.mc.protocol.packet.login.server.LoginDisconnectPacket; +import com.github.steveice10.mc.auth.data.GameProfile; +import com.github.steveice10.mc.auth.exception.request.InvalidCredentialsException; +import com.github.steveice10.mc.auth.exception.request.RequestException; +import com.github.steveice10.mc.auth.exception.request.ServiceUnavailableException; +import com.github.steveice10.mc.auth.service.SessionService; +import com.github.steveice10.mc.protocol.data.SubProtocol; +import com.github.steveice10.mc.protocol.data.handshake.HandshakeIntent; +import com.github.steveice10.mc.protocol.data.status.ServerStatusInfo; +import com.github.steveice10.mc.protocol.data.status.handler.ServerInfoHandler; +import com.github.steveice10.mc.protocol.data.status.handler.ServerPingTimeHandler; +import com.github.steveice10.mc.protocol.packet.handshake.client.HandshakePacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.ClientKeepAlivePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerDisconnectPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerKeepAlivePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerSetCompressionPacket; +import com.github.steveice10.mc.protocol.packet.login.client.EncryptionResponsePacket; +import com.github.steveice10.mc.protocol.packet.login.server.EncryptionRequestPacket; +import com.github.steveice10.mc.protocol.packet.login.server.LoginSetCompressionPacket; +import com.github.steveice10.mc.protocol.packet.login.server.LoginSuccessPacket; +import com.github.steveice10.mc.protocol.packet.status.client.StatusPingPacket; +import com.github.steveice10.mc.protocol.packet.status.client.StatusQueryPacket; +import com.github.steveice10.mc.protocol.packet.status.server.StatusPongPacket; +import com.github.steveice10.mc.protocol.packet.status.server.StatusResponsePacket; +import com.github.steveice10.mc.protocol.util.CryptUtil; +import com.github.steveice10.packetlib.event.session.ConnectedEvent; +import com.github.steveice10.packetlib.event.session.PacketReceivedEvent; +import com.github.steveice10.packetlib.event.session.SessionAdapter; import javax.crypto.SecretKey; import java.math.BigInteger; diff --git a/src/main/java/org/spacehq/mc/protocol/MinecraftConstants.java b/src/main/java/com/github/steveice10/mc/protocol/MinecraftConstants.java similarity index 95% rename from src/main/java/org/spacehq/mc/protocol/MinecraftConstants.java rename to src/main/java/com/github/steveice10/mc/protocol/MinecraftConstants.java index 42db1a3e..04ee8409 100644 --- a/src/main/java/org/spacehq/mc/protocol/MinecraftConstants.java +++ b/src/main/java/com/github/steveice10/mc/protocol/MinecraftConstants.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol; +package com.github.steveice10.mc.protocol; public class MinecraftConstants { // General Constants diff --git a/src/main/java/org/spacehq/mc/protocol/MinecraftProtocol.java b/src/main/java/com/github/steveice10/mc/protocol/MinecraftProtocol.java similarity index 64% rename from src/main/java/org/spacehq/mc/protocol/MinecraftProtocol.java rename to src/main/java/com/github/steveice10/mc/protocol/MinecraftProtocol.java index a399fe58..2c7a1e21 100644 --- a/src/main/java/org/spacehq/mc/protocol/MinecraftProtocol.java +++ b/src/main/java/com/github/steveice10/mc/protocol/MinecraftProtocol.java @@ -1,42 +1,134 @@ -package org.spacehq.mc.protocol; +package com.github.steveice10.mc.protocol; -import org.spacehq.mc.auth.data.GameProfile; -import org.spacehq.mc.auth.exception.request.RequestException; -import org.spacehq.mc.auth.service.AuthenticationService; -import org.spacehq.mc.protocol.data.SubProtocol; -import org.spacehq.mc.protocol.packet.handshake.client.HandshakePacket; -import org.spacehq.mc.protocol.packet.ingame.client.*; -import org.spacehq.mc.protocol.packet.ingame.client.player.*; -import org.spacehq.mc.protocol.packet.ingame.client.window.*; -import org.spacehq.mc.protocol.packet.ingame.client.world.*; -import org.spacehq.mc.protocol.packet.ingame.server.*; -import org.spacehq.mc.protocol.packet.ingame.server.entity.*; -import org.spacehq.mc.protocol.packet.ingame.server.entity.player.*; -import org.spacehq.mc.protocol.packet.ingame.server.entity.spawn.*; -import org.spacehq.mc.protocol.packet.ingame.server.scoreboard.ServerDisplayScoreboardPacket; -import org.spacehq.mc.protocol.packet.ingame.server.scoreboard.ServerScoreboardObjectivePacket; -import org.spacehq.mc.protocol.packet.ingame.server.scoreboard.ServerTeamPacket; -import org.spacehq.mc.protocol.packet.ingame.server.scoreboard.ServerUpdateScorePacket; -import org.spacehq.mc.protocol.packet.ingame.server.window.*; -import org.spacehq.mc.protocol.packet.ingame.server.world.*; -import org.spacehq.mc.protocol.packet.login.client.EncryptionResponsePacket; -import org.spacehq.mc.protocol.packet.login.client.LoginStartPacket; -import org.spacehq.mc.protocol.packet.login.server.EncryptionRequestPacket; -import org.spacehq.mc.protocol.packet.login.server.LoginDisconnectPacket; -import org.spacehq.mc.protocol.packet.login.server.LoginSetCompressionPacket; -import org.spacehq.mc.protocol.packet.login.server.LoginSuccessPacket; -import org.spacehq.mc.protocol.packet.status.client.StatusPingPacket; -import org.spacehq.mc.protocol.packet.status.client.StatusQueryPacket; -import org.spacehq.mc.protocol.packet.status.server.StatusPongPacket; -import org.spacehq.mc.protocol.packet.status.server.StatusResponsePacket; -import org.spacehq.packetlib.Client; -import org.spacehq.packetlib.Server; -import org.spacehq.packetlib.Session; -import org.spacehq.packetlib.crypt.AESEncryption; -import org.spacehq.packetlib.crypt.PacketEncryption; -import org.spacehq.packetlib.packet.DefaultPacketHeader; -import org.spacehq.packetlib.packet.PacketHeader; -import org.spacehq.packetlib.packet.PacketProtocol; +import com.github.steveice10.mc.protocol.packet.ingame.client.ClientChatPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.ClientKeepAlivePacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.ClientPluginMessagePacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.ClientRequestPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.ClientResourcePackStatusPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.ClientSettingsPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.ClientTabCompletePacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.player.ClientPlayerAbilitiesPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.player.ClientPlayerActionPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.player.ClientPlayerChangeHeldItemPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.player.ClientPlayerInteractEntityPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.player.ClientPlayerMovementPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.player.ClientPlayerPlaceBlockPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.player.ClientPlayerPositionPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.player.ClientPlayerPositionRotationPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.player.ClientPlayerRotationPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.player.ClientPlayerStatePacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.player.ClientPlayerSwingArmPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.player.ClientPlayerUseItemPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.window.ClientCloseWindowPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.window.ClientConfirmTransactionPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.window.ClientCreativeInventoryActionPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.window.ClientEnchantItemPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.window.ClientWindowActionPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.world.ClientSpectatePacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.world.ClientSteerBoatPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.world.ClientSteerVehiclePacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.world.ClientTeleportConfirmPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.world.ClientUpdateSignPacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.world.ClientVehicleMovePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerBossBarPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerChatPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerCombatPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerDifficultyPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerDisconnectPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerJoinGamePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerKeepAlivePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerPlayerListDataPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerPlayerListEntryPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerPluginMessagePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerResourcePackSendPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerRespawnPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerSetCooldownPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerStatisticsPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerSwitchCameraPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerTabCompletePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerTitlePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityAnimationPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityAttachPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityCollectItemPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityDestroyPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityEffectPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityEquipmentPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityHeadLookPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityMetadataPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityMovementPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityPositionPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityPositionRotationPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityPropertiesPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityRemoveEffectPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityRotationPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntitySetPassengersPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityStatusPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityTeleportPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerEntityVelocityPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.ServerVehicleMovePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.player.ServerPlayerAbilitiesPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.player.ServerPlayerChangeHeldItemPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.player.ServerPlayerHealthPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.player.ServerPlayerPositionRotationPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.player.ServerPlayerSetExperiencePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.player.ServerPlayerUseBedPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.spawn.ServerSpawnExpOrbPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.spawn.ServerSpawnGlobalEntityPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.spawn.ServerSpawnMobPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.spawn.ServerSpawnObjectPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.spawn.ServerSpawnPaintingPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.entity.spawn.ServerSpawnPlayerPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerCloseWindowPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerConfirmTransactionPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerOpenWindowPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerSetSlotPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerWindowItemsPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.window.ServerWindowPropertyPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerBlockBreakAnimPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerBlockChangePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerBlockValuePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerChunkDataPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerExplosionPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerMapDataPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerMultiBlockChangePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerNotifyClientPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerOpenTileEntityEditorPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerPlayBuiltinSoundPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerPlayEffectPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerPlaySoundPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerSpawnParticlePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerSpawnPositionPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerUnloadChunkPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerUpdateTileEntityPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerUpdateTimePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerWorldBorderPacket; +import com.github.steveice10.mc.protocol.packet.login.client.LoginStartPacket; +import com.github.steveice10.mc.protocol.packet.login.server.LoginDisconnectPacket; +import com.github.steveice10.mc.protocol.packet.login.server.LoginSetCompressionPacket; +import com.github.steveice10.mc.auth.data.GameProfile; +import com.github.steveice10.mc.auth.exception.request.RequestException; +import com.github.steveice10.mc.auth.service.AuthenticationService; +import com.github.steveice10.mc.protocol.data.SubProtocol; +import com.github.steveice10.mc.protocol.packet.handshake.client.HandshakePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.scoreboard.ServerDisplayScoreboardPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.scoreboard.ServerScoreboardObjectivePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.scoreboard.ServerTeamPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.scoreboard.ServerUpdateScorePacket; +import com.github.steveice10.mc.protocol.packet.login.client.EncryptionResponsePacket; +import com.github.steveice10.mc.protocol.packet.login.server.EncryptionRequestPacket; +import com.github.steveice10.mc.protocol.packet.login.server.LoginSuccessPacket; +import com.github.steveice10.mc.protocol.packet.status.client.StatusPingPacket; +import com.github.steveice10.mc.protocol.packet.status.client.StatusQueryPacket; +import com.github.steveice10.mc.protocol.packet.status.server.StatusPongPacket; +import com.github.steveice10.mc.protocol.packet.status.server.StatusResponsePacket; +import com.github.steveice10.packetlib.Client; +import com.github.steveice10.packetlib.Server; +import com.github.steveice10.packetlib.Session; +import com.github.steveice10.packetlib.crypt.AESEncryption; +import com.github.steveice10.packetlib.crypt.PacketEncryption; +import com.github.steveice10.packetlib.packet.DefaultPacketHeader; +import com.github.steveice10.packetlib.packet.PacketHeader; +import com.github.steveice10.packetlib.packet.PacketProtocol; import java.net.Proxy; import java.security.GeneralSecurityException; diff --git a/src/main/java/org/spacehq/mc/protocol/ServerListener.java b/src/main/java/com/github/steveice10/mc/protocol/ServerListener.java similarity index 79% rename from src/main/java/org/spacehq/mc/protocol/ServerListener.java rename to src/main/java/com/github/steveice10/mc/protocol/ServerListener.java index a9528aca..61163bec 100644 --- a/src/main/java/org/spacehq/mc/protocol/ServerListener.java +++ b/src/main/java/com/github/steveice10/mc/protocol/ServerListener.java @@ -1,35 +1,34 @@ -package org.spacehq.mc.protocol; +package com.github.steveice10.mc.protocol; -import org.spacehq.mc.auth.data.GameProfile; -import org.spacehq.mc.auth.exception.request.RequestException; -import org.spacehq.mc.auth.service.SessionService; -import org.spacehq.mc.protocol.data.SubProtocol; -import org.spacehq.mc.protocol.data.game.entity.type.object.MinecartType; -import org.spacehq.mc.protocol.data.message.Message; -import org.spacehq.mc.protocol.data.status.PlayerInfo; -import org.spacehq.mc.protocol.data.status.ServerStatusInfo; -import org.spacehq.mc.protocol.data.status.VersionInfo; -import org.spacehq.mc.protocol.data.status.handler.ServerInfoBuilder; -import org.spacehq.mc.protocol.packet.handshake.client.HandshakePacket; -import org.spacehq.mc.protocol.packet.ingame.client.ClientKeepAlivePacket; -import org.spacehq.mc.protocol.packet.ingame.server.ServerDisconnectPacket; -import org.spacehq.mc.protocol.packet.ingame.server.ServerKeepAlivePacket; -import org.spacehq.mc.protocol.packet.login.client.EncryptionResponsePacket; -import org.spacehq.mc.protocol.packet.login.client.LoginStartPacket; -import org.spacehq.mc.protocol.packet.login.server.EncryptionRequestPacket; -import org.spacehq.mc.protocol.packet.login.server.LoginDisconnectPacket; -import org.spacehq.mc.protocol.packet.login.server.LoginSetCompressionPacket; -import org.spacehq.mc.protocol.packet.login.server.LoginSuccessPacket; -import org.spacehq.mc.protocol.packet.status.client.StatusPingPacket; -import org.spacehq.mc.protocol.packet.status.client.StatusQueryPacket; -import org.spacehq.mc.protocol.packet.status.server.StatusPongPacket; -import org.spacehq.mc.protocol.packet.status.server.StatusResponsePacket; -import org.spacehq.mc.protocol.util.CryptUtil; -import org.spacehq.packetlib.Session; -import org.spacehq.packetlib.event.session.ConnectedEvent; -import org.spacehq.packetlib.event.session.DisconnectingEvent; -import org.spacehq.packetlib.event.session.PacketReceivedEvent; -import org.spacehq.packetlib.event.session.SessionAdapter; +import com.github.steveice10.mc.protocol.data.SubProtocol; +import com.github.steveice10.mc.protocol.data.message.Message; +import com.github.steveice10.mc.protocol.data.status.ServerStatusInfo; +import com.github.steveice10.mc.protocol.data.status.VersionInfo; +import com.github.steveice10.mc.protocol.packet.handshake.client.HandshakePacket; +import com.github.steveice10.mc.protocol.packet.ingame.client.ClientKeepAlivePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerDisconnectPacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerKeepAlivePacket; +import com.github.steveice10.mc.protocol.packet.login.client.EncryptionResponsePacket; +import com.github.steveice10.mc.protocol.packet.login.client.LoginStartPacket; +import com.github.steveice10.mc.protocol.packet.login.server.EncryptionRequestPacket; +import com.github.steveice10.mc.protocol.packet.login.server.LoginDisconnectPacket; +import com.github.steveice10.mc.protocol.packet.login.server.LoginSetCompressionPacket; +import com.github.steveice10.mc.protocol.packet.login.server.LoginSuccessPacket; +import com.github.steveice10.mc.protocol.packet.status.client.StatusPingPacket; +import com.github.steveice10.mc.protocol.packet.status.client.StatusQueryPacket; +import com.github.steveice10.mc.protocol.packet.status.server.StatusPongPacket; +import com.github.steveice10.mc.protocol.packet.status.server.StatusResponsePacket; +import com.github.steveice10.mc.protocol.util.CryptUtil; +import com.github.steveice10.mc.auth.data.GameProfile; +import com.github.steveice10.mc.auth.exception.request.RequestException; +import com.github.steveice10.mc.auth.service.SessionService; +import com.github.steveice10.mc.protocol.data.status.PlayerInfo; +import com.github.steveice10.mc.protocol.data.status.handler.ServerInfoBuilder; +import com.github.steveice10.packetlib.Session; +import com.github.steveice10.packetlib.event.session.ConnectedEvent; +import com.github.steveice10.packetlib.event.session.DisconnectingEvent; +import com.github.steveice10.packetlib.event.session.PacketReceivedEvent; +import com.github.steveice10.packetlib.event.session.SessionAdapter; import javax.crypto.SecretKey; import java.math.BigInteger; diff --git a/src/main/java/com/github/steveice10/mc/protocol/ServerLoginHandler.java b/src/main/java/com/github/steveice10/mc/protocol/ServerLoginHandler.java new file mode 100644 index 00000000..a9ceda74 --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/ServerLoginHandler.java @@ -0,0 +1,7 @@ +package com.github.steveice10.mc.protocol; + +import com.github.steveice10.packetlib.Session; + +public interface ServerLoginHandler { + public void loggedIn(Session session); +} diff --git a/src/main/java/org/spacehq/mc/protocol/data/MagicValues.java b/src/main/java/com/github/steveice10/mc/protocol/data/MagicValues.java similarity index 87% rename from src/main/java/org/spacehq/mc/protocol/data/MagicValues.java rename to src/main/java/com/github/steveice10/mc/protocol/data/MagicValues.java index 8da97630..1eccce68 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/MagicValues.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/MagicValues.java @@ -1,81 +1,81 @@ -package org.spacehq.mc.protocol.data; +package com.github.steveice10.mc.protocol.data; -import org.spacehq.mc.protocol.data.game.BossBarAction; -import org.spacehq.mc.protocol.data.game.BossBarColor; -import org.spacehq.mc.protocol.data.game.BossBarDivision; -import org.spacehq.mc.protocol.data.game.ClientRequest; -import org.spacehq.mc.protocol.data.game.MessageType; -import org.spacehq.mc.protocol.data.game.PlayerListEntryAction; -import org.spacehq.mc.protocol.data.game.ResourcePackStatus; -import org.spacehq.mc.protocol.data.game.TitleAction; -import org.spacehq.mc.protocol.data.game.entity.Effect; -import org.spacehq.mc.protocol.data.game.entity.EntityStatus; -import org.spacehq.mc.protocol.data.game.entity.EquipmentSlot; -import org.spacehq.mc.protocol.data.game.entity.attribute.AttributeType; -import org.spacehq.mc.protocol.data.game.entity.attribute.ModifierOperation; -import org.spacehq.mc.protocol.data.game.entity.attribute.ModifierType; -import org.spacehq.mc.protocol.data.game.entity.metadata.MetadataType; -import org.spacehq.mc.protocol.data.game.entity.player.Animation; -import org.spacehq.mc.protocol.data.game.entity.player.BlockBreakStage; -import org.spacehq.mc.protocol.data.game.entity.player.CombatState; -import org.spacehq.mc.protocol.data.game.entity.player.GameMode; -import org.spacehq.mc.protocol.data.game.entity.player.Hand; -import org.spacehq.mc.protocol.data.game.entity.player.InteractAction; -import org.spacehq.mc.protocol.data.game.entity.player.PlayerAction; -import org.spacehq.mc.protocol.data.game.entity.player.PlayerState; -import org.spacehq.mc.protocol.data.game.entity.player.PositionElement; -import org.spacehq.mc.protocol.data.game.entity.type.GlobalEntityType; -import org.spacehq.mc.protocol.data.game.entity.type.MobType; -import org.spacehq.mc.protocol.data.game.entity.type.PaintingType; -import org.spacehq.mc.protocol.data.game.entity.type.object.HangingDirection; -import org.spacehq.mc.protocol.data.game.entity.type.object.MinecartType; -import org.spacehq.mc.protocol.data.game.entity.type.object.ObjectType; -import org.spacehq.mc.protocol.data.game.scoreboard.CollisionRule; -import org.spacehq.mc.protocol.data.game.scoreboard.NameTagVisibility; -import org.spacehq.mc.protocol.data.game.scoreboard.ObjectiveAction; -import org.spacehq.mc.protocol.data.game.scoreboard.ScoreType; -import org.spacehq.mc.protocol.data.game.scoreboard.ScoreboardAction; -import org.spacehq.mc.protocol.data.game.scoreboard.ScoreboardPosition; -import org.spacehq.mc.protocol.data.game.scoreboard.TeamAction; -import org.spacehq.mc.protocol.data.game.scoreboard.TeamColor; -import org.spacehq.mc.protocol.data.game.setting.ChatVisibility; -import org.spacehq.mc.protocol.data.game.setting.Difficulty; -import org.spacehq.mc.protocol.data.game.statistic.Achievement; -import org.spacehq.mc.protocol.data.game.statistic.GenericStatistic; -import org.spacehq.mc.protocol.data.game.window.ClickItemParam; -import org.spacehq.mc.protocol.data.game.window.CreativeGrabParam; -import org.spacehq.mc.protocol.data.game.window.DropItemParam; -import org.spacehq.mc.protocol.data.game.window.FillStackParam; -import org.spacehq.mc.protocol.data.game.window.MoveToHotbarParam; -import org.spacehq.mc.protocol.data.game.window.ShiftClickItemParam; -import org.spacehq.mc.protocol.data.game.window.SpreadItemParam; -import org.spacehq.mc.protocol.data.game.window.WindowAction; -import org.spacehq.mc.protocol.data.game.window.WindowType; -import org.spacehq.mc.protocol.data.game.window.property.AnvilProperty; -import org.spacehq.mc.protocol.data.game.window.property.BrewingStandProperty; -import org.spacehq.mc.protocol.data.game.window.property.EnchantmentTableProperty; -import org.spacehq.mc.protocol.data.game.window.property.FurnaceProperty; -import org.spacehq.mc.protocol.data.game.world.Particle; -import org.spacehq.mc.protocol.data.game.world.WorldBorderAction; -import org.spacehq.mc.protocol.data.game.world.WorldType; -import org.spacehq.mc.protocol.data.game.world.block.BlockFace; -import org.spacehq.mc.protocol.data.game.world.block.UpdatedTileType; -import org.spacehq.mc.protocol.data.game.world.block.value.ChestValueType; -import org.spacehq.mc.protocol.data.game.world.block.value.GenericBlockValueType; -import org.spacehq.mc.protocol.data.game.world.block.value.MobSpawnerValueType; -import org.spacehq.mc.protocol.data.game.world.block.value.NoteBlockValueType; -import org.spacehq.mc.protocol.data.game.world.block.value.PistonValue; -import org.spacehq.mc.protocol.data.game.world.block.value.PistonValueType; -import org.spacehq.mc.protocol.data.game.world.effect.ParticleEffect; -import org.spacehq.mc.protocol.data.game.world.effect.SmokeEffectData; -import org.spacehq.mc.protocol.data.game.world.effect.SoundEffect; -import org.spacehq.mc.protocol.data.game.world.map.MapIconType; -import org.spacehq.mc.protocol.data.game.world.notify.ClientNotification; -import org.spacehq.mc.protocol.data.game.world.notify.DemoMessageValue; -import org.spacehq.mc.protocol.data.game.world.notify.EnterCreditsValue; -import org.spacehq.mc.protocol.data.game.world.sound.BuiltinSound; -import org.spacehq.mc.protocol.data.game.world.sound.SoundCategory; -import org.spacehq.mc.protocol.data.handshake.HandshakeIntent; +import com.github.steveice10.mc.protocol.data.game.BossBarAction; +import com.github.steveice10.mc.protocol.data.game.BossBarColor; +import com.github.steveice10.mc.protocol.data.game.BossBarDivision; +import com.github.steveice10.mc.protocol.data.game.ClientRequest; +import com.github.steveice10.mc.protocol.data.game.MessageType; +import com.github.steveice10.mc.protocol.data.game.ResourcePackStatus; +import com.github.steveice10.mc.protocol.data.game.entity.Effect; +import com.github.steveice10.mc.protocol.data.game.entity.EquipmentSlot; +import com.github.steveice10.mc.protocol.data.game.entity.attribute.AttributeType; +import com.github.steveice10.mc.protocol.data.game.entity.attribute.ModifierOperation; +import com.github.steveice10.mc.protocol.data.game.entity.player.Animation; +import com.github.steveice10.mc.protocol.data.game.entity.player.BlockBreakStage; +import com.github.steveice10.mc.protocol.data.game.entity.player.GameMode; +import com.github.steveice10.mc.protocol.data.game.entity.player.Hand; +import com.github.steveice10.mc.protocol.data.game.entity.player.InteractAction; +import com.github.steveice10.mc.protocol.data.game.entity.player.PlayerAction; +import com.github.steveice10.mc.protocol.data.game.entity.player.PositionElement; +import com.github.steveice10.mc.protocol.data.game.entity.type.PaintingType; +import com.github.steveice10.mc.protocol.data.game.entity.type.object.HangingDirection; +import com.github.steveice10.mc.protocol.data.game.scoreboard.CollisionRule; +import com.github.steveice10.mc.protocol.data.game.scoreboard.NameTagVisibility; +import com.github.steveice10.mc.protocol.data.game.scoreboard.ScoreType; +import com.github.steveice10.mc.protocol.data.game.scoreboard.ScoreboardAction; +import com.github.steveice10.mc.protocol.data.game.scoreboard.ScoreboardPosition; +import com.github.steveice10.mc.protocol.data.game.scoreboard.TeamAction; +import com.github.steveice10.mc.protocol.data.game.scoreboard.TeamColor; +import com.github.steveice10.mc.protocol.data.game.setting.Difficulty; +import com.github.steveice10.mc.protocol.data.game.statistic.Achievement; +import com.github.steveice10.mc.protocol.data.game.statistic.GenericStatistic; +import com.github.steveice10.mc.protocol.data.game.window.ClickItemParam; +import com.github.steveice10.mc.protocol.data.game.window.CreativeGrabParam; +import com.github.steveice10.mc.protocol.data.game.window.ShiftClickItemParam; +import com.github.steveice10.mc.protocol.data.game.window.SpreadItemParam; +import com.github.steveice10.mc.protocol.data.game.window.WindowAction; +import com.github.steveice10.mc.protocol.data.game.window.WindowType; +import com.github.steveice10.mc.protocol.data.game.window.property.AnvilProperty; +import com.github.steveice10.mc.protocol.data.game.window.property.BrewingStandProperty; +import com.github.steveice10.mc.protocol.data.game.window.property.EnchantmentTableProperty; +import com.github.steveice10.mc.protocol.data.game.window.property.FurnaceProperty; +import com.github.steveice10.mc.protocol.data.game.world.Particle; +import com.github.steveice10.mc.protocol.data.game.world.WorldBorderAction; +import com.github.steveice10.mc.protocol.data.game.world.WorldType; +import com.github.steveice10.mc.protocol.data.game.world.block.BlockFace; +import com.github.steveice10.mc.protocol.data.game.world.block.UpdatedTileType; +import com.github.steveice10.mc.protocol.data.game.world.block.value.ChestValueType; +import com.github.steveice10.mc.protocol.data.game.world.block.value.GenericBlockValueType; +import com.github.steveice10.mc.protocol.data.game.world.block.value.MobSpawnerValueType; +import com.github.steveice10.mc.protocol.data.game.world.block.value.NoteBlockValueType; +import com.github.steveice10.mc.protocol.data.game.world.block.value.PistonValue; +import com.github.steveice10.mc.protocol.data.game.world.block.value.PistonValueType; +import com.github.steveice10.mc.protocol.data.game.world.effect.SmokeEffectData; +import com.github.steveice10.mc.protocol.data.game.world.effect.SoundEffect; +import com.github.steveice10.mc.protocol.data.game.world.map.MapIconType; +import com.github.steveice10.mc.protocol.data.game.world.notify.DemoMessageValue; +import com.github.steveice10.mc.protocol.data.game.world.notify.EnterCreditsValue; +import com.github.steveice10.mc.protocol.data.game.world.sound.SoundCategory; +import com.github.steveice10.mc.protocol.data.game.PlayerListEntryAction; +import com.github.steveice10.mc.protocol.data.game.TitleAction; +import com.github.steveice10.mc.protocol.data.game.entity.EntityStatus; +import com.github.steveice10.mc.protocol.data.game.entity.attribute.ModifierType; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.MetadataType; +import com.github.steveice10.mc.protocol.data.game.entity.player.CombatState; +import com.github.steveice10.mc.protocol.data.game.entity.player.PlayerState; +import com.github.steveice10.mc.protocol.data.game.entity.type.GlobalEntityType; +import com.github.steveice10.mc.protocol.data.game.entity.type.MobType; +import com.github.steveice10.mc.protocol.data.game.entity.type.object.MinecartType; +import com.github.steveice10.mc.protocol.data.game.entity.type.object.ObjectType; +import com.github.steveice10.mc.protocol.data.game.scoreboard.ObjectiveAction; +import com.github.steveice10.mc.protocol.data.game.setting.ChatVisibility; +import com.github.steveice10.mc.protocol.data.game.window.DropItemParam; +import com.github.steveice10.mc.protocol.data.game.window.FillStackParam; +import com.github.steveice10.mc.protocol.data.game.window.MoveToHotbarParam; +import com.github.steveice10.mc.protocol.data.game.world.effect.ParticleEffect; +import com.github.steveice10.mc.protocol.data.game.world.notify.ClientNotification; +import com.github.steveice10.mc.protocol.data.game.world.sound.BuiltinSound; +import com.github.steveice10.mc.protocol.data.handshake.HandshakeIntent; import java.util.ArrayList; import java.util.HashMap; diff --git a/src/main/java/org/spacehq/mc/protocol/data/SubProtocol.java b/src/main/java/com/github/steveice10/mc/protocol/data/SubProtocol.java similarity index 61% rename from src/main/java/org/spacehq/mc/protocol/data/SubProtocol.java rename to src/main/java/com/github/steveice10/mc/protocol/data/SubProtocol.java index 61958d8d..d6243753 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/SubProtocol.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/SubProtocol.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data; +package com.github.steveice10.mc.protocol.data; public enum SubProtocol { HANDSHAKE, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/BossBarAction.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/BossBarAction.java similarity index 70% rename from src/main/java/org/spacehq/mc/protocol/data/game/BossBarAction.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/BossBarAction.java index e47ed673..1cd51f25 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/BossBarAction.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/BossBarAction.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game; +package com.github.steveice10.mc.protocol.data.game; public enum BossBarAction { ADD, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/BossBarColor.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/BossBarColor.java similarity index 66% rename from src/main/java/org/spacehq/mc/protocol/data/game/BossBarColor.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/BossBarColor.java index b23d86b1..493c11a4 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/BossBarColor.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/BossBarColor.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game; +package com.github.steveice10.mc.protocol.data.game; public enum BossBarColor { PINK, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/BossBarDivision.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/BossBarDivision.java similarity index 66% rename from src/main/java/org/spacehq/mc/protocol/data/game/BossBarDivision.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/BossBarDivision.java index 7736aeb5..c7a6c465 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/BossBarDivision.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/BossBarDivision.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game; +package com.github.steveice10.mc.protocol.data.game; public enum BossBarDivision { NONE, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/ClientRequest.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/ClientRequest.java similarity index 58% rename from src/main/java/org/spacehq/mc/protocol/data/game/ClientRequest.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/ClientRequest.java index d8a9618e..1e2ef0ba 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/ClientRequest.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/ClientRequest.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game; +package com.github.steveice10.mc.protocol.data.game; public enum ClientRequest { RESPAWN, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/MessageType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/MessageType.java similarity index 56% rename from src/main/java/org/spacehq/mc/protocol/data/game/MessageType.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/MessageType.java index 11f978fd..f6bfb939 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/MessageType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/MessageType.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game; +package com.github.steveice10.mc.protocol.data.game; public enum MessageType { CHAT, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/PlayerListEntry.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/PlayerListEntry.java similarity index 86% rename from src/main/java/org/spacehq/mc/protocol/data/game/PlayerListEntry.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/PlayerListEntry.java index 904341d1..66895dad 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/PlayerListEntry.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/PlayerListEntry.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.data.game; +package com.github.steveice10.mc.protocol.data.game; -import org.spacehq.mc.auth.data.GameProfile; -import org.spacehq.mc.protocol.data.game.entity.player.GameMode; -import org.spacehq.mc.protocol.data.message.Message; -import org.spacehq.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.auth.data.GameProfile; +import com.github.steveice10.mc.protocol.data.game.entity.player.GameMode; +import com.github.steveice10.mc.protocol.data.message.Message; +import com.github.steveice10.mc.protocol.util.ReflectionToString; public class PlayerListEntry { private GameProfile profile; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/PlayerListEntryAction.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/PlayerListEntryAction.java similarity index 72% rename from src/main/java/org/spacehq/mc/protocol/data/game/PlayerListEntryAction.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/PlayerListEntryAction.java index bc5ce469..35171efe 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/PlayerListEntryAction.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/PlayerListEntryAction.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game; +package com.github.steveice10.mc.protocol.data.game; public enum PlayerListEntryAction { ADD_PLAYER, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/ResourcePackStatus.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/ResourcePackStatus.java similarity index 67% rename from src/main/java/org/spacehq/mc/protocol/data/game/ResourcePackStatus.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/ResourcePackStatus.java index 655a4694..d252cdf3 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/ResourcePackStatus.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/ResourcePackStatus.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game; +package com.github.steveice10.mc.protocol.data.game; public enum ResourcePackStatus { SUCCESSFULLY_LOADED, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/TitleAction.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/TitleAction.java similarity index 66% rename from src/main/java/org/spacehq/mc/protocol/data/game/TitleAction.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/TitleAction.java index 46600e90..b01dd4d5 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/TitleAction.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/TitleAction.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game; +package com.github.steveice10.mc.protocol.data.game; public enum TitleAction { TITLE, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/chunk/BlockStorage.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/BlockStorage.java similarity index 93% rename from src/main/java/org/spacehq/mc/protocol/data/game/chunk/BlockStorage.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/BlockStorage.java index ae1dc42b..8787256b 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/chunk/BlockStorage.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/BlockStorage.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.data.game.chunk; +package com.github.steveice10.mc.protocol.data.game.chunk; -import org.spacehq.mc.protocol.data.game.world.block.BlockState; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; +import com.github.steveice10.mc.protocol.data.game.world.block.BlockState; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; import java.io.IOException; import java.util.ArrayList; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/chunk/Chunk.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/Chunk.java similarity index 95% rename from src/main/java/org/spacehq/mc/protocol/data/game/chunk/Chunk.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/Chunk.java index a3160c6d..e7ed7cc1 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/chunk/Chunk.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/Chunk.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.chunk; +package com.github.steveice10.mc.protocol.data.game.chunk; public class Chunk { private BlockStorage blocks; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/chunk/Column.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/Column.java similarity index 94% rename from src/main/java/org/spacehq/mc/protocol/data/game/chunk/Column.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/Column.java index 6d14d073..1c5ee583 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/chunk/Column.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/Column.java @@ -1,6 +1,6 @@ -package org.spacehq.mc.protocol.data.game.chunk; +package com.github.steveice10.mc.protocol.data.game.chunk; -import org.spacehq.opennbt.tag.builtin.CompoundTag; +import com.github.steveice10.opennbt.tag.builtin.CompoundTag; public class Column { private int x; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/chunk/FlexibleStorage.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/FlexibleStorage.java similarity index 98% rename from src/main/java/org/spacehq/mc/protocol/data/game/chunk/FlexibleStorage.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/FlexibleStorage.java index b8f2e659..3d365976 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/chunk/FlexibleStorage.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/FlexibleStorage.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.chunk; +package com.github.steveice10.mc.protocol.data.game.chunk; import java.util.Arrays; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/chunk/NibbleArray3d.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/NibbleArray3d.java similarity index 91% rename from src/main/java/org/spacehq/mc/protocol/data/game/chunk/NibbleArray3d.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/NibbleArray3d.java index 3d8ebf2b..1cc237bf 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/chunk/NibbleArray3d.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/chunk/NibbleArray3d.java @@ -1,7 +1,7 @@ -package org.spacehq.mc.protocol.data.game.chunk; +package com.github.steveice10.mc.protocol.data.game.chunk; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; import java.io.IOException; import java.util.Arrays; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/Effect.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/Effect.java similarity index 88% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/Effect.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/Effect.java index a8d02919..2e03dc26 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/Effect.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/Effect.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity; +package com.github.steveice10.mc.protocol.data.game.entity; public enum Effect { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/EntityStatus.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/EntityStatus.java similarity index 94% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/EntityStatus.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/EntityStatus.java index f8a93871..04b2a287 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/EntityStatus.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/EntityStatus.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity; +package com.github.steveice10.mc.protocol.data.game.entity; public enum EntityStatus { TIPPED_ARROW_EMIT_PARTICLES, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/EquipmentSlot.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/EquipmentSlot.java similarity index 65% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/EquipmentSlot.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/EquipmentSlot.java index e684c39d..ed9125f3 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/EquipmentSlot.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/EquipmentSlot.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity; +package com.github.steveice10.mc.protocol.data.game.entity; public enum EquipmentSlot { MAIN_HAND, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/Attribute.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/attribute/Attribute.java similarity index 92% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/Attribute.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/attribute/Attribute.java index ab635947..361ffaf9 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/Attribute.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/attribute/Attribute.java @@ -1,6 +1,6 @@ -package org.spacehq.mc.protocol.data.game.entity.attribute; +package com.github.steveice10.mc.protocol.data.game.entity.attribute; -import org.spacehq.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.util.ReflectionToString; import java.util.ArrayList; import java.util.List; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/AttributeModifier.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/attribute/AttributeModifier.java similarity index 93% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/AttributeModifier.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/attribute/AttributeModifier.java index 6b29ecf4..30b46e66 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/AttributeModifier.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/attribute/AttributeModifier.java @@ -1,6 +1,6 @@ -package org.spacehq.mc.protocol.data.game.entity.attribute; +package com.github.steveice10.mc.protocol.data.game.entity.attribute; -import org.spacehq.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.MagicValues; import java.util.UUID; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/AttributeType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/attribute/AttributeType.java similarity index 92% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/AttributeType.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/attribute/AttributeType.java index 280c5ac0..0f7928b1 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/AttributeType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/attribute/AttributeType.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.attribute; +package com.github.steveice10.mc.protocol.data.game.entity.attribute; public enum AttributeType { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/ModifierOperation.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/attribute/ModifierOperation.java similarity index 53% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/ModifierOperation.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/attribute/ModifierOperation.java index 70c8963e..90ea5d37 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/ModifierOperation.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/attribute/ModifierOperation.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.attribute; +package com.github.steveice10.mc.protocol.data.game.entity.attribute; public enum ModifierOperation { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/ModifierType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/attribute/ModifierType.java similarity index 90% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/ModifierType.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/attribute/ModifierType.java index 061a2b13..42dc4573 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/ModifierType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/attribute/ModifierType.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.attribute; +package com.github.steveice10.mc.protocol.data.game.entity.attribute; public enum ModifierType { DYNAMIC, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/metadata/EntityMetadata.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/metadata/EntityMetadata.java similarity index 88% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/metadata/EntityMetadata.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/metadata/EntityMetadata.java index 23913e5e..7a6318bc 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/metadata/EntityMetadata.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/metadata/EntityMetadata.java @@ -1,6 +1,6 @@ -package org.spacehq.mc.protocol.data.game.entity.metadata; +package com.github.steveice10.mc.protocol.data.game.entity.metadata; -import org.spacehq.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.util.ReflectionToString; public class EntityMetadata { private int id; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/metadata/ItemStack.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/metadata/ItemStack.java similarity index 91% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/metadata/ItemStack.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/metadata/ItemStack.java index 47b66e48..b173f1b4 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/metadata/ItemStack.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/metadata/ItemStack.java @@ -1,6 +1,6 @@ -package org.spacehq.mc.protocol.data.game.entity.metadata; +package com.github.steveice10.mc.protocol.data.game.entity.metadata; -import org.spacehq.opennbt.tag.builtin.CompoundTag; +import com.github.steveice10.opennbt.tag.builtin.CompoundTag; public class ItemStack { private int id; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/metadata/MetadataType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/metadata/MetadataType.java similarity index 75% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/metadata/MetadataType.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/metadata/MetadataType.java index dc847005..95b035c5 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/metadata/MetadataType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/metadata/MetadataType.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.metadata; +package com.github.steveice10.mc.protocol.data.game.entity.metadata; public enum MetadataType { BYTE, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/metadata/Position.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/metadata/Position.java similarity index 86% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/metadata/Position.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/metadata/Position.java index a22962e1..6b9b22bc 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/metadata/Position.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/metadata/Position.java @@ -1,6 +1,6 @@ -package org.spacehq.mc.protocol.data.game.entity.metadata; +package com.github.steveice10.mc.protocol.data.game.entity.metadata; -import org.spacehq.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.util.ReflectionToString; public class Position { private int x; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/metadata/Rotation.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/metadata/Rotation.java similarity index 76% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/metadata/Rotation.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/metadata/Rotation.java index 02835214..7e1af4cd 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/metadata/Rotation.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/metadata/Rotation.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.metadata; +package com.github.steveice10.mc.protocol.data.game.entity.metadata; public class Rotation { private float pitch; @@ -34,9 +34,9 @@ public class Rotation { @Override public int hashCode() { - int result = Float.hashCode(this.pitch); - result = 31 * result + Float.hashCode(this.yaw); - result = 31 * result + Float.hashCode(this.roll); + int result = Float.floatToIntBits(this.pitch); + result = 31 * result + Float.floatToIntBits(this.yaw); + result = 31 * result + Float.floatToIntBits(this.roll); return result; } } diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/Animation.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/Animation.java similarity index 66% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/player/Animation.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/Animation.java index 51284022..06a24631 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/Animation.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/Animation.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.player; +package com.github.steveice10.mc.protocol.data.game.entity.player; public enum Animation { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/BlockBreakStage.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/BlockBreakStage.java similarity index 72% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/player/BlockBreakStage.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/BlockBreakStage.java index 73150954..82fc7f1c 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/BlockBreakStage.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/BlockBreakStage.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.player; +package com.github.steveice10.mc.protocol.data.game.entity.player; public enum BlockBreakStage { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/CombatState.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/CombatState.java similarity index 55% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/player/CombatState.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/CombatState.java index 18e99f38..44e3a91b 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/CombatState.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/CombatState.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.player; +package com.github.steveice10.mc.protocol.data.game.entity.player; public enum CombatState { diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/GameMode.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/GameMode.java new file mode 100644 index 00000000..69d99526 --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/GameMode.java @@ -0,0 +1,12 @@ +package com.github.steveice10.mc.protocol.data.game.entity.player; + +import com.github.steveice10.mc.protocol.data.game.world.notify.ClientNotificationValue; + +public enum GameMode implements ClientNotificationValue { + + SURVIVAL, + CREATIVE, + ADVENTURE, + SPECTATOR; + +} diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/Hand.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/Hand.java new file mode 100644 index 00000000..c73b9bcf --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/Hand.java @@ -0,0 +1,6 @@ +package com.github.steveice10.mc.protocol.data.game.entity.player; + +public enum Hand { + MAIN_HAND, + OFF_HAND; +} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/InteractAction.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/InteractAction.java similarity index 53% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/player/InteractAction.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/InteractAction.java index 552b6cce..778d0fe7 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/InteractAction.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/InteractAction.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.player; +package com.github.steveice10.mc.protocol.data.game.entity.player; public enum InteractAction { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/PlayerAction.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/PlayerAction.java similarity index 71% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/player/PlayerAction.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/PlayerAction.java index dc7ddd47..3c6cd3ec 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/PlayerAction.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/PlayerAction.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.player; +package com.github.steveice10.mc.protocol.data.game.entity.player; public enum PlayerAction { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/PlayerState.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/PlayerState.java similarity index 67% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/player/PlayerState.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/PlayerState.java index 24e2a698..1a939df5 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/PlayerState.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/PlayerState.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.player; +package com.github.steveice10.mc.protocol.data.game.entity.player; public enum PlayerState { START_SNEAKING, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/PositionElement.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/PositionElement.java similarity index 53% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/player/PositionElement.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/PositionElement.java index 81dfe07c..457cc191 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/PositionElement.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/player/PositionElement.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.player; +package com.github.steveice10.mc.protocol.data.game.entity.player; public enum PositionElement { diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/GlobalEntityType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/GlobalEntityType.java new file mode 100644 index 00000000..c9331bf2 --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/GlobalEntityType.java @@ -0,0 +1,7 @@ +package com.github.steveice10.mc.protocol.data.game.entity.type; + +public enum GlobalEntityType { + + LIGHTNING_BOLT; + +} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/MobType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/MobType.java similarity index 91% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/type/MobType.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/MobType.java index 2cfa83b7..363726b6 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/MobType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/MobType.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.type; +package com.github.steveice10.mc.protocol.data.game.entity.type; public enum MobType { ELDER_GUARDIAN, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/PaintingType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/PaintingType.java similarity index 84% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/type/PaintingType.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/PaintingType.java index b9aa86f9..5e2dedbd 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/PaintingType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/PaintingType.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.type; +package com.github.steveice10.mc.protocol.data.game.entity.type; public enum PaintingType { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/FallingBlockData.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/FallingBlockData.java similarity index 91% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/FallingBlockData.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/FallingBlockData.java index 0a003e7a..d623cef7 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/FallingBlockData.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/FallingBlockData.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.type.object; +package com.github.steveice10.mc.protocol.data.game.entity.type.object; public class FallingBlockData implements ObjectData { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/HangingDirection.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/HangingDirection.java similarity index 58% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/HangingDirection.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/HangingDirection.java index 6d5259db..ecd47024 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/HangingDirection.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/HangingDirection.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.type.object; +package com.github.steveice10.mc.protocol.data.game.entity.type.object; public enum HangingDirection implements ObjectData { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/MinecartType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/MinecartType.java similarity index 67% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/MinecartType.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/MinecartType.java index ae956921..22371abc 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/MinecartType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/MinecartType.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.type.object; +package com.github.steveice10.mc.protocol.data.game.entity.type.object; public enum MinecartType implements ObjectData { diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/ObjectData.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/ObjectData.java new file mode 100644 index 00000000..417eff41 --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/ObjectData.java @@ -0,0 +1,4 @@ +package com.github.steveice10.mc.protocol.data.game.entity.type.object; + +public interface ObjectData { +} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/ObjectType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/ObjectType.java similarity index 87% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/ObjectType.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/ObjectType.java index 71ba9154..fdcac8fe 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/ObjectType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/ObjectType.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.type.object; +package com.github.steveice10.mc.protocol.data.game.entity.type.object; public enum ObjectType { BOAT, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/ProjectileData.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/ProjectileData.java similarity index 86% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/ProjectileData.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/ProjectileData.java index f2f4fe54..2d374367 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/ProjectileData.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/ProjectileData.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.type.object; +package com.github.steveice10.mc.protocol.data.game.entity.type.object; public class ProjectileData implements ObjectData { private int ownerId; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/SplashPotionData.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/SplashPotionData.java similarity index 89% rename from src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/SplashPotionData.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/SplashPotionData.java index 5f14e152..82e54d34 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/SplashPotionData.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/entity/type/object/SplashPotionData.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.entity.type.object; +package com.github.steveice10.mc.protocol.data.game.entity.type.object; public class SplashPotionData implements ObjectData { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/CollisionRule.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/CollisionRule.java similarity index 59% rename from src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/CollisionRule.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/CollisionRule.java index 6e6d741c..c61016f4 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/CollisionRule.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/CollisionRule.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.scoreboard; +package com.github.steveice10.mc.protocol.data.game.scoreboard; public enum CollisionRule { ALWAYS, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/NameTagVisibility.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/NameTagVisibility.java similarity index 63% rename from src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/NameTagVisibility.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/NameTagVisibility.java index 6594898d..585b4417 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/NameTagVisibility.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/NameTagVisibility.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.scoreboard; +package com.github.steveice10.mc.protocol.data.game.scoreboard; public enum NameTagVisibility { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/ObjectiveAction.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/ObjectiveAction.java similarity index 51% rename from src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/ObjectiveAction.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/ObjectiveAction.java index f48af5c9..9a65cdb1 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/ObjectiveAction.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/ObjectiveAction.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.scoreboard; +package com.github.steveice10.mc.protocol.data.game.scoreboard; public enum ObjectiveAction { diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/ScoreType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/ScoreType.java new file mode 100644 index 00000000..adfedeb7 --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/ScoreType.java @@ -0,0 +1,8 @@ +package com.github.steveice10.mc.protocol.data.game.scoreboard; + +public enum ScoreType { + + INTEGER, + HEARTS; + +} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/ScoreboardAction.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/ScoreboardAction.java similarity index 51% rename from src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/ScoreboardAction.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/ScoreboardAction.java index 77b8b166..48adc0c1 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/ScoreboardAction.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/ScoreboardAction.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.scoreboard; +package com.github.steveice10.mc.protocol.data.game.scoreboard; public enum ScoreboardAction { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/ScoreboardPosition.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/ScoreboardPosition.java similarity index 88% rename from src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/ScoreboardPosition.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/ScoreboardPosition.java index 944fdfaa..2554c860 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/ScoreboardPosition.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/ScoreboardPosition.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.scoreboard; +package com.github.steveice10.mc.protocol.data.game.scoreboard; public enum ScoreboardPosition { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/TeamAction.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/TeamAction.java similarity index 61% rename from src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/TeamAction.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/TeamAction.java index 4a837da5..7f90a858 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/TeamAction.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/TeamAction.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.scoreboard; +package com.github.steveice10.mc.protocol.data.game.scoreboard; public enum TeamAction { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/TeamColor.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/TeamColor.java similarity index 79% rename from src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/TeamColor.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/TeamColor.java index fd36ff4b..c573230f 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/TeamColor.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/scoreboard/TeamColor.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.scoreboard; +package com.github.steveice10.mc.protocol.data.game.scoreboard; public enum TeamColor { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/setting/ChatVisibility.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/setting/ChatVisibility.java similarity index 52% rename from src/main/java/org/spacehq/mc/protocol/data/game/setting/ChatVisibility.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/setting/ChatVisibility.java index d4c1c57a..11484fe8 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/setting/ChatVisibility.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/setting/ChatVisibility.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.setting; +package com.github.steveice10.mc.protocol.data.game.setting; public enum ChatVisibility { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/setting/Difficulty.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/setting/Difficulty.java similarity index 55% rename from src/main/java/org/spacehq/mc/protocol/data/game/setting/Difficulty.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/setting/Difficulty.java index 8af9abba..06896fe1 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/setting/Difficulty.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/setting/Difficulty.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.setting; +package com.github.steveice10.mc.protocol.data.game.setting; public enum Difficulty { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/setting/SkinPart.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/setting/SkinPart.java similarity index 68% rename from src/main/java/org/spacehq/mc/protocol/data/game/setting/SkinPart.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/setting/SkinPart.java index 807f7874..68040d51 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/setting/SkinPart.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/setting/SkinPart.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.setting; +package com.github.steveice10.mc.protocol.data.game.setting; public enum SkinPart { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/statistic/Achievement.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/Achievement.java similarity index 91% rename from src/main/java/org/spacehq/mc/protocol/data/game/statistic/Achievement.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/Achievement.java index b183887f..115afeb1 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/statistic/Achievement.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/Achievement.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.statistic; +package com.github.steveice10.mc.protocol.data.game.statistic; public enum Achievement implements Statistic { TAKING_INVENTORY, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/statistic/BreakBlockStatistic.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/BreakBlockStatistic.java similarity index 76% rename from src/main/java/org/spacehq/mc/protocol/data/game/statistic/BreakBlockStatistic.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/BreakBlockStatistic.java index 72668b4a..3ebd63ec 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/statistic/BreakBlockStatistic.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/BreakBlockStatistic.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.statistic; +package com.github.steveice10.mc.protocol.data.game.statistic; public class BreakBlockStatistic implements Statistic { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/statistic/BreakItemStatistic.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/BreakItemStatistic.java similarity index 89% rename from src/main/java/org/spacehq/mc/protocol/data/game/statistic/BreakItemStatistic.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/BreakItemStatistic.java index 213fa87c..23f8a51b 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/statistic/BreakItemStatistic.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/BreakItemStatistic.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.statistic; +package com.github.steveice10.mc.protocol.data.game.statistic; public class BreakItemStatistic implements Statistic { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/statistic/CraftItemStatistic.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/CraftItemStatistic.java similarity index 89% rename from src/main/java/org/spacehq/mc/protocol/data/game/statistic/CraftItemStatistic.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/CraftItemStatistic.java index dc2db593..b4302fd7 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/statistic/CraftItemStatistic.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/CraftItemStatistic.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.statistic; +package com.github.steveice10.mc.protocol.data.game.statistic; public class CraftItemStatistic implements Statistic { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/statistic/GenericStatistic.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/GenericStatistic.java similarity index 89% rename from src/main/java/org/spacehq/mc/protocol/data/game/statistic/GenericStatistic.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/GenericStatistic.java index 847a797f..0e619870 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/statistic/GenericStatistic.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/GenericStatistic.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.statistic; +package com.github.steveice10.mc.protocol.data.game.statistic; public enum GenericStatistic implements Statistic { diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/Statistic.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/Statistic.java new file mode 100644 index 00000000..aef349f5 --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/Statistic.java @@ -0,0 +1,4 @@ +package com.github.steveice10.mc.protocol.data.game.statistic; + +public interface Statistic { +} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/statistic/UseItemStatistic.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/UseItemStatistic.java similarity index 89% rename from src/main/java/org/spacehq/mc/protocol/data/game/statistic/UseItemStatistic.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/UseItemStatistic.java index 75ca50b4..0b15c9ea 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/statistic/UseItemStatistic.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/statistic/UseItemStatistic.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.statistic; +package com.github.steveice10.mc.protocol.data.game.statistic; public class UseItemStatistic implements Statistic { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/window/ClickItemParam.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/ClickItemParam.java similarity index 61% rename from src/main/java/org/spacehq/mc/protocol/data/game/window/ClickItemParam.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/window/ClickItemParam.java index 6bfd37bd..aaf2019d 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/window/ClickItemParam.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/ClickItemParam.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.window; +package com.github.steveice10.mc.protocol.data.game.window; public enum ClickItemParam implements WindowActionParam { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/window/CreativeGrabParam.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/CreativeGrabParam.java similarity index 56% rename from src/main/java/org/spacehq/mc/protocol/data/game/window/CreativeGrabParam.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/window/CreativeGrabParam.java index 21762bd6..eec715a2 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/window/CreativeGrabParam.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/CreativeGrabParam.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.window; +package com.github.steveice10.mc.protocol.data.game.window; public enum CreativeGrabParam implements WindowActionParam { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/window/DropItemParam.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/DropItemParam.java similarity index 75% rename from src/main/java/org/spacehq/mc/protocol/data/game/window/DropItemParam.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/window/DropItemParam.java index 7c90f1ac..e9b464d6 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/window/DropItemParam.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/DropItemParam.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.window; +package com.github.steveice10.mc.protocol.data.game.window; public enum DropItemParam implements WindowActionParam { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/window/FillStackParam.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/FillStackParam.java similarity index 55% rename from src/main/java/org/spacehq/mc/protocol/data/game/window/FillStackParam.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/window/FillStackParam.java index 4b5b510e..c9902a83 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/window/FillStackParam.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/FillStackParam.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.window; +package com.github.steveice10.mc.protocol.data.game.window; public enum FillStackParam implements WindowActionParam { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/window/MoveToHotbarParam.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/MoveToHotbarParam.java similarity index 74% rename from src/main/java/org/spacehq/mc/protocol/data/game/window/MoveToHotbarParam.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/window/MoveToHotbarParam.java index 07cf691c..7b0a40ec 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/window/MoveToHotbarParam.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/MoveToHotbarParam.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.window; +package com.github.steveice10.mc.protocol.data.game.window; public enum MoveToHotbarParam implements WindowActionParam { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/window/ShiftClickItemParam.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/ShiftClickItemParam.java similarity index 62% rename from src/main/java/org/spacehq/mc/protocol/data/game/window/ShiftClickItemParam.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/window/ShiftClickItemParam.java index e3f81452..c5285144 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/window/ShiftClickItemParam.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/ShiftClickItemParam.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.window; +package com.github.steveice10.mc.protocol.data.game.window; public enum ShiftClickItemParam implements WindowActionParam { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/window/SpreadItemParam.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/SpreadItemParam.java similarity index 78% rename from src/main/java/org/spacehq/mc/protocol/data/game/window/SpreadItemParam.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/window/SpreadItemParam.java index 04ce2343..b0f79e3e 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/window/SpreadItemParam.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/SpreadItemParam.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.window; +package com.github.steveice10.mc.protocol.data.game.window; public enum SpreadItemParam implements WindowActionParam { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/window/WindowAction.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/WindowAction.java similarity index 74% rename from src/main/java/org/spacehq/mc/protocol/data/game/window/WindowAction.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/window/WindowAction.java index 91d4960a..22fd3082 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/window/WindowAction.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/WindowAction.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.window; +package com.github.steveice10.mc.protocol.data.game.window; public enum WindowAction { diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/game/window/WindowActionParam.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/WindowActionParam.java new file mode 100644 index 00000000..9fc2c012 --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/WindowActionParam.java @@ -0,0 +1,4 @@ +package com.github.steveice10.mc.protocol.data.game.window; + +public interface WindowActionParam { +} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/window/WindowType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/WindowType.java similarity index 80% rename from src/main/java/org/spacehq/mc/protocol/data/game/window/WindowType.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/window/WindowType.java index a97adf7b..fd24379b 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/window/WindowType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/WindowType.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.window; +package com.github.steveice10.mc.protocol.data.game.window; public enum WindowType { diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/window/property/AnvilProperty.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/property/AnvilProperty.java similarity index 71% rename from src/main/java/org/spacehq/mc/protocol/data/game/window/property/AnvilProperty.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/window/property/AnvilProperty.java index 2ba75fcc..89220fb8 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/window/property/AnvilProperty.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/property/AnvilProperty.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.window.property; +package com.github.steveice10.mc.protocol.data.game.window.property; /** * Window properties of an anvil. diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/window/property/BrewingStandProperty.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/property/BrewingStandProperty.java similarity index 79% rename from src/main/java/org/spacehq/mc/protocol/data/game/window/property/BrewingStandProperty.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/window/property/BrewingStandProperty.java index 3adb0a0d..4c83269a 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/window/property/BrewingStandProperty.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/property/BrewingStandProperty.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.window.property; +package com.github.steveice10.mc.protocol.data.game.window.property; /** * Window properties of a brewing stand. diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/window/property/EnchantmentTableProperty.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/property/EnchantmentTableProperty.java similarity index 96% rename from src/main/java/org/spacehq/mc/protocol/data/game/window/property/EnchantmentTableProperty.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/window/property/EnchantmentTableProperty.java index c6585edc..42824913 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/window/property/EnchantmentTableProperty.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/property/EnchantmentTableProperty.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.window.property; +package com.github.steveice10.mc.protocol.data.game.window.property; /** * Window properties of an enchantment table. diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/window/property/FurnaceProperty.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/property/FurnaceProperty.java similarity index 87% rename from src/main/java/org/spacehq/mc/protocol/data/game/window/property/FurnaceProperty.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/window/property/FurnaceProperty.java index a83befe4..42dd210f 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/window/property/FurnaceProperty.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/property/FurnaceProperty.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.window.property; +package com.github.steveice10.mc.protocol.data.game.window.property; /** * Window properties of a furnace. diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/game/window/property/WindowProperty.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/property/WindowProperty.java new file mode 100644 index 00000000..c23223f4 --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/window/property/WindowProperty.java @@ -0,0 +1,5 @@ +package com.github.steveice10.mc.protocol.data.game.window.property; + +public interface WindowProperty { + +} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/Particle.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/Particle.java similarity index 94% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/Particle.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/Particle.java index 338949d0..41f20dfc 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/Particle.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/Particle.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world; +package com.github.steveice10.mc.protocol.data.game.world; public enum Particle { EXPLOSION_NORMAL, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/WorldBorderAction.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/WorldBorderAction.java similarity index 70% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/WorldBorderAction.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/WorldBorderAction.java index 1161a16e..a57b8af4 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/WorldBorderAction.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/WorldBorderAction.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world; +package com.github.steveice10.mc.protocol.data.game.world; public enum WorldBorderAction { SET_SIZE, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/WorldType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/WorldType.java similarity index 68% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/WorldType.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/WorldType.java index 494f633f..54a14e0b 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/WorldType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/WorldType.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world; +package com.github.steveice10.mc.protocol.data.game.world; public enum WorldType { DEFAULT, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/BlockChangeRecord.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/BlockChangeRecord.java similarity index 84% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/block/BlockChangeRecord.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/BlockChangeRecord.java index 90e0a176..383186b8 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/BlockChangeRecord.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/BlockChangeRecord.java @@ -1,6 +1,6 @@ -package org.spacehq.mc.protocol.data.game.world.block; +package com.github.steveice10.mc.protocol.data.game.world.block; -import org.spacehq.mc.protocol.data.game.entity.metadata.Position; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Position; public class BlockChangeRecord { private Position position; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/BlockFace.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/BlockFace.java similarity index 60% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/block/BlockFace.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/BlockFace.java index 4f3996c3..aff22f83 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/BlockFace.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/BlockFace.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.block; +package com.github.steveice10.mc.protocol.data.game.world.block; public enum BlockFace { DOWN, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/BlockState.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/BlockState.java similarity index 90% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/block/BlockState.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/BlockState.java index 0fcd0968..9595161b 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/BlockState.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/BlockState.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.block; +package com.github.steveice10.mc.protocol.data.game.world.block; public class BlockState { private int id; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/ExplodedBlockRecord.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/ExplodedBlockRecord.java similarity index 92% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/block/ExplodedBlockRecord.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/ExplodedBlockRecord.java index aaf0011c..1337b72b 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/ExplodedBlockRecord.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/ExplodedBlockRecord.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.block; +package com.github.steveice10.mc.protocol.data.game.world.block; public class ExplodedBlockRecord { private int x; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/UpdatedTileType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/UpdatedTileType.java similarity index 74% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/block/UpdatedTileType.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/UpdatedTileType.java index f2ec2aec..92750a03 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/UpdatedTileType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/UpdatedTileType.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.block; +package com.github.steveice10.mc.protocol.data.game.world.block; public enum UpdatedTileType { MOB_SPAWNER, diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/BlockValue.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/BlockValue.java new file mode 100644 index 00000000..8395d7b6 --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/BlockValue.java @@ -0,0 +1,4 @@ +package com.github.steveice10.mc.protocol.data.game.world.block.value; + +public interface BlockValue { +} diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/BlockValueType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/BlockValueType.java new file mode 100644 index 00000000..51664cf0 --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/BlockValueType.java @@ -0,0 +1,4 @@ +package com.github.steveice10.mc.protocol.data.game.world.block.value; + +public interface BlockValueType { +} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/ChestValue.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/ChestValue.java similarity index 86% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/ChestValue.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/ChestValue.java index 0595bbf7..8291c11a 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/ChestValue.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/ChestValue.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.block.value; +package com.github.steveice10.mc.protocol.data.game.world.block.value; public class ChestValue implements BlockValue { private int viewers; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/ChestValueType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/ChestValueType.java similarity index 54% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/ChestValueType.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/ChestValueType.java index 6f1fbaf4..e1e7c9d8 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/ChestValueType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/ChestValueType.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.block.value; +package com.github.steveice10.mc.protocol.data.game.world.block.value; public enum ChestValueType implements BlockValueType { VIEWING_PLAYER_COUNT; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/GenericBlockValue.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/GenericBlockValue.java similarity index 86% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/GenericBlockValue.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/GenericBlockValue.java index 8af98fc3..a92e39b9 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/GenericBlockValue.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/GenericBlockValue.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.block.value; +package com.github.steveice10.mc.protocol.data.game.world.block.value; public class GenericBlockValue implements BlockValue { private int value; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/GenericBlockValueType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/GenericBlockValueType.java similarity index 52% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/GenericBlockValueType.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/GenericBlockValueType.java index ad4479ca..6c29c6b5 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/GenericBlockValueType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/GenericBlockValueType.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.block.value; +package com.github.steveice10.mc.protocol.data.game.world.block.value; public enum GenericBlockValueType implements BlockValueType { GENERIC; diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/MobSpawnerValue.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/MobSpawnerValue.java new file mode 100644 index 00000000..0a7b2559 --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/MobSpawnerValue.java @@ -0,0 +1,4 @@ +package com.github.steveice10.mc.protocol.data.game.world.block.value; + +public class MobSpawnerValue implements BlockValue { +} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/MobSpawnerValueType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/MobSpawnerValueType.java similarity index 52% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/MobSpawnerValueType.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/MobSpawnerValueType.java index d16ac911..4dba08be 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/MobSpawnerValueType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/MobSpawnerValueType.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.block.value; +package com.github.steveice10.mc.protocol.data.game.world.block.value; public enum MobSpawnerValueType implements BlockValueType { RESET_DELAY; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/NoteBlockValue.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/NoteBlockValue.java similarity index 88% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/NoteBlockValue.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/NoteBlockValue.java index ace28a9b..145ac73e 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/NoteBlockValue.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/NoteBlockValue.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.block.value; +package com.github.steveice10.mc.protocol.data.game.world.block.value; public class NoteBlockValue implements BlockValue { private int pitch; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/NoteBlockValueType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/NoteBlockValueType.java similarity index 65% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/NoteBlockValueType.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/NoteBlockValueType.java index c6278550..34971d19 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/NoteBlockValueType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/NoteBlockValueType.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.block.value; +package com.github.steveice10.mc.protocol.data.game.world.block.value; public enum NoteBlockValueType implements BlockValueType { HARP, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/PistonValue.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/PistonValue.java similarity index 60% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/PistonValue.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/PistonValue.java index 0013e75e..fb6f3b94 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/PistonValue.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/PistonValue.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.block.value; +package com.github.steveice10.mc.protocol.data.game.world.block.value; public enum PistonValue implements BlockValue { DOWN, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/PistonValueType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/PistonValueType.java similarity index 54% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/PistonValueType.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/PistonValueType.java index c8c53481..a98d3b67 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/PistonValueType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/value/PistonValueType.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.block.value; +package com.github.steveice10.mc.protocol.data.game.world.block.value; public enum PistonValueType implements BlockValueType { PUSHING, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/BonemealGrowEffectData.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/BonemealGrowEffectData.java similarity index 89% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/effect/BonemealGrowEffectData.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/BonemealGrowEffectData.java index 75db175d..498c14b1 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/BonemealGrowEffectData.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/BonemealGrowEffectData.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.effect; +package com.github.steveice10.mc.protocol.data.game.world.effect; public class BonemealGrowEffectData implements WorldEffectData { private int particleCount; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/BreakBlockEffectData.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/BreakBlockEffectData.java similarity index 79% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/effect/BreakBlockEffectData.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/BreakBlockEffectData.java index 20b95841..38f8db33 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/BreakBlockEffectData.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/BreakBlockEffectData.java @@ -1,6 +1,6 @@ -package org.spacehq.mc.protocol.data.game.world.effect; +package com.github.steveice10.mc.protocol.data.game.world.effect; -import org.spacehq.mc.protocol.data.game.world.block.BlockState; +import com.github.steveice10.mc.protocol.data.game.world.block.BlockState; public class BreakBlockEffectData implements WorldEffectData { private BlockState blockState; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/BreakPotionEffectData.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/BreakPotionEffectData.java similarity index 88% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/effect/BreakPotionEffectData.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/BreakPotionEffectData.java index da996e3a..ead91949 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/BreakPotionEffectData.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/BreakPotionEffectData.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.effect; +package com.github.steveice10.mc.protocol.data.game.world.effect; public class BreakPotionEffectData implements WorldEffectData { private int potionId; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/ParticleEffect.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/ParticleEffect.java similarity index 77% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/effect/ParticleEffect.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/ParticleEffect.java index 4c932f2d..8db30ddb 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/ParticleEffect.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/ParticleEffect.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.effect; +package com.github.steveice10.mc.protocol.data.game.world.effect; public enum ParticleEffect implements WorldEffect { SMOKE, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/RecordEffectData.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/RecordEffectData.java similarity index 87% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/effect/RecordEffectData.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/RecordEffectData.java index aa95e31f..34f8b948 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/RecordEffectData.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/RecordEffectData.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.effect; +package com.github.steveice10.mc.protocol.data.game.world.effect; public class RecordEffectData implements WorldEffectData { private int recordId; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/SmokeEffectData.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/SmokeEffectData.java similarity index 72% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/effect/SmokeEffectData.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/SmokeEffectData.java index 4f36f720..e4e866ce 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/SmokeEffectData.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/SmokeEffectData.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.effect; +package com.github.steveice10.mc.protocol.data.game.world.effect; public enum SmokeEffectData implements WorldEffectData { SOUTH_EAST, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/SoundEffect.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/SoundEffect.java similarity index 94% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/effect/SoundEffect.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/SoundEffect.java index 458594ca..293db8a2 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/SoundEffect.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/SoundEffect.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.effect; +package com.github.steveice10.mc.protocol.data.game.world.effect; public enum SoundEffect implements WorldEffect { BLOCK_DISPENSER_DISPENSE, diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/WorldEffect.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/WorldEffect.java new file mode 100644 index 00000000..06bd4670 --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/WorldEffect.java @@ -0,0 +1,4 @@ +package com.github.steveice10.mc.protocol.data.game.world.effect; + +public interface WorldEffect { +} diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/WorldEffectData.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/WorldEffectData.java new file mode 100644 index 00000000..d9550011 --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/effect/WorldEffectData.java @@ -0,0 +1,4 @@ +package com.github.steveice10.mc.protocol.data.game.world.effect; + +public interface WorldEffectData { +} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/map/MapData.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/map/MapData.java similarity index 95% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/map/MapData.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/map/MapData.java index 0e7c591e..4eeb1d38 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/map/MapData.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/map/MapData.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.map; +package com.github.steveice10.mc.protocol.data.game.world.map; import java.util.Arrays; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/map/MapIcon.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/map/MapIcon.java similarity index 95% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/map/MapIcon.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/map/MapIcon.java index 87ac8359..f41ca981 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/map/MapIcon.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/map/MapIcon.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.map; +package com.github.steveice10.mc.protocol.data.game.world.map; public class MapIcon { private int centerX; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/map/MapIconType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/map/MapIconType.java similarity index 81% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/map/MapIconType.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/map/MapIconType.java index fd44a3bd..3dae58d5 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/map/MapIconType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/map/MapIconType.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.map; +package com.github.steveice10.mc.protocol.data.game.world.map; public enum MapIconType { WHITE_ARROW, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/notify/ClientNotification.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/notify/ClientNotification.java similarity index 78% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/notify/ClientNotification.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/notify/ClientNotification.java index d8c4fa11..48c53fe4 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/notify/ClientNotification.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/notify/ClientNotification.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.notify; +package com.github.steveice10.mc.protocol.data.game.world.notify; public enum ClientNotification { INVALID_BED, diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/game/world/notify/ClientNotificationValue.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/notify/ClientNotificationValue.java new file mode 100644 index 00000000..0d509c7d --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/notify/ClientNotificationValue.java @@ -0,0 +1,4 @@ +package com.github.steveice10.mc.protocol.data.game.world.notify; + +public interface ClientNotificationValue { +} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/notify/DemoMessageValue.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/notify/DemoMessageValue.java similarity index 68% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/notify/DemoMessageValue.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/notify/DemoMessageValue.java index 24048688..67292b25 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/notify/DemoMessageValue.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/notify/DemoMessageValue.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.notify; +package com.github.steveice10.mc.protocol.data.game.world.notify; public enum DemoMessageValue implements ClientNotificationValue { WELCOME, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/notify/EnterCreditsValue.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/notify/EnterCreditsValue.java similarity index 60% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/notify/EnterCreditsValue.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/notify/EnterCreditsValue.java index 04eb00d7..3fcf921e 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/notify/EnterCreditsValue.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/notify/EnterCreditsValue.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.notify; +package com.github.steveice10.mc.protocol.data.game.world.notify; public enum EnterCreditsValue implements ClientNotificationValue { SEEN_BEFORE, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/notify/RainStrengthValue.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/notify/RainStrengthValue.java similarity index 91% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/notify/RainStrengthValue.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/notify/RainStrengthValue.java index 63522ae7..e1cdfcf6 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/notify/RainStrengthValue.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/notify/RainStrengthValue.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.notify; +package com.github.steveice10.mc.protocol.data.game.world.notify; public class RainStrengthValue implements ClientNotificationValue { private float strength; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/notify/ThunderStrengthValue.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/notify/ThunderStrengthValue.java similarity index 91% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/notify/ThunderStrengthValue.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/notify/ThunderStrengthValue.java index 34938ed3..1d208d30 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/notify/ThunderStrengthValue.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/notify/ThunderStrengthValue.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.notify; +package com.github.steveice10.mc.protocol.data.game.world.notify; public class ThunderStrengthValue implements ClientNotificationValue { private float strength; diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/sound/BuiltinSound.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/sound/BuiltinSound.java similarity index 99% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/sound/BuiltinSound.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/sound/BuiltinSound.java index a18f2941..dcf55250 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/sound/BuiltinSound.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/sound/BuiltinSound.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.sound; +package com.github.steveice10.mc.protocol.data.game.world.sound; public enum BuiltinSound implements Sound { AMBIENT_CAVE, diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/sound/CustomSound.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/sound/CustomSound.java similarity index 87% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/sound/CustomSound.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/sound/CustomSound.java index 774f1759..0923cdc7 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/sound/CustomSound.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/sound/CustomSound.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.sound; +package com.github.steveice10.mc.protocol.data.game.world.sound; public class CustomSound implements Sound { private String name; diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/game/world/sound/Sound.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/sound/Sound.java new file mode 100644 index 00000000..5eae2a2f --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/sound/Sound.java @@ -0,0 +1,4 @@ +package com.github.steveice10.mc.protocol.data.game.world.sound; + +public interface Sound { +} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/sound/SoundCategory.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/sound/SoundCategory.java similarity index 69% rename from src/main/java/org/spacehq/mc/protocol/data/game/world/sound/SoundCategory.java rename to src/main/java/com/github/steveice10/mc/protocol/data/game/world/sound/SoundCategory.java index 59b76838..fea56c62 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/sound/SoundCategory.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/world/sound/SoundCategory.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.game.world.sound; +package com.github.steveice10.mc.protocol.data.game.world.sound; public enum SoundCategory { MASTER, diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/handshake/HandshakeIntent.java b/src/main/java/com/github/steveice10/mc/protocol/data/handshake/HandshakeIntent.java new file mode 100644 index 00000000..51aa3d91 --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/handshake/HandshakeIntent.java @@ -0,0 +1,6 @@ +package com.github.steveice10.mc.protocol.data.handshake; + +public enum HandshakeIntent { + STATUS, + LOGIN; +} diff --git a/src/main/java/org/spacehq/mc/protocol/data/message/ChatColor.java b/src/main/java/com/github/steveice10/mc/protocol/data/message/ChatColor.java similarity index 91% rename from src/main/java/org/spacehq/mc/protocol/data/message/ChatColor.java rename to src/main/java/com/github/steveice10/mc/protocol/data/message/ChatColor.java index d5bca399..ecb852d1 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/message/ChatColor.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/message/ChatColor.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.message; +package com.github.steveice10.mc.protocol.data.message; public enum ChatColor { BLACK, diff --git a/src/main/java/org/spacehq/mc/protocol/data/message/ChatFormat.java b/src/main/java/com/github/steveice10/mc/protocol/data/message/ChatFormat.java similarity index 89% rename from src/main/java/org/spacehq/mc/protocol/data/message/ChatFormat.java rename to src/main/java/com/github/steveice10/mc/protocol/data/message/ChatFormat.java index ec242b52..bea599b2 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/message/ChatFormat.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/message/ChatFormat.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.message; +package com.github.steveice10.mc.protocol.data.message; public enum ChatFormat { BOLD, diff --git a/src/main/java/org/spacehq/mc/protocol/data/message/ClickAction.java b/src/main/java/com/github/steveice10/mc/protocol/data/message/ClickAction.java similarity index 89% rename from src/main/java/org/spacehq/mc/protocol/data/message/ClickAction.java rename to src/main/java/com/github/steveice10/mc/protocol/data/message/ClickAction.java index 9618d8fd..0ae41101 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/message/ClickAction.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/message/ClickAction.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.message; +package com.github.steveice10.mc.protocol.data.message; public enum ClickAction { RUN_COMMAND, diff --git a/src/main/java/org/spacehq/mc/protocol/data/message/ClickEvent.java b/src/main/java/com/github/steveice10/mc/protocol/data/message/ClickEvent.java similarity index 93% rename from src/main/java/org/spacehq/mc/protocol/data/message/ClickEvent.java rename to src/main/java/com/github/steveice10/mc/protocol/data/message/ClickEvent.java index 4f278cd5..5a6b5cb9 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/message/ClickEvent.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/message/ClickEvent.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.message; +package com.github.steveice10.mc.protocol.data.message; public class ClickEvent implements Cloneable { private ClickAction action; diff --git a/src/main/java/org/spacehq/mc/protocol/data/message/HoverAction.java b/src/main/java/com/github/steveice10/mc/protocol/data/message/HoverAction.java similarity index 89% rename from src/main/java/org/spacehq/mc/protocol/data/message/HoverAction.java rename to src/main/java/com/github/steveice10/mc/protocol/data/message/HoverAction.java index 260d2063..7b423f24 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/message/HoverAction.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/message/HoverAction.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.message; +package com.github.steveice10.mc.protocol.data.message; public enum HoverAction { SHOW_TEXT, diff --git a/src/main/java/org/spacehq/mc/protocol/data/message/HoverEvent.java b/src/main/java/com/github/steveice10/mc/protocol/data/message/HoverEvent.java similarity index 93% rename from src/main/java/org/spacehq/mc/protocol/data/message/HoverEvent.java rename to src/main/java/com/github/steveice10/mc/protocol/data/message/HoverEvent.java index 136c30c9..6728b9f9 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/message/HoverEvent.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/message/HoverEvent.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.message; +package com.github.steveice10.mc.protocol.data.message; public class HoverEvent implements Cloneable { private HoverAction action; diff --git a/src/main/java/org/spacehq/mc/protocol/data/message/Message.java b/src/main/java/com/github/steveice10/mc/protocol/data/message/Message.java similarity index 99% rename from src/main/java/org/spacehq/mc/protocol/data/message/Message.java rename to src/main/java/com/github/steveice10/mc/protocol/data/message/Message.java index 0851b2d6..cf43ab61 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/message/Message.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/message/Message.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.message; +package com.github.steveice10.mc.protocol.data.message; import com.google.gson.JsonArray; import com.google.gson.JsonElement; diff --git a/src/main/java/org/spacehq/mc/protocol/data/message/MessageStyle.java b/src/main/java/com/github/steveice10/mc/protocol/data/message/MessageStyle.java similarity index 98% rename from src/main/java/org/spacehq/mc/protocol/data/message/MessageStyle.java rename to src/main/java/com/github/steveice10/mc/protocol/data/message/MessageStyle.java index 0b9b99d6..a8f59864 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/message/MessageStyle.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/message/MessageStyle.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.message; +package com.github.steveice10.mc.protocol.data.message; import java.util.ArrayList; import java.util.List; diff --git a/src/main/java/org/spacehq/mc/protocol/data/message/TextMessage.java b/src/main/java/com/github/steveice10/mc/protocol/data/message/TextMessage.java similarity index 95% rename from src/main/java/org/spacehq/mc/protocol/data/message/TextMessage.java rename to src/main/java/com/github/steveice10/mc/protocol/data/message/TextMessage.java index 457a9ecb..c1a85dcd 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/message/TextMessage.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/message/TextMessage.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.message; +package com.github.steveice10.mc.protocol.data.message; import com.google.gson.JsonElement; import com.google.gson.JsonObject; diff --git a/src/main/java/org/spacehq/mc/protocol/data/message/TranslationMessage.java b/src/main/java/com/github/steveice10/mc/protocol/data/message/TranslationMessage.java similarity index 97% rename from src/main/java/org/spacehq/mc/protocol/data/message/TranslationMessage.java rename to src/main/java/com/github/steveice10/mc/protocol/data/message/TranslationMessage.java index 56f4fdf0..9e71637a 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/message/TranslationMessage.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/message/TranslationMessage.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.data.message; +package com.github.steveice10.mc.protocol.data.message; import com.google.gson.JsonArray; import com.google.gson.JsonElement; diff --git a/src/main/java/org/spacehq/mc/protocol/data/status/PlayerInfo.java b/src/main/java/com/github/steveice10/mc/protocol/data/status/PlayerInfo.java similarity index 89% rename from src/main/java/org/spacehq/mc/protocol/data/status/PlayerInfo.java rename to src/main/java/com/github/steveice10/mc/protocol/data/status/PlayerInfo.java index 33a59e39..954044bc 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/status/PlayerInfo.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/status/PlayerInfo.java @@ -1,6 +1,6 @@ -package org.spacehq.mc.protocol.data.status; +package com.github.steveice10.mc.protocol.data.status; -import org.spacehq.mc.auth.data.GameProfile; +import com.github.steveice10.mc.auth.data.GameProfile; import java.util.Arrays; diff --git a/src/main/java/org/spacehq/mc/protocol/data/status/ServerStatusInfo.java b/src/main/java/com/github/steveice10/mc/protocol/data/status/ServerStatusInfo.java similarity index 92% rename from src/main/java/org/spacehq/mc/protocol/data/status/ServerStatusInfo.java rename to src/main/java/com/github/steveice10/mc/protocol/data/status/ServerStatusInfo.java index a9c2b606..2b53378d 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/status/ServerStatusInfo.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/status/ServerStatusInfo.java @@ -1,6 +1,6 @@ -package org.spacehq.mc.protocol.data.status; +package com.github.steveice10.mc.protocol.data.status; -import org.spacehq.mc.protocol.data.message.Message; +import com.github.steveice10.mc.protocol.data.message.Message; import java.awt.image.BufferedImage; diff --git a/src/main/java/org/spacehq/mc/protocol/data/status/VersionInfo.java b/src/main/java/com/github/steveice10/mc/protocol/data/status/VersionInfo.java similarity index 87% rename from src/main/java/org/spacehq/mc/protocol/data/status/VersionInfo.java rename to src/main/java/com/github/steveice10/mc/protocol/data/status/VersionInfo.java index 5ef50325..22a9e4b9 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/status/VersionInfo.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/status/VersionInfo.java @@ -1,6 +1,6 @@ -package org.spacehq.mc.protocol.data.status; +package com.github.steveice10.mc.protocol.data.status; -import org.spacehq.mc.protocol.MinecraftConstants; +import com.github.steveice10.mc.protocol.MinecraftConstants; public class VersionInfo { diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/status/handler/ServerInfoBuilder.java b/src/main/java/com/github/steveice10/mc/protocol/data/status/handler/ServerInfoBuilder.java new file mode 100644 index 00000000..415fd320 --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/status/handler/ServerInfoBuilder.java @@ -0,0 +1,8 @@ +package com.github.steveice10.mc.protocol.data.status.handler; + +import com.github.steveice10.mc.protocol.data.status.ServerStatusInfo; +import com.github.steveice10.packetlib.Session; + +public interface ServerInfoBuilder { + public ServerStatusInfo buildInfo(Session session); +} diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/status/handler/ServerInfoHandler.java b/src/main/java/com/github/steveice10/mc/protocol/data/status/handler/ServerInfoHandler.java new file mode 100644 index 00000000..ed23ef6b --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/status/handler/ServerInfoHandler.java @@ -0,0 +1,9 @@ +package com.github.steveice10.mc.protocol.data.status.handler; + +import com.github.steveice10.mc.protocol.data.status.ServerStatusInfo; +import com.github.steveice10.packetlib.Session; + + +public interface ServerInfoHandler { + public void handle(Session session, ServerStatusInfo info); +} diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/status/handler/ServerPingTimeHandler.java b/src/main/java/com/github/steveice10/mc/protocol/data/status/handler/ServerPingTimeHandler.java new file mode 100644 index 00000000..d87ff6ba --- /dev/null +++ b/src/main/java/com/github/steveice10/mc/protocol/data/status/handler/ServerPingTimeHandler.java @@ -0,0 +1,7 @@ +package com.github.steveice10.mc.protocol.data.status.handler; + +import com.github.steveice10.packetlib.Session; + +public interface ServerPingTimeHandler { + public void handle(Session session, long pingTime); +} diff --git a/src/main/java/org/spacehq/mc/protocol/packet/handshake/client/HandshakePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/handshake/client/HandshakePacket.java similarity index 78% rename from src/main/java/org/spacehq/mc/protocol/packet/handshake/client/HandshakePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/handshake/client/HandshakePacket.java index 69391786..ecbfb34a 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/handshake/client/HandshakePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/handshake/client/HandshakePacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.handshake.client; +package com.github.steveice10.mc.protocol.packet.handshake.client; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.handshake.HandshakeIntent; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.handshake.HandshakeIntent; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientChatPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientChatPacket.java similarity index 72% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientChatPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientChatPacket.java index cf396856..0e257763 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientChatPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientChatPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.client; +package com.github.steveice10.mc.protocol.packet.ingame.client; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientKeepAlivePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientKeepAlivePacket.java similarity index 71% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientKeepAlivePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientKeepAlivePacket.java index cb27acf4..bb6544c0 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientKeepAlivePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientKeepAlivePacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.client; +package com.github.steveice10.mc.protocol.packet.ingame.client; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientPluginMessagePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientPluginMessagePacket.java similarity index 77% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientPluginMessagePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientPluginMessagePacket.java index a67c793a..3c68e89c 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientPluginMessagePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientPluginMessagePacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.client; +package com.github.steveice10.mc.protocol.packet.ingame.client; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientRequestPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientRequestPacket.java similarity index 67% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientRequestPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientRequestPacket.java index 63eaf793..743704d2 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientRequestPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientRequestPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.client; +package com.github.steveice10.mc.protocol.packet.ingame.client; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.ClientRequest; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.ClientRequest; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientResourcePackStatusPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientResourcePackStatusPacket.java similarity index 68% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientResourcePackStatusPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientResourcePackStatusPacket.java index f1f59fe7..f9a4ca45 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientResourcePackStatusPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientResourcePackStatusPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.client; +package com.github.steveice10.mc.protocol.packet.ingame.client; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.ResourcePackStatus; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.ResourcePackStatus; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientSettingsPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientSettingsPacket.java similarity index 82% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientSettingsPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientSettingsPacket.java index 0c19d47b..960cd026 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientSettingsPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientSettingsPacket.java @@ -1,13 +1,13 @@ -package org.spacehq.mc.protocol.packet.ingame.client; +package com.github.steveice10.mc.protocol.packet.ingame.client; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.player.Hand; -import org.spacehq.mc.protocol.data.game.setting.ChatVisibility; -import org.spacehq.mc.protocol.data.game.setting.SkinPart; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.player.Hand; +import com.github.steveice10.mc.protocol.data.game.setting.SkinPart; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.setting.ChatVisibility; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; import java.util.ArrayList; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientTabCompletePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientTabCompletePacket.java similarity index 78% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientTabCompletePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientTabCompletePacket.java index f959d9ff..6d0c80c6 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/ClientTabCompletePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientTabCompletePacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.client; +package com.github.steveice10.mc.protocol.packet.ingame.client; -import org.spacehq.mc.protocol.data.game.entity.metadata.Position; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Position; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerAbilitiesPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerAbilitiesPacket.java similarity index 88% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerAbilitiesPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerAbilitiesPacket.java index 6004cb45..17a02a9b 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerAbilitiesPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerAbilitiesPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.client.player; +package com.github.steveice10.mc.protocol.packet.ingame.client.player; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerActionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerActionPacket.java similarity index 68% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerActionPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerActionPacket.java index ac8cbc2e..7cd2761f 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerActionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerActionPacket.java @@ -1,14 +1,14 @@ -package org.spacehq.mc.protocol.packet.ingame.client.player; +package com.github.steveice10.mc.protocol.packet.ingame.client.player; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.metadata.Position; -import org.spacehq.mc.protocol.data.game.entity.player.PlayerAction; -import org.spacehq.mc.protocol.data.game.world.block.BlockFace; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Position; +import com.github.steveice10.mc.protocol.data.game.entity.player.PlayerAction; +import com.github.steveice10.mc.protocol.data.game.world.block.BlockFace; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerChangeHeldItemPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerChangeHeldItemPacket.java similarity index 72% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerChangeHeldItemPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerChangeHeldItemPacket.java index c814dace..490ef828 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerChangeHeldItemPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerChangeHeldItemPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.client.player; +package com.github.steveice10.mc.protocol.packet.ingame.client.player; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerInteractEntityPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerInteractEntityPacket.java similarity index 84% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerInteractEntityPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerInteractEntityPacket.java index 8081a6db..585c5ee0 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerInteractEntityPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerInteractEntityPacket.java @@ -1,12 +1,12 @@ -package org.spacehq.mc.protocol.packet.ingame.client.player; +package com.github.steveice10.mc.protocol.packet.ingame.client.player; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.player.Hand; -import org.spacehq.mc.protocol.data.game.entity.player.InteractAction; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.player.Hand; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.entity.player.InteractAction; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerMovementPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerMovementPacket.java similarity index 85% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerMovementPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerMovementPacket.java index b7703a37..17e2eb40 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerMovementPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerMovementPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.client.player; +package com.github.steveice10.mc.protocol.packet.ingame.client.player; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerPlaceBlockPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPlaceBlockPacket.java similarity index 76% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerPlaceBlockPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPlaceBlockPacket.java index 0632b2eb..61eb1f0c 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerPlaceBlockPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPlaceBlockPacket.java @@ -1,14 +1,14 @@ -package org.spacehq.mc.protocol.packet.ingame.client.player; +package com.github.steveice10.mc.protocol.packet.ingame.client.player; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.metadata.Position; -import org.spacehq.mc.protocol.data.game.entity.player.Hand; -import org.spacehq.mc.protocol.data.game.world.block.BlockFace; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.world.block.BlockFace; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Position; +import com.github.steveice10.mc.protocol.data.game.entity.player.Hand; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerPositionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPositionPacket.java similarity index 83% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerPositionPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPositionPacket.java index ef55bbd9..e52edb72 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerPositionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPositionPacket.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.packet.ingame.client.player; +package com.github.steveice10.mc.protocol.packet.ingame.client.player; public class ClientPlayerPositionPacket extends ClientPlayerMovementPacket { diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerPositionRotationPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPositionRotationPacket.java similarity index 87% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerPositionRotationPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPositionRotationPacket.java index de1b01e0..2724378a 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerPositionRotationPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPositionRotationPacket.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.packet.ingame.client.player; +package com.github.steveice10.mc.protocol.packet.ingame.client.player; public class ClientPlayerPositionRotationPacket extends ClientPlayerMovementPacket { diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerRotationPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerRotationPacket.java similarity index 83% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerRotationPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerRotationPacket.java index 61ca4d1d..c83d0f29 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerRotationPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerRotationPacket.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.packet.ingame.client.player; +package com.github.steveice10.mc.protocol.packet.ingame.client.player; public class ClientPlayerRotationPacket extends ClientPlayerMovementPacket { diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerStatePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerStatePacket.java similarity index 76% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerStatePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerStatePacket.java index 3b6b0c5f..7e19db11 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerStatePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerStatePacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.client.player; +package com.github.steveice10.mc.protocol.packet.ingame.client.player; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.player.PlayerState; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.entity.player.PlayerState; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerSwingArmPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerSwingArmPacket.java similarity index 65% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerSwingArmPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerSwingArmPacket.java index f233f2dd..3fe6f7e5 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerSwingArmPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerSwingArmPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.client.player; +package com.github.steveice10.mc.protocol.packet.ingame.client.player; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.player.Hand; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.player.Hand; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerUseItemPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerUseItemPacket.java similarity index 65% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerUseItemPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerUseItemPacket.java index 47b18922..69a71d8b 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/player/ClientPlayerUseItemPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerUseItemPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.client.player; +package com.github.steveice10.mc.protocol.packet.ingame.client.player; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.player.Hand; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.player.Hand; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/window/ClientCloseWindowPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientCloseWindowPacket.java similarity index 72% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/window/ClientCloseWindowPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientCloseWindowPacket.java index 53bde6ab..3fba7509 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/window/ClientCloseWindowPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientCloseWindowPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.client.window; +package com.github.steveice10.mc.protocol.packet.ingame.client.window; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/window/ClientConfirmTransactionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientConfirmTransactionPacket.java similarity index 80% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/window/ClientConfirmTransactionPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientConfirmTransactionPacket.java index 5f958ae9..9e1d1dc8 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/window/ClientConfirmTransactionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientConfirmTransactionPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.client.window; +package com.github.steveice10.mc.protocol.packet.ingame.client.window; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/window/ClientCreativeInventoryActionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientCreativeInventoryActionPacket.java similarity index 70% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/window/ClientCreativeInventoryActionPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientCreativeInventoryActionPacket.java index 98ae7555..64d01544 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/window/ClientCreativeInventoryActionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientCreativeInventoryActionPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.client.window; +package com.github.steveice10.mc.protocol.packet.ingame.client.window; -import org.spacehq.mc.protocol.data.game.entity.metadata.ItemStack; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/window/ClientEnchantItemPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientEnchantItemPacket.java similarity index 77% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/window/ClientEnchantItemPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientEnchantItemPacket.java index 8b02b0f0..0e9af96b 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/window/ClientEnchantItemPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientEnchantItemPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.client.window; +package com.github.steveice10.mc.protocol.packet.ingame.client.window; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/window/ClientWindowActionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientWindowActionPacket.java similarity index 77% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/window/ClientWindowActionPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientWindowActionPacket.java index dd0f332a..464b0744 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/window/ClientWindowActionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientWindowActionPacket.java @@ -1,21 +1,21 @@ -package org.spacehq.mc.protocol.packet.ingame.client.window; +package com.github.steveice10.mc.protocol.packet.ingame.client.window; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.metadata.ItemStack; -import org.spacehq.mc.protocol.data.game.window.ClickItemParam; -import org.spacehq.mc.protocol.data.game.window.CreativeGrabParam; -import org.spacehq.mc.protocol.data.game.window.DropItemParam; -import org.spacehq.mc.protocol.data.game.window.FillStackParam; -import org.spacehq.mc.protocol.data.game.window.MoveToHotbarParam; -import org.spacehq.mc.protocol.data.game.window.ShiftClickItemParam; -import org.spacehq.mc.protocol.data.game.window.SpreadItemParam; -import org.spacehq.mc.protocol.data.game.window.WindowAction; -import org.spacehq.mc.protocol.data.game.window.WindowActionParam; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack; +import com.github.steveice10.mc.protocol.data.game.window.ClickItemParam; +import com.github.steveice10.mc.protocol.data.game.window.CreativeGrabParam; +import com.github.steveice10.mc.protocol.data.game.window.SpreadItemParam; +import com.github.steveice10.mc.protocol.data.game.window.WindowAction; +import com.github.steveice10.mc.protocol.data.game.window.WindowActionParam; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.window.DropItemParam; +import com.github.steveice10.mc.protocol.data.game.window.FillStackParam; +import com.github.steveice10.mc.protocol.data.game.window.MoveToHotbarParam; +import com.github.steveice10.mc.protocol.data.game.window.ShiftClickItemParam; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/world/ClientSpectatePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSpectatePacket.java similarity index 72% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/world/ClientSpectatePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSpectatePacket.java index 54db0208..0697707a 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/world/ClientSpectatePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSpectatePacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.client.world; +package com.github.steveice10.mc.protocol.packet.ingame.client.world; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; import java.util.UUID; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/world/ClientSteerBoatPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSteerBoatPacket.java similarity index 76% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/world/ClientSteerBoatPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSteerBoatPacket.java index 5d52628e..9090e3e0 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/world/ClientSteerBoatPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSteerBoatPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.client.world; +package com.github.steveice10.mc.protocol.packet.ingame.client.world; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/world/ClientSteerVehiclePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSteerVehiclePacket.java similarity index 84% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/world/ClientSteerVehiclePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSteerVehiclePacket.java index 5cb77cbe..1b6e98c1 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/world/ClientSteerVehiclePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSteerVehiclePacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.client.world; +package com.github.steveice10.mc.protocol.packet.ingame.client.world; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/world/ClientTeleportConfirmPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientTeleportConfirmPacket.java similarity index 71% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/world/ClientTeleportConfirmPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientTeleportConfirmPacket.java index 22a04b57..2b6adad3 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/world/ClientTeleportConfirmPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientTeleportConfirmPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.client.world; +package com.github.steveice10.mc.protocol.packet.ingame.client.world; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/world/ClientUpdateSignPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientUpdateSignPacket.java similarity index 75% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/world/ClientUpdateSignPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientUpdateSignPacket.java index c9c32e8a..66cdc812 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/world/ClientUpdateSignPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientUpdateSignPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.client.world; +package com.github.steveice10.mc.protocol.packet.ingame.client.world; -import org.spacehq.mc.protocol.data.game.entity.metadata.Position; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Position; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/world/ClientVehicleMovePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientVehicleMovePacket.java similarity index 83% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/client/world/ClientVehicleMovePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientVehicleMovePacket.java index cdbc6bcb..1716dab4 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/client/world/ClientVehicleMovePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientVehicleMovePacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.client.world; +package com.github.steveice10.mc.protocol.packet.ingame.client.world; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerBossBarPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerBossBarPacket.java similarity index 88% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerBossBarPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerBossBarPacket.java index ce26fed6..a17f1046 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerBossBarPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerBossBarPacket.java @@ -1,14 +1,14 @@ -package org.spacehq.mc.protocol.packet.ingame.server; +package com.github.steveice10.mc.protocol.packet.ingame.server; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.BossBarAction; -import org.spacehq.mc.protocol.data.game.BossBarColor; -import org.spacehq.mc.protocol.data.game.BossBarDivision; -import org.spacehq.mc.protocol.data.message.Message; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.BossBarAction; +import com.github.steveice10.mc.protocol.data.game.BossBarColor; +import com.github.steveice10.mc.protocol.data.game.BossBarDivision; +import com.github.steveice10.mc.protocol.data.message.Message; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; import java.util.UUID; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerChatPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerChatPacket.java similarity index 74% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerChatPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerChatPacket.java index 0cbb1d87..0e104494 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerChatPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerChatPacket.java @@ -1,12 +1,12 @@ -package org.spacehq.mc.protocol.packet.ingame.server; +package com.github.steveice10.mc.protocol.packet.ingame.server; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.MessageType; -import org.spacehq.mc.protocol.data.message.Message; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.MessageType; +import com.github.steveice10.mc.protocol.data.message.Message; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerCombatPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerCombatPacket.java similarity index 82% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerCombatPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerCombatPacket.java index 9a885dfa..d0a0c067 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerCombatPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerCombatPacket.java @@ -1,12 +1,12 @@ -package org.spacehq.mc.protocol.packet.ingame.server; +package com.github.steveice10.mc.protocol.packet.ingame.server; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.player.CombatState; -import org.spacehq.mc.protocol.data.message.Message; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.entity.player.CombatState; +import com.github.steveice10.mc.protocol.data.message.Message; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerDifficultyPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDifficultyPacket.java similarity index 67% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerDifficultyPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDifficultyPacket.java index 4d63767b..f944301d 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerDifficultyPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDifficultyPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server; +package com.github.steveice10.mc.protocol.packet.ingame.server; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.setting.Difficulty; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.setting.Difficulty; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerDisconnectPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDisconnectPacket.java similarity index 71% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerDisconnectPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDisconnectPacket.java index 481fbaa9..c2acbeb8 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerDisconnectPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDisconnectPacket.java @@ -1,10 +1,10 @@ -package org.spacehq.mc.protocol.packet.ingame.server; +package com.github.steveice10.mc.protocol.packet.ingame.server; -import org.spacehq.mc.protocol.data.message.Message; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.message.Message; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerJoinGamePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerJoinGamePacket.java similarity index 83% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerJoinGamePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerJoinGamePacket.java index c8e4093c..06306065 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerJoinGamePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerJoinGamePacket.java @@ -1,13 +1,13 @@ -package org.spacehq.mc.protocol.packet.ingame.server; +package com.github.steveice10.mc.protocol.packet.ingame.server; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.player.GameMode; -import org.spacehq.mc.protocol.data.game.setting.Difficulty; -import org.spacehq.mc.protocol.data.game.world.WorldType; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.entity.player.GameMode; +import com.github.steveice10.mc.protocol.data.game.setting.Difficulty; +import com.github.steveice10.mc.protocol.data.game.world.WorldType; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerKeepAlivePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerKeepAlivePacket.java similarity index 71% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerKeepAlivePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerKeepAlivePacket.java index 55b175fd..e3f60eb2 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerKeepAlivePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerKeepAlivePacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server; +package com.github.steveice10.mc.protocol.packet.ingame.server; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerPlayerListDataPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPlayerListDataPacket.java similarity index 75% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerPlayerListDataPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPlayerListDataPacket.java index 0e482ed7..7a6c50d7 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerPlayerListDataPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPlayerListDataPacket.java @@ -1,10 +1,10 @@ -package org.spacehq.mc.protocol.packet.ingame.server; +package com.github.steveice10.mc.protocol.packet.ingame.server; -import org.spacehq.mc.protocol.data.message.Message; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.message.Message; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerPlayerListEntryPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPlayerListEntryPacket.java similarity index 88% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerPlayerListEntryPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPlayerListEntryPacket.java index 03d8b48e..4061721b 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerPlayerListEntryPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPlayerListEntryPacket.java @@ -1,15 +1,15 @@ -package org.spacehq.mc.protocol.packet.ingame.server; +package com.github.steveice10.mc.protocol.packet.ingame.server; -import org.spacehq.mc.auth.data.GameProfile; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.PlayerListEntry; -import org.spacehq.mc.protocol.data.game.PlayerListEntryAction; -import org.spacehq.mc.protocol.data.game.entity.player.GameMode; -import org.spacehq.mc.protocol.data.message.Message; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.PlayerListEntry; +import com.github.steveice10.mc.protocol.data.game.entity.player.GameMode; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.auth.data.GameProfile; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.PlayerListEntryAction; +import com.github.steveice10.mc.protocol.data.message.Message; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; import java.util.UUID; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerPluginMessagePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPluginMessagePacket.java similarity index 77% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerPluginMessagePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPluginMessagePacket.java index 3c095a5e..f805b974 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerPluginMessagePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPluginMessagePacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server; +package com.github.steveice10.mc.protocol.packet.ingame.server; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerResourcePackSendPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerResourcePackSendPacket.java similarity index 76% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerResourcePackSendPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerResourcePackSendPacket.java index c199f8aa..c4314b6a 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerResourcePackSendPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerResourcePackSendPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server; +package com.github.steveice10.mc.protocol.packet.ingame.server; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerRespawnPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerRespawnPacket.java similarity index 75% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerRespawnPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerRespawnPacket.java index 0db39826..fb7a2248 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerRespawnPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerRespawnPacket.java @@ -1,13 +1,13 @@ -package org.spacehq.mc.protocol.packet.ingame.server; +package com.github.steveice10.mc.protocol.packet.ingame.server; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.player.GameMode; -import org.spacehq.mc.protocol.data.game.setting.Difficulty; -import org.spacehq.mc.protocol.data.game.world.WorldType; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.player.GameMode; +import com.github.steveice10.mc.protocol.data.game.world.WorldType; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.setting.Difficulty; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerSetCompressionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSetCompressionPacket.java similarity index 73% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerSetCompressionPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSetCompressionPacket.java index 274c0d31..2c5ac3a2 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerSetCompressionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSetCompressionPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server; +package com.github.steveice10.mc.protocol.packet.ingame.server; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerSetCooldownPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSetCooldownPacket.java similarity index 77% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerSetCooldownPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSetCooldownPacket.java index beb67c8f..18e836f8 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerSetCooldownPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSetCooldownPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server; +package com.github.steveice10.mc.protocol.packet.ingame.server; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerStatisticsPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerStatisticsPacket.java similarity index 79% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerStatisticsPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerStatisticsPacket.java index 2f3adaef..66945ba1 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerStatisticsPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerStatisticsPacket.java @@ -1,17 +1,17 @@ -package org.spacehq.mc.protocol.packet.ingame.server; +package com.github.steveice10.mc.protocol.packet.ingame.server; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.statistic.Achievement; -import org.spacehq.mc.protocol.data.game.statistic.BreakBlockStatistic; -import org.spacehq.mc.protocol.data.game.statistic.BreakItemStatistic; -import org.spacehq.mc.protocol.data.game.statistic.CraftItemStatistic; -import org.spacehq.mc.protocol.data.game.statistic.GenericStatistic; -import org.spacehq.mc.protocol.data.game.statistic.Statistic; -import org.spacehq.mc.protocol.data.game.statistic.UseItemStatistic; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.statistic.Statistic; +import com.github.steveice10.mc.protocol.data.game.statistic.UseItemStatistic; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.statistic.Achievement; +import com.github.steveice10.mc.protocol.data.game.statistic.BreakBlockStatistic; +import com.github.steveice10.mc.protocol.data.game.statistic.BreakItemStatistic; +import com.github.steveice10.mc.protocol.data.game.statistic.CraftItemStatistic; +import com.github.steveice10.mc.protocol.data.game.statistic.GenericStatistic; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; import java.util.HashMap; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerSwitchCameraPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSwitchCameraPacket.java similarity index 73% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerSwitchCameraPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSwitchCameraPacket.java index 5cff6380..74e15ecd 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerSwitchCameraPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSwitchCameraPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server; +package com.github.steveice10.mc.protocol.packet.ingame.server; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerTabCompletePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerTabCompletePacket.java similarity index 77% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerTabCompletePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerTabCompletePacket.java index 37fc7ccf..57ebd7f5 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerTabCompletePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerTabCompletePacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server; +package com.github.steveice10.mc.protocol.packet.ingame.server; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerTitlePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerTitlePacket.java similarity index 89% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerTitlePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerTitlePacket.java index e2b7265d..98484e50 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/ServerTitlePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerTitlePacket.java @@ -1,12 +1,12 @@ -package org.spacehq.mc.protocol.packet.ingame.server; +package com.github.steveice10.mc.protocol.packet.ingame.server; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.TitleAction; -import org.spacehq.mc.protocol.data.message.Message; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.TitleAction; +import com.github.steveice10.mc.protocol.data.message.Message; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityAnimationPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityAnimationPacket.java similarity index 72% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityAnimationPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityAnimationPacket.java index 4dae7e42..12bfe6aa 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityAnimationPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityAnimationPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.player.Animation; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.player.Animation; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityAttachPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityAttachPacket.java similarity index 77% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityAttachPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityAttachPacket.java index 4413a4dc..f77b1de0 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityAttachPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityAttachPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityCollectItemPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityCollectItemPacket.java similarity index 82% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityCollectItemPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityCollectItemPacket.java index 744948a1..60a4648c 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityCollectItemPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityCollectItemPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityDestroyPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityDestroyPacket.java similarity index 77% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityDestroyPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityDestroyPacket.java index a58a7990..b8fc1068 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityDestroyPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityDestroyPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityEffectPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityEffectPacket.java similarity index 83% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityEffectPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityEffectPacket.java index 13f990f4..b9395f39 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityEffectPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityEffectPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.Effect; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.entity.Effect; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityEquipmentPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityEquipmentPacket.java similarity index 69% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityEquipmentPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityEquipmentPacket.java index b41d475b..b2b46aa4 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityEquipmentPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityEquipmentPacket.java @@ -1,13 +1,13 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.EquipmentSlot; -import org.spacehq.mc.protocol.data.game.entity.metadata.ItemStack; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.EquipmentSlot; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityHeadLookPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityHeadLookPacket.java similarity index 77% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityHeadLookPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityHeadLookPacket.java index f2c7f1d3..6669cc13 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityHeadLookPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityHeadLookPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityMetadataPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityMetadataPacket.java similarity index 71% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityMetadataPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityMetadataPacket.java index eba653d4..86179936 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityMetadataPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityMetadataPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; -import org.spacehq.mc.protocol.data.game.entity.metadata.EntityMetadata; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityMovementPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityMovementPacket.java similarity index 88% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityMovementPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityMovementPacket.java index 0755289b..d0c7e802 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityMovementPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityMovementPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityPositionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPositionPacket.java similarity index 85% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityPositionPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPositionPacket.java index 9f968526..08297412 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityPositionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPositionPacket.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; public class ServerEntityPositionPacket extends ServerEntityMovementPacket { diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityPositionRotationPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPositionRotationPacket.java similarity index 88% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityPositionRotationPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPositionRotationPacket.java index 3efa97ec..c6d008b1 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityPositionRotationPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPositionRotationPacket.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; public class ServerEntityPositionRotationPacket extends ServerEntityMovementPacket { diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityPropertiesPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPropertiesPacket.java similarity index 76% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityPropertiesPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPropertiesPacket.java index d5137415..78779cc5 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityPropertiesPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPropertiesPacket.java @@ -1,14 +1,14 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.attribute.Attribute; -import org.spacehq.mc.protocol.data.game.entity.attribute.AttributeModifier; -import org.spacehq.mc.protocol.data.game.entity.attribute.AttributeType; -import org.spacehq.mc.protocol.data.game.entity.attribute.ModifierOperation; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.attribute.ModifierOperation; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.entity.attribute.Attribute; +import com.github.steveice10.mc.protocol.data.game.entity.attribute.AttributeModifier; +import com.github.steveice10.mc.protocol.data.game.entity.attribute.AttributeType; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; import java.util.ArrayList; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityRemoveEffectPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityRemoveEffectPacket.java similarity index 71% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityRemoveEffectPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityRemoveEffectPacket.java index 3c01568e..dae0259a 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityRemoveEffectPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityRemoveEffectPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.Effect; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.entity.Effect; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityRotationPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityRotationPacket.java similarity index 77% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityRotationPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityRotationPacket.java index b5e0e7dd..410b2862 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityRotationPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityRotationPacket.java @@ -1,6 +1,6 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; -import org.spacehq.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.util.ReflectionToString; public class ServerEntityRotationPacket extends ServerEntityMovementPacket { diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntitySetPassengersPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntitySetPassengersPacket.java similarity index 81% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntitySetPassengersPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntitySetPassengersPacket.java index fa16f992..c0774961 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntitySetPassengersPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntitySetPassengersPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityStatusPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityStatusPacket.java similarity index 71% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityStatusPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityStatusPacket.java index 28a318ad..38c917a5 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityStatusPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityStatusPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.EntityStatus; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.entity.EntityStatus; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityTeleportPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityTeleportPacket.java similarity index 87% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityTeleportPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityTeleportPacket.java index ed7f6d09..c023b4b7 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityTeleportPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityTeleportPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityVelocityPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityVelocityPacket.java similarity index 83% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityVelocityPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityVelocityPacket.java index 6fa82406..be6bbbda 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerEntityVelocityPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityVelocityPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerVehicleMovePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerVehicleMovePacket.java similarity index 83% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerVehicleMovePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerVehicleMovePacket.java index 960db2dc..7492b27a 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/ServerVehicleMovePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerVehicleMovePacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/player/ServerPlayerAbilitiesPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerAbilitiesPacket.java similarity index 87% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/player/ServerPlayerAbilitiesPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerAbilitiesPacket.java index f8822c1a..8db467f5 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/player/ServerPlayerAbilitiesPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerAbilitiesPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity.player; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity.player; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/player/ServerPlayerChangeHeldItemPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerChangeHeldItemPacket.java similarity index 71% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/player/ServerPlayerChangeHeldItemPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerChangeHeldItemPacket.java index 5800566b..02b26904 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/player/ServerPlayerChangeHeldItemPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerChangeHeldItemPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity.player; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity.player; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/player/ServerPlayerHealthPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerHealthPacket.java similarity index 79% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/player/ServerPlayerHealthPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerHealthPacket.java index f008dec7..a35e89e8 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/player/ServerPlayerHealthPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerHealthPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity.player; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity.player; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/player/ServerPlayerPositionRotationPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerPositionRotationPacket.java similarity index 85% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/player/ServerPlayerPositionRotationPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerPositionRotationPacket.java index 9e76ad6f..1b3de778 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/player/ServerPlayerPositionRotationPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerPositionRotationPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity.player; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity.player; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.player.PositionElement; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.entity.player.PositionElement; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; import java.util.ArrayList; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/player/ServerPlayerSetExperiencePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerSetExperiencePacket.java similarity index 80% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/player/ServerPlayerSetExperiencePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerSetExperiencePacket.java index 6164152c..bff14f13 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/player/ServerPlayerSetExperiencePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerSetExperiencePacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity.player; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity.player; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/player/ServerPlayerUseBedPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerUseBedPacket.java similarity index 70% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/player/ServerPlayerUseBedPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerUseBedPacket.java index bf60ce46..35f1f426 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/player/ServerPlayerUseBedPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerUseBedPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity.player; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity.player; -import org.spacehq.mc.protocol.data.game.entity.metadata.Position; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Position; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnExpOrbPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnExpOrbPacket.java similarity index 83% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnExpOrbPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnExpOrbPacket.java index 9cdceab6..491a1171 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnExpOrbPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnExpOrbPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity.spawn; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity.spawn; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnGlobalEntityPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnGlobalEntityPacket.java similarity index 78% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnGlobalEntityPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnGlobalEntityPacket.java index 79e3e164..c45f7ea2 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnGlobalEntityPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnGlobalEntityPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity.spawn; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity.spawn; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.type.GlobalEntityType; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.entity.type.GlobalEntityType; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnMobPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnMobPacket.java similarity index 85% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnMobPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnMobPacket.java index e904d642..4f094659 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnMobPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnMobPacket.java @@ -1,13 +1,13 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity.spawn; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity.spawn; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.metadata.EntityMetadata; -import org.spacehq.mc.protocol.data.game.entity.type.MobType; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata; +import com.github.steveice10.mc.protocol.data.game.entity.type.MobType; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; import java.util.UUID; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnObjectPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnObjectPacket.java similarity index 85% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnObjectPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnObjectPacket.java index 5aa69c9c..e256abf2 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnObjectPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnObjectPacket.java @@ -1,17 +1,17 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity.spawn; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity.spawn; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.type.object.FallingBlockData; -import org.spacehq.mc.protocol.data.game.entity.type.object.HangingDirection; -import org.spacehq.mc.protocol.data.game.entity.type.object.MinecartType; -import org.spacehq.mc.protocol.data.game.entity.type.object.ObjectData; -import org.spacehq.mc.protocol.data.game.entity.type.object.ObjectType; -import org.spacehq.mc.protocol.data.game.entity.type.object.ProjectileData; -import org.spacehq.mc.protocol.data.game.entity.type.object.SplashPotionData; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.type.object.ProjectileData; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.entity.type.object.FallingBlockData; +import com.github.steveice10.mc.protocol.data.game.entity.type.object.HangingDirection; +import com.github.steveice10.mc.protocol.data.game.entity.type.object.MinecartType; +import com.github.steveice10.mc.protocol.data.game.entity.type.object.ObjectData; +import com.github.steveice10.mc.protocol.data.game.entity.type.object.ObjectType; +import com.github.steveice10.mc.protocol.data.game.entity.type.object.SplashPotionData; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; import java.util.UUID; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPaintingPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPaintingPacket.java similarity index 74% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPaintingPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPaintingPacket.java index a00b931f..df80bcf6 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPaintingPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPaintingPacket.java @@ -1,14 +1,14 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity.spawn; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity.spawn; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.metadata.Position; -import org.spacehq.mc.protocol.data.game.entity.type.PaintingType; -import org.spacehq.mc.protocol.data.game.entity.type.object.HangingDirection; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Position; +import com.github.steveice10.mc.protocol.data.game.entity.type.PaintingType; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.entity.type.object.HangingDirection; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; import java.util.UUID; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPlayerPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPlayerPacket.java similarity index 83% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPlayerPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPlayerPacket.java index dc6f9f22..dbaa4fee 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPlayerPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPlayerPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.entity.spawn; +package com.github.steveice10.mc.protocol.packet.ingame.server.entity.spawn; -import org.spacehq.mc.protocol.data.game.entity.metadata.EntityMetadata; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; import java.util.UUID; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/scoreboard/ServerDisplayScoreboardPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerDisplayScoreboardPacket.java similarity index 71% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/scoreboard/ServerDisplayScoreboardPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerDisplayScoreboardPacket.java index 402183ee..aeb27676 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/scoreboard/ServerDisplayScoreboardPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerDisplayScoreboardPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.scoreboard; +package com.github.steveice10.mc.protocol.packet.ingame.server.scoreboard; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.scoreboard.ScoreboardPosition; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.scoreboard.ScoreboardPosition; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/scoreboard/ServerScoreboardObjectivePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerScoreboardObjectivePacket.java similarity index 81% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/scoreboard/ServerScoreboardObjectivePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerScoreboardObjectivePacket.java index ee50175c..038f2b73 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/scoreboard/ServerScoreboardObjectivePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerScoreboardObjectivePacket.java @@ -1,12 +1,12 @@ -package org.spacehq.mc.protocol.packet.ingame.server.scoreboard; +package com.github.steveice10.mc.protocol.packet.ingame.server.scoreboard; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.scoreboard.ObjectiveAction; -import org.spacehq.mc.protocol.data.game.scoreboard.ScoreType; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.scoreboard.ScoreType; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.scoreboard.ObjectiveAction; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/scoreboard/ServerTeamPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerTeamPacket.java similarity index 89% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/scoreboard/ServerTeamPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerTeamPacket.java index a1e290c9..7646b0d1 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/scoreboard/ServerTeamPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerTeamPacket.java @@ -1,14 +1,14 @@ -package org.spacehq.mc.protocol.packet.ingame.server.scoreboard; +package com.github.steveice10.mc.protocol.packet.ingame.server.scoreboard; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.scoreboard.CollisionRule; -import org.spacehq.mc.protocol.data.game.scoreboard.NameTagVisibility; -import org.spacehq.mc.protocol.data.game.scoreboard.TeamAction; -import org.spacehq.mc.protocol.data.game.scoreboard.TeamColor; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.scoreboard.CollisionRule; +import com.github.steveice10.mc.protocol.data.game.scoreboard.NameTagVisibility; +import com.github.steveice10.mc.protocol.data.game.scoreboard.TeamAction; +import com.github.steveice10.mc.protocol.data.game.scoreboard.TeamColor; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/scoreboard/ServerUpdateScorePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerUpdateScorePacket.java similarity index 80% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/scoreboard/ServerUpdateScorePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerUpdateScorePacket.java index ad91bb0d..44b03a02 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/scoreboard/ServerUpdateScorePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerUpdateScorePacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.scoreboard; +package com.github.steveice10.mc.protocol.packet.ingame.server.scoreboard; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.scoreboard.ScoreboardAction; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.scoreboard.ScoreboardAction; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/window/ServerCloseWindowPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerCloseWindowPacket.java similarity index 72% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/window/ServerCloseWindowPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerCloseWindowPacket.java index 7492f8a4..dcebe417 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/window/ServerCloseWindowPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerCloseWindowPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server.window; +package com.github.steveice10.mc.protocol.packet.ingame.server.window; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/window/ServerConfirmTransactionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerConfirmTransactionPacket.java similarity index 80% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/window/ServerConfirmTransactionPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerConfirmTransactionPacket.java index ee53b0c1..5ed0ca6b 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/window/ServerConfirmTransactionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerConfirmTransactionPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server.window; +package com.github.steveice10.mc.protocol.packet.ingame.server.window; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/window/ServerOpenWindowPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerOpenWindowPacket.java similarity index 82% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/window/ServerOpenWindowPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerOpenWindowPacket.java index 20be7e11..9b2dadb4 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/window/ServerOpenWindowPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerOpenWindowPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.window; +package com.github.steveice10.mc.protocol.packet.ingame.server.window; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.window.WindowType; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.window.WindowType; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/window/ServerSetSlotPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerSetSlotPacket.java similarity index 73% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/window/ServerSetSlotPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerSetSlotPacket.java index a1a011ec..adff631b 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/window/ServerSetSlotPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerSetSlotPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.window; +package com.github.steveice10.mc.protocol.packet.ingame.server.window; -import org.spacehq.mc.protocol.data.game.entity.metadata.ItemStack; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/window/ServerWindowItemsPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerWindowItemsPacket.java similarity index 74% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/window/ServerWindowItemsPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerWindowItemsPacket.java index 740dcb51..24365160 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/window/ServerWindowItemsPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerWindowItemsPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.window; +package com.github.steveice10.mc.protocol.packet.ingame.server.window; -import org.spacehq.mc.protocol.data.game.entity.metadata.ItemStack; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/window/ServerWindowPropertyPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerWindowPropertyPacket.java similarity index 78% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/window/ServerWindowPropertyPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerWindowPropertyPacket.java index 9676cc61..8c14bfbb 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/window/ServerWindowPropertyPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerWindowPropertyPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.window; +package com.github.steveice10.mc.protocol.packet.ingame.server.window; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.window.property.WindowProperty; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.window.property.WindowProperty; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerBlockBreakAnimPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockBreakAnimPacket.java similarity index 72% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerBlockBreakAnimPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockBreakAnimPacket.java index 1913390d..29ccd16a 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerBlockBreakAnimPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockBreakAnimPacket.java @@ -1,13 +1,13 @@ -package org.spacehq.mc.protocol.packet.ingame.server.world; +package com.github.steveice10.mc.protocol.packet.ingame.server.world; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.metadata.Position; -import org.spacehq.mc.protocol.data.game.entity.player.BlockBreakStage; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Position; +import com.github.steveice10.mc.protocol.data.game.entity.player.BlockBreakStage; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerBlockChangePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockChangePacket.java similarity index 68% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerBlockChangePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockChangePacket.java index 9dc5df51..6a5d9109 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerBlockChangePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockChangePacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.world; +package com.github.steveice10.mc.protocol.packet.ingame.server.world; -import org.spacehq.mc.protocol.data.game.world.block.BlockChangeRecord; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.world.block.BlockChangeRecord; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerBlockValuePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockValuePacket.java similarity index 73% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerBlockValuePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockValuePacket.java index 37b6ef12..87332cde 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerBlockValuePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockValuePacket.java @@ -1,24 +1,24 @@ -package org.spacehq.mc.protocol.packet.ingame.server.world; +package com.github.steveice10.mc.protocol.packet.ingame.server.world; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.metadata.Position; -import org.spacehq.mc.protocol.data.game.world.block.value.BlockValue; -import org.spacehq.mc.protocol.data.game.world.block.value.BlockValueType; -import org.spacehq.mc.protocol.data.game.world.block.value.ChestValue; -import org.spacehq.mc.protocol.data.game.world.block.value.ChestValueType; -import org.spacehq.mc.protocol.data.game.world.block.value.GenericBlockValue; -import org.spacehq.mc.protocol.data.game.world.block.value.GenericBlockValueType; -import org.spacehq.mc.protocol.data.game.world.block.value.MobSpawnerValue; -import org.spacehq.mc.protocol.data.game.world.block.value.MobSpawnerValueType; -import org.spacehq.mc.protocol.data.game.world.block.value.NoteBlockValue; -import org.spacehq.mc.protocol.data.game.world.block.value.NoteBlockValueType; -import org.spacehq.mc.protocol.data.game.world.block.value.PistonValue; -import org.spacehq.mc.protocol.data.game.world.block.value.PistonValueType; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Position; +import com.github.steveice10.mc.protocol.data.game.world.block.value.BlockValueType; +import com.github.steveice10.mc.protocol.data.game.world.block.value.ChestValue; +import com.github.steveice10.mc.protocol.data.game.world.block.value.ChestValueType; +import com.github.steveice10.mc.protocol.data.game.world.block.value.GenericBlockValueType; +import com.github.steveice10.mc.protocol.data.game.world.block.value.MobSpawnerValueType; +import com.github.steveice10.mc.protocol.data.game.world.block.value.NoteBlockValue; +import com.github.steveice10.mc.protocol.data.game.world.block.value.NoteBlockValueType; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.world.block.value.BlockValue; +import com.github.steveice10.mc.protocol.data.game.world.block.value.GenericBlockValue; +import com.github.steveice10.mc.protocol.data.game.world.block.value.MobSpawnerValue; +import com.github.steveice10.mc.protocol.data.game.world.block.value.PistonValue; +import com.github.steveice10.mc.protocol.data.game.world.block.value.PistonValueType; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerChunkDataPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerChunkDataPacket.java similarity index 77% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerChunkDataPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerChunkDataPacket.java index f48c6119..b308a90d 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerChunkDataPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerChunkDataPacket.java @@ -1,13 +1,13 @@ -package org.spacehq.mc.protocol.packet.ingame.server.world; +package com.github.steveice10.mc.protocol.packet.ingame.server.world; -import org.spacehq.mc.protocol.data.game.chunk.Column; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.opennbt.tag.builtin.CompoundTag; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.io.stream.StreamNetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.chunk.Column; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.opennbt.tag.builtin.CompoundTag; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.io.stream.StreamNetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.ByteArrayOutputStream; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerExplosionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerExplosionPacket.java similarity index 87% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerExplosionPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerExplosionPacket.java index 673c59be..274607ea 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerExplosionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerExplosionPacket.java @@ -1,10 +1,10 @@ -package org.spacehq.mc.protocol.packet.ingame.server.world; +package com.github.steveice10.mc.protocol.packet.ingame.server.world; -import org.spacehq.mc.protocol.data.game.world.block.ExplodedBlockRecord; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.world.block.ExplodedBlockRecord; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; import java.util.ArrayList; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerMapDataPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerMapDataPacket.java similarity index 85% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerMapDataPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerMapDataPacket.java index a0667b39..1e4c9d02 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerMapDataPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerMapDataPacket.java @@ -1,13 +1,13 @@ -package org.spacehq.mc.protocol.packet.ingame.server.world; +package com.github.steveice10.mc.protocol.packet.ingame.server.world; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.world.map.MapData; -import org.spacehq.mc.protocol.data.game.world.map.MapIcon; -import org.spacehq.mc.protocol.data.game.world.map.MapIconType; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.world.map.MapData; +import com.github.steveice10.mc.protocol.data.game.world.map.MapIconType; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.world.map.MapIcon; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerMultiBlockChangePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerMultiBlockChangePacket.java similarity index 77% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerMultiBlockChangePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerMultiBlockChangePacket.java index 70d4c26a..030d3a64 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerMultiBlockChangePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerMultiBlockChangePacket.java @@ -1,13 +1,13 @@ -package org.spacehq.mc.protocol.packet.ingame.server.world; +package com.github.steveice10.mc.protocol.packet.ingame.server.world; -import org.spacehq.mc.protocol.data.game.entity.metadata.Position; -import org.spacehq.mc.protocol.data.game.world.block.BlockChangeRecord; -import org.spacehq.mc.protocol.data.game.world.block.BlockState; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Position; +import com.github.steveice10.mc.protocol.data.game.world.block.BlockChangeRecord; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.game.world.block.BlockState; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerNotifyClientPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerNotifyClientPacket.java similarity index 71% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerNotifyClientPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerNotifyClientPacket.java index e44dc4d2..a41335f8 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerNotifyClientPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerNotifyClientPacket.java @@ -1,17 +1,17 @@ -package org.spacehq.mc.protocol.packet.ingame.server.world; +package com.github.steveice10.mc.protocol.packet.ingame.server.world; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.player.GameMode; -import org.spacehq.mc.protocol.data.game.world.notify.ClientNotification; -import org.spacehq.mc.protocol.data.game.world.notify.ClientNotificationValue; -import org.spacehq.mc.protocol.data.game.world.notify.DemoMessageValue; -import org.spacehq.mc.protocol.data.game.world.notify.EnterCreditsValue; -import org.spacehq.mc.protocol.data.game.world.notify.RainStrengthValue; -import org.spacehq.mc.protocol.data.game.world.notify.ThunderStrengthValue; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.player.GameMode; +import com.github.steveice10.mc.protocol.data.game.world.notify.EnterCreditsValue; +import com.github.steveice10.mc.protocol.data.game.world.notify.RainStrengthValue; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.world.notify.ClientNotification; +import com.github.steveice10.mc.protocol.data.game.world.notify.ClientNotificationValue; +import com.github.steveice10.mc.protocol.data.game.world.notify.DemoMessageValue; +import com.github.steveice10.mc.protocol.data.game.world.notify.ThunderStrengthValue; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerOpenTileEntityEditorPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerOpenTileEntityEditorPacket.java similarity index 66% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerOpenTileEntityEditorPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerOpenTileEntityEditorPacket.java index c8cc3c8b..83ed04fd 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerOpenTileEntityEditorPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerOpenTileEntityEditorPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.world; +package com.github.steveice10.mc.protocol.packet.ingame.server.world; -import org.spacehq.mc.protocol.data.game.entity.metadata.Position; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Position; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerPlayBuiltinSoundPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlayBuiltinSoundPacket.java similarity index 80% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerPlayBuiltinSoundPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlayBuiltinSoundPacket.java index 52c29f50..8d35adfb 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerPlayBuiltinSoundPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlayBuiltinSoundPacket.java @@ -1,12 +1,12 @@ -package org.spacehq.mc.protocol.packet.ingame.server.world; +package com.github.steveice10.mc.protocol.packet.ingame.server.world; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.world.sound.BuiltinSound; -import org.spacehq.mc.protocol.data.game.world.sound.SoundCategory; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.world.sound.SoundCategory; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.world.sound.BuiltinSound; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerPlayEffectPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlayEffectPacket.java similarity index 70% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerPlayEffectPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlayEffectPacket.java index 2bfdfd16..07668cac 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerPlayEffectPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlayEffectPacket.java @@ -1,22 +1,22 @@ -package org.spacehq.mc.protocol.packet.ingame.server.world; +package com.github.steveice10.mc.protocol.packet.ingame.server.world; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.metadata.Position; -import org.spacehq.mc.protocol.data.game.world.block.BlockState; -import org.spacehq.mc.protocol.data.game.world.effect.BonemealGrowEffectData; -import org.spacehq.mc.protocol.data.game.world.effect.BreakBlockEffectData; -import org.spacehq.mc.protocol.data.game.world.effect.BreakPotionEffectData; -import org.spacehq.mc.protocol.data.game.world.effect.ParticleEffect; -import org.spacehq.mc.protocol.data.game.world.effect.RecordEffectData; -import org.spacehq.mc.protocol.data.game.world.effect.SmokeEffectData; -import org.spacehq.mc.protocol.data.game.world.effect.SoundEffect; -import org.spacehq.mc.protocol.data.game.world.effect.WorldEffect; -import org.spacehq.mc.protocol.data.game.world.effect.WorldEffectData; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Position; +import com.github.steveice10.mc.protocol.data.game.world.effect.SmokeEffectData; +import com.github.steveice10.mc.protocol.data.game.world.effect.SoundEffect; +import com.github.steveice10.mc.protocol.data.game.world.effect.WorldEffectData; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.world.block.BlockState; +import com.github.steveice10.mc.protocol.data.game.world.effect.BonemealGrowEffectData; +import com.github.steveice10.mc.protocol.data.game.world.effect.BreakBlockEffectData; +import com.github.steveice10.mc.protocol.data.game.world.effect.BreakPotionEffectData; +import com.github.steveice10.mc.protocol.data.game.world.effect.ParticleEffect; +import com.github.steveice10.mc.protocol.data.game.world.effect.RecordEffectData; +import com.github.steveice10.mc.protocol.data.game.world.effect.WorldEffect; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerPlaySoundPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlaySoundPacket.java similarity index 79% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerPlaySoundPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlaySoundPacket.java index 262ec17c..90ff25ad 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerPlaySoundPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlaySoundPacket.java @@ -1,14 +1,14 @@ -package org.spacehq.mc.protocol.packet.ingame.server.world; +package com.github.steveice10.mc.protocol.packet.ingame.server.world; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.world.sound.BuiltinSound; -import org.spacehq.mc.protocol.data.game.world.sound.CustomSound; -import org.spacehq.mc.protocol.data.game.world.sound.Sound; -import org.spacehq.mc.protocol.data.game.world.sound.SoundCategory; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.world.sound.CustomSound; +import com.github.steveice10.mc.protocol.data.game.world.sound.Sound; +import com.github.steveice10.mc.protocol.data.game.world.sound.SoundCategory; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.game.world.sound.BuiltinSound; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerSpawnParticlePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerSpawnParticlePacket.java similarity index 88% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerSpawnParticlePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerSpawnParticlePacket.java index aaca065e..22219677 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerSpawnParticlePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerSpawnParticlePacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.world; +package com.github.steveice10.mc.protocol.packet.ingame.server.world; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.world.Particle; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.world.Particle; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerSpawnPositionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerSpawnPositionPacket.java similarity index 65% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerSpawnPositionPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerSpawnPositionPacket.java index 0b02d048..29fa52fe 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerSpawnPositionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerSpawnPositionPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.world; +package com.github.steveice10.mc.protocol.packet.ingame.server.world; -import org.spacehq.mc.protocol.data.game.entity.metadata.Position; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Position; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerUnloadChunkPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUnloadChunkPacket.java similarity index 74% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerUnloadChunkPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUnloadChunkPacket.java index 0b7f0ad7..68580c3b 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerUnloadChunkPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUnloadChunkPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server.world; +package com.github.steveice10.mc.protocol.packet.ingame.server.world; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerUpdateTileEntityPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateTileEntityPacket.java similarity index 68% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerUpdateTileEntityPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateTileEntityPacket.java index 035636d2..2257439f 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerUpdateTileEntityPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateTileEntityPacket.java @@ -1,14 +1,14 @@ -package org.spacehq.mc.protocol.packet.ingame.server.world; +package com.github.steveice10.mc.protocol.packet.ingame.server.world; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.metadata.Position; -import org.spacehq.mc.protocol.data.game.world.block.UpdatedTileType; -import org.spacehq.mc.protocol.util.NetUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.opennbt.tag.builtin.CompoundTag; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Position; +import com.github.steveice10.mc.protocol.data.game.world.block.UpdatedTileType; +import com.github.steveice10.mc.protocol.util.NetUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.opennbt.tag.builtin.CompoundTag; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerUpdateTimePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateTimePacket.java similarity index 75% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerUpdateTimePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateTimePacket.java index 5a0addd2..c3c10895 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerUpdateTimePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateTimePacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.ingame.server.world; +package com.github.steveice10.mc.protocol.packet.ingame.server.world; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerWorldBorderPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerWorldBorderPacket.java similarity index 92% rename from src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerWorldBorderPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerWorldBorderPacket.java index 1f627b3d..4d237afb 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerWorldBorderPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerWorldBorderPacket.java @@ -1,11 +1,11 @@ -package org.spacehq.mc.protocol.packet.ingame.server.world; +package com.github.steveice10.mc.protocol.packet.ingame.server.world; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.world.WorldBorderAction; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.world.WorldBorderAction; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/login/client/EncryptionResponsePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/login/client/EncryptionResponsePacket.java similarity index 81% rename from src/main/java/org/spacehq/mc/protocol/packet/login/client/EncryptionResponsePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/login/client/EncryptionResponsePacket.java index d2d4eef9..cd2a6cac 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/login/client/EncryptionResponsePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/login/client/EncryptionResponsePacket.java @@ -1,11 +1,12 @@ -package org.spacehq.mc.protocol.packet.login.client; +package com.github.steveice10.mc.protocol.packet.login.client; import javax.crypto.SecretKey; -import org.spacehq.mc.protocol.util.CryptUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; + +import com.github.steveice10.mc.protocol.util.CryptUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; import java.security.PrivateKey; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/login/client/LoginStartPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/login/client/LoginStartPacket.java similarity index 72% rename from src/main/java/org/spacehq/mc/protocol/packet/login/client/LoginStartPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/login/client/LoginStartPacket.java index 8de4600c..0313a02e 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/login/client/LoginStartPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/login/client/LoginStartPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.login.client; +package com.github.steveice10.mc.protocol.packet.login.client; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/login/server/EncryptionRequestPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/EncryptionRequestPacket.java similarity index 81% rename from src/main/java/org/spacehq/mc/protocol/packet/login/server/EncryptionRequestPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/login/server/EncryptionRequestPacket.java index 20187c62..343386a2 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/login/server/EncryptionRequestPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/EncryptionRequestPacket.java @@ -1,10 +1,10 @@ -package org.spacehq.mc.protocol.packet.login.server; +package com.github.steveice10.mc.protocol.packet.login.server; -import org.spacehq.mc.protocol.util.CryptUtil; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.CryptUtil; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; import java.security.PublicKey; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/login/server/LoginDisconnectPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginDisconnectPacket.java similarity index 71% rename from src/main/java/org/spacehq/mc/protocol/packet/login/server/LoginDisconnectPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginDisconnectPacket.java index 0b17c884..117f861f 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/login/server/LoginDisconnectPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginDisconnectPacket.java @@ -1,10 +1,10 @@ -package org.spacehq.mc.protocol.packet.login.server; +package com.github.steveice10.mc.protocol.packet.login.server; -import org.spacehq.mc.protocol.data.message.Message; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.data.message.Message; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/login/server/LoginSetCompressionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginSetCompressionPacket.java similarity index 73% rename from src/main/java/org/spacehq/mc/protocol/packet/login/server/LoginSetCompressionPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginSetCompressionPacket.java index 569afbdf..9532fced 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/login/server/LoginSetCompressionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginSetCompressionPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.login.server; +package com.github.steveice10.mc.protocol.packet.login.server; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/login/server/LoginSuccessPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginSuccessPacket.java similarity index 71% rename from src/main/java/org/spacehq/mc/protocol/packet/login/server/LoginSuccessPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginSuccessPacket.java index c58db018..458770ee 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/login/server/LoginSuccessPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginSuccessPacket.java @@ -1,10 +1,10 @@ -package org.spacehq.mc.protocol.packet.login.server; +package com.github.steveice10.mc.protocol.packet.login.server; -import org.spacehq.mc.auth.data.GameProfile; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.mc.auth.data.GameProfile; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/status/client/StatusPingPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/status/client/StatusPingPacket.java similarity index 71% rename from src/main/java/org/spacehq/mc/protocol/packet/status/client/StatusPingPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/status/client/StatusPingPacket.java index cfc6ba0c..1289f68e 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/status/client/StatusPingPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/status/client/StatusPingPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.status.client; +package com.github.steveice10.mc.protocol.packet.status.client; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/status/client/StatusQueryPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/status/client/StatusQueryPacket.java similarity index 61% rename from src/main/java/org/spacehq/mc/protocol/packet/status/client/StatusQueryPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/status/client/StatusQueryPacket.java index 256c72f0..242cfc4d 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/status/client/StatusQueryPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/status/client/StatusQueryPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.status.client; +package com.github.steveice10.mc.protocol.packet.status.client; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/status/server/StatusPongPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/status/server/StatusPongPacket.java similarity index 71% rename from src/main/java/org/spacehq/mc/protocol/packet/status/server/StatusPongPacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/status/server/StatusPongPacket.java index ecfa5190..719b65d9 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/status/server/StatusPongPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/status/server/StatusPongPacket.java @@ -1,9 +1,9 @@ -package org.spacehq.mc.protocol.packet.status.server; +package com.github.steveice10.mc.protocol.packet.status.server; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.protocol.util.ReflectionToString; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/status/server/StatusResponsePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/status/server/StatusResponsePacket.java similarity index 87% rename from src/main/java/org/spacehq/mc/protocol/packet/status/server/StatusResponsePacket.java rename to src/main/java/com/github/steveice10/mc/protocol/packet/status/server/StatusResponsePacket.java index d4b48160..d6672849 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/status/server/StatusResponsePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/status/server/StatusResponsePacket.java @@ -1,20 +1,20 @@ -package org.spacehq.mc.protocol.packet.status.server; +package com.github.steveice10.mc.protocol.packet.status.server; +import com.github.steveice10.mc.protocol.data.message.Message; +import com.github.steveice10.mc.protocol.data.status.ServerStatusInfo; +import com.github.steveice10.mc.protocol.data.status.VersionInfo; +import com.github.steveice10.mc.protocol.util.ReflectionToString; import com.google.gson.Gson; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import javax.imageio.ImageIO; -import org.spacehq.mc.auth.data.GameProfile; -import org.spacehq.mc.auth.util.Base64; -import org.spacehq.mc.protocol.data.message.Message; -import org.spacehq.mc.protocol.data.status.PlayerInfo; -import org.spacehq.mc.protocol.data.status.ServerStatusInfo; -import org.spacehq.mc.protocol.data.status.VersionInfo; -import org.spacehq.mc.protocol.util.ReflectionToString; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.packet.Packet; +import com.github.steveice10.mc.auth.data.GameProfile; +import com.github.steveice10.mc.auth.util.Base64; +import com.github.steveice10.mc.protocol.data.status.PlayerInfo; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.packet.Packet; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; diff --git a/src/main/java/org/spacehq/mc/protocol/util/CryptUtil.java b/src/main/java/com/github/steveice10/mc/protocol/util/CryptUtil.java similarity index 98% rename from src/main/java/org/spacehq/mc/protocol/util/CryptUtil.java rename to src/main/java/com/github/steveice10/mc/protocol/util/CryptUtil.java index 3afebbfa..740bb5d7 100644 --- a/src/main/java/org/spacehq/mc/protocol/util/CryptUtil.java +++ b/src/main/java/com/github/steveice10/mc/protocol/util/CryptUtil.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.util; +package com.github.steveice10.mc.protocol.util; import javax.crypto.Cipher; import javax.crypto.KeyGenerator; diff --git a/src/main/java/org/spacehq/mc/protocol/util/NetUtil.java b/src/main/java/com/github/steveice10/mc/protocol/util/NetUtil.java similarity index 89% rename from src/main/java/org/spacehq/mc/protocol/util/NetUtil.java rename to src/main/java/com/github/steveice10/mc/protocol/util/NetUtil.java index 8502c18c..cfb4d268 100644 --- a/src/main/java/org/spacehq/mc/protocol/util/NetUtil.java +++ b/src/main/java/com/github/steveice10/mc/protocol/util/NetUtil.java @@ -1,23 +1,23 @@ -package org.spacehq.mc.protocol.util; +package com.github.steveice10.mc.protocol.util; -import org.spacehq.mc.protocol.data.game.world.block.BlockState; -import org.spacehq.mc.protocol.data.game.entity.metadata.EntityMetadata; -import org.spacehq.mc.protocol.data.game.entity.metadata.ItemStack; -import org.spacehq.mc.protocol.data.game.entity.metadata.Position; -import org.spacehq.mc.protocol.data.game.entity.metadata.Rotation; -import org.spacehq.mc.protocol.data.game.chunk.BlockStorage; -import org.spacehq.mc.protocol.data.game.chunk.Chunk; -import org.spacehq.mc.protocol.data.game.chunk.Column; -import org.spacehq.mc.protocol.data.game.chunk.NibbleArray3d; -import org.spacehq.mc.protocol.data.MagicValues; -import org.spacehq.mc.protocol.data.game.entity.metadata.MetadataType; -import org.spacehq.mc.protocol.data.game.world.block.BlockFace; -import org.spacehq.mc.protocol.data.message.Message; -import org.spacehq.opennbt.NBTIO; -import org.spacehq.opennbt.tag.builtin.CompoundTag; -import org.spacehq.packetlib.io.NetInput; -import org.spacehq.packetlib.io.NetOutput; -import org.spacehq.packetlib.io.stream.StreamNetInput; +import com.github.steveice10.mc.protocol.data.game.chunk.Chunk; +import com.github.steveice10.mc.protocol.data.game.chunk.NibbleArray3d; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Position; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Rotation; +import com.github.steveice10.mc.protocol.data.game.world.block.BlockFace; +import com.github.steveice10.mc.protocol.data.game.world.block.BlockState; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata; +import com.github.steveice10.mc.protocol.data.game.chunk.BlockStorage; +import com.github.steveice10.mc.protocol.data.game.chunk.Column; +import com.github.steveice10.mc.protocol.data.MagicValues; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.MetadataType; +import com.github.steveice10.mc.protocol.data.message.Message; +import com.github.steveice10.opennbt.NBTIO; +import com.github.steveice10.opennbt.tag.builtin.CompoundTag; +import com.github.steveice10.packetlib.io.NetInput; +import com.github.steveice10.packetlib.io.NetOutput; +import com.github.steveice10.packetlib.io.stream.StreamNetInput; import java.io.ByteArrayInputStream; import java.io.IOException; diff --git a/src/main/java/org/spacehq/mc/protocol/util/ReflectionToString.java b/src/main/java/com/github/steveice10/mc/protocol/util/ReflectionToString.java similarity index 97% rename from src/main/java/org/spacehq/mc/protocol/util/ReflectionToString.java rename to src/main/java/com/github/steveice10/mc/protocol/util/ReflectionToString.java index 3fdfbf77..7170a3b2 100644 --- a/src/main/java/org/spacehq/mc/protocol/util/ReflectionToString.java +++ b/src/main/java/com/github/steveice10/mc/protocol/util/ReflectionToString.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.util; +package com.github.steveice10.mc.protocol.util; import java.lang.reflect.Array; import java.lang.reflect.Field; diff --git a/src/main/java/org/spacehq/mc/protocol/ServerLoginHandler.java b/src/main/java/org/spacehq/mc/protocol/ServerLoginHandler.java deleted file mode 100644 index 6747ad49..00000000 --- a/src/main/java/org/spacehq/mc/protocol/ServerLoginHandler.java +++ /dev/null @@ -1,7 +0,0 @@ -package org.spacehq.mc.protocol; - -import org.spacehq.packetlib.Session; - -public interface ServerLoginHandler { - public void loggedIn(Session session); -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/GameMode.java b/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/GameMode.java deleted file mode 100644 index 43e82c51..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/GameMode.java +++ /dev/null @@ -1,12 +0,0 @@ -package org.spacehq.mc.protocol.data.game.entity.player; - -import org.spacehq.mc.protocol.data.game.world.notify.ClientNotificationValue; - -public enum GameMode implements ClientNotificationValue { - - SURVIVAL, - CREATIVE, - ADVENTURE, - SPECTATOR; - -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/Hand.java b/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/Hand.java deleted file mode 100644 index 98abdc2c..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/player/Hand.java +++ /dev/null @@ -1,6 +0,0 @@ -package org.spacehq.mc.protocol.data.game.entity.player; - -public enum Hand { - MAIN_HAND, - OFF_HAND; -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/GlobalEntityType.java b/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/GlobalEntityType.java deleted file mode 100644 index f4116ae4..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/GlobalEntityType.java +++ /dev/null @@ -1,7 +0,0 @@ -package org.spacehq.mc.protocol.data.game.entity.type; - -public enum GlobalEntityType { - - LIGHTNING_BOLT; - -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/ObjectData.java b/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/ObjectData.java deleted file mode 100644 index d561d5b7..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/type/object/ObjectData.java +++ /dev/null @@ -1,4 +0,0 @@ -package org.spacehq.mc.protocol.data.game.entity.type.object; - -public interface ObjectData { -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/ScoreType.java b/src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/ScoreType.java deleted file mode 100644 index c2de979d..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/game/scoreboard/ScoreType.java +++ /dev/null @@ -1,8 +0,0 @@ -package org.spacehq.mc.protocol.data.game.scoreboard; - -public enum ScoreType { - - INTEGER, - HEARTS; - -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/statistic/Statistic.java b/src/main/java/org/spacehq/mc/protocol/data/game/statistic/Statistic.java deleted file mode 100644 index 667a6af6..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/game/statistic/Statistic.java +++ /dev/null @@ -1,4 +0,0 @@ -package org.spacehq.mc.protocol.data.game.statistic; - -public interface Statistic { -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/window/WindowActionParam.java b/src/main/java/org/spacehq/mc/protocol/data/game/window/WindowActionParam.java deleted file mode 100644 index 77dcd93e..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/game/window/WindowActionParam.java +++ /dev/null @@ -1,4 +0,0 @@ -package org.spacehq.mc.protocol.data.game.window; - -public interface WindowActionParam { -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/window/property/WindowProperty.java b/src/main/java/org/spacehq/mc/protocol/data/game/window/property/WindowProperty.java deleted file mode 100644 index 6ce69926..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/game/window/property/WindowProperty.java +++ /dev/null @@ -1,5 +0,0 @@ -package org.spacehq.mc.protocol.data.game.window.property; - -public interface WindowProperty { - -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/BlockValue.java b/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/BlockValue.java deleted file mode 100644 index 1222a60e..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/BlockValue.java +++ /dev/null @@ -1,4 +0,0 @@ -package org.spacehq.mc.protocol.data.game.world.block.value; - -public interface BlockValue { -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/BlockValueType.java b/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/BlockValueType.java deleted file mode 100644 index a644231d..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/BlockValueType.java +++ /dev/null @@ -1,4 +0,0 @@ -package org.spacehq.mc.protocol.data.game.world.block.value; - -public interface BlockValueType { -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/MobSpawnerValue.java b/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/MobSpawnerValue.java deleted file mode 100644 index 4f6e5e7d..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/block/value/MobSpawnerValue.java +++ /dev/null @@ -1,4 +0,0 @@ -package org.spacehq.mc.protocol.data.game.world.block.value; - -public class MobSpawnerValue implements BlockValue { -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/WorldEffect.java b/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/WorldEffect.java deleted file mode 100644 index 157a02f1..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/WorldEffect.java +++ /dev/null @@ -1,4 +0,0 @@ -package org.spacehq.mc.protocol.data.game.world.effect; - -public interface WorldEffect { -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/WorldEffectData.java b/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/WorldEffectData.java deleted file mode 100644 index b976257e..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/effect/WorldEffectData.java +++ /dev/null @@ -1,4 +0,0 @@ -package org.spacehq.mc.protocol.data.game.world.effect; - -public interface WorldEffectData { -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/notify/ClientNotificationValue.java b/src/main/java/org/spacehq/mc/protocol/data/game/world/notify/ClientNotificationValue.java deleted file mode 100644 index ee0356dc..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/notify/ClientNotificationValue.java +++ /dev/null @@ -1,4 +0,0 @@ -package org.spacehq.mc.protocol.data.game.world.notify; - -public interface ClientNotificationValue { -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/sound/Sound.java b/src/main/java/org/spacehq/mc/protocol/data/game/world/sound/Sound.java deleted file mode 100644 index 81efb602..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/sound/Sound.java +++ /dev/null @@ -1,4 +0,0 @@ -package org.spacehq.mc.protocol.data.game.world.sound; - -public interface Sound { -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/handshake/HandshakeIntent.java b/src/main/java/org/spacehq/mc/protocol/data/handshake/HandshakeIntent.java deleted file mode 100644 index 55b09b24..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/handshake/HandshakeIntent.java +++ /dev/null @@ -1,6 +0,0 @@ -package org.spacehq.mc.protocol.data.handshake; - -public enum HandshakeIntent { - STATUS, - LOGIN; -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/status/handler/ServerInfoBuilder.java b/src/main/java/org/spacehq/mc/protocol/data/status/handler/ServerInfoBuilder.java deleted file mode 100644 index 1dc24250..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/status/handler/ServerInfoBuilder.java +++ /dev/null @@ -1,8 +0,0 @@ -package org.spacehq.mc.protocol.data.status.handler; - -import org.spacehq.mc.protocol.data.status.ServerStatusInfo; -import org.spacehq.packetlib.Session; - -public interface ServerInfoBuilder { - public ServerStatusInfo buildInfo(Session session); -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/status/handler/ServerInfoHandler.java b/src/main/java/org/spacehq/mc/protocol/data/status/handler/ServerInfoHandler.java deleted file mode 100644 index a5f09d6d..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/status/handler/ServerInfoHandler.java +++ /dev/null @@ -1,9 +0,0 @@ -package org.spacehq.mc.protocol.data.status.handler; - -import org.spacehq.mc.protocol.data.status.ServerStatusInfo; -import org.spacehq.packetlib.Session; - - -public interface ServerInfoHandler { - public void handle(Session session, ServerStatusInfo info); -} diff --git a/src/main/java/org/spacehq/mc/protocol/data/status/handler/ServerPingTimeHandler.java b/src/main/java/org/spacehq/mc/protocol/data/status/handler/ServerPingTimeHandler.java deleted file mode 100644 index b19124e2..00000000 --- a/src/main/java/org/spacehq/mc/protocol/data/status/handler/ServerPingTimeHandler.java +++ /dev/null @@ -1,7 +0,0 @@ -package org.spacehq.mc.protocol.data.status.handler; - -import org.spacehq.packetlib.Session; - -public interface ServerPingTimeHandler { - public void handle(Session session, long pingTime); -} diff --git a/src/test/java/org/spacehq/mc/protocol/ByteBufHelper.java b/src/test/java/com/github/steveice10/mc/protocol/ByteBufHelper.java similarity index 81% rename from src/test/java/org/spacehq/mc/protocol/ByteBufHelper.java rename to src/test/java/com/github/steveice10/mc/protocol/ByteBufHelper.java index e102c000..dec85d8b 100644 --- a/src/test/java/org/spacehq/mc/protocol/ByteBufHelper.java +++ b/src/test/java/com/github/steveice10/mc/protocol/ByteBufHelper.java @@ -1,12 +1,12 @@ -package org.spacehq.mc.protocol; +package com.github.steveice10.mc.protocol; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Position; +import com.github.steveice10.mc.protocol.data.game.world.block.BlockChangeRecord; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; -import org.spacehq.mc.protocol.data.game.entity.metadata.Position; -import org.spacehq.mc.protocol.data.game.world.block.BlockChangeRecord; -import org.spacehq.packetlib.packet.Packet; -import org.spacehq.packetlib.tcp.io.ByteBufNetInput; -import org.spacehq.packetlib.tcp.io.ByteBufNetOutput; +import com.github.steveice10.packetlib.packet.Packet; +import com.github.steveice10.packetlib.tcp.io.ByteBufNetInput; +import com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput; import java.lang.reflect.Constructor; diff --git a/src/test/java/org/spacehq/mc/protocol/MinecraftProtocolTest.java b/src/test/java/com/github/steveice10/mc/protocol/MinecraftProtocolTest.java similarity index 73% rename from src/test/java/org/spacehq/mc/protocol/MinecraftProtocolTest.java rename to src/test/java/com/github/steveice10/mc/protocol/MinecraftProtocolTest.java index 3fae8ab9..9bfd321d 100644 --- a/src/test/java/org/spacehq/mc/protocol/MinecraftProtocolTest.java +++ b/src/test/java/com/github/steveice10/mc/protocol/MinecraftProtocolTest.java @@ -1,41 +1,42 @@ -package org.spacehq.mc.protocol; +package com.github.steveice10.mc.protocol; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Position; +import com.github.steveice10.mc.protocol.data.game.entity.player.GameMode; +import com.github.steveice10.mc.protocol.data.game.world.block.BlockChangeRecord; +import com.github.steveice10.mc.protocol.packet.ingame.server.ServerJoinGamePacket; +import com.github.steveice10.mc.protocol.packet.ingame.server.world.ServerBlockChangePacket; import org.junit.After; import org.junit.AfterClass; +import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; -import org.spacehq.mc.auth.data.GameProfile; -import org.spacehq.mc.protocol.data.game.entity.metadata.Position; -import org.spacehq.mc.protocol.data.game.world.block.BlockChangeRecord; -import org.spacehq.mc.protocol.data.game.world.block.BlockState; -import org.spacehq.mc.protocol.data.message.TextMessage; -import org.spacehq.mc.protocol.data.status.PlayerInfo; -import org.spacehq.mc.protocol.data.status.ServerStatusInfo; -import org.spacehq.mc.protocol.data.status.VersionInfo; -import org.spacehq.mc.protocol.data.status.handler.ServerInfoBuilder; -import org.spacehq.mc.protocol.data.status.handler.ServerInfoHandler; -import org.spacehq.mc.protocol.packet.ingame.server.ServerJoinGamePacket; -import org.spacehq.mc.protocol.packet.ingame.server.world.ServerBlockChangePacket; -import org.spacehq.packetlib.Client; -import org.spacehq.packetlib.Server; -import org.spacehq.packetlib.Session; -import org.spacehq.packetlib.event.session.DisconnectedEvent; -import org.spacehq.packetlib.event.session.PacketReceivedEvent; -import org.spacehq.packetlib.event.session.SessionAdapter; -import org.spacehq.packetlib.packet.Packet; -import org.spacehq.packetlib.tcp.TcpSessionFactory; +import com.github.steveice10.mc.auth.data.GameProfile; +import com.github.steveice10.mc.protocol.data.game.world.block.BlockState; +import com.github.steveice10.mc.protocol.data.message.TextMessage; +import com.github.steveice10.mc.protocol.data.status.PlayerInfo; +import com.github.steveice10.mc.protocol.data.status.ServerStatusInfo; +import com.github.steveice10.mc.protocol.data.status.VersionInfo; +import com.github.steveice10.mc.protocol.data.status.handler.ServerInfoBuilder; +import com.github.steveice10.mc.protocol.data.status.handler.ServerInfoHandler; +import com.github.steveice10.packetlib.Client; +import com.github.steveice10.packetlib.Server; +import com.github.steveice10.packetlib.Session; +import com.github.steveice10.packetlib.event.session.DisconnectedEvent; +import com.github.steveice10.packetlib.event.session.PacketReceivedEvent; +import com.github.steveice10.packetlib.event.session.SessionAdapter; +import com.github.steveice10.packetlib.packet.Packet; +import com.github.steveice10.packetlib.tcp.TcpSessionFactory; import java.io.IOException; import java.util.concurrent.CountDownLatch; import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.Assert.*; -import static org.spacehq.mc.protocol.ByteBufHelper.*; -import static org.spacehq.mc.protocol.MinecraftConstants.*; -import static org.spacehq.mc.protocol.data.SubProtocol.STATUS; -import static org.spacehq.mc.protocol.data.game.entity.player.GameMode.SURVIVAL; -import static org.spacehq.mc.protocol.data.game.setting.Difficulty.PEACEFUL; -import static org.spacehq.mc.protocol.data.game.world.WorldType.DEFAULT; +import static com.github.steveice10.mc.protocol.ByteBufHelper.*; +import static com.github.steveice10.mc.protocol.MinecraftConstants.*; +import static com.github.steveice10.mc.protocol.data.SubProtocol.STATUS; +import static com.github.steveice10.mc.protocol.data.game.setting.Difficulty.PEACEFUL; +import static com.github.steveice10.mc.protocol.data.game.world.WorldType.DEFAULT; public class MinecraftProtocolTest { private static final String HOST = "localhost"; @@ -60,7 +61,7 @@ public class MinecraftProtocolTest { server.setGlobalFlag(SERVER_LOGIN_HANDLER_KEY, new ServerLoginHandler() { @Override public void loggedIn(Session session) { - session.send(new ServerJoinGamePacket(0, false, SURVIVAL, 0, PEACEFUL, 100, DEFAULT, false)); + session.send(new ServerJoinGamePacket(0, false, GameMode.SURVIVAL, 0, PEACEFUL, 100, DEFAULT, false)); } }); @@ -108,7 +109,7 @@ public class MinecraftProtocolTest { assertEquals("Received incorrect entity ID.", 0, packet.getEntityId()); assertFalse("Received incorrect hardcore flag.", packet.getHardcore()); - assertEquals("Received incorrect gamemode.", SURVIVAL, packet.getGameMode()); + Assert.assertEquals("Received incorrect gamemode.", GameMode.SURVIVAL, packet.getGameMode()); assertEquals("Received incorrect dimension.", 0, packet.getDimension()); assertEquals("Received incorrect difficulty.", PEACEFUL, packet.getDifficulty()); assertEquals("Received incorrect max players.", 100, packet.getMaxPlayers()); diff --git a/src/test/java/com/github/steveice10/mc/protocol/util/NetUtilTest.java b/src/test/java/com/github/steveice10/mc/protocol/util/NetUtilTest.java new file mode 100644 index 00000000..83853c22 --- /dev/null +++ b/src/test/java/com/github/steveice10/mc/protocol/util/NetUtilTest.java @@ -0,0 +1,20 @@ +package com.github.steveice10.mc.protocol.util; + +import org.junit.Test; +import com.github.steveice10.mc.protocol.data.game.entity.metadata.Position; + +import java.io.IOException; + +import static com.github.steveice10.mc.protocol.ByteBufHelper.*; +import static com.github.steveice10.mc.protocol.util.NetUtil.readPosition; +import static com.github.steveice10.mc.protocol.util.NetUtil.writePosition; + +public class NetUtilTest { + + @Test + public void testPosition() throws IOException { + writePosition(out, new Position(1, 61, -1)); + assertPosition(readPosition(in), 1, 61, -1); + } + +} diff --git a/src/test/java/org/spacehq/mc/protocol/util/ReflectionToStringTest.java b/src/test/java/com/github/steveice10/mc/protocol/util/ReflectionToStringTest.java similarity index 95% rename from src/test/java/org/spacehq/mc/protocol/util/ReflectionToStringTest.java rename to src/test/java/com/github/steveice10/mc/protocol/util/ReflectionToStringTest.java index d5f7e150..8e0201ba 100644 --- a/src/test/java/org/spacehq/mc/protocol/util/ReflectionToStringTest.java +++ b/src/test/java/com/github/steveice10/mc/protocol/util/ReflectionToStringTest.java @@ -1,4 +1,4 @@ -package org.spacehq.mc.protocol.util; +package com.github.steveice10.mc.protocol.util; import org.junit.Test; diff --git a/src/test/java/org/spacehq/mc/protocol/util/NetUtilTest.java b/src/test/java/org/spacehq/mc/protocol/util/NetUtilTest.java deleted file mode 100644 index 7354ff27..00000000 --- a/src/test/java/org/spacehq/mc/protocol/util/NetUtilTest.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.spacehq.mc.protocol.util; - -import org.junit.Test; -import org.spacehq.mc.protocol.data.game.entity.metadata.Position; - -import java.io.IOException; - -import static org.spacehq.mc.protocol.ByteBufHelper.*; -import static org.spacehq.mc.protocol.util.NetUtil.readPosition; -import static org.spacehq.mc.protocol.util.NetUtil.writePosition; - -public class NetUtilTest { - - @Test - public void testPosition() throws IOException { - writePosition(out, new Position(1, 61, -1)); - assertPosition(readPosition(in), 1, 61, -1); - } - -}