mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 03:05:28 +01:00
Update Forge 1.19.3 to also work with Forge 1.19.4
This commit is contained in:
parent
f25d17d3ce
commit
9a02868534
@ -1,4 +1,4 @@
|
|||||||
package org.dynmap.forge_1_19_2;
|
package org.dynmap.forge_1_19_3;
|
||||||
|
|
||||||
public class ClientProxy extends Proxy {
|
public class ClientProxy extends Proxy {
|
||||||
public ClientProxy() {
|
public ClientProxy() {
|
@ -1,4 +1,4 @@
|
|||||||
package org.dynmap.forge_1_19_2;
|
package org.dynmap.forge_1_19_3;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ import org.apache.commons.lang3.tuple.Pair;
|
|||||||
import org.dynmap.DynmapCommonAPI;
|
import org.dynmap.DynmapCommonAPI;
|
||||||
import org.dynmap.DynmapCommonAPIListener;
|
import org.dynmap.DynmapCommonAPIListener;
|
||||||
import org.dynmap.Log;
|
import org.dynmap.Log;
|
||||||
import org.dynmap.forge_1_19_2.DynmapPlugin.OurLog;
|
import org.dynmap.forge_1_19_3.DynmapPlugin.OurLog;
|
||||||
|
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
import net.minecraftforge.fml.common.Mod;
|
import net.minecraftforge.fml.common.Mod;
|
@ -1,4 +1,4 @@
|
|||||||
package org.dynmap.forge_1_19_2;
|
package org.dynmap.forge_1_19_3;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
@ -98,12 +98,12 @@ import org.dynmap.common.DynmapPlayer;
|
|||||||
import org.dynmap.common.DynmapServerInterface;
|
import org.dynmap.common.DynmapServerInterface;
|
||||||
import org.dynmap.common.DynmapListenerManager.EventType;
|
import org.dynmap.common.DynmapListenerManager.EventType;
|
||||||
import org.dynmap.common.chunk.GenericChunkCache;
|
import org.dynmap.common.chunk.GenericChunkCache;
|
||||||
import org.dynmap.forge_1_19_2.DmapCommand;
|
import org.dynmap.forge_1_19_3.DmapCommand;
|
||||||
import org.dynmap.forge_1_19_2.DmarkerCommand;
|
import org.dynmap.forge_1_19_3.DmarkerCommand;
|
||||||
import org.dynmap.forge_1_19_2.DynmapCommand;
|
import org.dynmap.forge_1_19_3.DynmapCommand;
|
||||||
import org.dynmap.forge_1_19_2.permissions.FilePermissions;
|
import org.dynmap.forge_1_19_3.permissions.FilePermissions;
|
||||||
import org.dynmap.forge_1_19_2.permissions.OpPermissions;
|
import org.dynmap.forge_1_19_3.permissions.OpPermissions;
|
||||||
import org.dynmap.forge_1_19_2.permissions.PermissionProvider;
|
import org.dynmap.forge_1_19_3.permissions.PermissionProvider;
|
||||||
import org.dynmap.permissions.PermissionsHandler;
|
import org.dynmap.permissions.PermissionsHandler;
|
||||||
import org.dynmap.renderer.DynmapBlockState;
|
import org.dynmap.renderer.DynmapBlockState;
|
||||||
import org.dynmap.utils.DynmapLogger;
|
import org.dynmap.utils.DynmapLogger;
|
||||||
@ -1415,7 +1415,7 @@ public class DynmapPlugin
|
|||||||
ResourceLocation regid = getBiomeReg().getKey(bb);
|
ResourceLocation regid = getBiomeReg().getKey(bb);
|
||||||
String id = regid.getPath();
|
String id = regid.getPath();
|
||||||
String rl = regid.toString();
|
String rl = regid.toString();
|
||||||
float tmp = bb.getBaseTemperature(), hum = bb.getDownfall();
|
float tmp = bb.getBaseTemperature(), hum = bb.getModifiedClimateSettings().downfall();
|
||||||
int watermult = bb.getWaterColor();
|
int watermult = bb.getWaterColor();
|
||||||
Log.verboseinfo("biome[" + i + "]: hum=" + hum + ", tmp=" + tmp + ", mult=" + Integer.toHexString(watermult));
|
Log.verboseinfo("biome[" + i + "]: hum=" + hum + ", tmp=" + tmp + ", mult=" + Integer.toHexString(watermult));
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package org.dynmap.forge_1_19_2;
|
package org.dynmap.forge_1_19_3;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.NoSuchElementException;
|
import java.util.NoSuchElementException;
|
@ -1,4 +1,4 @@
|
|||||||
package org.dynmap.forge_1_19_2;
|
package org.dynmap.forge_1_19_3;
|
||||||
/**
|
/**
|
||||||
* Forge specific implementation of DynmapWorld
|
* Forge specific implementation of DynmapWorld
|
||||||
*/
|
*/
|
@ -1,4 +1,4 @@
|
|||||||
package org.dynmap.forge_1_19_2;
|
package org.dynmap.forge_1_19_3;
|
||||||
|
|
||||||
import org.dynmap.common.chunk.GenericBitStorage;
|
import org.dynmap.common.chunk.GenericBitStorage;
|
||||||
import org.dynmap.common.chunk.GenericNBTCompound;
|
import org.dynmap.common.chunk.GenericNBTCompound;
|
@ -1,4 +1,4 @@
|
|||||||
package org.dynmap.forge_1_19_2;
|
package org.dynmap.forge_1_19_3;
|
||||||
|
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package org.dynmap.forge_1_19_2;
|
package org.dynmap.forge_1_19_3;
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
||||||
import java.io.InputStreamReader;
|
import java.io.InputStreamReader;
|
@ -1,4 +1,4 @@
|
|||||||
package org.dynmap.forge_1_19_2.permissions;
|
package org.dynmap.forge_1_19_3.permissions;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
@ -8,7 +8,7 @@ import java.util.Set;
|
|||||||
|
|
||||||
import org.dynmap.ConfigurationNode;
|
import org.dynmap.ConfigurationNode;
|
||||||
import org.dynmap.Log;
|
import org.dynmap.Log;
|
||||||
import org.dynmap.forge_1_19_2.DynmapPlugin;
|
import org.dynmap.forge_1_19_3.DynmapPlugin;
|
||||||
|
|
||||||
import net.minecraft.server.level.ServerPlayer;
|
import net.minecraft.server.level.ServerPlayer;
|
||||||
|
|
@ -1,10 +1,10 @@
|
|||||||
package org.dynmap.forge_1_19_2.permissions;
|
package org.dynmap.forge_1_19_3.permissions;
|
||||||
|
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import org.dynmap.Log;
|
import org.dynmap.Log;
|
||||||
import org.dynmap.forge_1_19_2.DynmapPlugin;
|
import org.dynmap.forge_1_19_3.DynmapPlugin;
|
||||||
|
|
||||||
import net.minecraft.server.level.ServerPlayer;
|
import net.minecraft.server.level.ServerPlayer;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package org.dynmap.forge_1_19_2.permissions;
|
package org.dynmap.forge_1_19_3.permissions;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user