mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 03:05:28 +01:00
fabric-1.20: fixup package name
This commit is contained in:
parent
8f10ece108
commit
1d94af6a11
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4;
|
||||
package org.dynmap.fabric_1_20;
|
||||
|
||||
import net.fabricmc.api.ModInitializer;
|
||||
import net.fabricmc.loader.api.FabricLoader;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4;
|
||||
package org.dynmap.fabric_1_20;
|
||||
|
||||
import com.mojang.brigadier.CommandDispatcher;
|
||||
import com.mojang.brigadier.exceptions.CommandSyntaxException;
|
||||
@ -35,16 +35,16 @@ import org.dynmap.common.DynmapCommandSender;
|
||||
import org.dynmap.common.DynmapListenerManager;
|
||||
import org.dynmap.common.DynmapPlayer;
|
||||
import org.dynmap.common.chunk.GenericChunkCache;
|
||||
import org.dynmap.fabric_1_19_4.command.DmapCommand;
|
||||
import org.dynmap.fabric_1_19_4.command.DmarkerCommand;
|
||||
import org.dynmap.fabric_1_19_4.command.DynmapCommand;
|
||||
import org.dynmap.fabric_1_19_4.command.DynmapExpCommand;
|
||||
import org.dynmap.fabric_1_19_4.event.BlockEvents;
|
||||
import org.dynmap.fabric_1_19_4.event.CustomServerChunkEvents;
|
||||
import org.dynmap.fabric_1_19_4.event.CustomServerLifecycleEvents;
|
||||
import org.dynmap.fabric_1_19_4.event.PlayerEvents;
|
||||
import org.dynmap.fabric_1_19_4.mixin.BiomeEffectsAccessor;
|
||||
import org.dynmap.fabric_1_19_4.permissions.*;
|
||||
import org.dynmap.fabric_1_20.command.DmapCommand;
|
||||
import org.dynmap.fabric_1_20.command.DmarkerCommand;
|
||||
import org.dynmap.fabric_1_20.command.DynmapCommand;
|
||||
import org.dynmap.fabric_1_20.command.DynmapExpCommand;
|
||||
import org.dynmap.fabric_1_20.event.BlockEvents;
|
||||
import org.dynmap.fabric_1_20.event.CustomServerChunkEvents;
|
||||
import org.dynmap.fabric_1_20.event.CustomServerLifecycleEvents;
|
||||
import org.dynmap.fabric_1_20.event.PlayerEvents;
|
||||
import org.dynmap.fabric_1_20.mixin.BiomeEffectsAccessor;
|
||||
import org.dynmap.fabric_1_20.permissions.*;
|
||||
import org.dynmap.permissions.PermissionsHandler;
|
||||
import org.dynmap.renderer.DynmapBlockState;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4;
|
||||
package org.dynmap.fabric_1_20;
|
||||
|
||||
import net.minecraft.server.world.ServerWorld;
|
||||
import org.dynmap.DynmapLocation;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4;
|
||||
package org.dynmap.fabric_1_20;
|
||||
|
||||
import net.minecraft.server.command.ServerCommandSource;
|
||||
import net.minecraft.text.LiteralTextContent;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4;
|
||||
package org.dynmap.fabric_1_20;
|
||||
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4;
|
||||
package org.dynmap.fabric_1_20;
|
||||
|
||||
import net.minecraft.nbt.*;
|
||||
import net.minecraft.server.world.ServerChunkManager;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4;
|
||||
package org.dynmap.fabric_1_20;
|
||||
|
||||
import com.google.common.collect.Iterables;
|
||||
import com.google.gson.Gson;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4;
|
||||
package org.dynmap.fabric_1_20;
|
||||
|
||||
import com.mojang.authlib.GameProfile;
|
||||
import net.fabricmc.loader.api.FabricLoader;
|
||||
@ -29,8 +29,8 @@ import org.dynmap.common.BiomeMap;
|
||||
import org.dynmap.common.DynmapListenerManager;
|
||||
import org.dynmap.common.DynmapPlayer;
|
||||
import org.dynmap.common.DynmapServerInterface;
|
||||
import org.dynmap.fabric_1_19_4.event.BlockEvents;
|
||||
import org.dynmap.fabric_1_19_4.event.ServerChatEvents;
|
||||
import org.dynmap.fabric_1_20.event.BlockEvents;
|
||||
import org.dynmap.fabric_1_20.event.ServerChatEvents;
|
||||
import org.dynmap.utils.MapChunkCache;
|
||||
import org.dynmap.utils.VisibilityLimit;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4;
|
||||
package org.dynmap.fabric_1_20;
|
||||
|
||||
import net.minecraft.registry.RegistryKey;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4;
|
||||
package org.dynmap.fabric_1_20;
|
||||
|
||||
import org.dynmap.common.chunk.GenericBitStorage;
|
||||
import org.dynmap.common.chunk.GenericNBTCompound;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4;
|
||||
package org.dynmap.fabric_1_20;
|
||||
|
||||
import java.util.concurrent.FutureTask;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4;
|
||||
package org.dynmap.fabric_1_20;
|
||||
|
||||
import org.dynmap.DynmapCore;
|
||||
import org.dynmap.Log;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4.access;
|
||||
package org.dynmap.fabric_1_20.access;
|
||||
|
||||
public interface ProtoChunkAccessor {
|
||||
boolean getTouchedByWorldGen();
|
||||
|
@ -1,6 +1,6 @@
|
||||
package org.dynmap.fabric_1_19_4.command;
|
||||
package org.dynmap.fabric_1_20.command;
|
||||
|
||||
import org.dynmap.fabric_1_19_4.DynmapPlugin;
|
||||
import org.dynmap.fabric_1_20.DynmapPlugin;
|
||||
|
||||
public class DmapCommand extends DynmapCommandExecutor {
|
||||
public DmapCommand(DynmapPlugin p) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
package org.dynmap.fabric_1_19_4.command;
|
||||
package org.dynmap.fabric_1_20.command;
|
||||
|
||||
import org.dynmap.fabric_1_19_4.DynmapPlugin;
|
||||
import org.dynmap.fabric_1_20.DynmapPlugin;
|
||||
|
||||
public class DmarkerCommand extends DynmapCommandExecutor {
|
||||
public DmarkerCommand(DynmapPlugin p) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
package org.dynmap.fabric_1_19_4.command;
|
||||
package org.dynmap.fabric_1_20.command;
|
||||
|
||||
import org.dynmap.fabric_1_19_4.DynmapPlugin;
|
||||
import org.dynmap.fabric_1_20.DynmapPlugin;
|
||||
|
||||
public class DynmapCommand extends DynmapCommandExecutor {
|
||||
public DynmapCommand(DynmapPlugin p) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4.command;
|
||||
package org.dynmap.fabric_1_20.command;
|
||||
|
||||
import com.mojang.brigadier.Command;
|
||||
import com.mojang.brigadier.CommandDispatcher;
|
||||
@ -8,7 +8,7 @@ import com.mojang.brigadier.tree.ArgumentCommandNode;
|
||||
import com.mojang.brigadier.tree.LiteralCommandNode;
|
||||
import com.mojang.brigadier.tree.RootCommandNode;
|
||||
import net.minecraft.server.command.ServerCommandSource;
|
||||
import org.dynmap.fabric_1_19_4.DynmapPlugin;
|
||||
import org.dynmap.fabric_1_20.DynmapPlugin;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
package org.dynmap.fabric_1_19_4.command;
|
||||
package org.dynmap.fabric_1_20.command;
|
||||
|
||||
import org.dynmap.fabric_1_19_4.DynmapPlugin;
|
||||
import org.dynmap.fabric_1_20.DynmapPlugin;
|
||||
|
||||
public class DynmapExpCommand extends DynmapCommandExecutor {
|
||||
public DynmapExpCommand(DynmapPlugin p) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4.event;
|
||||
package org.dynmap.fabric_1_20.event;
|
||||
|
||||
import net.fabricmc.fabric.api.event.Event;
|
||||
import net.fabricmc.fabric.api.event.EventFactory;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4.event;
|
||||
package org.dynmap.fabric_1_20.event;
|
||||
|
||||
import net.fabricmc.fabric.api.event.Event;
|
||||
import net.fabricmc.fabric.api.event.EventFactory;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4.event;
|
||||
package org.dynmap.fabric_1_20.event;
|
||||
|
||||
import net.fabricmc.fabric.api.event.Event;
|
||||
import net.fabricmc.fabric.api.event.EventFactory;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4.event;
|
||||
package org.dynmap.fabric_1_20.event;
|
||||
|
||||
import net.fabricmc.fabric.api.event.Event;
|
||||
import net.fabricmc.fabric.api.event.EventFactory;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4.event;
|
||||
package org.dynmap.fabric_1_20.event;
|
||||
|
||||
import net.fabricmc.fabric.api.event.Event;
|
||||
import net.fabricmc.fabric.api.event.EventFactory;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4.mixin;
|
||||
package org.dynmap.fabric_1_20.mixin;
|
||||
|
||||
import net.minecraft.world.biome.BiomeEffects;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
|
@ -1,7 +1,7 @@
|
||||
package org.dynmap.fabric_1_19_4.mixin;
|
||||
package org.dynmap.fabric_1_20.mixin;
|
||||
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import org.dynmap.fabric_1_19_4.event.CustomServerLifecycleEvents;
|
||||
import org.dynmap.fabric_1_20.event.CustomServerLifecycleEvents;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
|
@ -1,9 +1,9 @@
|
||||
package org.dynmap.fabric_1_19_4.mixin;
|
||||
package org.dynmap.fabric_1_20.mixin;
|
||||
|
||||
import net.minecraft.network.ClientConnection;
|
||||
import net.minecraft.server.PlayerManager;
|
||||
import net.minecraft.server.network.ServerPlayerEntity;
|
||||
import org.dynmap.fabric_1_19_4.event.PlayerEvents;
|
||||
import org.dynmap.fabric_1_20.event.PlayerEvents;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
|
@ -1,9 +1,9 @@
|
||||
package org.dynmap.fabric_1_19_4.mixin;
|
||||
package org.dynmap.fabric_1_20.mixin;
|
||||
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.chunk.ProtoChunk;
|
||||
import org.dynmap.fabric_1_19_4.access.ProtoChunkAccessor;
|
||||
import org.dynmap.fabric_1_20.access.ProtoChunkAccessor;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4.mixin;
|
||||
package org.dynmap.fabric_1_20.mixin;
|
||||
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.block.entity.BlockEntity;
|
||||
@ -15,8 +15,8 @@ import net.minecraft.text.Text;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
|
||||
import java.util.List;
|
||||
import org.dynmap.fabric_1_19_4.event.BlockEvents;
|
||||
import org.dynmap.fabric_1_19_4.event.ServerChatEvents;
|
||||
import org.dynmap.fabric_1_20.event.BlockEvents;
|
||||
import org.dynmap.fabric_1_20.event.ServerChatEvents;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.Shadow;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
|
@ -1,9 +1,9 @@
|
||||
package org.dynmap.fabric_1_19_4.mixin;
|
||||
package org.dynmap.fabric_1_20.mixin;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.server.network.ServerPlayerEntity;
|
||||
import net.minecraft.server.world.ServerWorld;
|
||||
import org.dynmap.fabric_1_19_4.event.PlayerEvents;
|
||||
import org.dynmap.fabric_1_20.event.PlayerEvents;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
|
@ -1,11 +1,11 @@
|
||||
package org.dynmap.fabric_1_19_4.mixin;
|
||||
package org.dynmap.fabric_1_20.mixin;
|
||||
|
||||
import net.minecraft.server.world.ChunkHolder;
|
||||
import net.minecraft.server.world.ServerWorld;
|
||||
import net.minecraft.server.world.ThreadedAnvilChunkStorage;
|
||||
import net.minecraft.world.chunk.Chunk;
|
||||
import org.dynmap.fabric_1_19_4.access.ProtoChunkAccessor;
|
||||
import org.dynmap.fabric_1_19_4.event.CustomServerChunkEvents;
|
||||
import org.dynmap.fabric_1_20.access.ProtoChunkAccessor;
|
||||
import org.dynmap.fabric_1_20.event.CustomServerChunkEvents;
|
||||
import org.spongepowered.asm.mixin.Final;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.Shadow;
|
||||
|
@ -1,10 +1,10 @@
|
||||
package org.dynmap.fabric_1_19_4.mixin;
|
||||
package org.dynmap.fabric_1_20.mixin;
|
||||
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.chunk.WorldChunk;
|
||||
import org.dynmap.fabric_1_19_4.event.BlockEvents;
|
||||
import org.dynmap.fabric_1_20.event.BlockEvents;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.Shadow;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
|
@ -1,9 +1,9 @@
|
||||
package org.dynmap.fabric_1_19_4.permissions;
|
||||
package org.dynmap.fabric_1_20.permissions;
|
||||
|
||||
import me.lucko.fabric.api.permissions.v0.Permissions;
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import org.dynmap.Log;
|
||||
import org.dynmap.fabric_1_19_4.DynmapPlugin;
|
||||
import org.dynmap.fabric_1_20.DynmapPlugin;
|
||||
import org.dynmap.json.simple.parser.JSONParser;
|
||||
|
||||
import java.util.Set;
|
||||
|
@ -1,9 +1,9 @@
|
||||
package org.dynmap.fabric_1_19_4.permissions;
|
||||
package org.dynmap.fabric_1_20.permissions;
|
||||
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import org.dynmap.ConfigurationNode;
|
||||
import org.dynmap.Log;
|
||||
import org.dynmap.fabric_1_19_4.DynmapPlugin;
|
||||
import org.dynmap.fabric_1_20.DynmapPlugin;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.HashMap;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4.permissions;
|
||||
package org.dynmap.fabric_1_20.permissions;
|
||||
|
||||
import me.lucko.fabric.api.permissions.v0.Permissions;
|
||||
import net.luckperms.api.LuckPerms;
|
||||
@ -9,7 +9,7 @@ import net.luckperms.api.util.Tristate;
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import org.dynmap.Log;
|
||||
import org.dynmap.fabric_1_19_4.DynmapPlugin;
|
||||
import org.dynmap.fabric_1_20.DynmapPlugin;
|
||||
import org.dynmap.json.simple.JSONArray;
|
||||
import org.dynmap.json.simple.JSONObject;
|
||||
import org.dynmap.json.simple.parser.JSONParser;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package org.dynmap.fabric_1_19_4.permissions;
|
||||
package org.dynmap.fabric_1_20.permissions;
|
||||
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import org.dynmap.Log;
|
||||
import org.dynmap.fabric_1_19_4.DynmapPlugin;
|
||||
import org.dynmap.fabric_1_20.DynmapPlugin;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_19_4.permissions;
|
||||
package org.dynmap.fabric_1_20.permissions;
|
||||
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"required": true,
|
||||
"minVersion": "0.8",
|
||||
"package": "org.dynmap.fabric_1_19_4.mixin",
|
||||
"package": "org.dynmap.fabric_1_20.mixin",
|
||||
"compatibilityLevel": "JAVA_17",
|
||||
"mixins": [
|
||||
"BiomeEffectsAccessor",
|
||||
|
@ -18,7 +18,7 @@
|
||||
"environment": "*",
|
||||
"entrypoints": {
|
||||
"main": [
|
||||
"org.dynmap.fabric_1_19_4.DynmapMod"
|
||||
"org.dynmap.fabric_1_20.DynmapMod"
|
||||
]
|
||||
},
|
||||
"mixins": [
|
||||
|
Loading…
Reference in New Issue
Block a user