Jump to content

1.14.4 Particle Exception


matezz

Recommended Posts

Hello there,
After adding some particles to my mod, it worked well, just in IDE. After building it and launching, an exception has thrown.
 

Spoiler

java.lang.BootstrapMethodError: java.lang.IllegalAccessError: tried to access class net.minecraft.client.particle.ParticleManager$IParticleMetaFactory from class com.matez.wildnature.Main
   at com.matez.wildnature.Main.registerParticles(Main.java:102) ~[?:2.0.5] {}
   at com.matez.wildnature.Main$$Lambda$2186/1613482934.accept(Unknown Source) ~[?:?] {}
   at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:212) ~[eventbus-1.0.0-service.jar:?] {}
   at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:204) ~[eventbus-1.0.0-service.jar:?] {}
   at net.minecraftforge.eventbus.EventBus$$Lambda$2013/1462255532.invoke(Unknown Source) ~[?:?] {}
   at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) ~[eventbus-1.0.0-service.jar:?] {}
   at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:163) ~[?:28.1] {}
   at net.minecraftforge.fml.ModLoader.lambda$postEvent$30(ModLoader.java:240) ~[?:?] {}
   at net.minecraftforge.fml.ModLoader$$Lambda$2665/905830050.accept(Unknown Source) ~[?:?] {}
   at java.util.HashMap.forEach(HashMap.java:1280) ~[?:1.8.0_51] {}
   at net.minecraftforge.fml.ModList.forEachModContainer(ModList.java:209) ~[?:?] {}
   at net.minecraftforge.fml.ModLoader.postEvent(ModLoader.java:240) ~[?:?] {}
   at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:519) [?:?] {pl:accesstransformer:B,pl:runtimedistcleaner:A}
   at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:365) [?:?] {pl:accesstransformer:B,pl:runtimedistcleaner:A}
   at net.minecraft.client.main.Main.main(SourceFile:155) [?:?] {}
   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:56) [forge-1.14.4-28.1.1.jar:28.1] {}
   at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$351/1618683794.call(Unknown Source) [forge-1.14.4-28.1.1.jar:28.1] {}
   at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-3.2.0.jar:?] {}
   at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) [modlauncher-3.2.0.jar:?] {}
   at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68) [modlauncher-3.2.0.jar:?] {}
   at cpw.mods.modlauncher.Launcher.run(Launcher.java:80) [modlauncher-3.2.0.jar:?] {}
   at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-3.2.0.jar:?] {}
Caused by: java.lang.IllegalAccessError: tried to access class net.minecraft.client.particle.ParticleManager$IParticleMetaFactory from class com.matez.wildnature.Main
   ... 26 more

Here is my code:

Spoiler


@SubscribeEvent
public void registerParticles(final net.minecraftforge.client.event.ParticleFactoryRegisterEvent event){
    LOGGER.info("Registering particle factories...");
HERE IS EXCEPTION:
    Minecraft.getInstance().particles.registerFactory(ParticleRegistry.DUNGEON_HEART, DungeonHeartParticle.Factory::new);
    Minecraft.getInstance().particles.registerFactory(ParticleRegistry.CRYSTAL_SPARK, CrystalSparkParticle.Factory::new);
}

In registry events:


@SubscribeEvent
public static void registerParticles(final RegistryEvent.Register<ParticleType<?>> event){
    LOGGER.info("Registering particles...");
    BasicParticleType type = ParticleRegistry.DUNGEON_HEART;
    type = ParticleRegistry.CRYSTAL_SPARK;

}

Particle Registry class:


public class ParticleRegistry {

    public static final BasicParticleType DUNGEON_HEART = register("wildnature:dungeon_heart", false);
    public static final BasicParticleType CRYSTAL_SPARK = register("wildnature:crystal_spark", false);

    private static BasicParticleType register(String key, boolean alwaysShow) {
        System.out.println("Registering particle: " + key);
        return (BasicParticleType) Registry.<ParticleType<? extends IParticleData>>register(Registry.PARTICLE_TYPE, key, new BasicParticleType(alwaysShow));
    }

    private static <T extends IParticleData> ParticleType<T> register(String key, IParticleData.IDeserializer<T> deserializer) {
        return Registry.register(Registry.PARTICLE_TYPE, key, new ParticleType<>(false, deserializer));
    }
}

And example particle:

Spoiler


package com.matez.wildnature.particles;

import net.minecraft.client.particle.IAnimatedSprite;
import net.minecraft.client.particle.IParticleFactory;
import net.minecraft.client.particle.IParticleRenderType;
import net.minecraft.client.particle.Particle;
import net.minecraft.particles.BasicParticleType;
import net.minecraft.world.World;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;

@OnlyIn(Dist.CLIENT)
public class DungeonHeartParticle extends WNSpriteTexturedParticle {
   private final double portalPosX;
   private final double portalPosY;
   private final double portalPosZ;

   public DungeonHeartParticle(World worldIn, double xCoordIn, double yCoordIn, double zCoordIn, double xSpeedIn, double ySpeedIn, double zSpeedIn) {
      super(worldIn, xCoordIn, yCoordIn, zCoordIn);
      this.motionX = xSpeedIn;
      this.motionY = ySpeedIn;
      this.motionZ = zSpeedIn;
      this.posX = xCoordIn;
      this.posY = yCoordIn;
      this.posZ = zCoordIn;
      this.portalPosX = this.posX;
      this.portalPosY = this.posY;
      this.portalPosZ = this.posZ;
      this.particleScale = 0.1F * (this.rand.nextFloat() * 0.2F + 0.5F);
      float f = this.rand.nextFloat() * 0.6F + 0.4F;
      this.particleRed = f * 0.9F;
      this.particleGreen = f * 0.3F;
      this.particleBlue = f;
      this.maxAge = (int)(Math.random() * 10.0D) + 40;
   }

   public IParticleRenderType getRenderType() {
      return IParticleRenderType.PARTICLE_SHEET_OPAQUE;
   }

   public void move(double x, double y, double z) {
      this.setBoundingBox(this.getBoundingBox().offset(x, y, z));
      this.resetPositionToBB();
   }

   public float getScale(float p_217561_1_) {
      float f = ((float)this.age + p_217561_1_) / (float)this.maxAge;
      f = 1.0F - f;
      f = f * f;
      f = 1.0F - f;
      return this.particleScale * f;
   }

   public int getBrightnessForRender(float partialTick) {
      int i = super.getBrightnessForRender(partialTick);
      float f = (float)this.age / (float)this.maxAge;
      f = f * f;
      f = f * f;
      int j = i & 255;
      int k = i >> 16 & 255;
      k = k + (int)(f * 15.0F * 16.0F);
      if (k > 240) {
         k = 240;
      }

      return j | k << 16;
   }

   public void tick() {
      this.prevPosX = this.posX;
      this.prevPosY = this.posY;
      this.prevPosZ = this.posZ;
      if (this.age++ >= this.maxAge) {
         this.setExpired();
      } else {
         float f = (float)this.age / (float)this.maxAge;
         float f1 = -f + f * f * 2.0F;
         float f2 = 1.0F - f1;
         this.posX = this.portalPosX + this.motionX * (double)f2;
         this.posY = this.portalPosY + this.motionY * (double)f2 + (double)(1.0F - f);
         this.posZ = this.portalPosZ + this.motionZ * (double)f2;
      }
   }

   @OnlyIn(Dist.CLIENT)
   public static class Factory implements IParticleFactory<BasicParticleType> {
      public final IAnimatedSprite spriteSet;

      public Factory(IAnimatedSprite p_i50607_1_) {
         this.spriteSet = p_i50607_1_;
      }

      public Particle makeParticle(BasicParticleType typeIn, World worldIn, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) {
         DungeonHeartParticle portalparticle = new DungeonHeartParticle(worldIn, x, y, z, xSpeed, ySpeed, zSpeed);
         portalparticle.selectSpriteRandomly(this.spriteSet);
         return portalparticle;
      }
   }
}

 

I don't know is that a forge bug or just I have done a mistake.
 

Thanks for help

Link to comment
Share on other sites

Full logs:
 

Spoiler

[18wrz2019 20:00:00.870] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, matez_, --version, 1.14.4-forge-28.1.1, --gameDir, C:\Users\matiz\AppData\Roaming\.minecraft, --assetsDir, C:\Users\matiz\AppData\Roaming\.minecraft\assets, --assetIndex, 1.14, --uuid, 40fb6560a55644af8fbc6155a029f03c, --accessToken, ????????, --userType, legacy, --versionType, release, --launchTarget, fmlclient, --fml.forgeVersion, 28.1.1, --fml.mcVersion, 1.14.4, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20190829.143755]
[18wrz2019 20:00:00.870] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 3.2.0+60+b86c1d4 starting: java version 1.8.0_51 by Oracle Corporation
[18wrz2019 20:00:00.970] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.onLoad
[18wrz2019 20:00:00.970] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFine ZIP file: C:\Users\matiz\AppData\Roaming\.minecraft\mods\preview_OptiFine_1.14.4_HD_U_F4_pre4(1).jar
[18wrz2019 20:00:01.055] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[18wrz2019 20:00:01.071] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.initialize
[18wrz2019 20:00:01.754] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.transformers
[18wrz2019 20:00:01.785] [main/INFO] [optifine.OptiFineTransformer/]: Targets: 238
[18wrz2019 20:00:02.239] [main/INFO] [optifine.OptiFineTransformationService/]: additionalClassesLocator: [optifine., net.optifine.]
[18wrz2019 20:00:02.254] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlclient' with arguments [--version, 1.14.4-forge-28.1.1, --gameDir, C:\Users\matiz\AppData\Roaming\.minecraft, --assetsDir, C:\Users\matiz\AppData\Roaming\.minecraft\assets, --username, matez_, --assetIndex, 1.14, --uuid, 40fb6560a55644af8fbc6155a029f03c, --accessToken, ????????, --userType, legacy, --versionType, release]
[18wrz2019 20:00:03.911] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] *** Reflector Forge ***
[18wrz2019 20:00:03.917] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] (Reflector) Class not present: mods.betterfoliage.client.BetterFoliageClient
[18wrz2019 20:00:06.114] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] (Reflector) Method not present: net.minecraftforge.client.model.IModel.getTextures
[18wrz2019 20:00:06.275] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] (Reflector) Class not present: net.minecraft.launchwrapper.Launch
[18wrz2019 20:00:06.288] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.common.Loader
[18wrz2019 20:00:06.436] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] (Reflector) Class not present: net.minecraftforge.fml.client.SplashProgress
[18wrz2019 20:00:06.442] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] *** Reflector Vanilla ***
[18wrz2019 20:00:06.600] [Client thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: matez_
[18wrz2019 20:00:11.657] [Client thread/INFO] [net.minecraft.client.Minecraft/]: LWJGL Version: 3.2.2 build 10
[18wrz2019 20:00:14.249] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] 
[18wrz2019 20:00:14.249] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] OptiFine_1.14.4_HD_U_F4_pre4
[18wrz2019 20:00:14.251] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] Build: 20190907-165742
[18wrz2019 20:00:14.252] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] OS: Windows 10 (amd64) version 10.0
[18wrz2019 20:00:14.252] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] Java: 1.8.0_51, Oracle Corporation
[18wrz2019 20:00:14.252] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
[18wrz2019 20:00:14.253] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] LWJGL: 3.3.0 Win32 WGL EGL OSMesa VisualC DLL
[18wrz2019 20:00:14.256] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] OpenGL: GeForce GTX 1060 6GB/PCIe/SSE2, version 4.6.0 NVIDIA 416.94, NVIDIA Corporation
[18wrz2019 20:00:14.257] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] OpenGL Version: 4.6.0
[18wrz2019 20:00:14.285] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] Maximum texture size: 32768x32768
[18wrz2019 20:00:14.287] [VersionCheck/INFO] [net.optifine.Config/]: [OptiFine] Checking for new version
[18wrz2019 20:00:14.313] [Client thread/INFO] [net.optifine.shaders.SMCLog/]: [Shaders] OpenGL Version: 4.6.0 NVIDIA 416.94
[18wrz2019 20:00:14.314] [Client thread/INFO] [net.optifine.shaders.SMCLog/]: [Shaders] Vendor:  NVIDIA Corporation
[18wrz2019 20:00:14.314] [Client thread/INFO] [net.optifine.shaders.SMCLog/]: [Shaders] Renderer: GeForce GTX 1060 6GB/PCIe/SSE2
[18wrz2019 20:00:14.314] [Client thread/INFO] [net.optifine.shaders.SMCLog/]: [Shaders] Capabilities:  2.0  2.1  3.0  3.2  4.0 
[18wrz2019 20:00:14.314] [Client thread/INFO] [net.optifine.shaders.SMCLog/]: [Shaders] GL_MAX_DRAW_BUFFERS: 8
[18wrz2019 20:00:14.314] [Client thread/INFO] [net.optifine.shaders.SMCLog/]: [Shaders] GL_MAX_COLOR_ATTACHMENTS_EXT: 8
[18wrz2019 20:00:14.315] [Client thread/INFO] [net.optifine.shaders.SMCLog/]: [Shaders] GL_MAX_TEXTURE_IMAGE_UNITS: 32
[18wrz2019 20:00:14.315] [Client thread/INFO] [net.optifine.shaders.SMCLog/]: [Shaders] Load shaders configuration.
[18wrz2019 20:00:14.319] [Client thread/INFO] [net.optifine.shaders.SMCLog/]: [Shaders] Loaded shaderpack: Sildurs Vibrant Shaders v1.22 Extreme-VL.zip
[18wrz2019 20:00:14.325] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] [Shaders] Worlds: -1, 1
[18wrz2019 20:00:14.522] [Client thread/WARN] [net.optifine.Config/]: [OptiFine] Ambiguous shader option: SHADOW_MAP_BIAS
[18wrz2019 20:00:14.522] [Client thread/WARN] [net.optifine.Config/]: [OptiFine]  - in shadow.vsh, shadow.fsh, gbuffers_textured.vsh, gbuffers_textured.fsh, gbuffers_skytextured.fsh, gbuffers_terrain.vsh, gbuffers_terrain.fsh, gbuffers_block.vsh, gbuffers_block.fsh, gbuffers_weather.vsh, gbuffers_water.vsh, gbuffers_water.fsh, composite.vsh, composite.fsh, composite1.vsh, composite1.fsh, composite2.fsh, composite3.vsh, composite3.fsh, final.vsh, final.fsh, world-1/shadow.vsh: 0.80
[18wrz2019 20:00:14.523] [Client thread/WARN] [net.optifine.Config/]: [OptiFine]  - in world-1/gbuffers_textured.fsh: 0.8
[18wrz2019 20:00:14.528] [Client thread/WARN] [net.optifine.Config/]: [OptiFine] Ambiguous shader option: SHADOW_MAP_BIAS
[18wrz2019 20:00:14.528] [Client thread/WARN] [net.optifine.Config/]: [OptiFine]  - in shadow.vsh, shadow.fsh, gbuffers_textured.vsh, gbuffers_textured.fsh, gbuffers_skytextured.fsh, gbuffers_terrain.vsh, gbuffers_terrain.fsh, gbuffers_block.vsh, gbuffers_block.fsh, gbuffers_weather.vsh, gbuffers_water.vsh, gbuffers_water.fsh, composite.vsh, composite.fsh, composite1.vsh, composite1.fsh, composite2.fsh, composite3.vsh, composite3.fsh, final.vsh, final.fsh, world-1/shadow.vsh, world-1/gbuffers_textured.fsh, world-1/gbuffers_block.fsh: 0.80
[18wrz2019 20:00:14.529] [Client thread/WARN] [net.optifine.Config/]: [OptiFine]  - in world-1/gbuffers_water.fsh: 0.8
[18wrz2019 20:00:14.558] [Client thread/INFO] [net.optifine.Config/]: [OptiFine] [Shaders] Parsing block mappings: /shaders/block.properties
[18wrz2019 20:00:14.576] [Client thread/WARN] [net.optifine.Config/]: [OptiFine] [Shaders] Invalid option: Nether_Fog, key: screen.FOG_SCREEN
[18wrz2019 20:00:14.577] [Client thread/WARN] [net.optifine.Config/]: [OptiFine] [Shaders] Invalid option: nFogDensity, key: screen.FOG_SCREEN
[18wrz2019 20:00:14.577] [Client thread/WARN] [net.optifine.Config/]: [OptiFine] [Shaders] Invalid option: Godrays_Quality, key: screen.SKY_SCREEN
[18wrz2019 20:00:14.578] [Client thread/INFO] [net.optifine.shaders.SMCLog/]: [Shaders] Custom uniform: inSwamp
[18wrz2019 20:00:14.597] [Client thread/INFO] [net.optifine.shaders.SMCLog/]: [Shaders] Custom uniform: BiomeTemp
[18wrz2019 20:00:14.692] [VersionCheck/INFO] [net.optifine.Config/]: [OptiFine] Version found: F2
[18wrz2019 20:00:15.414] [modloading-worker-11/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 28.1.1, for MC 1.14.4 with MCP 20190829.143755
[18wrz2019 20:00:15.415] [modloading-worker-11/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v28.1.1 Initialized
[18wrz2019 20:00:15.723] [Client thread/INFO] [wildnature/]: Registering blocks...
[18wrz2019 20:00:17.322] [Client thread/INFO] [wildnature/]: Registering items...
[18wrz2019 20:00:17.336] [Client thread/INFO] [wildnature/]: Registering biomes...
[18wrz2019 20:00:17.702] [Client thread/WARN] [net.minecraftforge.registries.ForgeRegistry/REGISTRIES]: Registry Biome: The object com.matez.wildnature.world.gen.biomes.biomes.WNEasterIsland@5a740449 has been registered twice for the same name wildnature:easter_island.
[18wrz2019 20:00:17.741] [Client thread/INFO] [wildnature/]: Registering tileEntities...
[18wrz2019 20:00:17.745] [Client thread/INFO] [wildnature/]: Registering containers...
[18wrz2019 20:00:17.749] [Client thread/INFO] [wildnature/]: Registering particles...
[18wrz2019 20:00:17.752] [Client thread/INFO] [STDOUT/]: [com.matez.wildnature.registry.ParticleRegistry:register:15]: Registering particle: wildnature:dungeon_heart
[18wrz2019 20:00:17.752] [Client thread/INFO] [STDOUT/]: [com.matez.wildnature.registry.ParticleRegistry:register:15]: Registering particle: wildnature:crystal_spark
[18wrz2019 20:00:18.575] [Client thread/INFO] [wildnature/]: Registering particle factories...
[18wrz2019 20:00:18.588] [Client thread/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/]: Exception caught during firing event: java.lang.IllegalAccessError: tried to access class net.minecraft.client.particle.ParticleManager$IParticleMetaFactory from class com.matez.wildnature.Main
   Index: 1
   Listeners:
      0: NORMAL
      1: net.minecraftforge.eventbus.EventBus$$Lambda$2010/1723215549@8d56ddd
java.lang.BootstrapMethodError: java.lang.IllegalAccessError: tried to access class net.minecraft.client.particle.ParticleManager$IParticleMetaFactory from class com.matez.wildnature.Main
   at com.matez.wildnature.Main.registerParticles(Main.java:102)
   at com.matez.wildnature.Main$$Lambda$2184/2039794633.accept(Unknown Source)
   at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:212)
   at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:204)
   at net.minecraftforge.eventbus.EventBus$$Lambda$2010/1723215549.invoke(Unknown Source)
   at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258)
   at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:163)
   at net.minecraftforge.fml.ModLoader.lambda$postEvent$30(ModLoader.java:240)
   at net.minecraftforge.fml.ModLoader$$Lambda$2661/576557994.accept(Unknown Source)
   at java.util.HashMap.forEach(HashMap.java:1280)
   at net.minecraftforge.fml.ModList.forEachModContainer(ModList.java:209)
   at net.minecraftforge.fml.ModLoader.postEvent(ModLoader.java:240)
   at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:519)
   at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:365)
   at net.minecraft.client.main.Main.main(SourceFile:155)
   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:56)
   at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$351/1618683794.call(Unknown Source)
   at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
   at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50)
   at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68)
   at cpw.mods.modlauncher.Launcher.run(Launcher.java:80)
   at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
Caused by: java.lang.IllegalAccessError: tried to access class net.minecraft.client.particle.ParticleManager$IParticleMetaFactory from class com.matez.wildnature.Main
   ... 26 more

[18wrz2019 20:00:18.602] [Client thread/INFO] [STDOUT/]: [net.minecraft.util.registry.Bootstrap:func_179870_a:100]: ---- Minecraft Crash Report ----
// Don't do that.

Time: 18.09.19 20:00
Description: Initializing game

java.lang.BootstrapMethodError: java.lang.IllegalAccessError: tried to access class net.minecraft.client.particle.ParticleManager$IParticleMetaFactory from class com.matez.wildnature.Main
   at com.matez.wildnature.Main.registerParticles(Main.java:102) ~[?:2.0.5] {}
   at com.matez.wildnature.Main$$Lambda$2184/2039794633.accept(Unknown Source) ~[?:?] {}
   at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:212) ~[eventbus-1.0.0-service.jar:?] {}
   at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:204) ~[eventbus-1.0.0-service.jar:?] {}
   at net.minecraftforge.eventbus.EventBus$$Lambda$2010/1723215549.invoke(Unknown Source) ~[?:?] {}
   at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) ~[eventbus-1.0.0-service.jar:?] {}
   at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:163) ~[?:28.1] {}
   at net.minecraftforge.fml.ModLoader.lambda$postEvent$30(ModLoader.java:240) ~[?:?] {}
   at net.minecraftforge.fml.ModLoader$$Lambda$2661/576557994.accept(Unknown Source) ~[?:?] {}
   at java.util.HashMap.forEach(HashMap.java:1280) ~[?:1.8.0_51] {}
   at net.minecraftforge.fml.ModList.forEachModContainer(ModList.java:209) ~[?:?] {}
   at net.minecraftforge.fml.ModLoader.postEvent(ModLoader.java:240) ~[?:?] {}
   at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:519) [?:?] {pl:accesstransformer:B,pl:runtimedistcleaner:A}
   at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:365) [?:?] {pl:accesstransformer:B,pl:runtimedistcleaner:A}
   at net.minecraft.client.main.Main.main(SourceFile:155) [?:?] {}
   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:56) [forge-1.14.4-28.1.1.jar:28.1] {}
   at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$351/1618683794.call(Unknown Source) [forge-1.14.4-28.1.1.jar:28.1] {}
   at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-3.2.0.jar:?] {}
   at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) [modlauncher-3.2.0.jar:?] {}
   at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68) [modlauncher-3.2.0.jar:?] {}
   at cpw.mods.modlauncher.Launcher.run(Launcher.java:80) [modlauncher-3.2.0.jar:?] {}
   at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-3.2.0.jar:?] {}
Caused by: java.lang.IllegalAccessError: tried to access class net.minecraft.client.particle.ParticleManager$IParticleMetaFactory from class com.matez.wildnature.Main
   ... 26 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
   at com.matez.wildnature.Main.registerParticles(Main.java:102)
   at com.matez.wildnature.Main$$Lambda$2184/2039794633.accept(Unknown Source)
   at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:212)
   at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:204)
   at net.minecraftforge.eventbus.EventBus$$Lambda$2010/1723215549.invoke(Unknown Source)
   at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258)
   at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:163)
   at net.minecraftforge.fml.ModLoader.lambda$postEvent$30(ModLoader.java:240)
   at net.minecraftforge.fml.ModLoader$$Lambda$2661/576557994.accept(Unknown Source)
   at java.util.HashMap.forEach(HashMap.java:1280)
   at net.minecraftforge.fml.ModList.forEachModContainer(ModList.java:209)
   at net.minecraftforge.fml.ModLoader.postEvent(ModLoader.java:240)
   at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:519)

-- Initialization --
Details:
Stacktrace:
   at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:365)
   at net.minecraft.client.main.Main.main(SourceFile:155)
   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:56)
   at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$351/1618683794.call(Unknown Source)
   at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
   at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50)
   at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68)
   at cpw.mods.modlauncher.Launcher.run(Launcher.java:80)
   at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)

-- System Details --
Details:
   Minecraft Version: 1.14.4
   Minecraft Version ID: 1.14.4
   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: 4549591608 bytes (4338 MB) / 5368709120 bytes (5120 MB) up to 5368709120 bytes (5120 MB)
   CPUs: 16
   JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx5G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
   ModLauncher: 3.2.0+60+b86c1d4
   ModLauncher launch target: fmlclient
   ModLauncher naming: srg
   ModLauncher services: 
      /eventbus-1.0.0-service.jar eventbus PLUGINSERVICE 
      /forge-1.14.4-28.1.1.jar object_holder_definalize PLUGINSERVICE 
      /forge-1.14.4-28.1.1.jar runtime_enum_extender PLUGINSERVICE 
      /accesstransformers-1.0.0-shadowed.jar accesstransformer PLUGINSERVICE 
      /forge-1.14.4-28.1.1.jar capability_inject_definalize PLUGINSERVICE 
      /forge-1.14.4-28.1.1.jar runtimedistcleaner PLUGINSERVICE 
      /preview_OptiFine_1.14.4_HD_U_F4_pre4(1).jar OptiFine TRANSFORMATIONSERVICE 
      /forge-1.14.4-28.1.1.jar fml TRANSFORMATIONSERVICE 
   FML: 28.1
   Forge: net.minecraftforge:28.1.1
   FML Language Providers: 
      [email protected]
      minecraft@1
   Mod List: 
      forgemod_VoxelMap-1.9.13b_for_1.14.4.jar VoxelMap {[email protected] COMMON_SETUP}
      wildnature-2.0.5.jar WildNature Mod {[email protected] COMMON_SETUP}
      worldedit-forge-mc1.14.4-7.0.1.jar WorldEdit {[email protected];61bc012 COMMON_SETUP}
      forge-1.14.4-28.1.1-universal.jar Forge {[email protected] COMMON_SETUP}
      forge-1.14.4-28.1.1-client.jar Minecraft {[email protected] COMMON_SETUP}
   Launched Version: 1.14.4-forge-28.1.1
   LWJGL: 3.2.2 build 10
   OpenGL: GeForce GTX 1060 6GB/PCIe/SSE2 GL version 4.6.0 NVIDIA 416.94, NVIDIA Corporation
   GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

   Using VBOs: Yes
   Is Modded: Definitely; Client brand changed to 'forge'
   Type: Client (map_client.txt)
   Resource Packs: 
   Current Language: English (US)
   CPU: 16x AMD Ryzen 7 1700 Eight-Core Processor 
[18wrz2019 20:00:18.607] [Client thread/INFO] [STDOUT/]: [net.minecraft.util.registry.Bootstrap:func_179870_a:100]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\matiz\AppData\Roaming\.minecraft\crash-reports\crash-2019-09-18_20.00.18-client.txt

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.