Skip to content

Commit

Permalink
Rename package from ..minecraft.versiontools to ..minecraft.vcompat
Browse files Browse the repository at this point in the history
Bump version to 2.0.0
  • Loading branch information
Lauriichan committed Apr 14, 2021
1 parent bb9b1ef commit 3b9bc50
Show file tree
Hide file tree
Showing 353 changed files with 1,194 additions and 1,194 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.sourcewriters.minecraft</groupId>
<artifactId>vcompat</artifactId>
<version>1.1.5</version>
<version>2.0.0</version>
<name>vCompat</name>
<distributionManagement>
<repository>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.sourcewriters.minecraft.versiontools.entity;
package net.sourcewriters.minecraft.vcompat.entity;

import java.util.ArrayList;
import java.util.Arrays;
Expand All @@ -9,13 +9,13 @@
import org.bukkit.Location;
import org.bukkit.entity.Player;

import net.sourcewriters.minecraft.versiontools.entity.handler.CustomEntity;
import net.sourcewriters.minecraft.versiontools.entity.handler.DefaultEntityType;
import net.sourcewriters.minecraft.versiontools.entity.handler.EntityBuilder;
import net.sourcewriters.minecraft.versiontools.entity.handler.EntityType;
import net.sourcewriters.minecraft.versiontools.reflection.VersionControl;
import net.sourcewriters.minecraft.versiontools.reflection.entity.NmsArmorStand;
import net.sourcewriters.minecraft.versiontools.reflection.entity.NmsEntityType;
import net.sourcewriters.minecraft.vcompat.entity.handler.CustomEntity;
import net.sourcewriters.minecraft.vcompat.entity.handler.DefaultEntityType;
import net.sourcewriters.minecraft.vcompat.entity.handler.EntityBuilder;
import net.sourcewriters.minecraft.vcompat.entity.handler.EntityType;
import net.sourcewriters.minecraft.vcompat.reflection.VersionControl;
import net.sourcewriters.minecraft.vcompat.reflection.entity.NmsArmorStand;
import net.sourcewriters.minecraft.vcompat.reflection.entity.NmsEntityType;

public class Hologram extends CustomEntity {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.sourcewriters.minecraft.versiontools.entity.attributes;
package net.sourcewriters.minecraft.vcompat.entity.attributes;

public interface Nameable {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.sourcewriters.minecraft.versiontools.entity.handler;
package net.sourcewriters.minecraft.vcompat.entity.handler;

import java.util.UUID;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.sourcewriters.minecraft.versiontools.entity.handler;
package net.sourcewriters.minecraft.vcompat.entity.handler;

public enum DefaultEntityType implements EntityType {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.sourcewriters.minecraft.versiontools.entity.handler;
package net.sourcewriters.minecraft.vcompat.entity.handler;

import java.util.UUID;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package net.sourcewriters.minecraft.versiontools.entity.handler;
package net.sourcewriters.minecraft.vcompat.entity.handler;

import static net.sourcewriters.minecraft.versiontools.entity.handler.EntityRegistry.REGISTRY;
import static net.sourcewriters.minecraft.vcompat.entity.handler.EntityRegistry.REGISTRY;

import java.util.ArrayList;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.sourcewriters.minecraft.versiontools.entity.handler;
package net.sourcewriters.minecraft.vcompat.entity.handler;

import java.util.HashMap;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package net.sourcewriters.minecraft.vcompat.entity.handler;

public interface EntityType {

public String getName();

}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.sourcewriters.minecraft.versiontools.reflection;
package net.sourcewriters.minecraft.vcompat.reflection;

import org.bukkit.entity.EntityType;
import org.bukkit.inventory.ItemStack;
Expand All @@ -9,9 +9,9 @@
import com.syntaxphoenix.syntaxapi.nbt.NbtList;
import com.syntaxphoenix.syntaxapi.nbt.NbtTag;

import net.sourcewriters.minecraft.versiontools.reflection.data.WrapType;
import net.sourcewriters.minecraft.versiontools.reflection.data.WrappedContext;
import net.sourcewriters.minecraft.versiontools.reflection.entity.NmsEntityType;
import net.sourcewriters.minecraft.vcompat.reflection.data.WrapType;
import net.sourcewriters.minecraft.vcompat.reflection.data.WrappedContext;
import net.sourcewriters.minecraft.vcompat.reflection.entity.NmsEntityType;

public abstract class BukkitConversion<V extends VersionControl> extends VersionHandler<V> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.sourcewriters.minecraft.versiontools.reflection;
package net.sourcewriters.minecraft.vcompat.reflection;

import java.io.File;
import java.util.UUID;
Expand All @@ -10,9 +10,9 @@
import com.syntaxphoenix.syntaxapi.data.container.nbt.NbtAdapterRegistry;
import com.syntaxphoenix.syntaxapi.data.container.nbt.NbtContainer;

import net.sourcewriters.minecraft.versiontools.reflection.data.WrappedContainer;
import net.sourcewriters.minecraft.versiontools.reflection.data.persistence.DataDistributor;
import net.sourcewriters.minecraft.versiontools.reflection.data.wrap.SimpleSyntaxContainer;
import net.sourcewriters.minecraft.vcompat.reflection.data.WrappedContainer;
import net.sourcewriters.minecraft.vcompat.reflection.data.persistence.DataDistributor;
import net.sourcewriters.minecraft.vcompat.reflection.data.wrap.SimpleSyntaxContainer;

public class DataProvider extends VersionHandler<VersionControl> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package net.sourcewriters.minecraft.versiontools.reflection;
package net.sourcewriters.minecraft.vcompat.reflection;

import org.bukkit.World;
import org.bukkit.entity.EntityType;

import net.sourcewriters.minecraft.versiontools.reflection.entity.NmsEntity;
import net.sourcewriters.minecraft.versiontools.reflection.entity.NmsEntityType;
import net.sourcewriters.minecraft.vcompat.reflection.entity.NmsEntity;
import net.sourcewriters.minecraft.vcompat.reflection.entity.NmsEntityType;

public abstract class EntityProvider<V extends VersionControl> extends VersionHandler<V> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package net.sourcewriters.minecraft.versiontools.reflection;
package net.sourcewriters.minecraft.vcompat.reflection;

import com.syntaxphoenix.syntaxapi.command.ArgumentMap;
import com.syntaxphoenix.syntaxapi.utils.key.IKey;

import net.sourcewriters.minecraft.versiontools.reflection.packet.NmsPacket;
import net.sourcewriters.minecraft.vcompat.reflection.packet.NmsPacket;

public abstract class PacketHandler<V extends VersionControl> extends VersionHandler<V> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.sourcewriters.minecraft.versiontools.reflection;
package net.sourcewriters.minecraft.vcompat.reflection;

import java.util.Collections;
import java.util.HashMap;
Expand All @@ -8,7 +8,7 @@
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;

import net.sourcewriters.minecraft.versiontools.reflection.entity.NmsPlayer;
import net.sourcewriters.minecraft.vcompat.reflection.entity.NmsPlayer;

public abstract class PlayerProvider<V extends VersionControl> extends VersionHandler<V> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package net.sourcewriters.minecraft.versiontools.reflection;
package net.sourcewriters.minecraft.vcompat.reflection;

import static net.sourcewriters.minecraft.versiontools.utils.constants.MinecraftConstants.TEXTURE_SIGNATURE;
import static net.sourcewriters.minecraft.vcompat.utils.constants.MinecraftConstants.TEXTURE_SIGNATURE;

import java.util.Collections;
import java.util.HashMap;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package net.sourcewriters.minecraft.versiontools.reflection;
package net.sourcewriters.minecraft.vcompat.reflection;

import net.sourcewriters.minecraft.versiontools.reflection.tools.BlockTools;
import net.sourcewriters.minecraft.versiontools.reflection.tools.ServerTools;
import net.sourcewriters.minecraft.versiontools.reflection.tools.SkinTools;
import net.sourcewriters.minecraft.vcompat.reflection.tools.BlockTools;
import net.sourcewriters.minecraft.vcompat.reflection.tools.ServerTools;
import net.sourcewriters.minecraft.vcompat.reflection.tools.SkinTools;

public abstract class ToolProvider<V extends VersionControl> extends VersionHandler<V> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package net.sourcewriters.minecraft.versiontools.reflection;
package net.sourcewriters.minecraft.vcompat.reflection;

import com.syntaxphoenix.syntaxapi.reflection.Reflect;
import com.syntaxphoenix.syntaxapi.utils.java.tools.Container;

import net.sourcewriters.minecraft.versiontools.version.Versions;
import net.sourcewriters.minecraft.vcompat.version.Versions;

public abstract class VersionControl {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.sourcewriters.minecraft.versiontools.reflection;
package net.sourcewriters.minecraft.vcompat.reflection;

public abstract class VersionHandler<V extends VersionControl> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package net.sourcewriters.minecraft.versiontools.reflection.data;
package net.sourcewriters.minecraft.vcompat.reflection.data;

import java.math.BigDecimal;
import java.math.BigInteger;

import com.syntaxphoenix.syntaxapi.data.DataType;
import com.syntaxphoenix.syntaxapi.data.PrimitiveDataType;

import net.sourcewriters.minecraft.versiontools.reflection.data.wrap.SimpleSyntaxType;
import net.sourcewriters.minecraft.versiontools.reflection.data.wrap.SimpleWrapType;
import net.sourcewriters.minecraft.vcompat.reflection.data.wrap.SimpleSyntaxType;
import net.sourcewriters.minecraft.vcompat.reflection.data.wrap.SimpleWrapType;

public interface WrapType<P, C> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package net.sourcewriters.minecraft.versiontools.reflection.data;
package net.sourcewriters.minecraft.vcompat.reflection.data;

import static net.sourcewriters.minecraft.versiontools.utils.constants.DefaultConstants.NAMESPACE_STRING;
import static net.sourcewriters.minecraft.vcompat.utils.constants.DefaultConstants.NAMESPACE_STRING;

import java.util.Optional;
import java.util.Set;
Expand All @@ -10,7 +10,7 @@
import com.syntaxphoenix.syntaxapi.utils.key.Namespace;
import com.syntaxphoenix.syntaxapi.utils.key.NamespacedKey;

import net.sourcewriters.minecraft.versiontools.reflection.data.wrap.SyntaxKey;
import net.sourcewriters.minecraft.vcompat.reflection.data.wrap.SyntaxKey;

public abstract class WrappedContainer {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.sourcewriters.minecraft.versiontools.reflection.data;
package net.sourcewriters.minecraft.vcompat.reflection.data;

import com.syntaxphoenix.syntaxapi.data.DataAdapterContext;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.sourcewriters.minecraft.versiontools.reflection.data;
package net.sourcewriters.minecraft.vcompat.reflection.data;

import com.syntaxphoenix.syntaxapi.utils.key.Namespace;
import com.syntaxphoenix.syntaxapi.utils.key.NamespacedKey;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.sourcewriters.minecraft.versiontools.reflection.data.persistence;
package net.sourcewriters.minecraft.vcompat.reflection.data.persistence;

import java.io.File;
import java.util.Collections;
Expand All @@ -7,7 +7,7 @@
import java.util.function.Function;
import java.util.function.Supplier;

import net.sourcewriters.minecraft.versiontools.reflection.DataProvider;
import net.sourcewriters.minecraft.vcompat.reflection.DataProvider;

public class DataDistributor<K> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.sourcewriters.minecraft.versiontools.reflection.data.persistence;
package net.sourcewriters.minecraft.vcompat.reflection.data.persistence;

import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.sourcewriters.minecraft.versiontools.reflection.data.persistence;
package net.sourcewriters.minecraft.vcompat.reflection.data.persistence;

import java.io.File;
import java.util.LinkedHashSet;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.sourcewriters.minecraft.versiontools.reflection.data.type;
package net.sourcewriters.minecraft.vcompat.reflection.data.type;

import net.sourcewriters.minecraft.versiontools.reflection.data.WrapType;
import net.sourcewriters.minecraft.versiontools.reflection.data.WrappedContext;
import net.sourcewriters.minecraft.vcompat.reflection.data.WrapType;
import net.sourcewriters.minecraft.vcompat.reflection.data.WrappedContext;

public final class ObjectType implements WrapType<Object, Object> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package net.sourcewriters.minecraft.versiontools.reflection.data.type;
package net.sourcewriters.minecraft.vcompat.reflection.data.type;

import com.syntaxphoenix.syntaxapi.data.DataAdapterContext;
import com.syntaxphoenix.syntaxapi.data.DataType;
import com.syntaxphoenix.syntaxapi.data.IDataContainer;
import com.syntaxphoenix.syntaxapi.data.PrimitiveDataType;

import net.sourcewriters.minecraft.versiontools.reflection.VersionControl;
import net.sourcewriters.minecraft.versiontools.reflection.data.WrapType;
import net.sourcewriters.minecraft.versiontools.utils.minecraft.Skin;
import net.sourcewriters.minecraft.vcompat.reflection.VersionControl;
import net.sourcewriters.minecraft.vcompat.reflection.data.WrapType;
import net.sourcewriters.minecraft.vcompat.utils.minecraft.Skin;

public final class SkinDataType implements DataType<IDataContainer, Skin> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package net.sourcewriters.minecraft.versiontools.reflection.data.wrap;
package net.sourcewriters.minecraft.vcompat.reflection.data.wrap;

import java.util.Set;

import com.syntaxphoenix.syntaxapi.data.IDataContainer;

import net.sourcewriters.minecraft.versiontools.reflection.data.WrapType;
import net.sourcewriters.minecraft.versiontools.reflection.data.WrappedContainer;
import net.sourcewriters.minecraft.versiontools.reflection.data.WrappedKey;
import net.sourcewriters.minecraft.vcompat.reflection.data.WrapType;
import net.sourcewriters.minecraft.vcompat.reflection.data.WrappedContainer;
import net.sourcewriters.minecraft.vcompat.reflection.data.WrappedKey;

public final class SimpleSyntaxContainer<E extends IDataContainer> extends WrappedContainer {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package net.sourcewriters.minecraft.versiontools.reflection.data.wrap;
package net.sourcewriters.minecraft.vcompat.reflection.data.wrap;

import com.syntaxphoenix.syntaxapi.data.DataAdapterContext;
import com.syntaxphoenix.syntaxapi.data.IDataContainer;

import net.sourcewriters.minecraft.versiontools.reflection.data.WrappedContainer;
import net.sourcewriters.minecraft.versiontools.reflection.data.WrappedContext;
import net.sourcewriters.minecraft.vcompat.reflection.data.WrappedContainer;
import net.sourcewriters.minecraft.vcompat.reflection.data.WrappedContext;

public class SimpleSyntaxContext extends WrappedContext<DataAdapterContext> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package net.sourcewriters.minecraft.versiontools.reflection.data.wrap;
package net.sourcewriters.minecraft.vcompat.reflection.data.wrap;

import com.syntaxphoenix.syntaxapi.data.DataAdapterContext;
import com.syntaxphoenix.syntaxapi.data.DataType;

import net.sourcewriters.minecraft.versiontools.reflection.VersionControl;
import net.sourcewriters.minecraft.versiontools.reflection.data.WrapType;
import net.sourcewriters.minecraft.vcompat.reflection.VersionControl;
import net.sourcewriters.minecraft.vcompat.reflection.data.WrapType;

public class SimpleSyntaxType<P, C> implements DataType<P, C> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package net.sourcewriters.minecraft.versiontools.reflection.data.wrap;
package net.sourcewriters.minecraft.vcompat.reflection.data.wrap;

import com.syntaxphoenix.syntaxapi.data.DataType;

import net.sourcewriters.minecraft.versiontools.reflection.data.WrapType;
import net.sourcewriters.minecraft.versiontools.reflection.data.WrappedContext;
import net.sourcewriters.minecraft.vcompat.reflection.data.WrapType;
import net.sourcewriters.minecraft.vcompat.reflection.data.WrappedContext;

public class SimpleWrapType<P, C> implements WrapType<P, C> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package net.sourcewriters.minecraft.versiontools.reflection.data.wrap;
package net.sourcewriters.minecraft.vcompat.reflection.data.wrap;

import static net.sourcewriters.minecraft.versiontools.utils.constants.DefaultConstants.NAMESPACE_STRING;
import static net.sourcewriters.minecraft.vcompat.utils.constants.DefaultConstants.NAMESPACE_STRING;

import org.bukkit.plugin.Plugin;

import com.syntaxphoenix.syntaxapi.utils.key.IKey;
import com.syntaxphoenix.syntaxapi.utils.key.Namespace;
import com.syntaxphoenix.syntaxapi.utils.key.NamespacedKey;

import net.sourcewriters.minecraft.versiontools.reflection.data.WrappedKey;
import net.sourcewriters.minecraft.vcompat.reflection.data.WrappedKey;

public final class SyntaxKey extends WrappedKey<NamespacedKey> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.sourcewriters.minecraft.versiontools.reflection.entity;
package net.sourcewriters.minecraft.vcompat.reflection.entity;

public interface NmsArmorStand extends NmsEntityLiving {

Expand Down
Loading

0 comments on commit 3b9bc50

Please sign in to comment.