• Recently Browsing

    No registered users viewing this page.

  • Posts

    • So recently I was working on my mod that adds custom potions. I did manage to make the effect by watching tutorials but couldn't figure out how to add the performEffect so the effect does nothing currently. Any help?   ↓Code that registers it(Main)↓  @SubscribeEvent public static void onEffectsRegistry(final RegistryEvent.Register<Effect> effectRegistryEvent) { // register a new effect here LOGGER.info("HELLO from Register Effect"); effectRegistryEvent.getRegistry().registerAll( PotionList.biaseffect = new PotionList.BiasEffect(EffectType.BENEFICIAL, 14981690) .setRegistryName(new ResourceLocation(MOD_ID, "bias_effect")) ); }   ↓Effect Class(PotionList)↓ public static class BiasEffect extends Effect { @Override public void performEffect(LivingEntity entityLivingBaseIn, int amplifier) { super.performEffect(entityLivingBaseIn, amplifier); LOGGER.info("yes"); } public BiasEffect(EffectType typeIn, int liquidColorIn){ super(typeIn, liquidColorIn); } }  
    • Screenshots to show that the files are in the right place
    • But this method doesn't allow it to have collision under certain conditions?
    • I'm creating a mod that adds some decorative lanterns to the game, these lanterns also have wall mounted versions. I'd love to add wall mounted versions to the vanilla lantern but I'm not sure how I modify the vanilla lantern or make it use my BlockLantern class.
    • So when I try to create a new world, minecraft crashes. I start from Forge 1.16.2. It gives me this crash.   The game crashed whilst unexpected error Error: java.lang.NoSuchFieldError: ofFogType   Here is the crash report   ---- Minecraft Crash Report ---- // I bet Cylons wouldn't have this problem. Time: 8/15/20 12:44 AM Description: Unexpected error java.lang.NoSuchFieldError: ofFogType     at net.optifine.Config.isFogFast(Config.java:679) ~[?:?] {re:classloading}     at com.mojang.blaze3d.platform.GLX._setupNvFogDistance(GLX.java:138) ~[?:?] {re:classloading,xf:OptiFine:default}     at com.mojang.blaze3d.systems.RenderSystem.setupNvFogDistance(SourceFile:1067) ~[?:?] {re:classloading}     at net.minecraft.client.renderer.FogRenderer.setupFog(FogRenderer.java:248) ~[?:?] {re:classloading,xf:OptiFine:default,pl:runtimedistcleaner:A}     at net.minecraft.client.renderer.WorldRenderer.func_228426_a_(WorldRenderer.java:918) ~[?:?] {re:classloading,xf:OptiFine:default,pl:runtimedistcleaner:A}     at net.minecraft.client.renderer.GameRenderer.func_228378_a_(GameRenderer.java:607) ~[?:?] {re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:runtimedistcleaner:A}     at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:425) ~[?:?] {re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:954) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:585) [?:?] {re:classloading,pl:accesstransformer:B,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.0.jar:33.0] {}     at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$418/173259631.call(Unknown Source) [forge-1.16.2-33.0.0.jar:33.0] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-6.1.1.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-6.1.1.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-6.1.1.jar:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-6.1.1.jar:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-6.1.1.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace:     at net.optifine.Config.isFogFast(Config.java:679)     at com.mojang.blaze3d.platform.GLX._setupNvFogDistance(GLX.java:138)     at com.mojang.blaze3d.systems.RenderSystem.setupNvFogDistance(SourceFile:1067)     at net.minecraft.client.renderer.FogRenderer.setupFog(FogRenderer.java:248)     at net.minecraft.client.renderer.WorldRenderer.func_228426_a_(WorldRenderer.java:918)     at net.minecraft.client.renderer.GameRenderer.func_228378_a_(GameRenderer.java:607) -- Affected level -- Details:     All players: 1 total; [ClientPlayerEntity['CloudAtlasJin'/150, l='ClientLevel', x=-71.50, y=73.00, z=-200.50]]     Chunk stats: Client Chunk Cache: 841, 441     Level dimension: minecraft:overworld     Level spawn location: World: (-64,65,-192), Chunk: (at 0,4,0 in -4,-12; contains blocks -64,0,-192 to -49,255,-177), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)     Level time: 81 game time, 81 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:1975)     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:606)     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$418/173259631.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: 1178495080 bytes (1123 MB) / 2147483648 bytes (2048 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: 6.1.1+74+master.966c698     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.0.jar object_holder_definalize PLUGINSERVICE          /forge-1.16.2-33.0.0.jar runtime_enum_extender PLUGINSERVICE          /accesstransformers-2.2.0-shadowed.jar accesstransformer PLUGINSERVICE          /forge-1.16.2-33.0.0.jar capability_inject_definalize PLUGINSERVICE          /forge-1.16.2-33.0.0.jar runtimedistcleaner PLUGINSERVICE          /mixin-0.8.jar mixin TRANSFORMATIONSERVICE          /OptiFine_1.16.1_HD_U_G2.jar OptiFine TRANSFORMATIONSERVICE          /forge-1.16.2-33.0.0.jar fml TRANSFORMATIONSERVICE      FML: 33.0     Forge: net.minecraftforge:33.0.0     FML Language Providers:          javafml@33.0         minecraft@1     Mod List:          forge-1.16.2-33.0.0-client.jar Minecraft {minecraft@1.16.2 DONE}         forge-1.16.2-33.0.0-universal.jar Forge {forge@33.0.0 DONE}         Hwyla-forge-1.10.10-B77_1.16.1.jar Waila {waila@1.10.10-B77_1.16.1 DONE}     Launched Version: 1.16.2-forge-33.0.0     Backend library: LWJGL version 3.2.2 build 10     Backend API: GeForce GTX 950/PCIe/SSE2 GL version 4.6.0 NVIDIA 451.48, 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: fabulous     Resource Packs: mod_resources (incompatible), vanilla, file/BetterFaithful 1.16.2.zip (incompatible)     Current Language: English (US)     CPU: 8x Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz
  • Topics

  • Who's Online (See full list)