Jump to content

How can i make a metadata ore drop a specific item instead of itsself


Dus998

Recommended Posts

I have a set of metadata ores and i want one of them to drop a certain item(nikolite in this case)

 

heres the three files used

 

Item ore Block

package dus998.mods.oresgalore;

import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;

public class ItemOreBlock extends ItemBlock
{

public ItemOreBlock(int par1) {
	super(par1);
	setHasSubtypes(true);
}

public String getUnlocalizedName(ItemStack itemstack)
{
       String name = "";
       switch(itemstack.getItemDamage())
       {
             case 0:
             {
                    name = "Ruby Ore";
                    break;
             }
             case 1:
             {
                    name = "Sapphire Ore";
                    break;
             }
             case 2:
             {
                    name = "Lead Ore";
                    break;
             }
             case 3:
             {
                    name = "Tungsten Ore";
                    break;
             }
             case 4:
             {
                    name = "Silver Ore";
                    break;
             }
             case 5:
             {
                    name = "Tin Ore";
                    break;
             }
             case 6:
             {
                    name = "Copper Ore";
                    break;
             }
             case 7:
             {
                    name = "Cobalt Ore";
                    break;
             }
             case 8:
             {
                    name = "Zinc Ore";
                    break;
             }
             case 9:
             {
                    name = "Nickel Ore";
                    break;
             }
             case 10:
             {
                    name = "Basalt";
                    break;
             }
             case 11:
             {
                    name = "Marble";
                    break;
             }
             case 12:
             {
            	 name = "Nikolite";
            	 break;
             }
             default: name = "broken";
       }
       return getUnlocalizedName() + "." + name;
}

 public int getMetadata(int par1)
 {
       return par1;
 }

}

 

Ore block

 

package dus998.mods.oresgalore;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Icon;
import net.minecraft.world.World;

public class OreBlock extends Block{

public OreBlock(int par1, Material par2Material) {
	super(par1, par2Material);
	this.setCreativeTab(CreativeTabs.tabBlock);
	}
@SideOnly(Side.CLIENT)
private Icon[] icons;
      
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister)
{
       icons = new Icon[13];
            
       for(int i = 0; i < icons.length; i++)
       {
        icons[i] = par1IconRegister.registerIcon(OresMain.modid + ":" + (this.getUnlocalizedName().substring(5)) + i);
       }
}

@SideOnly(Side.CLIENT)
public Icon getIcon(int par1, int par2)
{
       return icons[par2];
}

@SideOnly(Side.CLIENT)
public void getSubBlocks(int par1, CreativeTabs par2CreativeTabs, List par3List)
{
    for (int var4 = 0; var4 < 13; ++var4)
    {
        par3List.add(new ItemStack(par1, 1, var4));
    }
}
  }

Ores main class

package dus998.mods.oresgalore;



import java.io.File;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.Property;
import cpw.mods.fml.common.IWorldGenerator;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.Mod.PreInit;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

@Mod(modid = OresMain.modid, name = "Ores Galore", version = "1")

@NetworkMod(clientSideRequired = true, serverSideRequired = false)

public class OresMain {
public static final String modid = "oresgalore";
public static Block OreBlock;
public static Item  ItemNikolite;

EventManager eventmanager = new EventManager();

@PreInit
public void PreInit(FMLPreInitializationEvent event)
{
dus998.mods.oresgalore.ConfigurationHandler.init(new File(event.getModConfigurationDirectory().getAbsolutePath() + " Ores Galore"));
}

@Init
public void load(FMLInitializationEvent event)
{
	ItemNikolite = new ItemNikolite(Variables.Niko).setUnlocalizedName("Nikolite");

	GameRegistry.registerItem(ItemNikolite, "Nikolite");
	LanguageRegistry.addName(new ItemStack(ItemNikolite, 1, 0), "Nikolite");

	OreBlock = new OreBlock(Variables.oreID, Material.rock).setUnlocalizedName("OreBlock");

	GameRegistry.registerBlock(OreBlock, ItemOreBlock.class, modid + (OreBlock.getUnlocalizedName().substring(5)));
        
	LanguageRegistry.addName(new ItemStack(OreBlock, 1, 0), "Ruby Ore");
        LanguageRegistry.addName(new ItemStack(OreBlock, 1, 1), "Sapphire Ore");
        LanguageRegistry.addName(new ItemStack(OreBlock, 1, 2), "Tungsten Ore");
        LanguageRegistry.addName(new ItemStack(OreBlock, 1, 3), "Lead Ore");
        LanguageRegistry.addName(new ItemStack(OreBlock, 1, 4), "Silver Ore");
        LanguageRegistry.addName(new ItemStack(OreBlock, 1, 5), "Tin Ore");
        LanguageRegistry.addName(new ItemStack(OreBlock, 1, 6), "Copper Ore");
        LanguageRegistry.addName(new ItemStack(OreBlock, 1, 7), "Colbalt Ore");
        LanguageRegistry.addName(new ItemStack(OreBlock, 1, , "Zinc Ore");
        LanguageRegistry.addName(new ItemStack(OreBlock, 1, 9), "Nickel Ore");
        LanguageRegistry.addName(new ItemStack(OreBlock, 1, 10), "Basalt");
        LanguageRegistry.addName(new ItemStack(OreBlock, 1, 11), "Marble");
        LanguageRegistry.addName(new ItemStack(OreBlock, 1, 12), "Nikolite");
        
	GameRegistry.registerWorldGenerator(eventmanager);
}

}

Link to comment
Share on other sites

Look up the function inside the Block class called... idDropped, if I recall correctly.

 

BlockRedstoneOre uses it.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Look up the function inside the Block class called... idDropped, if I recall correctly.

 

BlockRedstoneOre uses it.

 

I think he means how does he specify which of the subblocks drops what item.

 

I think that because I want to know this too... It'd certainly save on ID's!

width=463 height=200

http://s13.postimg.org/z9mlly2av/siglogo.png[/img]

My mods (Links coming soon)

Cities | Roads | Remula | SilvaniaMod | MoreStats

Link to comment
Share on other sites

Look up the function inside the Block class called... idDropped, if I recall correctly.

 

BlockRedstoneOre uses it.

 

I think he means how does he specify which of the subblocks drops what item.

 

I think that because I want to know this too... It'd certainly save on ID's!

 

If you wanna specify which metadata should be dropped, use the damageDropped method.

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Link to comment
Share on other sites

Look up the function inside the Block class called... idDropped, if I recall correctly.

 

BlockRedstoneOre uses it.

 

I think he means how does he specify which of the subblocks drops what item.

 

I think that because I want to know this too... It'd certainly save on ID's!

 

If you wanna specify which metadata should be dropped, use the damageDropped method.

 

Lets say for example, I wanted to make a custom wool set that dropped a custom dye. The wools are all subblocks (500:1, 500:2 etc)

 

How would I specify that MyWoolRed drops red dye, whilst MyWoolBlue drops blue dye?

 

 

(I assume this is what the OP meant. He's not replied since the post so just guessing; but it's something I want to know :P)

width=463 height=200

http://s13.postimg.org/z9mlly2av/siglogo.png[/img]

My mods (Links coming soon)

Cities | Roads | Remula | SilvaniaMod | MoreStats

Link to comment
Share on other sites

Look up the function inside the Block class called... idDropped, if I recall correctly.

 

BlockRedstoneOre uses it.

 

I think he means how does he specify which of the subblocks drops what item.

 

I think that because I want to know this too... It'd certainly save on ID's!

 

If you wanna specify which metadata should be dropped, use the damageDropped method.

 

Lets say for example, I wanted to make a custom wool set that dropped a custom dye. The wools are all subblocks (500:1, 500:2 etc)

 

How would I specify that MyWoolRed drops red dye, whilst MyWoolBlue drops blue dye?

 

 

(I assume this is what the OP meant. He's not replied since the post so just guessing; but it's something I want to know :P)

 

Then use both methods, idDropped and damageDropped. Easy as that.

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Link to comment
Share on other sites

There's also the onHarvest method, which provides access to a large number of things.  I use it in one of my blocks to figure out how many items to drop, based on metadata.

(The block has 8 thickness states, like snow, and each 1/8th drops an item, which is good for making a 1/8th of a block, so using 8 should give you 8 back).

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

There's also the onHarvest method, which provides access to a large number of things.  I use it in one of my blocks to figure out how many items to drop, based on metadata.

(The block has 8 thickness states, like snow, and each 1/8th drops an item, which is good for making a 1/8th of a block, so using 8 should give you 8 back).

 

Yes, there's also that. BlockCrops uses that method IIRC. But just for dropping an item with metadata, the previous methods should be enough. Also if you want to drop multiple items of the same type (which isn't meta-sensitive, though) there's the quantityDropped method.

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Link to comment
Share on other sites

Yes, there's also that. BlockCrops uses that method IIRC. But just for dropping an item with metadata, the previous methods should be enough. Also if you want to drop multiple items of the same type (which isn't meta-sensitive, though) there's the quantityDropped method.

 

Yup, which is why I couldn't use it. :P

Just pointing out alternatives, because apparently people can't go look at existing blocks to figure out how to do things.

("How do I use multiple textures like a pumpkin?" Me: "Go look at the pumpkin code")

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Look up the function inside the Block class called... idDropped, if I recall correctly.

 

BlockRedstoneOre uses it.

 

I think he means how does he specify which of the subblocks drops what item.

 

I think that because I want to know this too... It'd certainly save on ID's!

 

If you wanna specify which metadata should be dropped, use the damageDropped method.

 

Lets say for example, I wanted to make a custom wool set that dropped a custom dye. The wools are all subblocks (500:1, 500:2 etc)

 

How would I specify that MyWoolRed drops red dye, whilst MyWoolBlue drops blue dye?

 

 

(I assume this is what the OP meant. He's not replied since the post so just guessing; but it's something I want to know :P)

 

sorry for not responding quickly, but yea this is what i am trying to figure out, none of the item-dropping ores in vanilla mc are metadata blocks so i couldnt look at them to see how to make a metadata ((500:12) in my case) drop a specific item when harvested (5000)

Link to comment
Share on other sites

Look up the function inside the Block class called... idDropped, if I recall correctly.

 

BlockRedstoneOre uses it.

 

I think he means how does he specify which of the subblocks drops what item.

 

I think that because I want to know this too... It'd certainly save on ID's!

 

If you wanna specify which metadata should be dropped, use the damageDropped method.

 

Lets say for example, I wanted to make a custom wool set that dropped a custom dye. The wools are all subblocks (500:1, 500:2 etc)

 

How would I specify that MyWoolRed drops red dye, whilst MyWoolBlue drops blue dye?

 

 

(I assume this is what the OP meant. He's not replied since the post so just guessing; but it's something I want to know :P)

 

sorry for not responding quickly, but yea this is what i am trying to figure out, none of the item-dropping ores in vanilla mc are metadata blocks so i couldnt look at them to see how to make a metadata ((500:12) in my case) drop a specific item when harvested (5000)

 

why don't you read the couple posts above you?

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Link to comment
Share on other sites

Look up the function inside the Block class called... idDropped, if I recall correctly.

 

BlockRedstoneOre uses it.

 

I think he means how does he specify which of the subblocks drops what item.

 

I think that because I want to know this too... It'd certainly save on ID's!

 

If you wanna specify which metadata should be dropped, use the damageDropped method.

 

Lets say for example, I wanted to make a custom wool set that dropped a custom dye. The wools are all subblocks (500:1, 500:2 etc)

 

How would I specify that MyWoolRed drops red dye, whilst MyWoolBlue drops blue dye?

 

 

(I assume this is what the OP meant. He's not replied since the post so just guessing; but it's something I want to know :P)

 

sorry for not responding quickly, but yea this is what i am trying to figure out, none of the item-dropping ores in vanilla mc are metadata blocks so i couldnt look at them to see how to make a metadata ((500:12) in my case) drop a specific item when harvested (5000)

 

why don't you read the couple posts above you?

 

All of those are on how to make a block drop a item with a Metadata, i want to have a Metadata block drop a item without editing the drops of the 15 other blocks on the metadata

Link to comment
Share on other sites

All of those are on how to make a block drop a item with a Metadata, i want to have a Metadata block drop a item without editing the drops of the 15 other blocks on the metadata

 

*Cough*

 

There's also the onHarvest method, which provides access to a large number of things.  I use it in one of my blocks to figure out how many items to drop, based on metadata.

(The block has 8 thickness states, like snow, and each 1/8th drops an item, which is good for making a 1/8th of a block, so using 8 should give you 8 back).

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • https://drive.google.com/drive/folders/1RSkPgDRwSkc9bF_SjgD3bjlJ8qv7fbCa?usp=sharing
    • Every time i try and open the game i get this   Description: Rendering overlay com.electronwill.nightconfig.core.io.WritingException: Unsupported value type: class net.minecraft.resources.ResourceLocation     at com.electronwill.nightconfig.toml.ValueWriter.write(ValueWriter.java:66) ~[toml-3.6.7.jar:?] {}     at com.electronwill.nightconfig.toml.ArrayWriter.write(ArrayWriter.java:34) ~[toml-3.6.7.jar:?] {}     at com.electronwill.nightconfig.toml.ValueWriter.write(ValueWriter.java:42) ~[toml-3.6.7.jar:?] {}     at com.electronwill.nightconfig.toml.TableWriter.writeNormal(TableWriter.java:75) ~[toml-3.6.7.jar:?] {}     at com.electronwill.nightconfig.toml.TableWriter.writeNormal(TableWriter.java:46) ~[toml-3.6.7.jar:?] {}     at com.electronwill.nightconfig.toml.TomlWriter.write(TomlWriter.java:31) ~[toml-3.6.7.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigWriter.write(ConfigWriter.java:42) ~[core-3.6.7.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigWriter.write(ConfigWriter.java:88) ~[core-3.6.7.jar:?] {}     at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.save(WriteSyncFileConfig.java:61) ~[core-3.6.7.jar:?] {}     at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.save(AutosaveCommentedFileConfig.java:80) ~[core-3.6.7.jar:?] {}     at com.electronwill.nightconfig.core.utils.ObservedMap.put(ObservedMap.java:48) ~[core-3.6.7.jar:?] {}     at net.minecraftforge.common.ForgeConfigSpec.correct(ForgeConfigSpec.java:216) ~[forge-1.20.4-49.1.0-universal.jar:?] {re:classloading,pl:accesstransformer:B}     at net.minecraftforge.common.ForgeConfigSpec.correct(ForgeConfigSpec.java:162) ~[forge-1.20.4-49.1.0-universal.jar:?] {re:classloading,pl:accesstransformer:B}     at net.minecraftforge.common.ForgeConfigSpec.setConfig(ForgeConfigSpec.java:85) ~[forge-1.20.4-49.1.0-universal.jar:?] {re:classloading,pl:accesstransformer:B}     at net.minecraftforge.common.ForgeConfigSpec.acceptConfig(ForgeConfigSpec.java:100) ~[forge-1.20.4-49.1.0-universal.jar:?] {re:classloading,pl:accesstransformer:B}     at net.minecraftforge.fml.config.ModConfig.setConfigData(ModConfig.java:73) ~[fmlcore-1.20.4-49.1.0.jar:?] {}     at net.minecraftforge.fml.config.ConfigTracker.openConfig(ConfigTracker.java:61) ~[fmlcore-1.20.4-49.1.0.jar:?] {}     at net.minecraftforge.fml.config.ConfigTracker.lambda$loadConfigs$1(ConfigTracker.java:50) ~[fmlcore-1.20.4-49.1.0.jar:?] {}     at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] {re:mixin}     at java.util.Collections$SynchronizedCollection.forEach(Collections.java:2131) ~[?:?] {}     at net.minecraftforge.fml.config.ConfigTracker.loadConfigs(ConfigTracker.java:50) ~[fmlcore-1.20.4-49.1.0.jar:?] {}     at net.minecraftforge.fml.core.ModStateProvider.lambda$new$3(ModStateProvider.java:68) ~[forge-1.20.4-49.1.0-universal.jar:?] {re:classloading}     at net.minecraftforge.fml.ModLoader.handleInlineTransition(ModLoader.java:219) ~[fmlcore-1.20.4-49.1.0.jar!/:1.0] {}     at net.minecraftforge.fml.ModLoader.lambda$dispatchAndHandleError$19(ModLoader.java:211) ~[fmlcore-1.20.4-49.1.0.jar!/:1.0] {}     at java.util.Optional.ifPresent(Optional.java:178) ~[?:?] {re:mixin}     at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:211) ~[fmlcore-1.20.4-49.1.0.jar!/:1.0] {}     at net.minecraftforge.fml.ModLoader.lambda$loadMods$15(ModLoader.java:192) ~[fmlcore-1.20.4-49.1.0.jar!/:1.0] {}     at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] {re:mixin}     at net.minecraftforge.fml.ModLoader.loadMods(ModLoader.java:192) ~[fmlcore-1.20.4-49.1.0.jar!/:1.0] {}     at net.minecraftforge.client.loading.ClientModLoader.lambda$startModLoading$5(ClientModLoader.java:80) ~[forge-1.20.4-49.1.0-universal.jar!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraftforge.client.loading.ClientModLoader.lambda$createRunnableWithCatch$4(ClientModLoader.java:72) ~[forge-1.20.4-49.1.0-universal.jar!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraftforge.client.loading.ClientModLoader.startModLoading(ClientModLoader.java:80) ~[forge-1.20.4-49.1.0-universal.jar!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraftforge.client.loading.ClientModLoader.lambda$onResourceReload$2(ClientModLoader.java:63) ~[forge-1.20.4-49.1.0-universal.jar!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraftforge.client.loading.ClientModLoader.lambda$createRunnableWithCatch$4(ClientModLoader.java:72) ~[forge-1.20.4-49.1.0-universal.jar!/:?] {re:classloading,pl:runtimedistcleaner:A}     at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}     at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}     at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] {}     at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {}     at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {re:computing_frames}     at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {re:computing_frames}     at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Suspected Mods: NONE Stacktrace:     at com.electronwill.nightconfig.toml.ValueWriter.write(ValueWriter.java:66) ~[toml-3.6.7.jar:?] {}     at com.electronwill.nightconfig.toml.ArrayWriter.write(ArrayWriter.java:34) ~[toml-3.6.7.jar:?] {}     at com.electronwill.nightconfig.toml.ValueWriter.write(ValueWriter.java:42) ~[toml-3.6.7.jar:?] {}     at com.electronwill.nightconfig.toml.TableWriter.writeNormal(TableWriter.java:75) ~[toml-3.6.7.jar:?] {}     at com.electronwill.nightconfig.toml.TableWriter.writeNormal(TableWriter.java:46) ~[toml-3.6.7.jar:?] {}     at com.electronwill.nightconfig.toml.TomlWriter.write(TomlWriter.java:31) ~[toml-3.6.7.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigWriter.write(ConfigWriter.java:42) ~[core-3.6.7.jar:?] {}     at com.electronwill.nightconfig.core.io.ConfigWriter.write(ConfigWriter.java:88) ~[core-3.6.7.jar:?] {}     at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.save(WriteSyncFileConfig.java:61) ~[core-3.6.7.jar:?] {}     at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.save(AutosaveCommentedFileConfig.java:80) ~[core-3.6.7.jar:?] {}     at com.electronwill.nightconfig.core.utils.ObservedMap.put(ObservedMap.java:48) ~[core-3.6.7.jar:?] {}     at net.minecraftforge.common.ForgeConfigSpec.correct(ForgeConfigSpec.java:216) ~[forge-1.20.4-49.1.0-universal.jar:?] {re:classloading,pl:accesstransformer:B}     at net.minecraftforge.common.ForgeConfigSpec.correct(ForgeConfigSpec.java:162) ~[forge-1.20.4-49.1.0-universal.jar:?] {re:classloading,pl:accesstransformer:B}     at net.minecraftforge.common.ForgeConfigSpec.setConfig(ForgeConfigSpec.java:85) ~[forge-1.20.4-49.1.0-universal.jar:?] {re:classloading,pl:accesstransformer:B}     at net.minecraftforge.common.ForgeConfigSpec.acceptConfig(ForgeConfigSpec.java:100) ~[forge-1.20.4-49.1.0-universal.jar:?] {re:classloading,pl:accesstransformer:B}     at net.minecraftforge.fml.config.ModConfig.setConfigData(ModConfig.java:73) ~[fmlcore-1.20.4-49.1.0.jar!/:?] {}     at net.minecraftforge.fml.config.ConfigTracker.openConfig(ConfigTracker.java:61) ~[fmlcore-1.20.4-49.1.0.jar!/:?] {}     at net.minecraftforge.fml.config.ConfigTracker.lambda$loadConfigs$1(ConfigTracker.java:50) ~[fmlcore-1.20.4-49.1.0.jar!/:?] {} -- Overlay render details -- Details:     Overlay name: net.minecraftforge.client.loading.ForgeLoadingOverlay Stacktrace:     at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:934) ~[forge-1.20.4-49.1.0-client.jar:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:forge-DistantHorizons.forge.mixins.json:client.MixinGameRenderer,pl:mixin:APP:mixins.essential.json:client.renderer.MixinEntityRenderer_Zoom,pl:mixin:APP:mixins.essential.json:events.Mixin_RenderTickEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiDrawScreenEvent_Priority,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1250) ~[forge-1.20.4-49.1.0-client.jar:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:bookshelf.common.mixins.json:accessors.client.AccessorMinecraft,pl:mixin:APP:balm.forge.mixins.json:MinecraftMixin,pl:mixin:APP:iceberg.mixins.json:MinecraftMixin,pl:mixin:APP:betterf3.mixins.json:ClientAccessor,pl:mixin:APP:mixins.essential.json:client.Mixin_RunEssentialTasks,pl:mixin:APP:mixins.essential.json:client.MixinMinecraft,pl:mixin:APP:mixins.essential.json:client.gui.Mixin_FixKeybindUnpressedInEmoteWheel,pl:mixin:APP:mixins.essential.json:client.gui.Mixin_RecalculateMenuScale,pl:mixin:APP:mixins.essential.json:compatibility.vanilla.Mixin_WorkaroundBrokenFramebufferBlitBlending,pl:mixin:APP:mixins.essential.json:feature.emote.Mixin_AllowMovementDuringEmoteWheel_HandleKeybinds,pl:mixin:APP:mixins.essential.json:feature.skin_overwrites.Mixin_InstallTrustingServicesKeyInfo,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:801) ~[forge-1.20.4-49.1.0-client.jar:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:bookshelf.common.mixins.json:accessors.client.AccessorMinecraft,pl:mixin:APP:balm.forge.mixins.json:MinecraftMixin,pl:mixin:APP:iceberg.mixins.json:MinecraftMixin,pl:mixin:APP:betterf3.mixins.json:ClientAccessor,pl:mixin:APP:mixins.essential.json:client.Mixin_RunEssentialTasks,pl:mixin:APP:mixins.essential.json:client.MixinMinecraft,pl:mixin:APP:mixins.essential.json:client.gui.Mixin_FixKeybindUnpressedInEmoteWheel,pl:mixin:APP:mixins.essential.json:client.gui.Mixin_RecalculateMenuScale,pl:mixin:APP:mixins.essential.json:compatibility.vanilla.Mixin_WorkaroundBrokenFramebufferBlitBlending,pl:mixin:APP:mixins.essential.json:feature.emote.Mixin_AllowMovementDuringEmoteWheel_HandleKeybinds,pl:mixin:APP:mixins.essential.json:feature.skin_overwrites.Mixin_InstallTrustingServicesKeyInfo,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:234) ~[forge-1.20.4-49.1.0-client.jar:?] {re:classloading,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:91) ~[fmlloader-1.20.4-49.1.0.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.lambda$makeService$0(CommonLaunchHandler.java:75) ~[fmlloader-1.20.4-49.1.0.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) ~[modlauncher-10.1.2.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:74) ~[modlauncher-10.1.2.jar:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:114) ~[modlauncher-10.1.2.jar:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:73) ~[modlauncher-10.1.2.jar:?] {}     at cpw.mods.modlauncher.BootstrapEntry.main(BootstrapEntry.java:17) ~[modlauncher-10.1.2.jar:?] {}     at net.minecraftforge.bootstrap.Bootstrap.moduleMain(Bootstrap.java:188) ~[bootstrap-2.1.0.jar!/:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.bootstrap.Bootstrap.bootstrapMain(Bootstrap.java:133) ~[bootstrap-2.1.0.jar!/:?] {}     at net.minecraftforge.bootstrap.Bootstrap.start(Bootstrap.java:53) ~[bootstrap-2.1.0.jar!/:?] {}     at net.minecraftforge.bootstrap.ForgeBootstrap.main(ForgeBootstrap.java:19) ~[bootstrap-2.1.0.jar!/:?] {} -- Uptime -- Details:     JVM uptime: 41.449s     Wall uptime: 9.802s     High-res time: 33.664s     Client ticks: 20 ticks / 1.000s -- Last reload -- Details:     Reload number: 1     Reload reason: initial     Finished: No     Packs: vanilla, mod_resources, Essential Assets, essential   how can i fix this ?
    • Hello there! I'm here today to invite you to join us in an experience like no other. We play on a server that aims to simulate civilization in minecraft and we invite you to join us. Become part of an expansive nation, grow your power and influence or perhaps simply assist your countrymen in their own endeavors. With enough effort here you can do anything you can imagine. Lead an army into battle, rule over bustling towns, create a company and become rich, or perhaps retire to a simple life of farming with a small group of friends and simply enjoy the days as they come. We also host events regularly so I promise it won't get boring for a while. If your even slightly interested I highly recommend you join the discord! We can answer any questions you have there. Thank you for your time and interest and I hope to see you soon! https://discord.com/invite/VGxhdF2V56
    • i have been trying to play a modpack created by my boyfriend , but it keeps crashing for me. it’ll open on the narrator or the main menu and then it’ll just freeze up fully and crash. it works for him and his friends. i have tried everything from uninstalling cursedforge and forge and reinstalling them , to uninstalling my drivers and reinstalling and updating them , even deleting minecraft and reinstalling it. please help me out , it is only forge. fabric works just fine for everyone version. i even downloaded it to my laptop and forge works fine on there. any suggestions on what to do??  
    • I installed the minecraft mod package server, but I cannot enter the server, a message appears. I would be glad if you could help me. .
  • Topics

×
×
  • Create New...

Important Information

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