Sign in to follow this
Followers
0
CivWars: Neutral Nation Capital!
By
CivWarsOfficial, in In-game Creations
-
Recently Browsing
No registered users viewing this page.
-
Posts
-
Use a hotspot OpenJDK build from https://adoptopenjdk.net/
-
By DaemonUmbra · Posted
GatherDataEvent only fires during data runs, not during client or server runs -
I'm trying to do some data generating (recipes specifically), but the GatherDataEvent event isn't firing. This is my current code: @Mod.EventBusSubscriber(modid = Main.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) public class ModNameDataGenerator { private ModNameDataGenerator() {} @SubscribeEvent public static void gatherData(GatherDataEvent event) { Main.LOGGER.log(Level.INFO, "Enter Data gen"); DataGenerator gen = event.getGenerator(); if (event.includeServer()) { Main.LOGGER.log(Level.INFO, "Enter Data gen server"); gen.addProvider(new RecipeDataGen(gen)); } } } The logging is to make sure the RecipeDataGen isn't the problem. (btw Main.LOGGER is this:) public static final Logger LOGGER = LogManager.getLogger("Mod Name");
-
By MathewAlden · Posted
I used the installer to install a Forge 1.16.4-35.1.4 server. I have not added any mods to the server. The first time I launched the server jar, it generated the eula file like normal. I accepted the eula and launched the server again. The server crashed with the error "Failed to resolve consumer event type: net.minecraftforge.fml.network.simple.SimpleChannel". I am running Java 11. Specifically, when I run "java -version" it returns: java version "11.0.9" 2020-10-20 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode) Here is a copy of my latest.log file: https://pastebin.com/GxcBCU14 Does anyone have any idea how to solve this? I know older versions of Forge threw this error when running on Java 9+, but I think newer versions of Forge are compatible with Java 11? -
By MistyMarshes · Posted
Hello. I was trying to get the World an IChunk is in, on version 1.16.4 (in the WorldCarver's carveRegion method). Given that that seemed impossible, I'm trying now to do the next best thing for my particular case: get the current World for the OVERWORLD, but I couldn't figure that either. Do you know how to do any of those? Thanks for your help!
-
-
Topics
-
Who's Online (See full list)