• Posts

    • Every time I open the game and click something it will crash.   Time: 9/14/20 9:05 PM Description: Unexpected error java.lang.NoSuchMethodError: net.minecraft.world.World.getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;     at com.naxanria.harvest.Harvest.onInteract(Harvest.java:47) ~[?:1.0.2] {re:classloading}     at com.naxanria.harvest.Harvest$$Lambda$3085/1260772964.accept(Unknown Source) ~[?:?] {}     at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) ~[eventbus-3.0.3-service.jar:?] {}     at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) ~[eventbus-3.0.3-service.jar:?] {}     at net.minecraftforge.eventbus.EventBus$$Lambda$2873/1476116591.invoke(Unknown Source) ~[?:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:297) ~[eventbus-3.0.3-service.jar:?] {}     at net.minecraftforge.common.ForgeHooks.onRightClickBlock(ForgeHooks.java:772) ~[?:?] {re:classloading}     at net.minecraft.client.multiplayer.PlayerController.func_217292_a(PlayerController.java:268) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1343) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:assets/mining_dimension/mining_dimension.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.func_184117_aA(Minecraft.java:1595) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:assets/mining_dimension/mining_dimension.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1437) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:assets/mining_dimension/mining_dimension.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:930) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:assets/mining_dimension/mining_dimension.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:584) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:assets/mining_dimension/mining_dimension.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A}     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}     at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}     at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.2-33.0.42.jar:33.0] {}     at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$468/1609960076.call(Unknown Source) [forge-1.16.2-33.0.42.jar:33.0] {}     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:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace:     at com.naxanria.harvest.Harvest.onInteract(Harvest.java:47)     at com.naxanria.harvest.Harvest$$Lambda$3085/1260772964.accept(Unknown Source)     at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247)     at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239)     at net.minecraftforge.eventbus.EventBus$$Lambda$2873/1476116591.invoke(Unknown Source)     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:297)     at net.minecraftforge.common.ForgeHooks.onRightClickBlock(ForgeHooks.java:772)     at net.minecraft.client.multiplayer.PlayerController.func_217292_a(PlayerController.java:268)     at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1343)     at net.minecraft.client.Minecraft.func_184117_aA(Minecraft.java:1595) -- Affected level -- Details:     All players: 1 total; [ClientPlayerEntity['brooksidashia'/222, l='ClientLevel', x=-207.05, y=67.00, z=136.54]]     Chunk stats: Client Chunk Cache: 841, 540     Level dimension: minecraft:overworld     Level spawn location: World: (-240,69,96), Chunk: (at 0,4,0 in -15,6; contains blocks -240,0,96 to -225,255,111), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)     Level time: 1968 game time, 1968 day time     Server brand: forge     Server type: Integrated singleplayer server Stacktrace:     at net.minecraft.client.world.ClientWorld.func_72914_a(ClientWorld.java:447)     at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:1974)     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:605)     at net.minecraft.client.main.Main.main(Main.java:184)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:497)     at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51)     at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$468/1609960076.call(Unknown Source)     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)     at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)     at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) -- System Details -- Details:     Minecraft Version: 1.16.2     Minecraft Version ID: 1.16.2     Operating System: Windows 10 (amd64) version 10.0     Java Version: 1.8.0_51, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 1204861864 bytes (1149 MB) / 2113929216 bytes (2016 MB) up to 2147483648 bytes (2048 MB)     CPUs: 8     JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     ModLauncher: 7.0.1+78+master.e9771d8     ModLauncher launch target: fmlclient     ModLauncher naming: srg     ModLauncher services:          /mixin-0.8.jar mixin PLUGINSERVICE          /eventbus-3.0.3-service.jar eventbus PLUGINSERVICE          /forge-1.16.2-33.0.42.jar object_holder_definalize PLUGINSERVICE          /forge-1.16.2-33.0.42.jar runtime_enum_extender PLUGINSERVICE          /accesstransformers-2.2.0-shadowed.jar accesstransformer PLUGINSERVICE          /forge-1.16.2-33.0.42.jar capability_inject_definalize PLUGINSERVICE          /forge-1.16.2-33.0.42.jar runtimedistcleaner PLUGINSERVICE          /mixin-0.8.jar mixin TRANSFORMATIONSERVICE          /forge-1.16.2-33.0.42.jar fml TRANSFORMATIONSERVICE      FML: 33.0     Forge: net.minecraftforge:33.0.42     FML Language Providers:          javafml@33.0         minecraft@1     Mod List:          forge-1.16.2-33.0.42-client.jar Minecraft {minecraft@1.16.2 DONE}         Gardening-Tools-Mod-1.16.2.jar Garden Tools {gardentools@1.16.2-1.0.0 DONE}         Harvest-Mod-1.16.2.jar Harvest {harvest@1.0.2 DONE}         good-nights-sleep-1.16.2-1.2.2.jar Good Night's Sleep {good_nights_sleep@1.2.2 DONE}         ToLaserBlade-Mod-1.16.2.jar ToLaserBlade {tolaserblade@1.16.2-3.2.2.1 DONE}         Woot-Mod-1.16.2.jar Woot {woot@1.16.2-1.0.0.0 DONE}         Tiny-Mob-Farm-Mod-1.16.2.jar Tiny Mob Farm {tinymobfarm@1.1.0 DONE}         Advanced-Mining-Dimension-Mod-1.16.2.jar Mining World {mining_dimension@1.16.2-1.0.1 DONE}         Carry-On-Mod-1.16.2.jar Carry On {carryon@1.14.0.3 DONE}         Mining-Gadgets-Mod-1.16.2.jar Mining Gadgets {mininggadgets@1.5.0 DONE}         forge-1.16.2-33.0.42-universal.jar Forge {forge@33.0.42 DONE}         CobbleForDays-Mod-1.16.2.jar Cobble For Days {cobblefordays@1.3.1 DONE}         Guide-API-Village-and-Pillage-Mod-1.16.2.jar Guide-API VP {guideapi-vp@2.2.0-alpha+20200819-2011 DONE}         YUNGs-Better-Caves-Mod-1.16.2.jar YUNG's Better Caves {bettercaves@1.16.2-1.0 DONE}         Xaeros-Minimap-Mod-1.16.2.jar Xaero's Minimap {xaerominimap@20.21.0 DONE}         Pams-HarvestCraft-2-Food-Core-Mod-1.16.2.jar Pam's HarvestCraft 2 Food Core {pamhc2foodcore@version DONE}         NeverNeededorWanted-Mod-1.16.2.jar Never Needed Or Wanted {nnow@1.16.2-1.0.4 DONE}         World-Map-Mod-1.16.2.jar Xaero's World Map {xaeroworldmap@1.10.2 DONE}         Ring-of-Repair-Mod-1.16.2.jar Ring of Repair {ring_of_repair@1.2.2 DONE}         Ring-of-Miner-Mod-1.16.2.jar Ring of Miner {ring_of_miner@1.2.1 DONE}         Natures-Compass-Mod-1.16.2.jar Nature's Compass {naturescompass@1.16.2-1.8.5 DONE}     Launched Version: 1.16.2-forge-33.0.42     Backend library: LWJGL version 3.2.2 build 10     Backend API: Intel(R) UHD Graphics GL version 4.6.0 - Build 26.20.100.7985, Intel     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: 8x Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz
    • I'm not sure either, use the debugger. Here's a hint: you need to do one thing at a time and wait for the entity to complete that thing before you have it do something else.
    • Hello all, im using the ` RenderGameOverlayEvent.Post` in past this has had a .getResolution method, this method no longer exists, and im just wondering what method I should use to get the screen resolution so I Can scale text to the rig ht location  
    • ahah dw you're not dumb, there should be a options button and you press it maybe idk
    • Well, it hasn't improved yet. .. The default icon will appear as it did at the beginning.   @Mod.EventBusSubscriber(modid = "samplemod", value = Dist.CLIENT) public class GuiExample{     static Minecraft minecraft = Minecraft.getInstance();     public RenderGUIHandler() {      tex = new ResourceLocation(samplemod.MODID, "textures/hud/hud.png");     }     public ResourceLocation tex;     @SubscribeEvent     static void renderOverlay(RenderGameOverlayEvent event) {         if(event.getType() == RenderGameOverlayEvent.ElementType.HEALTH) {             RenderSystem.pushMatrix();             int posY = 16;             int posX = 16;             RenderSystem.pushTextureAttributes();             RenderSystem.enableAlphaTest();             RenderSystem.enableBlend();             RenderSystem.color4f(1F, 1F, 1F, 1F);             minecraft.getTextureManager().bindTexture(new ResourceLocation(UldanMod.MODID, "textures/hud/hud.png"));             minecraft.ingameGUI.blit(posX, posY, 0, 0, 32, 32);             RenderSystem.popAttributes();             RenderSystem.popMatrix();         }     } }  
  • Topics

  • Who's Online (See full list)