3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-19 14:30:16 +01:00

Change package/imports in classes and build configs

Dieser Commit ist enthalten in:
KennyTV 2021-04-26 20:52:34 +02:00
Ursprung a3b1ce817e
Commit a25a5634de
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 6BE3B555EBC5982B
570 geänderte Dateien mit 3022 neuen und 3022 gelöschten Zeilen

Datei anzeigen

@ -49,7 +49,7 @@ You can find official dev builds here:
**API-artifact:** **API-artifact:**
```xml ```xml
<dependency> <dependency>
<groupId>us.myles</groupId> <groupId>com.viaversion</groupId>
<artifactId>viaversion-api</artifactId> <artifactId>viaversion-api</artifactId>
<version>LATEST</version> <version>LATEST</version>
<scope>provided</scope> <scope>provided</scope>

Datei anzeigen

@ -8,7 +8,7 @@ plugins {
// relocated adventure without breaking native platform's adventure usage with project wide relocation // relocated adventure without breaking native platform's adventure usage with project wide relocation
tasks { tasks {
withType<ShadowJar> { withType<ShadowJar> {
relocate("net.kyori", "us.myles.viaversion.libs.kyori") relocate("net.kyori", "com.viaversion.viaversion.libs.kyori")
} }
getByName("build") { getByName("build") {
dependsOn(withType<ShadowJar>()) dependsOn(withType<ShadowJar>())

Datei anzeigen

@ -20,15 +20,15 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion; package com.viaversion.viaversion;
import us.myles.ViaVersion.api.command.ViaVersionCommand; import com.viaversion.viaversion.api.command.ViaVersionCommand;
import us.myles.ViaVersion.api.platform.ViaConnectionManager; import com.viaversion.viaversion.api.platform.ViaConnectionManager;
import us.myles.ViaVersion.api.platform.ViaInjector; import com.viaversion.viaversion.api.platform.ViaInjector;
import us.myles.ViaVersion.api.platform.ViaPlatform; import com.viaversion.viaversion.api.platform.ViaPlatform;
import us.myles.ViaVersion.api.platform.ViaPlatformLoader; import com.viaversion.viaversion.api.platform.ViaPlatformLoader;
import us.myles.ViaVersion.api.platform.providers.ViaProviders; import com.viaversion.viaversion.api.platform.providers.ViaProviders;
import us.myles.ViaVersion.api.protocol.ProtocolManager; import com.viaversion.viaversion.api.protocol.ProtocolManager;
import java.util.Set; import java.util.Set;

Datei anzeigen

@ -20,22 +20,22 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api; package com.viaversion.viaversion.api;
import com.google.common.base.Preconditions; import com.google.common.base.Preconditions;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelFuture;
import us.myles.ViaVersion.api.data.UserConnection; import com.viaversion.viaversion.api.data.UserConnection;
import us.myles.ViaVersion.api.protocol.PacketType; import com.viaversion.viaversion.api.protocol.PacketType;
import us.myles.ViaVersion.api.protocol.Protocol; import com.viaversion.viaversion.api.protocol.Protocol;
import us.myles.ViaVersion.api.remapper.ValueCreator; import com.viaversion.viaversion.api.remapper.ValueCreator;
import us.myles.ViaVersion.api.type.Type; import com.viaversion.viaversion.api.type.Type;
import us.myles.ViaVersion.api.type.TypeConverter; import com.viaversion.viaversion.api.type.TypeConverter;
import us.myles.ViaVersion.exception.CancelException; import com.viaversion.viaversion.exception.CancelException;
import us.myles.ViaVersion.exception.InformativeException; import com.viaversion.viaversion.exception.InformativeException;
import us.myles.ViaVersion.packets.Direction; import com.viaversion.viaversion.packets.Direction;
import us.myles.ViaVersion.packets.State; import com.viaversion.viaversion.packets.State;
import us.myles.ViaVersion.util.PipelineUtil; import com.viaversion.viaversion.util.PipelineUtil;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayDeque; import java.util.ArrayDeque;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api; package com.viaversion.viaversion.api;
import org.checkerframework.checker.nullness.qual.Nullable; import org.checkerframework.checker.nullness.qual.Nullable;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api; package com.viaversion.viaversion.api;
import org.checkerframework.checker.nullness.qual.Nullable; import org.checkerframework.checker.nullness.qual.Nullable;

Datei anzeigen

@ -20,11 +20,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api; package com.viaversion.viaversion.api;
import com.google.common.base.Preconditions; import com.google.common.base.Preconditions;
import us.myles.ViaVersion.ViaManager; import com.viaversion.viaversion.ViaManager;
import us.myles.ViaVersion.api.platform.ViaPlatform; import com.viaversion.viaversion.api.platform.ViaPlatform;
public final class Via { public final class Via {
private static ViaManager manager; private static ViaManager manager;

Datei anzeigen

@ -20,17 +20,17 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api; package com.viaversion.viaversion.api;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import us.myles.ViaVersion.ViaManager; import com.viaversion.viaversion.ViaManager;
import us.myles.ViaVersion.api.boss.BossBar; import com.viaversion.viaversion.api.boss.BossBar;
import us.myles.ViaVersion.api.boss.BossColor; import com.viaversion.viaversion.api.boss.BossColor;
import us.myles.ViaVersion.api.boss.BossStyle; import com.viaversion.viaversion.api.boss.BossStyle;
import us.myles.ViaVersion.api.platform.ViaConnectionManager; import com.viaversion.viaversion.api.platform.ViaConnectionManager;
import us.myles.ViaVersion.api.platform.ViaPlatform; import com.viaversion.viaversion.api.platform.ViaPlatform;
import us.myles.ViaVersion.api.protocol.ProtocolManager; import com.viaversion.viaversion.api.protocol.ProtocolManager;
import us.myles.ViaVersion.api.protocol.ServerProtocolVersion; import com.viaversion.viaversion.api.protocol.ServerProtocolVersion;
import java.util.SortedSet; import java.util.SortedSet;
import java.util.UUID; import java.util.UUID;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api; package com.viaversion.viaversion.api;
import it.unimi.dsi.fastutil.ints.IntSet; import it.unimi.dsi.fastutil.ints.IntSet;

Datei anzeigen

@ -20,10 +20,10 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.boss; package com.viaversion.viaversion.api.boss;
import us.myles.ViaVersion.api.Via; import com.viaversion.viaversion.api.Via;
import us.myles.ViaVersion.api.data.UserConnection; import com.viaversion.viaversion.api.data.UserConnection;
import java.util.Set; import java.util.Set;
import java.util.UUID; import java.util.UUID;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.boss; package com.viaversion.viaversion.api.boss;
public enum BossColor { public enum BossColor {

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.boss; package com.viaversion.viaversion.api.boss;
public enum BossFlag { public enum BossFlag {

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.boss; package com.viaversion.viaversion.api.boss;
public enum BossStyle { public enum BossStyle {

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.command; package com.viaversion.viaversion.api.command;
import java.util.UUID; import java.util.UUID;

Datei anzeigen

@ -20,9 +20,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.command; package com.viaversion.viaversion.api.command;
import us.myles.ViaVersion.util.ChatColorUtil; import com.viaversion.viaversion.util.ChatColorUtil;
import java.util.Collections; import java.util.Collections;
import java.util.List; import java.util.List;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.command; package com.viaversion.viaversion.api.command;
import org.checkerframework.checker.nullness.qual.Nullable; import org.checkerframework.checker.nullness.qual.Nullable;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.configuration; package com.viaversion.viaversion.api.configuration;
import java.util.Map; import java.util.Map;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.data; package com.viaversion.viaversion.api.data;
public interface ExternalJoinGameListener { public interface ExternalJoinGameListener {

Datei anzeigen

@ -20,12 +20,12 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.data; package com.viaversion.viaversion.api.data;
import com.google.gson.JsonObject; import com.google.gson.JsonObject;
import org.checkerframework.checker.nullness.qual.Nullable; import org.checkerframework.checker.nullness.qual.Nullable;
import us.myles.ViaVersion.api.Via; import com.viaversion.viaversion.api.Via;
import us.myles.ViaVersion.util.Int2IntBiMap; import com.viaversion.viaversion.util.Int2IntBiMap;
public class MappingData { public class MappingData {
protected final String oldVersion; protected final String oldVersion;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.data; package com.viaversion.viaversion.api.data;
import com.google.gson.JsonArray; import com.google.gson.JsonArray;
import com.google.gson.JsonElement; import com.google.gson.JsonElement;
@ -30,9 +30,9 @@ import com.google.gson.JsonSyntaxException;
import it.unimi.dsi.fastutil.objects.Object2IntMap; import it.unimi.dsi.fastutil.objects.Object2IntMap;
import it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap; import it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap;
import org.checkerframework.checker.nullness.qual.Nullable; import org.checkerframework.checker.nullness.qual.Nullable;
import us.myles.ViaVersion.api.Via; import com.viaversion.viaversion.api.Via;
import us.myles.ViaVersion.util.GsonUtil; import com.viaversion.viaversion.util.GsonUtil;
import us.myles.ViaVersion.util.Int2IntBiMap; import com.viaversion.viaversion.util.Int2IntBiMap;
import java.io.File; import java.io.File;
import java.io.FileReader; import java.io.FileReader;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.data; package com.viaversion.viaversion.api.data;
import com.google.gson.JsonArray; import com.google.gson.JsonArray;
import com.google.gson.JsonObject; import com.google.gson.JsonObject;

Datei anzeigen

@ -20,11 +20,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.data; package com.viaversion.viaversion.api.data;
import org.checkerframework.checker.nullness.qual.Nullable; import org.checkerframework.checker.nullness.qual.Nullable;
import us.myles.ViaVersion.api.Via; import com.viaversion.viaversion.api.Via;
import us.myles.ViaVersion.api.ViaVersionConfig; import com.viaversion.viaversion.api.ViaVersionConfig;
public class PacketTracker { public class PacketTracker {
private final UserConnection connection; private final UserConnection connection;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.data; package com.viaversion.viaversion.api.data;
import com.google.gson.JsonArray; import com.google.gson.JsonArray;
import it.unimi.dsi.fastutil.objects.Object2IntMap; import it.unimi.dsi.fastutil.objects.Object2IntMap;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.data; package com.viaversion.viaversion.api.data;
public class StoredObject { public class StoredObject {
private final UserConnection user; private final UserConnection user;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.data; package com.viaversion.viaversion.api.data;
import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheBuilder;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
@ -28,16 +28,16 @@ import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelHandlerContext;
import org.checkerframework.checker.nullness.qual.Nullable; import org.checkerframework.checker.nullness.qual.Nullable;
import us.myles.ViaVersion.api.PacketWrapper; import com.viaversion.viaversion.api.PacketWrapper;
import us.myles.ViaVersion.api.Via; import com.viaversion.viaversion.api.Via;
import us.myles.ViaVersion.api.ViaVersionConfig; import com.viaversion.viaversion.api.ViaVersionConfig;
import us.myles.ViaVersion.api.type.Type; import com.viaversion.viaversion.api.type.Type;
import us.myles.ViaVersion.exception.CancelException; import com.viaversion.viaversion.exception.CancelException;
import us.myles.ViaVersion.exception.InformativeException; import com.viaversion.viaversion.exception.InformativeException;
import us.myles.ViaVersion.packets.Direction; import com.viaversion.viaversion.packets.Direction;
import us.myles.ViaVersion.protocols.base.ProtocolInfo; import com.viaversion.viaversion.protocols.base.ProtocolInfo;
import us.myles.ViaVersion.util.ChatColorUtil; import com.viaversion.viaversion.util.ChatColorUtil;
import us.myles.ViaVersion.util.PipelineUtil; import com.viaversion.viaversion.util.PipelineUtil;
import java.util.Collections; import java.util.Collections;
import java.util.Map; import java.util.Map;

Datei anzeigen

@ -20,9 +20,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.entities; package com.viaversion.viaversion.api.entities;
import us.myles.ViaVersion.api.Via; import com.viaversion.viaversion.api.Via;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
@ -47,7 +47,7 @@ public class Entity1_10Types {
return type.get(); return type.get();
} }
public enum EntityType implements us.myles.ViaVersion.api.entities.EntityType { public enum EntityType implements com.viaversion.viaversion.api.entities.EntityType {
ENTITY(-1), ENTITY(-1),
DROPPED_ITEM(1, ENTITY), DROPPED_ITEM(1, ENTITY),
EXPERIENCE_ORB(2, ENTITY), EXPERIENCE_ORB(2, ENTITY),
@ -172,7 +172,7 @@ public class Entity1_10Types {
} }
} }
public enum ObjectType implements us.myles.ViaVersion.api.entities.ObjectType { public enum ObjectType implements com.viaversion.viaversion.api.entities.ObjectType {
BOAT(1, EntityType.BOAT), BOAT(1, EntityType.BOAT),
ITEM(2, EntityType.DROPPED_ITEM), ITEM(2, EntityType.DROPPED_ITEM),
AREA_EFFECT_CLOUD(3, EntityType.AREA_EFFECT_CLOUD), AREA_EFFECT_CLOUD(3, EntityType.AREA_EFFECT_CLOUD),

Datei anzeigen

@ -20,9 +20,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.entities; package com.viaversion.viaversion.api.entities;
import us.myles.ViaVersion.api.Via; import com.viaversion.viaversion.api.Via;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
@ -47,7 +47,7 @@ public class Entity1_11Types {
return type.get(); return type.get();
} }
public enum EntityType implements us.myles.ViaVersion.api.entities.EntityType { public enum EntityType implements com.viaversion.viaversion.api.entities.EntityType {
ENTITY(-1), ENTITY(-1),
DROPPED_ITEM(1, ENTITY), DROPPED_ITEM(1, ENTITY),
EXPERIENCE_ORB(2, ENTITY), EXPERIENCE_ORB(2, ENTITY),
@ -200,7 +200,7 @@ public class Entity1_11Types {
} }
} }
public enum ObjectType implements us.myles.ViaVersion.api.entities.ObjectType { public enum ObjectType implements com.viaversion.viaversion.api.entities.ObjectType {
BOAT(1, EntityType.BOAT), BOAT(1, EntityType.BOAT),
ITEM(2, EntityType.DROPPED_ITEM), ITEM(2, EntityType.DROPPED_ITEM),
AREA_EFFECT_CLOUD(3, EntityType.AREA_EFFECT_CLOUD), AREA_EFFECT_CLOUD(3, EntityType.AREA_EFFECT_CLOUD),

Datei anzeigen

@ -21,9 +21,9 @@
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.entities; package com.viaversion.viaversion.api.entities;
import us.myles.ViaVersion.api.Via; import com.viaversion.viaversion.api.Via;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
@ -48,7 +48,7 @@ public class Entity1_12Types {
return type.get(); return type.get();
} }
public enum EntityType implements us.myles.ViaVersion.api.entities.EntityType { public enum EntityType implements com.viaversion.viaversion.api.entities.EntityType {
ENTITY(-1), ENTITY(-1),
DROPPED_ITEM(1, ENTITY), DROPPED_ITEM(1, ENTITY),
EXPERIENCE_ORB(2, ENTITY), EXPERIENCE_ORB(2, ENTITY),
@ -204,7 +204,7 @@ public class Entity1_12Types {
} }
} }
public enum ObjectType implements us.myles.ViaVersion.api.entities.ObjectType { public enum ObjectType implements com.viaversion.viaversion.api.entities.ObjectType {
BOAT(1, EntityType.BOAT), BOAT(1, EntityType.BOAT),
ITEM(2, EntityType.DROPPED_ITEM), ITEM(2, EntityType.DROPPED_ITEM),
AREA_EFFECT_CLOUD(3, EntityType.AREA_EFFECT_CLOUD), AREA_EFFECT_CLOUD(3, EntityType.AREA_EFFECT_CLOUD),

Datei anzeigen

@ -20,9 +20,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.entities; package com.viaversion.viaversion.api.entities;
import us.myles.ViaVersion.api.Via; import com.viaversion.viaversion.api.Via;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
@ -46,7 +46,7 @@ public class Entity1_13Types {
return type.get(); return type.get();
} }
public enum EntityType implements us.myles.ViaVersion.api.entities.EntityType { public enum EntityType implements com.viaversion.viaversion.api.entities.EntityType {
// Auto generated // Auto generated
ENTITY(-1), // abm ENTITY(-1), // abm
@ -253,7 +253,7 @@ public class Entity1_13Types {
} }
} }
public enum ObjectType implements us.myles.ViaVersion.api.entities.ObjectType { public enum ObjectType implements com.viaversion.viaversion.api.entities.ObjectType {
BOAT(1, EntityType.BOAT), BOAT(1, EntityType.BOAT),
ITEM(2, EntityType.ITEM), ITEM(2, EntityType.ITEM),
AREA_EFFECT_CLOUD(3, EntityType.AREA_EFFECT_CLOUD), AREA_EFFECT_CLOUD(3, EntityType.AREA_EFFECT_CLOUD),

Datei anzeigen

@ -20,9 +20,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.entities; package com.viaversion.viaversion.api.entities;
import us.myles.ViaVersion.util.EntityTypeUtil; import com.viaversion.viaversion.util.EntityTypeUtil;
public enum Entity1_14Types implements EntityType { public enum Entity1_14Types implements EntityType {

Datei anzeigen

@ -20,9 +20,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.entities; package com.viaversion.viaversion.api.entities;
import us.myles.ViaVersion.util.EntityTypeUtil; import com.viaversion.viaversion.util.EntityTypeUtil;
public enum Entity1_15Types implements EntityType { public enum Entity1_15Types implements EntityType {

Datei anzeigen

@ -20,9 +20,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.entities; package com.viaversion.viaversion.api.entities;
import us.myles.ViaVersion.util.EntityTypeUtil; import com.viaversion.viaversion.util.EntityTypeUtil;
public enum Entity1_16Types implements EntityType { public enum Entity1_16Types implements EntityType {

Datei anzeigen

@ -20,9 +20,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.entities; package com.viaversion.viaversion.api.entities;
import us.myles.ViaVersion.util.EntityTypeUtil; import com.viaversion.viaversion.util.EntityTypeUtil;
public enum Entity1_16_2Types implements EntityType { public enum Entity1_16_2Types implements EntityType {

Datei anzeigen

@ -20,9 +20,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.entities; package com.viaversion.viaversion.api.entities;
import us.myles.ViaVersion.util.EntityTypeUtil; import com.viaversion.viaversion.util.EntityTypeUtil;
public enum Entity1_17Types implements EntityType { public enum Entity1_17Types implements EntityType {

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.entities; package com.viaversion.viaversion.api.entities;
import org.checkerframework.checker.nullness.qual.Nullable; import org.checkerframework.checker.nullness.qual.Nullable;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.entities; package com.viaversion.viaversion.api.entities;
/** /**
* Represents a legacy object entity type. * Represents a legacy object entity type.

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft; package com.viaversion.viaversion.api.minecraft;
public interface BlockChangeRecord { public interface BlockChangeRecord {

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft; package com.viaversion.viaversion.api.minecraft;
import com.google.common.base.Preconditions; import com.google.common.base.Preconditions;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft; package com.viaversion.viaversion.api.minecraft;
public class BlockChangeRecord1_8 implements BlockChangeRecord { public class BlockChangeRecord1_8 implements BlockChangeRecord {
private final byte sectionX; private final byte sectionX;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft; package com.viaversion.viaversion.api.minecraft;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft; package com.viaversion.viaversion.api.minecraft;
public enum Environment { public enum Environment {

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft; package com.viaversion.viaversion.api.minecraft;
public class EulerAngle { public class EulerAngle {
private final float x; private final float x;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft; package com.viaversion.viaversion.api.minecraft;
public class Position { public class Position {
private final int x; private final int x;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft; package com.viaversion.viaversion.api.minecraft;
public class Vector { public class Vector {
private int blockX; private int blockX;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft; package com.viaversion.viaversion.api.minecraft;
public class VillagerData { public class VillagerData {
private final int type; private final int type;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.chunks; package com.viaversion.viaversion.api.minecraft.chunks;
import com.github.steveice10.opennbt.tag.builtin.CompoundTag; import com.github.steveice10.opennbt.tag.builtin.CompoundTag;
import org.checkerframework.checker.nullness.qual.Nullable; import org.checkerframework.checker.nullness.qual.Nullable;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.chunks; package com.viaversion.viaversion.api.minecraft.chunks;
import com.github.steveice10.opennbt.tag.builtin.CompoundTag; import com.github.steveice10.opennbt.tag.builtin.CompoundTag;
import org.checkerframework.checker.nullness.qual.Nullable; import org.checkerframework.checker.nullness.qual.Nullable;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.chunks; package com.viaversion.viaversion.api.minecraft.chunks;
import com.github.steveice10.opennbt.tag.builtin.CompoundTag; import com.github.steveice10.opennbt.tag.builtin.CompoundTag;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.chunks; package com.viaversion.viaversion.api.minecraft.chunks;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import it.unimi.dsi.fastutil.ints.Int2IntMap; import it.unimi.dsi.fastutil.ints.Int2IntMap;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.chunks; package com.viaversion.viaversion.api.minecraft.chunks;
import java.util.Arrays; import java.util.Arrays;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.item; package com.viaversion.viaversion.api.minecraft.item;
import com.github.steveice10.opennbt.tag.builtin.CompoundTag; import com.github.steveice10.opennbt.tag.builtin.CompoundTag;
import com.google.gson.annotations.SerializedName; import com.google.gson.annotations.SerializedName;

Datei anzeigen

@ -20,9 +20,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.metadata; package com.viaversion.viaversion.api.minecraft.metadata;
import us.myles.ViaVersion.api.type.Type; import com.viaversion.viaversion.api.type.Type;
public interface MetaType { public interface MetaType {

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.metadata; package com.viaversion.viaversion.api.minecraft.metadata;
import java.util.Objects; import java.util.Objects;

Datei anzeigen

@ -20,10 +20,10 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.metadata.types; package com.viaversion.viaversion.api.minecraft.metadata.types;
import us.myles.ViaVersion.api.minecraft.metadata.MetaType; import com.viaversion.viaversion.api.minecraft.metadata.MetaType;
import us.myles.ViaVersion.api.type.Type; import com.viaversion.viaversion.api.type.Type;
public enum MetaType1_12 implements MetaType { public enum MetaType1_12 implements MetaType {
Byte(0, Type.BYTE), Byte(0, Type.BYTE),

Datei anzeigen

@ -20,11 +20,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.metadata.types; package com.viaversion.viaversion.api.minecraft.metadata.types;
import us.myles.ViaVersion.api.minecraft.metadata.MetaType; import com.viaversion.viaversion.api.minecraft.metadata.MetaType;
import us.myles.ViaVersion.api.type.Type; import com.viaversion.viaversion.api.type.Type;
import us.myles.ViaVersion.api.type.types.version.Types1_13; import com.viaversion.viaversion.api.type.types.version.Types1_13;
public enum MetaType1_13 implements MetaType { public enum MetaType1_13 implements MetaType {
Byte(0, Type.BYTE), Byte(0, Type.BYTE),

Datei anzeigen

@ -20,11 +20,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.metadata.types; package com.viaversion.viaversion.api.minecraft.metadata.types;
import us.myles.ViaVersion.api.minecraft.metadata.MetaType; import com.viaversion.viaversion.api.minecraft.metadata.MetaType;
import us.myles.ViaVersion.api.type.Type; import com.viaversion.viaversion.api.type.Type;
import us.myles.ViaVersion.api.type.types.version.Types1_13_2; import com.viaversion.viaversion.api.type.types.version.Types1_13_2;
public enum MetaType1_13_2 implements MetaType { public enum MetaType1_13_2 implements MetaType {
Byte(0, Type.BYTE), Byte(0, Type.BYTE),

Datei anzeigen

@ -20,11 +20,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.metadata.types; package com.viaversion.viaversion.api.minecraft.metadata.types;
import us.myles.ViaVersion.api.minecraft.metadata.MetaType; import com.viaversion.viaversion.api.minecraft.metadata.MetaType;
import us.myles.ViaVersion.api.type.Type; import com.viaversion.viaversion.api.type.Type;
import us.myles.ViaVersion.api.type.types.version.Types1_14; import com.viaversion.viaversion.api.type.types.version.Types1_14;
public enum MetaType1_14 implements MetaType { public enum MetaType1_14 implements MetaType {
Byte(0, Type.BYTE), Byte(0, Type.BYTE),

Datei anzeigen

@ -20,11 +20,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.metadata.types; package com.viaversion.viaversion.api.minecraft.metadata.types;
import us.myles.ViaVersion.api.minecraft.metadata.MetaType; import com.viaversion.viaversion.api.minecraft.metadata.MetaType;
import us.myles.ViaVersion.api.type.Type; import com.viaversion.viaversion.api.type.Type;
import us.myles.ViaVersion.api.type.types.version.Types1_17; import com.viaversion.viaversion.api.type.types.version.Types1_17;
public enum MetaType1_17 implements MetaType { public enum MetaType1_17 implements MetaType {
Byte(0, Type.BYTE), Byte(0, Type.BYTE),

Datei anzeigen

@ -20,10 +20,10 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.metadata.types; package com.viaversion.viaversion.api.minecraft.metadata.types;
import us.myles.ViaVersion.api.minecraft.metadata.MetaType; import com.viaversion.viaversion.api.minecraft.metadata.MetaType;
import us.myles.ViaVersion.api.type.Type; import com.viaversion.viaversion.api.type.Type;
public enum MetaType1_8 implements MetaType { public enum MetaType1_8 implements MetaType {
Byte(0, Type.BYTE), Byte(0, Type.BYTE),

Datei anzeigen

@ -20,10 +20,10 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.metadata.types; package com.viaversion.viaversion.api.minecraft.metadata.types;
import us.myles.ViaVersion.api.minecraft.metadata.MetaType; import com.viaversion.viaversion.api.minecraft.metadata.MetaType;
import us.myles.ViaVersion.api.type.Type; import com.viaversion.viaversion.api.type.Type;
public enum MetaType1_9 implements MetaType { public enum MetaType1_9 implements MetaType {
Byte(0, Type.BYTE), Byte(0, Type.BYTE),

Datei anzeigen

@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.nbt; package com.viaversion.viaversion.api.minecraft.nbt;
import com.github.steveice10.opennbt.tag.builtin.CompoundTag; import com.github.steveice10.opennbt.tag.builtin.CompoundTag;
import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.NonNull;

Datei anzeigen

@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.nbt; package com.viaversion.viaversion.api.minecraft.nbt;
/* package */ final class CharBuffer { /* package */ final class CharBuffer {
private final CharSequence sequence; private final CharSequence sequence;

Datei anzeigen

@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.nbt; package com.viaversion.viaversion.api.minecraft.nbt;
import java.io.IOException; import java.io.IOException;

Datei anzeigen

@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.nbt; package com.viaversion.viaversion.api.minecraft.nbt;
import com.github.steveice10.opennbt.tag.builtin.ByteArrayTag; import com.github.steveice10.opennbt.tag.builtin.ByteArrayTag;
import com.github.steveice10.opennbt.tag.builtin.ByteTag; import com.github.steveice10.opennbt.tag.builtin.ByteTag;

Datei anzeigen

@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.nbt; package com.viaversion.viaversion.api.minecraft.nbt;
import com.github.steveice10.opennbt.tag.builtin.ByteArrayTag; import com.github.steveice10.opennbt.tag.builtin.ByteArrayTag;
import com.github.steveice10.opennbt.tag.builtin.ByteTag; import com.github.steveice10.opennbt.tag.builtin.ByteTag;

Datei anzeigen

@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.minecraft.nbt; package com.viaversion.viaversion.api.minecraft.nbt;
/** /**
* See https://github.com/KyoriPowered/adventure. * See https://github.com/KyoriPowered/adventure.

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.platform; package com.viaversion.viaversion.api.platform;
public interface TaskId { public interface TaskId {
/** /**

Datei anzeigen

@ -20,12 +20,12 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.platform; package com.viaversion.viaversion.api.platform;
import io.netty.channel.ChannelFutureListener; import io.netty.channel.ChannelFutureListener;
import org.checkerframework.checker.nullness.qual.Nullable; import org.checkerframework.checker.nullness.qual.Nullable;
import us.myles.ViaVersion.api.Via; import com.viaversion.viaversion.api.Via;
import us.myles.ViaVersion.api.data.UserConnection; import com.viaversion.viaversion.api.data.UserConnection;
import java.util.Collections; import java.util.Collections;
import java.util.Map; import java.util.Map;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.platform; package com.viaversion.viaversion.api.platform;
import com.google.gson.JsonObject; import com.google.gson.JsonObject;
import it.unimi.dsi.fastutil.ints.IntSortedSet; import it.unimi.dsi.fastutil.ints.IntSortedSet;

Datei anzeigen

@ -20,17 +20,17 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.platform; package com.viaversion.viaversion.api.platform;
import com.google.gson.JsonObject; import com.google.gson.JsonObject;
import us.myles.ViaVersion.ViaManager; import com.viaversion.viaversion.ViaManager;
import us.myles.ViaVersion.api.Via; import com.viaversion.viaversion.api.Via;
import us.myles.ViaVersion.api.ViaAPI; import com.viaversion.viaversion.api.ViaAPI;
import us.myles.ViaVersion.api.ViaVersionConfig; import com.viaversion.viaversion.api.ViaVersionConfig;
import us.myles.ViaVersion.api.command.ViaCommandSender; import com.viaversion.viaversion.api.command.ViaCommandSender;
import us.myles.ViaVersion.api.configuration.ConfigurationProvider; import com.viaversion.viaversion.api.configuration.ConfigurationProvider;
import us.myles.ViaVersion.api.data.UserConnection; import com.viaversion.viaversion.api.data.UserConnection;
import us.myles.ViaVersion.util.UnsupportedSoftware; import com.viaversion.viaversion.util.UnsupportedSoftware;
import java.io.File; import java.io.File;
import java.util.Collection; import java.util.Collection;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.platform; package com.viaversion.viaversion.api.platform;
public interface ViaPlatformLoader { public interface ViaPlatformLoader {

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.platform.providers; package com.viaversion.viaversion.api.platform.providers;
public interface Provider { public interface Provider {
} }

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.platform.providers; package com.viaversion.viaversion.api.platform.providers;
import org.checkerframework.checker.nullness.qual.Nullable; import org.checkerframework.checker.nullness.qual.Nullable;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.protocol; package com.viaversion.viaversion.api.protocol;
/** /**
* Interface to be implemented by server outgoing packet type enums, * Interface to be implemented by server outgoing packet type enums,

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.protocol; package com.viaversion.viaversion.api.protocol;
/** /**
* Interface representing PLAY state packets, ordered by their packet id. * Interface representing PLAY state packets, ordered by their packet id.

Datei anzeigen

@ -20,20 +20,20 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.protocol; package com.viaversion.viaversion.api.protocol;
import com.google.common.base.Preconditions; import com.google.common.base.Preconditions;
import org.checkerframework.checker.nullness.qual.Nullable; import org.checkerframework.checker.nullness.qual.Nullable;
import us.myles.ViaVersion.api.PacketWrapper; import com.viaversion.viaversion.api.PacketWrapper;
import us.myles.ViaVersion.api.Via; import com.viaversion.viaversion.api.Via;
import us.myles.ViaVersion.api.data.MappingData; import com.viaversion.viaversion.api.data.MappingData;
import us.myles.ViaVersion.api.data.UserConnection; import com.viaversion.viaversion.api.data.UserConnection;
import us.myles.ViaVersion.api.platform.providers.ViaProviders; import com.viaversion.viaversion.api.platform.providers.ViaProviders;
import us.myles.ViaVersion.api.remapper.PacketRemapper; import com.viaversion.viaversion.api.remapper.PacketRemapper;
import us.myles.ViaVersion.exception.CancelException; import com.viaversion.viaversion.exception.CancelException;
import us.myles.ViaVersion.exception.InformativeException; import com.viaversion.viaversion.exception.InformativeException;
import us.myles.ViaVersion.packets.Direction; import com.viaversion.viaversion.packets.Direction;
import us.myles.ViaVersion.packets.State; import com.viaversion.viaversion.packets.State;
import java.util.Arrays; import java.util.Arrays;
import java.util.HashMap; import java.util.HashMap;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.protocol; package com.viaversion.viaversion.api.protocol;
import com.google.common.collect.Range; import com.google.common.collect.Range;
import org.checkerframework.checker.nullness.qual.Nullable; import org.checkerframework.checker.nullness.qual.Nullable;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.protocol; package com.viaversion.viaversion.api.protocol;
public interface ProtocolPathEntry { public interface ProtocolPathEntry {

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.protocol; package com.viaversion.viaversion.api.protocol;
public interface ProtocolPathKey { public interface ProtocolPathKey {

Datei anzeigen

@ -20,16 +20,16 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.protocol; package com.viaversion.viaversion.api.protocol;
import com.google.common.base.Preconditions; import com.google.common.base.Preconditions;
import us.myles.ViaVersion.api.PacketWrapper; import com.viaversion.viaversion.api.PacketWrapper;
import us.myles.ViaVersion.api.Via; import com.viaversion.viaversion.api.Via;
import us.myles.ViaVersion.api.data.UserConnection; import com.viaversion.viaversion.api.data.UserConnection;
import us.myles.ViaVersion.api.platform.ViaPlatform; import com.viaversion.viaversion.api.platform.ViaPlatform;
import us.myles.ViaVersion.packets.Direction; import com.viaversion.viaversion.packets.Direction;
import us.myles.ViaVersion.packets.State; import com.viaversion.viaversion.packets.State;
import us.myles.ViaVersion.protocols.base.ProtocolInfo; import com.viaversion.viaversion.protocols.base.ProtocolInfo;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.protocol; package com.viaversion.viaversion.api.protocol;
import com.google.common.base.Preconditions; import com.google.common.base.Preconditions;
import it.unimi.dsi.fastutil.ints.Int2ObjectMap; import it.unimi.dsi.fastutil.ints.Int2ObjectMap;

Datei anzeigen

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package us.myles.ViaVersion.api.protocol; package com.viaversion.viaversion.api.protocol;
import it.unimi.dsi.fastutil.ints.IntSortedSet; import it.unimi.dsi.fastutil.ints.IntSortedSet;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.protocol; package com.viaversion.viaversion.api.protocol;
/** /**
* Interface to be implemented by server incoming packet type enums, * Interface to be implemented by server incoming packet type enums,

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.protocol; package com.viaversion.viaversion.api.protocol;
/** /**
* Dummy protocol class when there is no need of any of the * Dummy protocol class when there is no need of any of the

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.protocol; package com.viaversion.viaversion.api.protocol;
import com.google.common.base.Preconditions; import com.google.common.base.Preconditions;

Datei anzeigen

@ -20,10 +20,10 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.remapper; package com.viaversion.viaversion.api.remapper;
import us.myles.ViaVersion.api.PacketWrapper; import com.viaversion.viaversion.api.PacketWrapper;
import us.myles.ViaVersion.exception.InformativeException; import com.viaversion.viaversion.exception.InformativeException;
@FunctionalInterface @FunctionalInterface
public interface PacketHandler extends ValueWriter { public interface PacketHandler extends ValueWriter {

Datei anzeigen

@ -20,13 +20,13 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.remapper; package com.viaversion.viaversion.api.remapper;
import us.myles.ViaVersion.api.PacketWrapper; import com.viaversion.viaversion.api.PacketWrapper;
import us.myles.ViaVersion.api.Pair; import com.viaversion.viaversion.api.Pair;
import us.myles.ViaVersion.api.type.Type; import com.viaversion.viaversion.api.type.Type;
import us.myles.ViaVersion.exception.CancelException; import com.viaversion.viaversion.exception.CancelException;
import us.myles.ViaVersion.exception.InformativeException; import com.viaversion.viaversion.exception.InformativeException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;

Datei anzeigen

@ -20,10 +20,10 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.remapper; package com.viaversion.viaversion.api.remapper;
import us.myles.ViaVersion.api.PacketWrapper; import com.viaversion.viaversion.api.PacketWrapper;
import us.myles.ViaVersion.api.type.Type; import com.viaversion.viaversion.api.type.Type;
public class TypeRemapper<T> implements ValueReader<T>, ValueWriter<T> { public class TypeRemapper<T> implements ValueReader<T>, ValueWriter<T> {
private final Type<T> type; private final Type<T> type;

Datei anzeigen

@ -20,10 +20,10 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.remapper; package com.viaversion.viaversion.api.remapper;
import us.myles.ViaVersion.api.PacketWrapper; import com.viaversion.viaversion.api.PacketWrapper;
import us.myles.ViaVersion.exception.InformativeException; import com.viaversion.viaversion.exception.InformativeException;
@FunctionalInterface @FunctionalInterface
public interface ValueCreator extends ValueWriter { public interface ValueCreator extends ValueWriter {

Datei anzeigen

@ -20,9 +20,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.remapper; package com.viaversion.viaversion.api.remapper;
import us.myles.ViaVersion.api.PacketWrapper; import com.viaversion.viaversion.api.PacketWrapper;
@FunctionalInterface @FunctionalInterface
public interface ValueReader<T> { public interface ValueReader<T> {

Datei anzeigen

@ -20,12 +20,12 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.remapper; package com.viaversion.viaversion.api.remapper;
import org.checkerframework.checker.nullness.qual.Nullable; import org.checkerframework.checker.nullness.qual.Nullable;
import us.myles.ViaVersion.api.PacketWrapper; import com.viaversion.viaversion.api.PacketWrapper;
import us.myles.ViaVersion.api.type.Type; import com.viaversion.viaversion.api.type.Type;
import us.myles.ViaVersion.exception.InformativeException; import com.viaversion.viaversion.exception.InformativeException;
public abstract class ValueTransformer<T1, T2> implements ValueWriter<T1> { public abstract class ValueTransformer<T1, T2> implements ValueWriter<T1> {
private final Type<T1> inputType; private final Type<T1> inputType;

Datei anzeigen

@ -20,9 +20,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.remapper; package com.viaversion.viaversion.api.remapper;
import us.myles.ViaVersion.api.PacketWrapper; import com.viaversion.viaversion.api.PacketWrapper;
@FunctionalInterface @FunctionalInterface
public interface ValueWriter<T> { public interface ValueWriter<T> {

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.type; package com.viaversion.viaversion.api.type;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.type; package com.viaversion.viaversion.api.type;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.type; package com.viaversion.viaversion.api.type;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;

Datei anzeigen

@ -20,58 +20,58 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.type; package com.viaversion.viaversion.api.type;
import com.github.steveice10.opennbt.tag.builtin.CompoundTag; import com.github.steveice10.opennbt.tag.builtin.CompoundTag;
import com.google.gson.JsonElement; import com.google.gson.JsonElement;
import us.myles.ViaVersion.api.minecraft.BlockChangeRecord; import com.viaversion.viaversion.api.minecraft.BlockChangeRecord;
import us.myles.ViaVersion.api.minecraft.EulerAngle; import com.viaversion.viaversion.api.minecraft.EulerAngle;
import us.myles.ViaVersion.api.minecraft.Position; import com.viaversion.viaversion.api.minecraft.Position;
import us.myles.ViaVersion.api.minecraft.Vector; import com.viaversion.viaversion.api.minecraft.Vector;
import us.myles.ViaVersion.api.minecraft.VillagerData; import com.viaversion.viaversion.api.minecraft.VillagerData;
import us.myles.ViaVersion.api.minecraft.item.Item; import com.viaversion.viaversion.api.minecraft.item.Item;
import us.myles.ViaVersion.api.type.types.ArrayType; import com.viaversion.viaversion.api.type.types.ArrayType;
import us.myles.ViaVersion.api.type.types.BooleanType; import com.viaversion.viaversion.api.type.types.BooleanType;
import us.myles.ViaVersion.api.type.types.ByteArrayType; import com.viaversion.viaversion.api.type.types.ByteArrayType;
import us.myles.ViaVersion.api.type.types.ByteType; import com.viaversion.viaversion.api.type.types.ByteType;
import us.myles.ViaVersion.api.type.types.ComponentType; import com.viaversion.viaversion.api.type.types.ComponentType;
import us.myles.ViaVersion.api.type.types.DoubleType; import com.viaversion.viaversion.api.type.types.DoubleType;
import us.myles.ViaVersion.api.type.types.FloatType; import com.viaversion.viaversion.api.type.types.FloatType;
import us.myles.ViaVersion.api.type.types.IntType; import com.viaversion.viaversion.api.type.types.IntType;
import us.myles.ViaVersion.api.type.types.LongArrayType; import com.viaversion.viaversion.api.type.types.LongArrayType;
import us.myles.ViaVersion.api.type.types.LongType; import com.viaversion.viaversion.api.type.types.LongType;
import us.myles.ViaVersion.api.type.types.RemainingBytesType; import com.viaversion.viaversion.api.type.types.RemainingBytesType;
import us.myles.ViaVersion.api.type.types.ShortByteArrayType; import com.viaversion.viaversion.api.type.types.ShortByteArrayType;
import us.myles.ViaVersion.api.type.types.ShortType; import com.viaversion.viaversion.api.type.types.ShortType;
import us.myles.ViaVersion.api.type.types.StringType; import com.viaversion.viaversion.api.type.types.StringType;
import us.myles.ViaVersion.api.type.types.UUIDIntArrayType; import com.viaversion.viaversion.api.type.types.UUIDIntArrayType;
import us.myles.ViaVersion.api.type.types.UUIDType; import com.viaversion.viaversion.api.type.types.UUIDType;
import us.myles.ViaVersion.api.type.types.UnsignedByteType; import com.viaversion.viaversion.api.type.types.UnsignedByteType;
import us.myles.ViaVersion.api.type.types.UnsignedShortType; import com.viaversion.viaversion.api.type.types.UnsignedShortType;
import us.myles.ViaVersion.api.type.types.VarIntArrayType; import com.viaversion.viaversion.api.type.types.VarIntArrayType;
import us.myles.ViaVersion.api.type.types.VarIntType; import com.viaversion.viaversion.api.type.types.VarIntType;
import us.myles.ViaVersion.api.type.types.VarLongType; import com.viaversion.viaversion.api.type.types.VarLongType;
import us.myles.ViaVersion.api.type.types.VoidType; import com.viaversion.viaversion.api.type.types.VoidType;
import us.myles.ViaVersion.api.type.types.minecraft.BlockChangeRecordType; import com.viaversion.viaversion.api.type.types.minecraft.BlockChangeRecordType;
import us.myles.ViaVersion.api.type.types.minecraft.EulerAngleType; import com.viaversion.viaversion.api.type.types.minecraft.EulerAngleType;
import us.myles.ViaVersion.api.type.types.minecraft.FlatItemArrayType; import com.viaversion.viaversion.api.type.types.minecraft.FlatItemArrayType;
import us.myles.ViaVersion.api.type.types.minecraft.FlatItemType; import com.viaversion.viaversion.api.type.types.minecraft.FlatItemType;
import us.myles.ViaVersion.api.type.types.minecraft.FlatVarIntItemArrayType; import com.viaversion.viaversion.api.type.types.minecraft.FlatVarIntItemArrayType;
import us.myles.ViaVersion.api.type.types.minecraft.FlatVarIntItemType; import com.viaversion.viaversion.api.type.types.minecraft.FlatVarIntItemType;
import us.myles.ViaVersion.api.type.types.minecraft.ItemArrayType; import com.viaversion.viaversion.api.type.types.minecraft.ItemArrayType;
import us.myles.ViaVersion.api.type.types.minecraft.ItemType; import com.viaversion.viaversion.api.type.types.minecraft.ItemType;
import us.myles.ViaVersion.api.type.types.minecraft.NBTType; import com.viaversion.viaversion.api.type.types.minecraft.NBTType;
import us.myles.ViaVersion.api.type.types.minecraft.OptPosition1_14Type; import com.viaversion.viaversion.api.type.types.minecraft.OptPosition1_14Type;
import us.myles.ViaVersion.api.type.types.minecraft.OptPositionType; import com.viaversion.viaversion.api.type.types.minecraft.OptPositionType;
import us.myles.ViaVersion.api.type.types.minecraft.OptUUIDType; import com.viaversion.viaversion.api.type.types.minecraft.OptUUIDType;
import us.myles.ViaVersion.api.type.types.minecraft.OptionalComponentType; import com.viaversion.viaversion.api.type.types.minecraft.OptionalComponentType;
import us.myles.ViaVersion.api.type.types.minecraft.OptionalVarIntType; import com.viaversion.viaversion.api.type.types.minecraft.OptionalVarIntType;
import us.myles.ViaVersion.api.type.types.minecraft.Position1_14Type; import com.viaversion.viaversion.api.type.types.minecraft.Position1_14Type;
import us.myles.ViaVersion.api.type.types.minecraft.PositionType; import com.viaversion.viaversion.api.type.types.minecraft.PositionType;
import us.myles.ViaVersion.api.type.types.minecraft.VarLongBlockChangeRecordType; import com.viaversion.viaversion.api.type.types.minecraft.VarLongBlockChangeRecordType;
import us.myles.ViaVersion.api.type.types.minecraft.VectorType; import com.viaversion.viaversion.api.type.types.minecraft.VectorType;
import us.myles.ViaVersion.api.type.types.minecraft.VillagerDataType; import com.viaversion.viaversion.api.type.types.minecraft.VillagerDataType;
import java.util.UUID; import java.util.UUID;

Datei anzeigen

@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.type; package com.viaversion.viaversion.api.type;
public interface TypeConverter<T> { public interface TypeConverter<T> {
/** /**

Datei anzeigen

@ -20,10 +20,10 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.type.types; package com.viaversion.viaversion.api.type.types;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import us.myles.ViaVersion.api.type.Type; import com.viaversion.viaversion.api.type.Type;
import java.lang.reflect.Array; import java.lang.reflect.Array;

Datei anzeigen

@ -20,11 +20,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.type.types; package com.viaversion.viaversion.api.type.types;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import us.myles.ViaVersion.api.type.Type; import com.viaversion.viaversion.api.type.Type;
import us.myles.ViaVersion.api.type.TypeConverter; import com.viaversion.viaversion.api.type.TypeConverter;
public class BooleanType extends Type<Boolean> implements TypeConverter<Boolean> { public class BooleanType extends Type<Boolean> implements TypeConverter<Boolean> {
public BooleanType() { public BooleanType() {

Datei anzeigen

@ -20,11 +20,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE. * SOFTWARE.
*/ */
package us.myles.ViaVersion.api.type.types; package com.viaversion.viaversion.api.type.types;
import com.google.common.base.Preconditions; import com.google.common.base.Preconditions;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import us.myles.ViaVersion.api.type.Type; import com.viaversion.viaversion.api.type.Type;
public class ByteArrayType extends Type<byte[]> { public class ByteArrayType extends Type<byte[]> {
public ByteArrayType() { public ByteArrayType() {

Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden Mehr anzeigen