Jump to content

[1.16.1] [SOLVED]Custom biomes not generating in the world


Beethoven92
 Share

Recommended Posts

Hello, so, my goal is to add new biomes to default minecraft dimensions, without having to create a new world type like mods such as biomes o' plenty are doing. I looked at the way other mods that simply add their biomes to the default world generation (Traverse, Atmospheric...) are doing the trick, and in fact it seems a fairly simple task. The problem is that these mod are still in 1.15+, and doing the same in 1.16 seems to not produce the desired result. The same code does compile without errors in 1.16 but my custom biome simply isn't showing up during default world generation. My biome is registered and created correctly though, because i am able to select it in the single-biome world type and generate a world with it. It also shows up in the list of available biomes when i try the /locatebiome command, but it always says that it could not find it within reasonable distance, no matter how far i go around the world.

 

This is my Biome manager class:

 

package mod.beethoven92.testmod116.init;

import mod.beethoven92.testmod116.Reference;
import mod.beethoven92.testmod116.world.biome.TestBiome;
import net.minecraft.world.biome.Biome;
import net.minecraftforge.common.BiomeDictionary;
import net.minecraftforge.common.BiomeDictionary.Type;
import net.minecraftforge.common.BiomeManager;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.RegistryObject;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;

public class ModBiomes 
{
	public static final DeferredRegister<Biome> BIOMES = DeferredRegister.create(ForgeRegistries.BIOMES, Reference.MOD_ID);
	
	public static final RegistryObject<Biome> TEST_BIOME = BIOMES.register("test_biome", TestBiome::new);
	
	public static void register(IEventBus modEventBus)
	{
		BIOMES.register(modEventBus);
	}
	
	public static void setupBiomes()
	{
		BiomeManager.addBiome(BiomeManager.BiomeType.COOL, new BiomeManager.BiomeEntry(TEST_BIOME.get(), 10));
		
		BiomeDictionary.addTypes(TEST_BIOME.get(), Type.PLAINS, Type.OVERWORLD);
	}
}

 

My custom biome:

package mod.beethoven92.testmod116.world.biome;

import net.minecraft.entity.EntityClassification;
import net.minecraft.entity.EntityType;
import net.minecraft.world.biome.Biome;
import net.minecraft.world.biome.BiomeAmbience;
import net.minecraft.world.biome.MoodSoundAmbience;
import net.minecraft.world.gen.surfacebuilders.SurfaceBuilder;

public class TestBiome extends Biome
{
	public TestBiome()
	{
		super((new Biome.Builder()).
				surfaceBuilder(SurfaceBuilder.DEFAULT, SurfaceBuilder.GRASS_DIRT_GRAVEL_CONFIG).
				precipitation(Biome.RainType.RAIN).
				category(Biome.Category.PLAINS).
				depth(0.1F).
				scale(0.2F).
				temperature(0.7F).
				downfall(0.8F).
				func_235097_a_((new BiomeAmbience.Builder()).
						setWaterColor(7098023).
						setWaterFogColor(14733798).
						setFogColor(16627961).
						setMoodSound(MoodSoundAmbience.field_235027_b_).
						build()).
				parent((String)null));
		
		this.addSpawn(EntityClassification.CREATURE, new Biome.SpawnListEntry(EntityType.BEE, 12, 2, 4));
	}
}

 

And finally my main class:

package mod.beethoven92.testmod116;

import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.eventbus.api.EventPriority;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
import net.minecraftforge.fml.event.server.FMLServerStartingEvent;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import mod.beethoven92.testmod116.init.ModBiomes;
import mod.beethoven92.testmod116.init.ModBlocks;
import mod.beethoven92.testmod116.init.ModItems;


@Mod(Reference.MOD_ID)
public class TestMod116
{
    public static final Logger LOGGER = LogManager.getLogger(Reference.MOD_ID);

    public TestMod116() 
    {
    	IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus();
        

        modEventBus.addListener(this::clientSetup);
        modEventBus.addListener(EventPriority.LOWEST, this::commonSetup);
        
        //Registering deferred registers to the mod bus
        ModBlocks.register(modEventBus);
        ModItems.register(modEventBus);
        ModBiomes.register(modEventBus);
        
        MinecraftForge.EVENT_BUS.register(this);
    }

    private void commonSetup(final FMLCommonSetupEvent event)
    {
    	ModBiomes.setupBiomes();
    }

    private void clientSetup(final FMLClientSetupEvent event) 
    {
    }
    
    @SubscribeEvent
    public void onServerStarting(FMLServerStartingEvent event) 
    {
    }
}

 

which is the way i have seen other mods dealing with this. It just doesn't seem to work, and i really don't know what i am missing here. Any help is welcome! Thank you very much

 

/// EDIT: solved in the newer versions of Forge

Edited by Beethoven92

Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port

Link to comment
Share on other sites

  • 3 months later...

I did this in 1.16.1, and at the time i posted this topic there was an issue with the forge version i was using that prevented the code above to work correctly..and as i said at the end of the post the issue was addressed and fixed. See the relative changelog:

Quote

Build: 1.16.1-32.0.82 - Mon Jul 27 21:14:02 GMT 2020
	email.squishling:
		Fixed modded overworld biomes not spawning [1.16.x] (#6990)

 

Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port

Link to comment
Share on other sites

  • 3 weeks later...

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
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.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • You need to post your logs/debug.log so we can see the full error.
    • thanks, it worked removing oculus i dont have iris mod
    • I deleted rubidium and now it crashes without a log but this is what pops up in the console. Debating just removing mods until it works because without mods it runs fine. [14:09:39] [main/INFO]: Compatibility level set to JAVA_17 [14:09:39] [main/INFO]: Successfully loaded Mixin Connector [com.sonicether.soundphysics.MixinConnector] [14:09:39] [main/INFO]: Successfully loaded Mixin Connector [ca.spottedleaf.starlight.mixin.MixinConnector] [14:09:39] [main/INFO]: Launching target 'forgeserver' with arguments [] [14:09:39] [main/WARN]: Reference map 'fallingthrough.refmap.json' for fallingthrough.mixins.json could not be read. If this is a development environment you can ignore this message [14:09:39] [main/WARN]: Reference map 'META-INF/magnumtorch.refmap.json' for META-INF/magnumtorch.mixins.json could not be read. If this is a development environment you can ignore this message [14:09:39] [main/WARN]: Reference map 'memorysettings.refmap.json' for memorysettings.mixins.json could not be read. If this is a development environment you can ignore this message [14:09:39] [main/WARN]: Reference map 'screenscale.refmap.json' for screenscale.mixins.json could not be read. If this is a development environment you can ignore this message [14:09:39] [main/WARN]: Reference map 'shutdowner.refmap.json' for shutdowner.mixins.json could not be read. If this is a development environment you can ignore this message [14:09:41gKFtogHYuTLgtmff2zbx9hk7DWS8VB612gDjf1YFPsfT66jV4UFCBNJSsUKKBpwf9y4CunA1UoucxSkm8NLtmRFxDFATcbe read. If this is a development environment you can ignore this message [14:09:40] [main/WARN]: Reference map 'weathersettings.refmap.json' for weathersettings.mixins.json could not be read. If this is a development environment you can ignore this message [14:09:41gKFtogHYuTLgtmff2zbx9hk7DWS8VB612gDjf1YFPsfT66jV4UFCBNJSsUKKBpwf9y4CunA1UoucxSkm8NLtmRFxDFATcbe read. If this is a development environment you can ignore this message [14:09:41gKFtogHYuTLgtmff2zbx9hk7DWS8VB612gDjf1YFPsfT66jV4UFCBNJSsUKKBpwf9y4CunA1UoucxSkm8NLtmRFxDFATcnot be read. If this is a development environment you can ignore this message [14:09:40] [main/FATAL]: Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER [14:09:40] [main/WARN]: Error loading class: net/minecraft/client/player/LocalPlayer (java.lang.RuntimeException: Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER) [14:09:40] [main/WARN]: @Mixin target net.minecraft.client.player.LocalPlayer was not found ars_nouveau.mixins.json:elytra.ClientElytraMixin [14:09:40] [main/WARN]: Error loading class: net/p3pp3rf1y/sophisticatedcore/common/gui/StorageContainerMenu (java.lang.ClassNotFoundException: net.p3pp3rf1y.sophisticatedcore.common.gui.StorageContainerMenu) [14:09:41gKFtogHYuTLgtmff2zbx9hk7DWS8VB612gDjf1YFPsfT66jV4UFCBNJSsUKKBpwf9y4CunA1UoucxSkm8NLtmRFxDFATcwas not found polymorph_integrations.mixins.json:sophisticatedbackpacks.MixinStorageContainerMenu [14:09:40] [main/WARN]: Error loading class: de/maxhenkel/gravestone/events/DeathEvents (java.lang.ClassNotFoundException: de.maxhenkel.gravestone.events.DeathEvents) [14:09:40] [main/WARN]: Error loading class: de/maxhenkel/corpse/events/DeathEvents (java.lang.ClassNotFoundException: de.maxhenkel.corpse.events.DeathEvents) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:41gKFtogHYuTLgtmff2zbx9hk7DWS8VB612gDjf1YFPsfT66jV4UFCBNJSsUKKBpwf9y4CunA1UoucxSkm8NLtmRFxDFATcUnsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:41gKFtogHYuTLgtmff2zbx9hk7DWS8VB612gDjf1YFPsfT66jV4UFCBNJSsUKKBpwf9y4CunA1UoucxSkm8NLtmRFxDFATcUnsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:40] [main/WARN]: Error loading class: java/util/function/Consumer (java.lang.IllegalArgumentException: Unsupported class file major version 63) [14:09:41gKFtogHYuTLgtmff2zbx9hk7DWS8VB612gDjf1YFPsfT66jV4UFCBNJSsUKKBpwf9y4CunA1UoucxSkm8NLtmRFxDFATcserver.Main: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException Unexpecteded ClassMetadataNotFoundException whilst transforming the mixin class: [MAIN Applicator Phase -> terrablender_forge.mixins.json:MixinMain -> Apply Methods -> (Lcom/mojang/serialization/DataResult;ZLjava/util/function/Consumer;)Ljava/lang/Object;:redirect$zkb000$onGetOrThrow -> Transform LVT -> var=onError -> desc=Ljava/util/function/Consumer;] org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: Unexpecteded ClassMetadataNotFoundException whilst transforming the mixin class: [MAIN Applicator Phase -> terrablender_forge.mixins.json:MixinMain -> Apply Methods -> (Lcom/mojang/serialization/DataResult;ZLjava/util/function/Consumer;)Ljava/lang/Object;:redirect$zkb000$onGetOrThrow -> Transform LVT -> var=onError -> desc=Ljava/util/function/Consumer;]         at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformMethod(MixinTargetContext.java:491) ~[mixin-0.8.5.jar%2319!/:0.8.5+Jenkins-b310.git-bc1qs8x6caxpkns9szm37d8csd6ej4nr67qx3hk732]         at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyNormalMethod(MixinApplicatorStandard.java:532) ~[mixin-0.8.5.jar%2319!/:0.8.5+Jenkins-b310.git-bc1qs8x6caxpkns9szm37d8csd6ej4nr67qx3hk732]         at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMethods(MixinApplicatorStandard.java:518) ~[mixin-0.8.5.jar%2319!/:0.8.5+Jenkins-b310.git-bc1qs8x6caxpkns9szm37d8csd6ej4nr67qx3hk732]         at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:386) ~[mixin-0.8.5.jar%2319!/:0.8.5+Jenkins-b310.git-bc1qs8x6caxpkns9szm37d8csd6ej4nr67qx3hk732]         at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325) ~[mixin-0.8.5.jar%2319!/:0.8.5+Jenkins-b310.git-bc1qs8x6caxpkns9szm37d8csd6ej4nr67qx3hk732]         at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383) ~[mixin-0.8.5.jar%2319!/:0.8.5+Jenkins-b310.git-bc1qs8x6caxpkns9szm37d8csd6ej4nr67qx3hk732]         at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365) ~[mixin-0.8.5.jar%2319!/:0.8.5+Jenkins-b310.git-bc1qs8x6caxpkns9szm37d8csd6ej4nr67qx3hk732]         at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[mixin-0.8.5.jar%2319!/:0.8.5+Jenkins-b310.git-bc1qs8x6caxpkns9szm37d8csd6ej4nr67qx3hk732]         at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250) ~[mixin-0.8.5.jar%2319!/:0.8.5+Jenkins-b310.git-bc1qs8x6caxpkns9szm37d8csd6ej4nr67qx3hk732]         at org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131) ~[mixin-0.8.5.jar%2319!/:0.8.5+Jenkins-b310.git-bc1qs8x6caxpkns9szm37d8csd6ej4nr67qx3hk732]         at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131) ~[mixin-0.8.5.jar%2319!/:0.8.5+Jenkins-b310.git-bc1qs8x6caxpkns9szm37d8csd6ej4nr67qx3hk732]         at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:156) ~[modlauncher-9.1.3.jar%235!/:9.1.3+9.1.3+main.9b69c82a]         at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-9.1.3.jar%235!/:?]         at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-9.1.3.jar%235!/:?]         at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-9.1.3.jar%235!/:?]         at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:110) ~[securejarhandler-1.0.3.jar:?]         at cpw.mods.cl.ModuleClassLoader.lambda$findClass$16(ModuleClassLoader.java:216) ~[securejarhandler-1.0.3.jar:?]         at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:226) ~[securejarhandler-1.0.3.jar:?]         at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:216) ~[securejarhandler-1.0.3.jar:?]         at java.lang.ClassLoader.loadClass(ClassLoader.java:633) ~[?:?]         at java.lang.Class.forName(Class.java:584) ~[?:?]         at java.lang.Class.forName(Class.java:559) ~[?:?]         at net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:46) ~[fmlloader-1.18.1-39.1.2.jar%2323!/:?]         at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.3.jar%235!/:?]         at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.3.jar%235!/:?]         at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.3.jar%235!/:?]         at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.3.jar%235!/:?]         at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%235!/:?]         at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%235!/:?]         at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%235!/:?]         at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] Caused by: org.spongepowered.asm.mixin.throwables.ClassMetadataNotFoundException: java.util.function.Consumer         at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformSingleDescriptor(MixinTargetContext.java:983) ~[mixin-0.8.5.jar%2319!/:0.8.5+Jenkins-b310.git-bc1qs8x6caxpkns9szm37d8csd6ej4nr67qx3hk732]         at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformSingleDescriptor(MixinTargetContext.java:943) ~[mixin-0.8.5.jar%2319!/:0.8.5+Jenkins-b310.git-bc1qs8x6caxpkns9szm37d8csd6ej4nr67qx3hk732]         at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformLVT(MixinTargetContext.java:544) ~[mixin-0.8.5.jar%2319!/:0.8.5+Jenkins-b310.git-bc1qs8x6caxpkns9szm37d8csd6ej4nr67qx3hk732]         at org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformMethod(MixinTargetContext.java:450) ~[mixin-0.8.5.jar%2319!/:0.8.5+Jenkins-b310.git-bc1qs8x6caxpkns9szm37d8csd6ej4nr67qx3hk732]         ... 30 more Exception in thread "main" org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131)         at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:156)         at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88)         at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120)         at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50)         at cpw.mods.securejarhandler@1.0.3/cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:110)         at cpw.mods.securejarhandler@1.0.3/cpw.mods.cl.ModuleClassLoader.lambda$findClass$16(ModuleClassLoader.java:216)         at cpw.mods.securejarhandler@1.0.3/cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:226)         at cpw.mods.securejarhandler@1.0.3/cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:216)         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:633)         at java.base/java.lang.Class.forName(Class.java:584)         at java.base/java.lang.Class.forName(Class.java:559)         at MC-BOOTSTRAP/fmlloader@1.18.1-39.1.2/net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:46)         at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)         at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)         at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)         at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)         at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)         at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)         at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)         at cpw.mods.bootstraplauncher@1.0.0/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [terrablender_forge.mixins.json:MixinMain] from phase [DEFAULT] in config [terrablender_forge.mixins.json] FAILED during APPLY         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinError(MixinProcessor.java:636)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinApplyError(MixinProcessor.java:588)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:379)         ... 23 more Caused by: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: Unexpecteded ClassMetadataNotFoundException whilst transforming the mixin class: [MAIN Applicator Phase -> terrablender_forge.mixins.json:MixinMain -> Apply Methods -> (Lcom/mojang/serialization/DataResult;ZLjava/util/function/Consumer;)Ljava/lang/Object;:redirect$zkb000$onGetOrThrow -> Transform LVT -> var=onError -> desc=Ljava/util/function/Consumer;]         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformMethod(MixinTargetContext.java:491)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyNormalMethod(MixinApplicatorStandard.java:532)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMethods(MixinApplicatorStandard.java:518)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:386)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363)         ... 23 more Caused by: org.spongepowered.asm.mixin.throwables.ClassMetadataNotFoundException: java.util.function.Consumer         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformSingleDescriptor(MixinTargetContext.java:983)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformSingleDescriptor(MixinTargetContext.java:943)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformLVT(MixinTargetContext.java:544)         at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinTargetContext.transformMethod(MixinTargetContext.java:450)         ... 30 more C:\Users\Administrator\Desktop\1.18.1>pause Press any key to continue . . .
    • I am trying to play but when it is loading this appears: "The game crashed whilst rendering overlay Error: java.lang.NoSuchFieldError: f_166795_" How can i fix this?  
  • Topics

×
×
  • Create New...

Important Information

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