Everything posted by Draco18s
-
[1.13] Setting up dev environment / Getting Started
Cool. I also addressed that. I can dig into the source all day long but it won't ever actually solve my problem because if it works for someone else and not for me, then that code isn't actually the problem is it? Mind making a PR to fix the readme and readthedocs pages? It'd be nice if those were accurate for once. I've attempted to in the past, but nothing ever gets done about it because it's apparently so horrifyingly low priority and that "it doesn't matter because people figure it out anyway" that I get ignored. But yeah, sure, I'll nuke everything and start over. I don't mind one bit. I want to know where I went wrong, and if it was getting the dev environment set up correctly, then I would not be surprised: the instructions are wrong. I'd go somewhere else for a tutorial, but we all know how awful those tutorials are, silly me for thinking that the official instructions would actually be correct. Haha! Anyway, that seems to have worked.
-
[1.13] Setting up dev environment / Getting Started
Cool. That also doesn't really help me narrow down the problem any. I'm sure I could dig into that code for quite a while, but it does me no good if @Mod is not going to do what @Mod is supposed to do. What would you like me to do at this point? I have supplied all of the necessary information usually required to figure out what I did wrong, and then some. Yet no one has said what I've done wrong. If I haven't done anything wrong and it's a bug in Forge, then tell me to file an issue with Forge and I can do that.
-
[1.12.2] Adding durability bar
Ok wow. I didn't expect that. I just dug into things myself and I can't find how vanilla draws durability bars. Those functions were completely removed. AH HA, they were moved into an interface called IForgeItem. getDurabilityForDisplay, showDurabilityBar, getRGBDurabilityForDisplay I realize that its cleaner to perform as few edits to the vanilla classes as possible, but jeeze, even knowing this functions had to exist somewhere did not make them easy to find. I literally had to go find the item renderer class and start from there. We can no longer tell people "just go look at vanilla" we also have to say "...and Forge's extension interface" and then people will have to ask "wtf is that? where is it?"
-
[1.13.2]Modding Questions
Dunno. All I know is that is what that says.
-
[1.13] Setting up dev environment / Getting Started
That's just the shutdown method. It calls new Exception("stacktrace"). That method is triggered by a LoadingFailedException catch block in ClientModLoader. That's caused by this line: if (!this.loadingExceptions.isEmpty()). Debugging on that line (there's two, actually), it turns out that this is what generates the underlying exception: final List<ModContainer> modContainers = loadingModList.getModFiles().stream(). map(ModFileInfo::getFile). map(mf -> buildMods(mf, launchClassLoader)). flatMap(Collection::stream). collect(Collectors.toList()); And that underlying exception is the one that's displayed in the game UI (fml.modloading.missingclasses). Digging into what this does, the loadingModList contains 2 known mods: Forge and mine (based on the details I can extract from it, it looks like data that's read from the toml). But it lists the Mod File as C:\Users\Major\Documents\Minecraft\Forge 219\project\bin\main, but that path is incomplete (missing java\mod\draco18s\hardlib\HardLib.java or whatever would point to the class file), though this may be intentional as just a root location to perform a scan from. I'm not sure. Dipping into buildMods(...) it turns out modFile.namespace value (modFile being the info built from the toml file) is a string containing "hardlib" which is not the full namespace of my @Mod class. Should be more like "mod.draco18s.hardlib" As a result modFile.getScanResult().getTargets() is an empty list, generating the logging line: File C:\Users\Major\Documents\Minecraft\Forge 219\project\bin\main constructed 0 mods: [], but had 1 mods specified: [hardlib] Looking deeper into the ModFileScanData instance here it has: An empty set of annotations An empty set of classData An empty map of modTargets A null map of functionalScanners (given that this is private and used nowhere...) A 1-element list of modFiles (the toml data) I have no idea how any of these fields are even useful, as they're all private and only modTargets has a setter. Lets go peek at what calls it and how. return scanResult -> { final Map<String, FMLModTarget> modTargetMap = scanResult.getAnnotations().stream() .filter(ad -> ad.getAnnotationType().equals(MODANNOTATION)) .peek(ad -> LOGGER.debug(SCAN, "Found @Mod class {} with id {}", ad.getClassType().getClassName(), ad.getAnnotationData().get("value"))) .map(ad -> new FMLModTarget(ad.getClassType().getClassName(), (String)ad.getAnnotationData().get("value"))) .collect(Collectors.toMap(FMLModTarget::getModId, Function.identity(), (a,b)->a)); scanResult.addLanguageLoader(modTargetMap); }; Given that we don't ever see a logging message with the "Found @Mod class" in the log, we can assume that the scan and filter finds bupkis. Debugging here leads to ... nothing. scanResult.getAnnotations() returns an empty list. We already knew this. The problem is figuring out WHY its empty, but as I cannot see how the field is ever assigned a value I can't continue. I also can't go investigate the ModFile class, as the source is not available, so I can't investigate what the namespace field is supposed to be used for, how its constructed, or anything else involving he translation of toml data into a instance object.
-
[1.13.2]Modding Questions
diyDiamonds contains a character that is not in the ranges a-z, 0-9, or _, or, - or .. That is, it contains a D which is not a d.
-
In 1.13, are proxy classes done away with in favor of other methods?
No. You still need proxies. What you're looking at is called a lambda expression. Well, two. Pointing at references to the constructors for the client and server proxy. It could also be done like this: DistExecutor.runForDist(() -> () -> new ClientProxy(), () -> () -> new ServerProxy()); Yes, that's a lambda that points to another lambda. Because what the runForDist method takes as its two arguments are two Supplier<Supplier<T>>s. Supplier<T> is "a functional interface whose functional method is get()." And its used as such: switch (FMLEnvironment.dist) { case CLIENT: return clientTarget.get().get(); case DEDICATED_SERVER: return serverTarget.get().get(); }
-
[1.13] Setting up dev environment / Getting Started
I haven't made one yet. You're looking at the entire project already. The only thing I didn't give is the proxies, and they're blank. I don't even have stub methods for things that they'll need to do eventually. I have no textures, no lang file, no block states, no models, nothing. I have a default pack.meta and I modified the build.gradle file with an archive base name, version number, and group (but those shouldn't be relevant at this point). That's why I posted the main mod file and the toml: that's literally all there is so far. I can make one if you really want me to, but there isn't going to be anything else you can't either create or fetch from my post.
-
[1.12.2] Adding durability bar
Take a look at the methods ItemTool and ItemSword override and look for words like "durability"
-
No Textures And Lang File Not Working [SOLVED]
It obviously doesn't, if your textures and lang file aren't functional.
-
How do I prevent hoppers/droppers/item pipes from interacting with a machine?
Probably left over from an issue where something wasn't saving. Its been like 2 years.
-
[1.13] Setting up dev environment / Getting Started
The stack trace after is a generic stack trace. Everything before it is a scan of literally every Minecraft class file for the @Mod annotation. There is nothing useful in any of it. Also, the scan doesn't actually get dumped to the log. e.g. this is what shows up in latest.log: [05Jun2019 22:24:29.126] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20190213.203750, --fml.mcVersion, 1.13.2, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 25.0.219, --version, MOD_DEV, --assetIndex, 1.13.1, --assetsDir, C:\Users\Major\.gradle\caches\forge_gradle\assets, --username, Dev, --accessToken, ????????, --userProperties, {}] [05Jun2019 22:24:29.134] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher starting: java version 1.8.0_191 [05Jun2019 22:24:29.752] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [05Jun2019 22:24:30.812] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmluserdevclient' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, C:\Users\Major\.gradle\caches\forge_gradle\assets, --assetIndex, 1.13.1, --username, Dev, --accessToken, ????????, --userProperties, {}] [05Jun2019 22:24:37.200] [Client thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: Dev [05Jun2019 22:24:50.448] [Client thread/INFO] [net.minecraft.client.Minecraft/]: LWJGL Version: 3.1.6 build 14 [05Jun2019 22:24:53.405] [Client thread/INFO] [net.minecraftforge.fml.ModLoader/CORE]: Loading Network data for FML net version: FML2 [05Jun2019 22:24:53.461] [Client thread/FATAL] [net.minecraftforge.fml.ModLoader/LOADING]: File C:\Users\Major\Documents\Minecraft\Forge 219\project\bin\main constructed 0 mods: [], but had 1 mods specified: [hardlib] [05Jun2019 22:24:53.466] [Client thread/FATAL] [net.minecraftforge.fml.ModLoader/CORE]: Failed to initialize mod containers [05Jun2019 22:24:53.466] [Client thread/FATAL] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: EventBus 0 shutting down - future events will not be posted. java.lang.Exception: stacktrace at net.minecraftforge.eventbus.EventBus.shutdown(EventBus.java:274) ~[eventbus-0.9.2-service.jar:?] at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:65) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraft.client.Minecraft.init(Minecraft.java:455) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraft.client.Minecraft.run(Minecraft.java:385) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at net.minecraft.client.main.Main.main(Main.java:117) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_191] at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:19) [modlauncher-2.1.1.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:32) [modlauncher-2.1.1.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) [modlauncher-2.1.1.jar:?] at cpw.mods.modlauncher.Launcher.run(Launcher.java:59) [modlauncher-2.1.1.jar:?] at cpw.mods.modlauncher.Launcher.main(Launcher.java:44) [modlauncher-2.1.1.jar:?] at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:98) [forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] [05Jun2019 22:24:53.512] [Client thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar, main, Default [05Jun2019 22:24:56.102] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager/]: Starting up SoundSystem version 201809301515... [05Jun2019 22:24:56.334] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager/]: Initializing No Sound [05Jun2019 22:24:56.334] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager/]: (Silent Mode) [05Jun2019 22:24:56.490] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager/]: OpenAL initialized. [05Jun2019 22:24:56.709] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager/SOUNDS]: Preloading sound minecraft:sounds/ambient/underwater/underwater_ambience.ogg [05Jun2019 22:24:56.717] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager/SOUNDS]: Sound engine started [05Jun2019 22:25:08.420] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Max texture size: 16384 More shows up in the output window, though its tricky to get every line because it gets spammed with scanning lines. 2019-06-06 08:18:01,801 main WARN Disabling terminal, you're running in an unsupported environment. [08:18:02.006] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20190213.203750, --fml.mcVersion, 1.13.2, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 25.0.219, --version, MOD_DEV, --assetIndex, 1.13.1, --assetsDir, C:\Users\Major\.gradle\caches\forge_gradle\assets, --username, Dev, --accessToken, ????????, --userProperties, {}] [08:18:02.013] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher starting: java version 1.8.0_191 [08:18:02.107] [main/DEBUG] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Found launch services [minecraft,fmldevclient,fmldevserver,fmluserdevserver,testharness,fmlclient,fmluserdevclient,fmlserver] [08:18:02.126] [main/DEBUG] [cp.mo.mo.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [srgtomcp] [08:18:02.147] [main/DEBUG] [cp.mo.mo.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [eventbus,object_holder_definalize,runtime_enum_extender,field_redirect_net.minecraft.potion.PotionEffect/Lnet/minecraft/potion/Potion;,accesstransformer,capability_inject_definalize,runtimedistcleaner] [08:18:02.169] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services [08:18:02.177] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: [] [08:18:02.221] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [fml] [08:18:02.222] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading [08:18:02.224] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loading service fml [08:18:02.224] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/]: Injecting tracing printstreams for STDOUT/STDERR. [08:18:02.230] [main/DEBUG] [ne.mi.fm.lo.LauncherVersion/CORE]: Found FMLLauncher version 25.0 [08:18:02.231] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML 25.0 loading [08:18:02.231] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found ModLauncher version : 2.1.1+50+7052a0a [08:18:02.231] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Initializing modjar URL handler [08:18:02.233] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found AccessTransformer version : 0.16.0+44+853b469 [08:18:02.233] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found EventBus version : 0.9.2+39+1e657e9 [08:18:02.234] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found Runtime Dist Cleaner [08:18:02.240] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found CoreMod version : 0.5.0+21+fd93452 [08:18:02.241] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found ForgeSPI package implementation version 0.13.0+25+9048a81 [08:18:02.241] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found ForgeSPI package specification 2 [08:18:02.682] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [08:18:02.685] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml [08:18:02.690] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services [08:18:02.705] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing [08:18:02.706] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml [08:18:02.707] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Setting up basic FML game directories [08:18:02.708] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing GAMEDIR directory : C:\Users\Major\Documents\Minecraft\Forge 219\project\run [08:18:02.710] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path GAMEDIR is C:\Users\Major\Documents\Minecraft\Forge 219\project\run [08:18:02.710] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing MODSDIR directory : C:\Users\Major\Documents\Minecraft\Forge 219\project\run\mods [08:18:02.710] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path MODSDIR is C:\Users\Major\Documents\Minecraft\Forge 219\project\run\mods [08:18:02.711] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing CONFIGDIR directory : C:\Users\Major\Documents\Minecraft\Forge 219\project\run\config [08:18:02.711] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path CONFIGDIR is C:\Users\Major\Documents\Minecraft\Forge 219\project\run\config [08:18:02.711] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path FMLCONFIG is C:\Users\Major\Documents\Minecraft\Forge 219\project\run\config\fml.toml [08:18:02.711] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Loading configuration [08:18:02.782] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Preparing launch handler [08:18:02.783] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Using fmluserdevclient as launch service [08:18:02.791] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Received command line version data : MC Version: '1.13.2' MCP Version: '20190213.203750' Forge Version: '25.0.219' Forge group: 'net.minecraftforge' [08:18:02.793] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR forge at path C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar [08:18:02.793] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR mcdata at path C:\Users\Major\.gradle\caches\forge_gradle\minecraft_repo\versions\1.13.2\client-extra.jar [08:18:02.794] [main/DEBUG] [ne.mi.us.FMLUserdevLaunchProvider/CORE]: Injecting maven path C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo [08:18:02.794] [main/DEBUG] [ne.mi.fm.lo.FMLCommonLaunchHandler/CORE]: Got mod coordinates examplemod%%C:\Users\Major\Documents\Minecraft\Forge 219\project\bin\main from env [08:18:02.798] [main/DEBUG] [ne.mi.fm.lo.FMLCommonLaunchHandler/CORE]: Found supplied mod coordinates [{examplemod=[C:\Users\Major\Documents\Minecraft\Forge 219\project\bin\main]}] [08:18:02.807] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Found 1 language providers [08:18:02.809] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Found language provider javafml, version 25.0 [08:18:02.814] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Skipping adding forge jar - javafml is already present [08:18:02.818] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service fml [08:18:02.819] [main/DEBUG] [cp.mo.mo.NameMappingServiceHandler/MODLAUNCHER]: Current naming domain is 'mcp' [08:18:02.820] [main/DEBUG] [cp.mo.mo.NameMappingServiceHandler/MODLAUNCHER]: Identified name mapping providers {srg=srgtomcp:1234} [08:18:02.820] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services begin scanning [08:18:02.821] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service fml [08:18:02.822] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Initiating mod scan [08:18:02.822] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/SCAN]: Scanning for Mod Locators [08:18:02.831] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR classpath_mod at path C:\Users\Major\Documents\Minecraft\Forge 219\project\bin\main [08:18:02.832] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR classpath_mod at path C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar [08:18:02.847] [main/DEBUG] [ne.mi.fm.lo.mo.ModListHandler/CORE]: Found mod coordinates from lists: [] [08:18:02.858] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/CORE]: Found Mod Locators : (userdev classpath:null),(mods folder:null),(maven libs:null),(exploded directory:null) [08:18:02.858] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/SCAN]: Scanning for mods and other resources to load. We know 4 ways to find mods [08:18:02.864] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/SCAN]: Trying locator net.minecraftforge.userdev.ClasspathLocator@53fe15ff [08:18:02.873] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/SCAN]: Mod file C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar has a manifest [08:18:02.931] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/SCAN]: Found mod file forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar of type MOD with locator net.minecraftforge.userdev.ClasspathLocator@53fe15ff [08:18:02.932] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/SCAN]: Trying locator {ModJarsFolder locator at C:\Users\Major\Documents\Minecraft\Forge 219\project\run\mods} [08:18:02.933] [main/DEBUG] [ne.mi.fm.lo.mo.ModsFolderLocator/SCAN]: Scanning mods dir C:\Users\Major\Documents\Minecraft\Forge 219\project\run\mods for mods [08:18:02.962] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/SCAN]: Trying locator {Maven Directory locator for mods []} [08:18:02.967] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/SCAN]: Trying locator {ExplodedDir locator} [08:18:02.974] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/SCAN]: Mod file C:\Users\Major\Documents\Minecraft\Forge 219\project\bin\main is missing a manifest [08:18:02.975] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/SCAN]: Found mod file main of type MOD with locator {ExplodedDir locator} [08:18:02.996] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Parsing mod file candidate C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar [08:18:03.141] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar with language javafml [08:18:03.144] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Parsing mod file candidate C:\Users\Major\Documents\Minecraft\Forge 219\project\bin\main [08:18:03.156] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file C:\Users\Major\Documents\Minecraft\Forge 219\project\bin\main with language javafml [08:18:03.170] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/SCAN]: Found 2 mod files with 2 mods [08:18:03.196] [main/DEBUG] [ne.mi.fm.lo.ModSorter/LOADING]: Found 2 mandatory requirements [08:18:03.198] [main/DEBUG] [ne.mi.fm.lo.ModSorter/LOADING]: Found 0 mandatory mod requirements missing [08:18:03.272] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/SCAN]: Adding Access Transformer in C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar [08:18:03.709] [main/DEBUG] [ne.mi.us.MCPNamingService/CORE]: Loaded 11816 field mappings from fields.csv [08:18:03.750] [main/DEBUG] [ne.mi.us.MCPNamingService/CORE]: Loaded 10770 method mappings from methods.csv [08:18:03.826] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service fml [08:18:03.826] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading transformers [08:18:03.828] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformers for transformation service fml [08:18:03.828] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Loading coremod transformers [08:18:03.830] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.AbstractJarFileLocator/SCAN]: Scan started: Mod File: C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar [08:18:03.832] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformers for transformation service fml [08:18:03.954] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR realms at path C:\Users\Major\.gradle\caches\modules-2\files-2.1\com.mojang\realms\1.13.9\88d2ecc34dba880fb4f10c7318b313e067e8b6ae\realms-1.13.9.jar [08:18:03.970] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmluserdevclient' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, C:\Users\Major\.gradle\caches\forge_gradle\assets, --assetIndex, 1.13.1, --username, Dev, --accessToken, ????????, --userProperties, {}] [08:18:03.971] [main/DEBUG] [ne.mi.us.FMLUserdevClientLaunchProvider/CORE]: Launching minecraft in cpw.mods.modlauncher.TransformingClassLoader@36a5cabc with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, C:\Users\Major\.gradle\caches\forge_gradle\assets, --assetIndex, 1.13.1, --username, Dev, --accessToken, DONT_CRASH, --userProperties, {}] [08:18:03.994] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.Scanner/SCAN]: Scanning Mod File: C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar path /net/minecraftforge/versions/mcp/MCPVersion.class [08:18:04.018] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.Scanner/SCAN]: Scanning Mod File: C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar path /net/minecraftforge/versions/forge/ForgeVersion.class [08:18:04.022] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.Scanner/SCAN]: Scanning Mod File: C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar path /net/minecraftforge/userdev/MCPNamingService.class [08:18:04.025] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.Scanner/SCAN]: Scanning Mod File: C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar path /net/minecraftforge/userdev/MCPNamingService$1.class //** 4 billion more lines here **// [22:24:37.014] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.Scanner/SCAN]: Scanning Mod File: C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar path /net/minecraft/advancements/Advancement.class [22:24:37.014] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.Scanner/SCAN]: Scanning Mod File: C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar path /net/minecraft/advancements/Advancement$Builder.class [22:24:37.015] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.Scanner/SCAN]: Scanning Mod File: C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar path /net/minecraft/advancements/Advancement$1.class [22:24:37.015] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.Scanner/SCAN]: Scanning Mod File: C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar path /mcp/MethodsReturnNonnullByDefault.class [22:24:37.018] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.Scanner/SCAN]: Scanning Mod File: C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar path /mcp/client/Start.class [22:24:37.019] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.AbstractJarFileLocator/SCAN]: Scan finished: Mod File: C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar [22:24:37.019] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.Scanner/SCAN]: Scanning C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar with language loader javafml [22:24:37.050] [pool-2-thread-1/DEBUG] [ne.mi.fm.ja.FMLJavaModLanguageProvider/SCAN]: Found @Mod class net.minecraftforge.common.ForgeMod with id forge [22:24:37.052] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.ExplodedDirectoryLocator/SCAN]: Scanning exploded directory C:\Users\Major\Documents\Minecraft\Forge 219\project\bin\main [22:24:37.053] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.ExplodedDirectoryLocator/SCAN]: Exploded directory scan complete C:\Users\Major\Documents\Minecraft\Forge 219\project\bin\main [22:24:37.053] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.Scanner/SCAN]: Scanning C:\Users\Major\Documents\Minecraft\Forge 219\project\bin\main with language loader javafml [22:24:37.200] [Client thread/INFO] [minecraft/Minecraft]: Setting user: Dev [22:24:50.448] [Client thread/INFO] [minecraft/Minecraft]: LWJGL Version: 3.1.6 build 14 [22:24:53.241] [Client thread/DEBUG] [ne.mi.fm.ForgeI18n/CORE]: Loading I18N data entries: 0 [22:24:53.405] [Client thread/INFO] [ne.mi.fm.ModLoader/CORE]: Loading Network data for FML net version: FML2 [22:24:53.422] [Client thread/DEBUG] [ne.mi.fm.ModList/LOADING]: Using 4 threads for parallel mod-loading [22:24:53.425] [Client thread/DEBUG] [ne.mi.fm.ModLoader/LOADING]: ModContainer is cpw.mods.modlauncher.TransformingClassLoader@36a5cabc [22:24:53.436] [Client thread/DEBUG] [ne.mi.fm.ja.FMLJavaModLanguageProvider/LOADING]: Loading FMLModContainer from classloader cpw.mods.modlauncher.TransformingClassLoader@36a5cabc - got cpw.mods.modlauncher.TransformingClassLoader@36a5cabc [22:24:53.436] [Client thread/DEBUG] [ne.mi.fm.ja.FMLModContainer/LOADING]: Creating FMLModContainer instance for net.minecraftforge.common.ForgeMod with classLoader cpw.mods.modlauncher.TransformingClassLoader@36a5cabc & cpw.mods.modlauncher.TransformingClassLoader@36a5cabc [22:24:53.458] [Client thread/DEBUG] [ne.mi.fm.ja.FMLModContainer/LOADING]: Loaded modclass net.minecraftforge.common.ForgeMod with cpw.mods.modlauncher.TransformingClassLoader@36a5cabc [22:24:53.459] [Client thread/DEBUG] [ne.mi.fm.ModLoader/LOADING]: ModContainer is cpw.mods.modlauncher.TransformingClassLoader@36a5cabc [22:24:53.461] [Client thread/FATAL] [ne.mi.fm.ModLoader/LOADING]: File C:\Users\Major\Documents\Minecraft\Forge 219\project\bin\main constructed 0 mods: [], but had 1 mods specified: [hardlib] [22:24:53.466] [Client thread/FATAL] [ne.mi.fm.ModLoader/CORE]: Failed to initialize mod containers [22:24:53.466] [Client thread/FATAL] [ne.mi.ev.EventBus/EVENTBUS]: EventBus 0 shutting down - future events will not be posted. java.lang.Exception: stacktrace at net.minecraftforge.eventbus.EventBus.shutdown(EventBus.java:274) ~[eventbus-0.9.2-service.jar:?] {} at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:65) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] {pl:eventbus:A,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.init(Minecraft.java:455) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] {pl:accesstransformer:B,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.run(Minecraft.java:385) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] {pl:accesstransformer:B,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:117) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] {pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191] {} at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191] {} at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191] {} at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_191] {} at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:19) [modlauncher-2.1.1.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:32) [modlauncher-2.1.1.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) [modlauncher-2.1.1.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:59) [modlauncher-2.1.1.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:44) [modlauncher-2.1.1.jar:?] {} at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:98) [forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar:?] {} [22:24:53.505] [Client thread/DEBUG] [ne.mi.fm.pa.ResourcePackLoader/CORE]: Generating PackInfo named mod:hardlib for mod file C:\Users\Major\Documents\Minecraft\Forge 219\project\bin\main [22:24:53.510] [Client thread/DEBUG] [ne.mi.fm.pa.ResourcePackLoader/CORE]: Generating PackInfo named mod:forge for mod file C:\Users\Major\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.13.2-25.0.219_mapped_snapshot_20180921-1.13\forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar [22:24:53.512] [Client thread/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13-recomp.jar, main, Default [22:24:56.102] [Sound Library Loader/INFO] [minecraft/SoundManager]: Starting up SoundSystem version 201809301515... [22:24:56.334] [Thread-5/INFO] [minecraft/SoundManager]: Initializing No Sound [22:24:56.334] [Thread-5/INFO] [minecraft/SoundManager]: (Silent Mode) [22:24:56.490] [Thread-5/INFO] [minecraft/SoundManager]: OpenAL initialized. [22:24:56.709] [Sound Library Loader/INFO] [minecraft/SoundManager]: Preloading sound minecraft:sounds/ambient/underwater/underwater_ambience.ogg [22:24:56.717] [Sound Library Loader/INFO] [minecraft/SoundManager]: Sound engine started [22:25:08.420] [Client thread/INFO] [minecraft/TextureMap]: Max texture size: 16384 I already looked through all of this. As far as I can tell it can read the toml file and that that is set up correctly but it CAN'T find my @Mod class. Mostly because it doesn't even bother to actually look at any of my class files. It looks at the root folder says "nothing here" and leaves. There's a reference that "Forge 219\project\bin\main is missing a manifest" but I can't tell what that actually means as there's no file that I don't have that Cadiboo's example mod does (I also have both the toml and pack.mcmeta).
-
[1.13] Setting up dev environment / Getting Started
fml.modloading.missingclasses is a wonderfully descriptive error. The log is also not helpful: @Mod("hardlib") public class HardLib { private static final Logger LOGGER = LogManager.getLogger(); public static final IProxy PROXY = DistExecutor.runForDist(() -> () -> new ClientProxy(), () -> () -> new ServerProxy()); public HardLib() { final IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus(); modEventBus.addListener((FMLCommonSetupEvent event) -> { LOGGER.log(Level.DEBUG, "Hello from startup"); }); } } modLoader="javafml" #mandatory loaderVersion="[25,)" #mandatory (24 is current forge version) [[mods]] #mandatory modId="hardlib" #mandatory version="${version}" #mandatory displayName="Hard Lib" #mandatory authors="Draco18s" #optional description=''' Basic library. ''' [[dependencies.hardlib]] #optional modId="forge" #mandatory mandatory=true #mandatory versionRange="[25,)" #mandatory ordering="NONE" side="BOTH" [[dependencies.hardlib]] modId="minecraft" mandatory=true versionRange="[1.13.2]" ordering="NONE" side="BOTH"
-
[1.13] Setting up dev environment / Getting Started
Man, someone needs to update the readme. I know it's never been right, but for god's sake why has it never been right? Ah, yes, I recall hearing about this before. Thanks for the reminder. Figuring things out for the first time is always a hassle and looking at the wrong source (it was called 1.13!) didn't help.
-
[1.12.2] How do I make bedrock add stat to the player stat. [Solved]
Access Transformers are not better than Reflection.
-
delete this
Well, if right is not null, why are you accessing left?
-
[1.12.2] How do I make bedrock add stat to the player stat. [Solved]
I think I said something about that. You could use reflection, but I don't know if that would be sufficient.
-
[1.13] Setting up dev environment / Getting Started
These are the instructions in the readme: I prefer Eclipse, Forge explicitly supports developing with Eclipse, so "use IntelliJ" will not help me. These instructions don't work (details in a moment). The alternate "more detailed" instructions at http://mcforge.readthedocs.io/en/latest/gettingstarted/ are even less useful. While it appears the IntelliJ instructions have been updated, the eclipse ones have not: Step 4 there is "run gradlew setupDecompWorkspace", yet if I do, I get the error "Task 'setupDecompWorkspace' not found in root project 'project'." and the instruction gradlew genEclipseRuns is missing entirely from the page (but does have gradlew genIntellijRuns). Anyway. If I follow the above steps, step 2 fails. I cannot import an existing gradle project because one isn't found, regardless of if I run gradlew eclipse or not. ==fake edit: after writing the above, it suddenly worked. All I had to do was delete the folder and start over for the fourth time.== But I'm back because: 1) Several forge classes are outright missing: @Mod only has a value property, no name, no modid, no version or dependencies. @Instance can't be found FML lifetime events (eg FMLPreInitializationEvent) can't be found 2) Downloading a slightly older version (build 214 instead of build 219, matching Grey Ghost's Minecraft by Example) leaves me in the above position again: Installing doesn't work for no apparent reason and I don't know what I did that made it work the first time.
-
[1.12.2] How do I make bedrock add stat to the player stat. [Solved]
Yes, I know you can do that. At least, in 1.12. That won't always be true (and in fact, in 1.13 you can't: hardness and resistance were made final). What I'm saying is that this function is called on bedrock: disableStats() This sets enableStats to false. enableStats is a protected field. There is no enableStatsAgain() method to set it back to true.
-
missing texture
Learn how to read your logs. English, French, Italian, Chinese; learn how to read logs.
-
How do I prevent hoppers/droppers/item pipes from interacting with a machine?
So? I did too: https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/hardlib/api/internal/inventory/OutputItemStackHandler.java There's a very legitimate reason to do this. My OutputSlotHandler is exposed via GetCapability (so that machines can extract from the slot, but not insert) while the internalSlot is accessed directly by the machine in order to produce output. Creating a "read only" slot (one that can be queried for its contents, but not have the item extracted, nor allow an item insertion) would work the same way. The internal slot (the one that is being wrapped) can still be accessed normally in a private manner while the read only wrapper is exposed externally.
-
How do I prevent hoppers/droppers/item pipes from interacting with a machine?
https://github.com/JGgithub2018/Simple-Batteries/blob/master/src/main/java/jgcodes/sb/forgecaps/ReadOnlyItemHandler.java#L23 A read-only stack handler should not allow a set. You want to set, keep a reference to the internal stack handler externally and set it there. Extending ItemStackHandler is perfectly fine, especially when you don't want to deal with some of the implementations (such as read/write to NBT), as its more work than simply nullifying the behavior you don't want (such as preventing insertion and extraction).
-
world.setBlockState() make Minecraft crash
Stop using MCreator. It is bad and you should feel bad for using it. Stop using getStateFromMeta directly. IBlockStates exist so you don't have to deal in magic numbers. someBlock.getDefaultState().withProperty(FACING, EnumFacing.NORTH) Your block does not support a facing direction, but you are trying to set it.
-
[1.13.2] Unable to give player status effect when holding item. What is wrong with my code?
Why did you start a new thread?
-
[1.14.2] Is it allowed to ask questions about the Fabric?
What the fuck is Fabric? Is that a mod-maker-mod thing that is not Forge? Then no, you can't ask about it here because it is not Forge.
IPS spam blocked by CleanTalk.