fabric-1.18: s/1.17.1/1.18/

This commit is contained in:
Kosma Moczek 2021-11-25 19:00:37 +01:00
parent c62631f67f
commit 73b4bc103c
36 changed files with 64 additions and 64 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package org.dynmap.fabric_1_17_1;
package org.dynmap.fabric_1_18;
import org.dynmap.utils.DynIntHashMap;

View File

@ -1,4 +1,4 @@
package org.dynmap.fabric_1_17_1;
package org.dynmap.fabric_1_18;
import java.util.concurrent.FutureTask;

View File

@ -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;

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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;

View File

@ -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) {

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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",

View File

@ -18,7 +18,7 @@
"environment": "*",
"entrypoints": {
"main": [
"org.dynmap.fabric_1_17_1.DynmapMod"
"org.dynmap.fabric_1_18.DynmapMod"
]
},
"mixins": [