mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-24 17:47:40 +01:00
fabric-1.18: s/1.17.1/1.18/
This commit is contained in:
parent
c62631f67f
commit
73b4bc103c
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1;
|
||||
package org.dynmap.fabric_1_18;
|
||||
|
||||
import net.minecraft.nbt.NbtCompound;
|
||||
import net.minecraft.nbt.NbtList;
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1;
|
||||
package org.dynmap.fabric_1_18;
|
||||
|
||||
import net.fabricmc.api.ModInitializer;
|
||||
import net.fabricmc.loader.api.FabricLoader;
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1;
|
||||
package org.dynmap.fabric_1_18;
|
||||
|
||||
import com.mojang.brigadier.CommandDispatcher;
|
||||
import com.mojang.brigadier.exceptions.CommandSyntaxException;
|
||||
@ -39,20 +39,20 @@ import org.dynmap.common.BiomeMap;
|
||||
import org.dynmap.common.DynmapCommandSender;
|
||||
import org.dynmap.common.DynmapListenerManager;
|
||||
import org.dynmap.common.DynmapPlayer;
|
||||
import org.dynmap.fabric_1_17_1.DynmapPlugin.ChatMessage;
|
||||
import org.dynmap.fabric_1_17_1.command.DmapCommand;
|
||||
import org.dynmap.fabric_1_17_1.command.DmarkerCommand;
|
||||
import org.dynmap.fabric_1_17_1.command.DynmapCommand;
|
||||
import org.dynmap.fabric_1_17_1.command.DynmapExpCommand;
|
||||
import org.dynmap.fabric_1_17_1.event.BlockEvents;
|
||||
import org.dynmap.fabric_1_17_1.event.ChunkDataEvents;
|
||||
import org.dynmap.fabric_1_17_1.event.CustomServerLifecycleEvents;
|
||||
import org.dynmap.fabric_1_17_1.event.PlayerEvents;
|
||||
import org.dynmap.fabric_1_17_1.mixin.BiomeEffectsAccessor;
|
||||
import org.dynmap.fabric_1_17_1.mixin.ThreadedAnvilChunkStorageAccessor;
|
||||
import org.dynmap.fabric_1_17_1.permissions.FilePermissions;
|
||||
import org.dynmap.fabric_1_17_1.permissions.OpPermissions;
|
||||
import org.dynmap.fabric_1_17_1.permissions.PermissionProvider;
|
||||
import org.dynmap.fabric_1_18.DynmapPlugin.ChatMessage;
|
||||
import org.dynmap.fabric_1_18.command.DmapCommand;
|
||||
import org.dynmap.fabric_1_18.command.DmarkerCommand;
|
||||
import org.dynmap.fabric_1_18.command.DynmapCommand;
|
||||
import org.dynmap.fabric_1_18.command.DynmapExpCommand;
|
||||
import org.dynmap.fabric_1_18.event.BlockEvents;
|
||||
import org.dynmap.fabric_1_18.event.ChunkDataEvents;
|
||||
import org.dynmap.fabric_1_18.event.CustomServerLifecycleEvents;
|
||||
import org.dynmap.fabric_1_18.event.PlayerEvents;
|
||||
import org.dynmap.fabric_1_18.mixin.BiomeEffectsAccessor;
|
||||
import org.dynmap.fabric_1_18.mixin.ThreadedAnvilChunkStorageAccessor;
|
||||
import org.dynmap.fabric_1_18.permissions.FilePermissions;
|
||||
import org.dynmap.fabric_1_18.permissions.OpPermissions;
|
||||
import org.dynmap.fabric_1_18.permissions.PermissionProvider;
|
||||
import org.dynmap.permissions.PermissionsHandler;
|
||||
import org.dynmap.renderer.DynmapBlockState;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1;
|
||||
package org.dynmap.fabric_1_18;
|
||||
|
||||
import net.minecraft.server.world.ServerWorld;
|
||||
import org.dynmap.DynmapLocation;
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1;
|
||||
package org.dynmap.fabric_1_18;
|
||||
|
||||
import net.minecraft.server.command.ServerCommandSource;
|
||||
import net.minecraft.text.LiteralText;
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1;
|
||||
package org.dynmap.fabric_1_18;
|
||||
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1;
|
||||
package org.dynmap.fabric_1_18;
|
||||
|
||||
import net.minecraft.nbt.*;
|
||||
import net.minecraft.server.world.ServerChunkManager;
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1;
|
||||
package org.dynmap.fabric_1_18;
|
||||
|
||||
import com.google.common.collect.Iterables;
|
||||
import com.google.gson.Gson;
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1;
|
||||
package org.dynmap.fabric_1_18;
|
||||
|
||||
import com.mojang.authlib.GameProfile;
|
||||
import net.fabricmc.loader.api.FabricLoader;
|
||||
@ -26,7 +26,7 @@ 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_17_1.event.ServerChatEvents;
|
||||
import org.dynmap.fabric_1_18.event.ServerChatEvents;
|
||||
import org.dynmap.utils.MapChunkCache;
|
||||
import org.dynmap.utils.VisibilityLimit;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1;
|
||||
package org.dynmap.fabric_1_18;
|
||||
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.util.registry.RegistryKey;
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1;
|
||||
package org.dynmap.fabric_1_18;
|
||||
|
||||
import org.dynmap.utils.DynIntHashMap;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1;
|
||||
package org.dynmap.fabric_1_18;
|
||||
|
||||
import java.util.concurrent.FutureTask;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1;
|
||||
package org.dynmap.fabric_1_18;
|
||||
|
||||
import org.dynmap.DynmapCore;
|
||||
import org.dynmap.Log;
|
@ -1,6 +1,6 @@
|
||||
package org.dynmap.fabric_1_17_1.command;
|
||||
package org.dynmap.fabric_1_18.command;
|
||||
|
||||
import org.dynmap.fabric_1_17_1.DynmapPlugin;
|
||||
import org.dynmap.fabric_1_18.DynmapPlugin;
|
||||
|
||||
public class DmapCommand extends DynmapCommandExecutor {
|
||||
public DmapCommand(DynmapPlugin p) {
|
@ -1,6 +1,6 @@
|
||||
package org.dynmap.fabric_1_17_1.command;
|
||||
package org.dynmap.fabric_1_18.command;
|
||||
|
||||
import org.dynmap.fabric_1_17_1.DynmapPlugin;
|
||||
import org.dynmap.fabric_1_18.DynmapPlugin;
|
||||
|
||||
public class DmarkerCommand extends DynmapCommandExecutor {
|
||||
public DmarkerCommand(DynmapPlugin p) {
|
@ -1,6 +1,6 @@
|
||||
package org.dynmap.fabric_1_17_1.command;
|
||||
package org.dynmap.fabric_1_18.command;
|
||||
|
||||
import org.dynmap.fabric_1_17_1.DynmapPlugin;
|
||||
import org.dynmap.fabric_1_18.DynmapPlugin;
|
||||
|
||||
public class DynmapCommand extends DynmapCommandExecutor {
|
||||
public DynmapCommand(DynmapPlugin p) {
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1.command;
|
||||
package org.dynmap.fabric_1_18.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_17_1.DynmapPlugin;
|
||||
import org.dynmap.fabric_1_18.DynmapPlugin;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
@ -1,6 +1,6 @@
|
||||
package org.dynmap.fabric_1_17_1.command;
|
||||
package org.dynmap.fabric_1_18.command;
|
||||
|
||||
import org.dynmap.fabric_1_17_1.DynmapPlugin;
|
||||
import org.dynmap.fabric_1_18.DynmapPlugin;
|
||||
|
||||
public class DynmapExpCommand extends DynmapCommandExecutor {
|
||||
public DynmapExpCommand(DynmapPlugin p) {
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1.event;
|
||||
package org.dynmap.fabric_1_18.event;
|
||||
|
||||
import net.fabricmc.fabric.api.event.Event;
|
||||
import net.fabricmc.fabric.api.event.EventFactory;
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1.event;
|
||||
package org.dynmap.fabric_1_18.event;
|
||||
|
||||
import net.fabricmc.fabric.api.event.Event;
|
||||
import net.fabricmc.fabric.api.event.EventFactory;
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1.event;
|
||||
package org.dynmap.fabric_1_18.event;
|
||||
|
||||
import net.fabricmc.fabric.api.event.Event;
|
||||
import net.fabricmc.fabric.api.event.EventFactory;
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1.event;
|
||||
package org.dynmap.fabric_1_18.event;
|
||||
|
||||
import net.fabricmc.fabric.api.event.Event;
|
||||
import net.fabricmc.fabric.api.event.EventFactory;
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1.event;
|
||||
package org.dynmap.fabric_1_18.event;
|
||||
|
||||
import net.fabricmc.fabric.api.event.Event;
|
||||
import net.fabricmc.fabric.api.event.EventFactory;
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1.mixin;
|
||||
package org.dynmap.fabric_1_18.mixin;
|
||||
|
||||
import net.minecraft.world.biome.BiomeEffects;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
@ -1,7 +1,7 @@
|
||||
package org.dynmap.fabric_1_17_1.mixin;
|
||||
package org.dynmap.fabric_1_18.mixin;
|
||||
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import org.dynmap.fabric_1_17_1.event.CustomServerLifecycleEvents;
|
||||
import org.dynmap.fabric_1_18.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_17_1.mixin;
|
||||
package org.dynmap.fabric_1_18.mixin;
|
||||
|
||||
import net.minecraft.network.ClientConnection;
|
||||
import net.minecraft.server.PlayerManager;
|
||||
import net.minecraft.server.network.ServerPlayerEntity;
|
||||
import org.dynmap.fabric_1_17_1.event.PlayerEvents;
|
||||
import org.dynmap.fabric_1_18.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_17_1.mixin;
|
||||
package org.dynmap.fabric_1_18.mixin;
|
||||
|
||||
import net.minecraft.server.filter.TextStream;
|
||||
import net.minecraft.server.network.ServerPlayNetworkHandler;
|
||||
import net.minecraft.server.network.ServerPlayerEntity;
|
||||
import org.dynmap.fabric_1_17_1.event.ServerChatEvents;
|
||||
import org.dynmap.fabric_1_18.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_17_1.mixin;
|
||||
package org.dynmap.fabric_1_18.mixin;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.server.network.ServerPlayerEntity;
|
||||
import net.minecraft.server.world.ServerWorld;
|
||||
import org.dynmap.fabric_1_17_1.event.PlayerEvents;
|
||||
import org.dynmap.fabric_1_18.event.PlayerEvents;
|
||||
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_17_1.mixin;
|
||||
package org.dynmap.fabric_1_18.mixin;
|
||||
|
||||
import it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap;
|
||||
import net.minecraft.server.world.ChunkHolder;
|
@ -1,9 +1,9 @@
|
||||
package org.dynmap.fabric_1_17_1.mixin;
|
||||
package org.dynmap.fabric_1_18.mixin;
|
||||
|
||||
import net.minecraft.server.world.ServerWorld;
|
||||
import net.minecraft.server.world.ThreadedAnvilChunkStorage;
|
||||
import net.minecraft.world.chunk.Chunk;
|
||||
import org.dynmap.fabric_1_17_1.event.ChunkDataEvents;
|
||||
import org.dynmap.fabric_1_18.event.ChunkDataEvents;
|
||||
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_17_1.mixin;
|
||||
package org.dynmap.fabric_1_18.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_17_1.event.BlockEvents;
|
||||
import org.dynmap.fabric_1_18.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_17_1.permissions;
|
||||
package org.dynmap.fabric_1_18.permissions;
|
||||
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import org.dynmap.ConfigurationNode;
|
||||
import org.dynmap.Log;
|
||||
import org.dynmap.fabric_1_17_1.DynmapPlugin;
|
||||
import org.dynmap.fabric_1_18.DynmapPlugin;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.HashMap;
|
@ -1,8 +1,8 @@
|
||||
package org.dynmap.fabric_1_17_1.permissions;
|
||||
package org.dynmap.fabric_1_18.permissions;
|
||||
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import org.dynmap.Log;
|
||||
import org.dynmap.fabric_1_17_1.DynmapPlugin;
|
||||
import org.dynmap.fabric_1_18.DynmapPlugin;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
@ -1,4 +1,4 @@
|
||||
package org.dynmap.fabric_1_17_1.permissions;
|
||||
package org.dynmap.fabric_1_18.permissions;
|
||||
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"required": true,
|
||||
"minVersion": "0.8",
|
||||
"package": "org.dynmap.fabric_1_17_1.mixin",
|
||||
"package": "org.dynmap.fabric_1_18.mixin",
|
||||
"compatibilityLevel": "JAVA_16",
|
||||
"mixins": [
|
||||
"BiomeEffectsAccessor",
|
||||
|
@ -18,7 +18,7 @@
|
||||
"environment": "*",
|
||||
"entrypoints": {
|
||||
"main": [
|
||||
"org.dynmap.fabric_1_17_1.DynmapMod"
|
||||
"org.dynmap.fabric_1_18.DynmapMod"
|
||||
]
|
||||
},
|
||||
"mixins": [
|
||||
|
Loading…
Reference in New Issue
Block a user