Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

TehStoneMan

Forge Modder
  • Posts

    78
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am not so new!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

TehStoneMan's Achievements

Stone Miner

Stone Miner (3/8)

1

Reputation

  1. Yes, I have done that, but that just enables it. How do I actually use it?
  2. Trying to update a mod to Forge 36.1, and wondering how to change my existing milk fluid to use the new Forge milk fluid?
  3. It doesn't quite work - I don't have access to the player. But I can access the TileEntity that the capability is attached to. public TileEntityReinforcedChest() { super( BetterStorageTileEntityTypes.REINFORCED_CHEST.get() ); config = new HexKeyConfig() { @Override protected void onContentsChanged( int slot ) { TileEntityReinforcedChest.this.markDirty(); BetterStorage.NETWORK.send( PacketDistributor.DIMENSION.with( () -> ??? ), new UpdateConfigMessage( pos, this ) ); } }; }
  4. Yes, I know about that. If I could find the answer there, I wouldn't be asking here.
  5. I have a TileEntity with a custom capability that changes the texture. I have a GUI where the texture can be changed. When the texture is updated, I would like to send a message to any player in the area to re-render the TileEntity with the new texture. I have a message with the required information, but how do I send it? NETWORK.send( PacketDistributor.???.with( () -> ??? ), new UpdateConfigMessage( pos, this ) )
  6. [23Oct2020 09:51:02.345] [main/INFO] [com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService/]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', name='PROD' [23Oct2020 09:51:02.359] [main/INFO] [com.mojang.authlib.yggdrasil.YggdrasilUserAuthentication/]: Environment: PROD [23Oct2020 09:51:02.363] [main/INFO] [com.mojang.authlib.yggdrasil.YggdrasilUserAuthentication/]: Logging in with username & password [23Oct2020 09:51:05.316] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, TehStoneMan, --width, 1600, --height, 900, --gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20200911.084530, --fml.mcVersion, 1.16.3, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 34.1.0, --version, MOD_DEV, --assetIndex, 1.16, --assetsDir, C:\Users\User\.gradle\caches\forge_gradle\assets, --uuid, 0432d7f00f984f9fbbe3dbb2b4204622, --accessToken, ????????, --userProperties, []] [23Oct2020 09:51:05.318] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 7.0.1+78+master.e9771d8 starting: java version 1.8.0_261 by Oracle Corporation [23Oct2020 09:51:05.435] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [23Oct2020 09:51:05.507] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.1 Source=file:/C:/Users/User/.gradle/caches/modules-2/files-2.1/org.spongepowered/mixin/0.8.1/3099ac85bce29d37a22d3561073d01eb99b0cf4b/mixin-0.8.1.jar Service=ModLauncher Env=CLIENT [23Oct2020 09:51:09.673] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmluserdevclient' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, C:\Users\User\.gradle\caches\forge_gradle\assets, --uuid, 0432d7f00f984f9fbbe3dbb2b4204622, --username, TehStoneMan, --width, 1600, --height, 900, --assetIndex, 1.16, --accessToken, ????????, --userProperties, []] [23Oct2020 09:51:16.679] [Render thread/INFO] [com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService/]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', name='PROD' [23Oct2020 09:51:16.698] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: TehStoneMan [23Oct2020 09:51:16.889] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Backend library: LWJGL version 3.2.2 build 10 [23Oct2020 09:51:18.358] [modloading-worker-11/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 34.1.0, for MC 1.16.3 with MCP 20200911.084530 [23Oct2020 09:51:18.360] [modloading-worker-11/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v34.1.0 Initialized [23Oct2020 09:51:20.859] [Render thread/WARN] [com.mojang.text2speech.NarratorWindows/]: ERROR : Couldn't load Narrator library : Unable to load library 'SAPIWrapper_x64': Can't obtain InputStream for win32-x86-64/SAPIWrapper_x64.dll ERROR : Couldn't load Narrator library : Unable to load library 'SAPIWrapper_x86': Can't obtain InputStream for win32-x86-64/SAPIWrapper_x86.dll [23Oct2020 09:51:20.948] [Render thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: Default, Mod Resources [23Oct2020 09:51:23.190] [Render thread/FATAL] [net.minecraft.client.Minecraft/]: Reported exception thrown! net.minecraft.crash.ReportedException: Rendering overlay at net.minecraft.client.renderer.GameRenderer.updateCameraAndRender(GameRenderer.java:487) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:953) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar:?] at net.minecraft.client.Minecraft.run(Minecraft.java:584) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar:?] at net.minecraft.client.main.Main.main(Main.java:184) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_261] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_261] at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:52) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar:?] at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-7.0.1.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-7.0.1.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-7.0.1.jar:?] at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-7.0.1.jar:?] at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-7.0.1.jar:?] at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) [forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar:?] Caused by: java.lang.NullPointerException at net.minecraftforge.fml.config.ModConfig.getFullPath(ModConfig.java:98) ~[?:?] at net.minecraftforge.fml.config.ConfigFileTypeHandler$ConfigLoadingException.<init>(ConfigFileTypeHandler.java:128) ~[?:?] at net.minecraftforge.fml.config.ConfigFileTypeHandler.lambda$reader$1(ConfigFileTypeHandler.java:60) ~[?:?] at net.minecraftforge.fml.config.ConfigTracker.openConfig(ConfigTracker.java:104) ~[?:?] at net.minecraftforge.fml.config.ConfigTracker.lambda$loadConfigs$1(ConfigTracker.java:83) ~[?:?] at java.lang.Iterable.forEach(Unknown Source) ~[?:1.8.0_261] at java.util.Collections$SynchronizedCollection.forEach(Unknown Source) ~[?:1.8.0_261] at net.minecraftforge.fml.config.ConfigTracker.loadConfigs(ConfigTracker.java:83) ~[?:?] at net.minecraftforge.fml.ModLoader.lambda$null$18(ModLoader.java:207) ~[?:?] at net.minecraftforge.fml.DistExecutor.unsafeRunWhenOn(DistExecutor.java:125) ~[?:?] at net.minecraftforge.fml.ModLoader.loadMods(ModLoader.java:207) ~[?:?] at net.minecraftforge.fml.client.ClientModLoader.lambda$startModLoading$7(ClientModLoader.java:132) ~[?:?] at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$4(ClientModLoader.java:123) ~[?:?] at net.minecraftforge.fml.client.ClientModLoader.startModLoading(ClientModLoader.java:132) ~[?:?] at net.minecraftforge.fml.client.ClientModLoader.lambda$onResourceReload$2(ClientModLoader.java:114) ~[?:?] at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$4(ClientModLoader.java:123) ~[?:?] at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$AsyncRun.exec(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) ~[?:1.8.0_261] [23Oct2020 09:51:23.205] [Render thread/INFO] [STDOUT/]: [net.minecraft.util.registry.Bootstrap:printToSYSOUT:122]: ---- Minecraft Crash Report ---- // Don't be sad, have a hug! <3 Time: 23/10/20 9:51 AM Description: Rendering overlay java.lang.NullPointerException: Rendering overlay at net.minecraftforge.fml.config.ModConfig.getFullPath(ModConfig.java:98) ~[?:?] {re:classloading} at net.minecraftforge.fml.config.ConfigFileTypeHandler$ConfigLoadingException.<init>(ConfigFileTypeHandler.java:128) ~[?:?] {re:classloading} at net.minecraftforge.fml.config.ConfigFileTypeHandler.lambda$reader$1(ConfigFileTypeHandler.java:60) ~[?:?] {re:classloading} at net.minecraftforge.fml.config.ConfigTracker.openConfig(ConfigTracker.java:104) ~[?:?] {re:classloading} at net.minecraftforge.fml.config.ConfigTracker.lambda$loadConfigs$1(ConfigTracker.java:83) ~[?:?] {re:classloading} at java.lang.Iterable.forEach(Unknown Source) ~[?:1.8.0_261] {} at java.util.Collections$SynchronizedCollection.forEach(Unknown Source) ~[?:1.8.0_261] {} at net.minecraftforge.fml.config.ConfigTracker.loadConfigs(ConfigTracker.java:83) ~[?:?] {re:classloading} at net.minecraftforge.fml.ModLoader.lambda$null$18(ModLoader.java:207) ~[?:?] {re:classloading} at net.minecraftforge.fml.DistExecutor.unsafeRunWhenOn(DistExecutor.java:125) ~[?:?] {re:classloading} at net.minecraftforge.fml.ModLoader.loadMods(ModLoader.java:207) ~[?:?] {re:classloading} at net.minecraftforge.fml.client.ClientModLoader.lambda$startModLoading$7(ClientModLoader.java:132) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$4(ClientModLoader.java:123) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.fml.client.ClientModLoader.startModLoading(ClientModLoader.java:132) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.fml.client.ClientModLoader.lambda$onResourceReload$2(ClientModLoader.java:114) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$4(ClientModLoader.java:123) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source) ~[?:1.8.0_261] {} at java.util.concurrent.CompletableFuture$AsyncRun.exec(Unknown Source) ~[?:1.8.0_261] {} at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) ~[?:1.8.0_261] {} at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) ~[?:1.8.0_261] {} at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) ~[?:1.8.0_261] {} at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) ~[?:1.8.0_261] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace: at net.minecraftforge.fml.config.ModConfig.getFullPath(ModConfig.java:98) ~[?:?] {re:classloading} at net.minecraftforge.fml.config.ConfigFileTypeHandler$ConfigLoadingException.<init>(ConfigFileTypeHandler.java:128) ~[?:?] {re:classloading} at net.minecraftforge.fml.config.ConfigFileTypeHandler.lambda$reader$1(ConfigFileTypeHandler.java:60) ~[?:?] {re:classloading} at net.minecraftforge.fml.config.ConfigTracker.openConfig(ConfigTracker.java:104) ~[?:?] {re:classloading} at net.minecraftforge.fml.config.ConfigTracker.lambda$loadConfigs$1(ConfigTracker.java:83) ~[?:?] {re:classloading} at java.lang.Iterable.forEach(Unknown Source) ~[?:1.8.0_261] {} at java.util.Collections$SynchronizedCollection.forEach(Unknown Source) ~[?:1.8.0_261] {} -- Overlay render details -- Details: Overlay name: net.minecraft.client.gui.ResourceLoadProgressGui Stacktrace: at net.minecraft.client.renderer.GameRenderer.updateCameraAndRender(GameRenderer.java:483) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:953) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.run(Minecraft.java:584) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:184) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar:?] {re:classloading,pl:runtimedistcleaner:A} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_261] {} at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261] {} at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261] {} at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_261] {} at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:52) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-7.0.1.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-7.0.1.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-7.0.1.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-7.0.1.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-7.0.1.jar:?] {} at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) [forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar:?] {} -- System Details -- Details: Minecraft Version: 1.16.3 Minecraft Version ID: 1.16.3 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_261, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 590034736 bytes (562 MB) / 1631059968 bytes (1555 MB) up to 3799515136 bytes (3623 MB) CPUs: 12 JVM Flags: 1 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump ModLauncher: 7.0.1+78+master.e9771d8 ModLauncher launch target: fmluserdevclient ModLauncher naming: mcp ModLauncher services: /mixin-0.8.1.jar mixin PLUGINSERVICE /eventbus-3.0.3-service.jar eventbus PLUGINSERVICE /forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-launcher.jar object_holder_definalize PLUGINSERVICE /forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-launcher.jar runtime_enum_extender PLUGINSERVICE /accesstransformers-2.2.0-shadowed.jar accesstransformer PLUGINSERVICE /forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-launcher.jar capability_inject_definalize PLUGINSERVICE /forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-launcher.jar runtimedistcleaner PLUGINSERVICE /mixin-0.8.1.jar mixin TRANSFORMATIONSERVICE /forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-launcher.jar fml TRANSFORMATIONSERVICE FML: 34.1 Forge: net.minecraftforge:34.1.0 FML Language Providers: javafml@34.1 minecraft@1 Mod List: client-extra.jar Minecraft {minecraft@1.16.3 COMMON_SETUP} main BetterStorageToo {betterstorage@version COMMON_SETUP} forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar Forge {forge@34.1.0 COMMON_SETUP} main Stoney's Playground {playground@NONE COMMON_SETUP} Launched Version: MOD_DEV Backend library: LWJGL version 3.2.2 build 10 Backend API: GeForce GTX 1070/PCIe/SSE2 GL version 4.6.0 NVIDIA 456.71, NVIDIA Corporation GL Caps: Using framebuffer using OpenGL 3.0 Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'forge' Type: Client (map_client.txt) Graphics mode: fancy Resource Packs: Current Language: English (US) CPU: 12x Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz [23Oct2020 09:51:23.231] [Render thread/INFO] [STDOUT/]: [net.minecraft.util.registry.Bootstrap:printToSYSOUT:122]: #@!@# Game crashed! Crash report saved to: #@!@# D:\Minecraft Dev\mc_1_16\run\.\crash-reports\crash-2020-10-23_09.51.23-client.txt Full debug.log - https://gist.github.com/TehStoneMan/d559b4012cb67f5492ff3f6aa378a427
  7. I am having this issue when I launch Minecraft to test my mod, it crashes on the loading screen. It started happening after the computer was shutdown while Minecraft was loading ( a cat sat on the power button ). Even clearing the cache hasn't helped. ---- Minecraft Crash Report ---- // You're mean. Time: 23/10/20 9:51 AM Description: Rendering overlay java.lang.NullPointerException: Rendering overlay at net.minecraftforge.fml.config.ModConfig.getFullPath(ModConfig.java:98) ~[?:?] {re:classloading} at net.minecraftforge.fml.config.ConfigFileTypeHandler$ConfigLoadingException.<init>(ConfigFileTypeHandler.java:128) ~[?:?] {re:classloading} at net.minecraftforge.fml.config.ConfigFileTypeHandler.lambda$reader$1(ConfigFileTypeHandler.java:60) ~[?:?] {re:classloading} at net.minecraftforge.fml.config.ConfigTracker.openConfig(ConfigTracker.java:104) ~[?:?] {re:classloading} at net.minecraftforge.fml.config.ConfigTracker.lambda$loadConfigs$1(ConfigTracker.java:83) ~[?:?] {re:classloading} at java.lang.Iterable.forEach(Unknown Source) ~[?:1.8.0_261] {} at java.util.Collections$SynchronizedCollection.forEach(Unknown Source) ~[?:1.8.0_261] {} at net.minecraftforge.fml.config.ConfigTracker.loadConfigs(ConfigTracker.java:83) ~[?:?] {re:classloading} at net.minecraftforge.fml.ModLoader.lambda$null$18(ModLoader.java:207) ~[?:?] {re:classloading} at net.minecraftforge.fml.DistExecutor.unsafeRunWhenOn(DistExecutor.java:125) ~[?:?] {re:classloading} at net.minecraftforge.fml.ModLoader.loadMods(ModLoader.java:207) ~[?:?] {re:classloading} at net.minecraftforge.fml.client.ClientModLoader.lambda$startModLoading$7(ClientModLoader.java:132) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$4(ClientModLoader.java:123) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.fml.client.ClientModLoader.startModLoading(ClientModLoader.java:132) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.fml.client.ClientModLoader.lambda$onResourceReload$2(ClientModLoader.java:114) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$4(ClientModLoader.java:123) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source) ~[?:1.8.0_261] {} at java.util.concurrent.CompletableFuture$AsyncRun.exec(Unknown Source) ~[?:1.8.0_261] {} at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) ~[?:1.8.0_261] {} at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) ~[?:1.8.0_261] {} at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) ~[?:1.8.0_261] {} at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) ~[?:1.8.0_261] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace: at net.minecraftforge.fml.config.ModConfig.getFullPath(ModConfig.java:98) ~[?:?] {re:classloading} at net.minecraftforge.fml.config.ConfigFileTypeHandler$ConfigLoadingException.<init>(ConfigFileTypeHandler.java:128) ~[?:?] {re:classloading} at net.minecraftforge.fml.config.ConfigFileTypeHandler.lambda$reader$1(ConfigFileTypeHandler.java:60) ~[?:?] {re:classloading} at net.minecraftforge.fml.config.ConfigTracker.openConfig(ConfigTracker.java:104) ~[?:?] {re:classloading} at net.minecraftforge.fml.config.ConfigTracker.lambda$loadConfigs$1(ConfigTracker.java:83) ~[?:?] {re:classloading} at java.lang.Iterable.forEach(Unknown Source) ~[?:1.8.0_261] {} at java.util.Collections$SynchronizedCollection.forEach(Unknown Source) ~[?:1.8.0_261] {} -- Overlay render details -- Details: Overlay name: net.minecraft.client.gui.ResourceLoadProgressGui Stacktrace: at net.minecraft.client.renderer.GameRenderer.updateCameraAndRender(GameRenderer.java:483) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:953) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.run(Minecraft.java:584) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:184) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar:?] {re:classloading,pl:runtimedistcleaner:A} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_261] {} at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261] {} at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261] {} at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_261] {} at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:52) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-7.0.1.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-7.0.1.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-7.0.1.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-7.0.1.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-7.0.1.jar:?] {} at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) [forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar:?] {} -- System Details -- Details: Minecraft Version: 1.16.3 Minecraft Version ID: 1.16.3 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_261, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 590034736 bytes (562 MB) / 1631059968 bytes (1555 MB) up to 3799515136 bytes (3623 MB) CPUs: 12 JVM Flags: 1 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump ModLauncher: 7.0.1+78+master.e9771d8 ModLauncher launch target: fmluserdevclient ModLauncher naming: mcp ModLauncher services: /mixin-0.8.1.jar mixin PLUGINSERVICE /eventbus-3.0.3-service.jar eventbus PLUGINSERVICE /forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-launcher.jar object_holder_definalize PLUGINSERVICE /forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-launcher.jar runtime_enum_extender PLUGINSERVICE /accesstransformers-2.2.0-shadowed.jar accesstransformer PLUGINSERVICE /forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-launcher.jar capability_inject_definalize PLUGINSERVICE /forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-launcher.jar runtimedistcleaner PLUGINSERVICE /mixin-0.8.1.jar mixin TRANSFORMATIONSERVICE /forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-launcher.jar fml TRANSFORMATIONSERVICE FML: 34.1 Forge: net.minecraftforge:34.1.0 FML Language Providers: javafml@34.1 minecraft@1 Mod List: client-extra.jar Minecraft {minecraft@1.16.3 COMMON_SETUP} main BetterStorageToo {betterstorage@version COMMON_SETUP} forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16.jar Forge {forge@34.1.0 COMMON_SETUP} main Stoney's Playground {playground@NONE COMMON_SETUP} Launched Version: MOD_DEV Backend library: LWJGL version 3.2.2 build 10 Backend API: GeForce GTX 1070/PCIe/SSE2 GL version 4.6.0 NVIDIA 456.71, NVIDIA Corporation GL Caps: Using framebuffer using OpenGL 3.0 Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'forge' Type: Client (map_client.txt) Graphics mode: fancy Resource Packs: Current Language: English (US) CPU: 12x Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz Anybody know what can be done to fix this?
  8. Hello all. I would like to render a tile entity with two .obj models, one of which is animated. They also have two textures, with one texture being dynamic,meaning it could have any block texture on it. Is this possible, and any pointers how it could be done?
  9. Can anybody help me with how to register a TileEntitySpecialRenderer in 1.15.2?
  10. From the README.txt in the Forge MDK - I find this usually fixes this issue for me.
  11. When I was using a regular TESR, the backface wasn't being drawn, but this is a FastTESR (renderTileEntityFast). In looking at how they are rendered, it appears that Forge turns off backface culling before drawing the buffer. As OpenGL calls can't be used in a FastTESR, would I have to go back to using a regular TESR?
  12. You can see here where the back of the faces are being rendered behind the front faces. This can be particularly seen with the lava below the water. (Stacked tanks shouldn't really have different flids in them, but that check has not been implemented yet)
  13. I am trying to create a tank to contain fluids. Everything seems to be working, except when it contains a transparent fluid (water), I can see the opposite sides of the fluid. How can I only render the faces that the player can see? public class TileEntityTankRenderer extends TileEntityRenderer< TileEntityTank > { private static AtlasTexture textureAtlas; @Override public void renderTileEntityFast( TileEntityTank tileEntity, double x, double y, double z, float partialTicks, int destroyStage, BufferBuilder buffer ) { final int capacity = tileEntity.getCapacity(); final FluidStack fluidStack = tileEntity.getFluid(); final Fluid fluid = fluidStack.getFluid(); if( !fluidStack.isEmpty() ) { if( textureAtlas == null ) textureAtlas = Minecraft.getInstance().getTextureMap(); final ResourceLocation fuildStillTexture = fluid.getAttributes().getStillTexture(); final TextureAtlasSprite fluidStillSprite = textureAtlas.getAtlasSprite( fuildStillTexture.toString() ); final double posY = 0.0625 + 0.875 * ( (float)fluidStack.getAmount() / (float)capacity ); final int color = fluid.getAttributes().getColor(); final float alpha = ( color >> 24 & 255 ) / 255.0F; final float red = ( color >> 16 & 255 ) / 255.0F; final float green = ( color >> 8 & 255 ) / 255.0F; final float blue = ( color & 255 ) / 255.0F; final BlockPos pos = tileEntity.getPos(); final BlockState blockState = tileEntity.getBlockState(); final int packedLightMap = blockState.getPackedLightmapCoords( getWorld(), pos ); final int skyLight = packedLightMap >> 16 & 0xFFFF; final int blockLight = packedLightMap & 0xFFFF; final double height = 0.875 + ( blockState.get( BlockTank.UP ) ? 0.0625 : 0.0 ) + ( blockState.get( BlockTank.DOWN ) ? 0.0625 : 0.0 ); final double x1 = 0.125; final double y1 = blockState.get( BlockTank.DOWN ) ? 0.0 : 0.0625; final double z1 = 0.125; final double x2 = 0.875; final double y2 = y1 + height * ( (float)fluidStack.getAmount() / (float)capacity ); final double z2 = 0.875; final double u1 = fluidStillSprite.getInterpolatedU( x1 * 16 ); final double v1 = fluidStillSprite.getInterpolatedV( z1 * 16 ); final double u2 = fluidStillSprite.getInterpolatedU( x2 * 16 ); final double v2 = fluidStillSprite.getInterpolatedV( z2 * 16 ); final double u3 = fluidStillSprite.getInterpolatedU( z1 * 16 ); final double v3 = fluidStillSprite.getInterpolatedV( y1 * 16 ); final double u4 = fluidStillSprite.getInterpolatedU( z2 * 16 ); final double v4 = fluidStillSprite.getInterpolatedV( y2 * 16 ); buffer.setTranslation( x, y, z ); // Top if( y2 < 1.0 || tileEntity.getFluidAmountAbove() == 0 ) { buffer.pos( x1, y2, z1 ).color( red, green, blue, alpha ).tex( u1, v1 ).lightmap( skyLight, blockLight ).endVertex(); buffer.pos( x1, y2, z2 ).color( red, green, blue, alpha ).tex( u1, v2 ).lightmap( skyLight, blockLight ).endVertex(); buffer.pos( x2, y2, z2 ).color( red, green, blue, alpha ).tex( u2, v2 ).lightmap( skyLight, blockLight ).endVertex(); buffer.pos( x2, y2, z1 ).color( red, green, blue, alpha ).tex( u2, v1 ).lightmap( skyLight, blockLight ).endVertex(); } // Bottom if( y1 > 0.0 || tileEntity.getFluidAmountBelow() == 0 ) { buffer.pos( x1, y1, z1 ).color( red, green, blue, alpha ).tex( u1, v1 ).lightmap( skyLight, blockLight ).endVertex(); buffer.pos( x2, y1, z1 ).color( red, green, blue, alpha ).tex( u2, v1 ).lightmap( skyLight, blockLight ).endVertex(); buffer.pos( x2, y1, z2 ).color( red, green, blue, alpha ).tex( u2, v2 ).lightmap( skyLight, blockLight ).endVertex(); buffer.pos( x1, y1, z2 ).color( red, green, blue, alpha ).tex( u1, v2 ).lightmap( skyLight, blockLight ).endVertex(); } // North buffer.pos( x2, y2, z1 ).color( red, green, blue, alpha ).tex( u2, v4 ).lightmap( skyLight, blockLight ).endVertex(); buffer.pos( x2, y1, z1 ).color( red, green, blue, alpha ).tex( u2, v3 ).lightmap( skyLight, blockLight ).endVertex(); buffer.pos( x1, y1, z1 ).color( red, green, blue, alpha ).tex( u1, v3 ).lightmap( skyLight, blockLight ).endVertex(); buffer.pos( x1, y2, z1 ).color( red, green, blue, alpha ).tex( u1, v4 ).lightmap( skyLight, blockLight ).endVertex(); // East buffer.pos( x2, y2, z2 ).color( red, green, blue, alpha ).tex( u4, v4 ).lightmap( skyLight, blockLight ).endVertex(); buffer.pos( x2, y1, z2 ).color( red, green, blue, alpha ).tex( u4, v3 ).lightmap( skyLight, blockLight ).endVertex(); buffer.pos( x2, y1, z1 ).color( red, green, blue, alpha ).tex( u3, v3 ).lightmap( skyLight, blockLight ).endVertex(); buffer.pos( x2, y2, z1 ).color( red, green, blue, alpha ).tex( u3, v4 ).lightmap( skyLight, blockLight ).endVertex(); // South buffer.pos( x1, y2, z2 ).color( red, green, blue, alpha ).tex( u1, v4 ).lightmap( skyLight, blockLight ).endVertex(); buffer.pos( x1, y1, z2 ).color( red, green, blue, alpha ).tex( u1, v3 ).lightmap( skyLight, blockLight ).endVertex(); buffer.pos( x2, y1, z2 ).color( red, green, blue, alpha ).tex( u2, v3 ).lightmap( skyLight, blockLight ).endVertex(); buffer.pos( x2, y2, z2 ).color( red, green, blue, alpha ).tex( u2, v4 ).lightmap( skyLight, blockLight ).endVertex(); // West buffer.pos( x1, y2, z1 ).color( red, green, blue, alpha ).tex( u3, v4 ).lightmap( skyLight, blockLight ).endVertex(); buffer.pos( x1, y1, z1 ).color( red, green, blue, alpha ).tex( u3, v3 ).lightmap( skyLight, blockLight ).endVertex(); buffer.pos( x1, y1, z2 ).color( red, green, blue, alpha ).tex( u4, v3 ).lightmap( skyLight, blockLight ).endVertex(); buffer.pos( x1, y2, z2 ).color( red, green, blue, alpha ).tex( u4, v4 ).lightmap( skyLight, blockLight ).endVertex(); } } }
  14. Is there a way to render a block (NOT tile entity) fully illuminated without having it emit light itself? I know there used to be a way pre-1.9, because it was a feature in the mod I am now updating, but that method is no longer available.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.