[CI SKIP] Renamed NMS packages

This commit is contained in:
OmerBenGera 2023-09-22 16:03:55 +03:00
parent 6a88e4ac18
commit 6a23928c55
27 changed files with 38 additions and 38 deletions

View File

@ -1,4 +1,4 @@
package com.bgsoftware.wildloaders.nms.v117;
package com.bgsoftware.wildloaders.nms.v1_17;
import com.bgsoftware.wildloaders.api.holograms.Hologram;
import net.minecraft.nbt.CompoundTag;

View File

@ -1,9 +1,9 @@
package com.bgsoftware.wildloaders.nms.v117;
package com.bgsoftware.wildloaders.nms.v1_17;
import com.bgsoftware.wildloaders.api.loaders.ChunkLoader;
import com.bgsoftware.wildloaders.loaders.ITileEntityChunkLoader;
import com.bgsoftware.wildloaders.nms.v117.loader.ChunkLoaderBlockEntity;
import com.bgsoftware.wildloaders.nms.v117.npc.ChunkLoaderNPCWrapper;
import com.bgsoftware.wildloaders.nms.v1_17.loader.ChunkLoaderBlockEntity;
import com.bgsoftware.wildloaders.nms.v1_17.npc.ChunkLoaderNPCWrapper;
import net.minecraft.core.BlockPos;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.nbt.ListTag;

View File

@ -1,10 +1,10 @@
package com.bgsoftware.wildloaders.nms.v1201.loader;
package com.bgsoftware.wildloaders.nms.v1_17.loader;
import com.bgsoftware.wildloaders.api.holograms.Hologram;
import com.bgsoftware.wildloaders.api.loaders.ChunkLoader;
import com.bgsoftware.wildloaders.loaders.ITileEntityChunkLoader;
import com.bgsoftware.wildloaders.loaders.WChunkLoader;
import com.bgsoftware.wildloaders.nms.v1201.EntityHologram;
import com.bgsoftware.wildloaders.nms.v1_17.EntityHologram;
import net.minecraft.core.BlockPos;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.world.level.ChunkPos;

View File

@ -1,4 +1,4 @@
package com.bgsoftware.wildloaders.nms.v1182.loader;
package com.bgsoftware.wildloaders.nms.v1_17.loader;
import net.minecraft.core.BlockPos;
import net.minecraft.world.level.block.entity.BlockEntityType;

View File

@ -1,4 +1,4 @@
package com.bgsoftware.wildloaders.nms.v117.npc;
package com.bgsoftware.wildloaders.nms.v1_17.npc;
import com.bgsoftware.wildloaders.api.npc.ChunkLoaderNPC;
import net.minecraft.server.MinecraftServer;

View File

@ -1,4 +1,4 @@
package com.bgsoftware.wildloaders.nms.v117.npc;
package com.bgsoftware.wildloaders.nms.v1_17.npc;
import com.bgsoftware.common.reflection.ReflectMethod;
import com.bgsoftware.wildloaders.handlers.NPCHandler;

View File

@ -1,4 +1,4 @@
package com.bgsoftware.wildloaders.nms.v1182;
package com.bgsoftware.wildloaders.nms.v1_18;
import com.bgsoftware.common.reflection.ReflectMethod;
import com.bgsoftware.wildloaders.api.npc.ChunkLoaderNPC;

View File

@ -1,4 +1,4 @@
package com.bgsoftware.wildloaders.nms.v1182;
package com.bgsoftware.wildloaders.nms.v1_18;
import com.bgsoftware.wildloaders.api.holograms.Hologram;
import net.minecraft.nbt.CompoundTag;

View File

@ -1,8 +1,8 @@
package com.bgsoftware.wildloaders.nms.v1182;
package com.bgsoftware.wildloaders.nms.v1_18;
import com.bgsoftware.wildloaders.api.loaders.ChunkLoader;
import com.bgsoftware.wildloaders.loaders.ITileEntityChunkLoader;
import com.bgsoftware.wildloaders.nms.v1182.loader.ChunkLoaderBlockEntity;
import com.bgsoftware.wildloaders.nms.v1_18.loader.ChunkLoaderBlockEntity;
import net.minecraft.core.BlockPos;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.nbt.ListTag;

View File

@ -1,10 +1,10 @@
package com.bgsoftware.wildloaders.nms.v1194.loader;
package com.bgsoftware.wildloaders.nms.v1_18.loader;
import com.bgsoftware.wildloaders.api.holograms.Hologram;
import com.bgsoftware.wildloaders.api.loaders.ChunkLoader;
import com.bgsoftware.wildloaders.loaders.ITileEntityChunkLoader;
import com.bgsoftware.wildloaders.loaders.WChunkLoader;
import com.bgsoftware.wildloaders.nms.v1194.EntityHologram;
import com.bgsoftware.wildloaders.nms.v1_18.EntityHologram;
import net.minecraft.core.BlockPos;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.world.level.ChunkPos;

View File

@ -1,4 +1,4 @@
package com.bgsoftware.wildloaders.nms.v1194.loader;
package com.bgsoftware.wildloaders.nms.v1_18.loader;
import net.minecraft.core.BlockPos;
import net.minecraft.world.level.block.entity.BlockEntityType;

View File

@ -1,4 +1,4 @@
package com.bgsoftware.wildloaders.nms.v1194;
package com.bgsoftware.wildloaders.nms.v1_19;
import com.bgsoftware.common.reflection.ReflectMethod;
import com.bgsoftware.wildloaders.api.npc.ChunkLoaderNPC;

View File

@ -1,4 +1,4 @@
package com.bgsoftware.wildloaders.nms.v1194;
package com.bgsoftware.wildloaders.nms.v1_19;
import com.bgsoftware.wildloaders.api.holograms.Hologram;
import net.minecraft.nbt.CompoundTag;

View File

@ -1,8 +1,8 @@
package com.bgsoftware.wildloaders.nms.v1194;
package com.bgsoftware.wildloaders.nms.v1_19;
import com.bgsoftware.wildloaders.api.loaders.ChunkLoader;
import com.bgsoftware.wildloaders.loaders.ITileEntityChunkLoader;
import com.bgsoftware.wildloaders.nms.v1194.loader.ChunkLoaderBlockEntity;
import com.bgsoftware.wildloaders.nms.v1_19.loader.ChunkLoaderBlockEntity;
import net.minecraft.core.BlockPos;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.nbt.ListTag;

View File

@ -1,10 +1,10 @@
package com.bgsoftware.wildloaders.nms.v117.loader;
package com.bgsoftware.wildloaders.nms.v1_19.loader;
import com.bgsoftware.wildloaders.api.holograms.Hologram;
import com.bgsoftware.wildloaders.api.loaders.ChunkLoader;
import com.bgsoftware.wildloaders.loaders.ITileEntityChunkLoader;
import com.bgsoftware.wildloaders.loaders.WChunkLoader;
import com.bgsoftware.wildloaders.nms.v117.EntityHologram;
import com.bgsoftware.wildloaders.nms.v1_19.EntityHologram;
import net.minecraft.core.BlockPos;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.world.level.ChunkPos;

View File

@ -1,4 +1,4 @@
package com.bgsoftware.wildloaders.nms.v1201.loader;
package com.bgsoftware.wildloaders.nms.v1_19.loader;
import net.minecraft.core.BlockPos;
import net.minecraft.world.level.block.entity.BlockEntityType;

View File

@ -1,4 +1,4 @@
package com.bgsoftware.wildloaders.nms.v1201;
package com.bgsoftware.wildloaders.nms.v1_20_1;
import com.bgsoftware.common.reflection.ReflectMethod;
import com.bgsoftware.wildloaders.api.npc.ChunkLoaderNPC;

View File

@ -1,4 +1,4 @@
package com.bgsoftware.wildloaders.nms.v1201;
package com.bgsoftware.wildloaders.nms.v1_20_1;
import com.bgsoftware.wildloaders.api.holograms.Hologram;
import net.minecraft.nbt.CompoundTag;

View File

@ -1,8 +1,8 @@
package com.bgsoftware.wildloaders.nms.v1201;
package com.bgsoftware.wildloaders.nms.v1_20_1;
import com.bgsoftware.wildloaders.api.loaders.ChunkLoader;
import com.bgsoftware.wildloaders.loaders.ITileEntityChunkLoader;
import com.bgsoftware.wildloaders.nms.v1201.loader.ChunkLoaderBlockEntity;
import com.bgsoftware.wildloaders.nms.v1_20_1.loader.ChunkLoaderBlockEntity;
import net.minecraft.core.BlockPos;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.nbt.ListTag;

View File

@ -1,10 +1,10 @@
package com.bgsoftware.wildloaders.nms.v1182.loader;
package com.bgsoftware.wildloaders.nms.v1_20_1.loader;
import com.bgsoftware.wildloaders.api.holograms.Hologram;
import com.bgsoftware.wildloaders.api.loaders.ChunkLoader;
import com.bgsoftware.wildloaders.loaders.ITileEntityChunkLoader;
import com.bgsoftware.wildloaders.loaders.WChunkLoader;
import com.bgsoftware.wildloaders.nms.v1182.EntityHologram;
import com.bgsoftware.wildloaders.nms.v1_20_1.EntityHologram;
import net.minecraft.core.BlockPos;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.world.level.ChunkPos;

View File

@ -1,4 +1,4 @@
package com.bgsoftware.wildloaders.nms.v117.loader;
package com.bgsoftware.wildloaders.nms.v1_20_1.loader;
import net.minecraft.core.BlockPos;
import net.minecraft.world.level.block.entity.BlockEntityType;

View File

@ -21,7 +21,7 @@ include 'NMS:v1_7_R4'
include 'NMS:v1_8_R3'
include 'NMS:v1_12_R1'
include 'NMS:v1_16_R3'
include 'NMS:v117'
include 'NMS:v1182'
include 'NMS:v1194'
include 'NMS:v1201'
include 'NMS:v1_17'
include 'NMS:v1_18'
include 'NMS:v1_19'
include 'NMS:v1_20_1'

View File

@ -106,12 +106,12 @@ public final class WildLoadersPlugin extends JavaPlugin implements WildLoaders {
List<Pair<Integer, String>> versions = Arrays.asList(
new Pair<>(2729, null),
new Pair<>(2730, "v117"),
new Pair<>(2730, "v1_17"),
new Pair<>(2974, null),
new Pair<>(2975, "v1182"),
new Pair<>(2975, "v1_18"),
new Pair<>(3336, null),
new Pair<>(3337, "v1194"),
new Pair<>(3465, "v1201")
new Pair<>(3337, "v1_19"),
new Pair<>(3465, "v1_20_1")
);
for (Pair<Integer, String> versionData : versions) {