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:
Ursprung
a3b1ce817e
Commit
a25a5634de
@ -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>
|
||||||
|
@ -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>())
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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),
|
||||||
|
@ -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),
|
||||||
|
@ -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),
|
||||||
|
@ -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),
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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.
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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),
|
||||||
|
@ -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),
|
||||||
|
@ -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),
|
||||||
|
@ -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),
|
||||||
|
@ -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),
|
||||||
|
@ -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),
|
||||||
|
@ -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),
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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.
|
||||||
|
@ -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 {
|
||||||
/**
|
/**
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
@ -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.
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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 {
|
||||||
|
@ -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> {
|
||||||
|
@ -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;
|
||||||
|
@ -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> {
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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> {
|
||||||
/**
|
/**
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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() {
|
||||||
|
@ -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
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren