Jump to content

MC 1.12.2 how to registering slabs correctly?


winnetrie

Recommended Posts

As i'm using the proper methods to register blocks and items, i have a hard time to figure out how to register slabs now.

Because i have nothing to point to (no fields) and ForgeRegistries.BLOCKS.getValue() returns an AIR block sometimes.

There is alot of stuff that goes wrong. i'll attach my latest log. I have also lots of model loading errors. Saying the file is not found, but it is and i spelled it right.

This is my registering class:

Spoiler

@EventBusSubscriber
public class ModRegistry {
	
	
	@SubscribeEvent
	public static void onItemRegister(RegistryEvent.Register<Item> event) {
		
		System.out.println("Registering all items from the ITEMS registrylist");
		
		//REGISTERING ALL ITEMBLOCKS
		for (Block block : ForgeRegistries.BLOCKS.getValuesCollection()) {
			if (block.getRegistryName().getResourceDomain().equals(References.MOD_ID) ) {

			    event.getRegistry().register(new ItemBlock(block).setRegistryName(block.getRegistryName()));
			}
		}
		
		
		//REGISTERING ALL ITEMS
		event.getRegistry().registerAll(
				
		//adding stained clayballs
		new ItemClayBall("white_stained_clayball"),
		new ItemClayBall("orange_stained_clayball"),
		new ItemClayBall("magenta_stained_clayball"),
		new ItemClayBall("light_blue_stained_clayball"),
		new ItemClayBall("yellow_stained_clayball"),
		new ItemClayBall("lime_stained_clayball"),
		new ItemClayBall("pink_stained_clayball"),
		new ItemClayBall("gray_stained_clayball"),
		new ItemClayBall("silver_stained_clayball"),
		new ItemClayBall("cyan_stained_clayball"),
		new ItemClayBall("purple_stained_clayball"),
		new ItemClayBall("blue_stained_clayball"),
		new ItemClayBall("brown_stained_clayball"),
		new ItemClayBall("green_stained_clayball"),
		new ItemClayBall("red_stained_clayball"),
		new ItemClayBall("black_stained_clayball"),
	
		//adding colored terracotta brick
		new ItemBrick("white_terracotta_brick"),
		new ItemBrick("orange_terracotta_brick"),
		new ItemBrick("magenta_terracotta_brick"),
		new ItemBrick("light_blue_terracotta_brick"),
		new ItemBrick("yellow_terracotta_brick"),
		new ItemBrick("lime_terracotta_brick"),
		new ItemBrick("pink_terracotta_brick"),
		new ItemBrick("gray_terracotta_brick"),
		new ItemBrick("silver_terracotta_brick"),
		new ItemBrick("cyan_terracotta_brick"),
		new ItemBrick("purple_terracotta_brick"),
		new ItemBrick("blue_terracotta_brick"),
		new ItemBrick("brown_terracotta_brick"),
		new ItemBrick("green_terracotta_brick"),
		new ItemBrick("red_terracotta_brick"),
		new ItemBrick("black_terracotta_brick")
		
		);
		
		Block blockhalf = ForgeRegistries.BLOCKS.getValue(new ResourceLocation(References.MOD_ID, "white_terracotta_bricks_halfslab"));
		Block blockdouble = ForgeRegistries.BLOCKS.getValue(new ResourceLocation(References.MOD_ID, "white_terracotta_bricks_doubleslab"));
		
		System.out.println("EERSTE BLOCK IS : " + blockhalf);
		System.out.println("TWEEDE BLOCK IS : " + blockdouble);
		
		ItemBlock item = new ItemSlab(blockhalf, (BlockSlab)blockhalf, (BlockSlab)blockdouble);
		item.setRegistryName(blockhalf.getRegistryName());
		event.getRegistry().register(item);
		System.out.println("ITEM WORD GEREGISTREERD MET NAAM: " + item.getRegistryName());
	}
	
	@SubscribeEvent
	public static void onBlockRegister(RegistryEvent.Register<Block> event) {
		
		System.out.println("Registering all blocks from the BLOCKS registrylist");
		
		//REGISTERING ALL BLOCKS
		event.getRegistry().registerAll(
		
		//Creating terracotta bricks
		new BlockTerracotta(Material.ROCK, MapColor.WHITE_STAINED_HARDENED_CLAY, "white_terracotta_bricks"),
	    new BlockTerracotta(Material.ROCK, MapColor.ORANGE_STAINED_HARDENED_CLAY, "orange_terracotta_bricks"),
	    new BlockTerracotta(Material.ROCK, MapColor.MAGENTA_STAINED_HARDENED_CLAY, "magenta_terracotta_bricks"),
	    new BlockTerracotta(Material.ROCK, MapColor.LIGHT_BLUE_STAINED_HARDENED_CLAY, "light_blue_terracotta_bricks"),
	    new BlockTerracotta(Material.ROCK, MapColor.YELLOW_STAINED_HARDENED_CLAY, "yellow_terracotta_bricks"),
	    new BlockTerracotta(Material.ROCK, MapColor.LIME_STAINED_HARDENED_CLAY, "lime_terracotta_bricks"),
	    new BlockTerracotta(Material.ROCK, MapColor.PINK_STAINED_HARDENED_CLAY, "pink_terracotta_bricks"),
	    new BlockTerracotta(Material.ROCK, MapColor.GRAY_STAINED_HARDENED_CLAY, "gray_terracotta_bricks"),
	    new BlockTerracotta(Material.ROCK, MapColor.SILVER_STAINED_HARDENED_CLAY, "silver_terracotta_bricks"),
	    new BlockTerracotta(Material.ROCK, MapColor.CYAN_STAINED_HARDENED_CLAY, "cyan_terracotta_bricks"),
	    new BlockTerracotta(Material.ROCK, MapColor.PURPLE_STAINED_HARDENED_CLAY, "purple_terracotta_bricks"),
	    new BlockTerracotta(Material.ROCK, MapColor.BLUE_STAINED_HARDENED_CLAY, "blue_terracotta_bricks"),
	    new BlockTerracotta(Material.ROCK, MapColor.BROWN_STAINED_HARDENED_CLAY, "brown_terracotta_bricks"),
	    new BlockTerracotta(Material.ROCK, MapColor.GREEN_STAINED_HARDENED_CLAY, "green_terracotta_bricks"),
	    new BlockTerracotta(Material.ROCK, MapColor.RED_STAINED_HARDENED_CLAY, "red_terracotta_bricks"),
	    new BlockTerracotta(Material.ROCK, MapColor.BLACK_STAINED_HARDENED_CLAY, "black_terracotta_bricks"),
	    
	    
	    //Creating stained clay blocks
	    new BlockStainedClay("white_stained_clayball", Material.CLAY, MapColor.WHITE_STAINED_HARDENED_CLAY, "white_stained_clay"),
	    new BlockStainedClay("orange_stained_clayball", Material.CLAY, MapColor.ORANGE_STAINED_HARDENED_CLAY, "orange_stained_clay"),
	    new BlockStainedClay("magenta_stained_clayball", Material.CLAY, MapColor.MAGENTA_STAINED_HARDENED_CLAY, "magenta_stained_clay"),
	    new BlockStainedClay("light_blue_stained_clayball", Material.CLAY, MapColor.LIGHT_BLUE_STAINED_HARDENED_CLAY, "light_blue_stained_clay"),
	    new BlockStainedClay("yellow_stained_clayball", Material.CLAY, MapColor.YELLOW_STAINED_HARDENED_CLAY, "yellow_stained_clay"),
	    new BlockStainedClay("lime_stained_clayball", Material.CLAY, MapColor.LIME_STAINED_HARDENED_CLAY, "lime_stained_clay"),
	    new BlockStainedClay("pink_stained_clayball", Material.CLAY, MapColor.PINK_STAINED_HARDENED_CLAY, "pink_stained_clay"),
	    new BlockStainedClay("gray_stained_clayball", Material.CLAY, MapColor.GRAY_STAINED_HARDENED_CLAY, "gray_stained_clay"),
	    new BlockStainedClay("silver_stained_clayball", Material.CLAY, MapColor.SILVER_STAINED_HARDENED_CLAY, "silver_stained_clay"),
	    new BlockStainedClay("cyan_stained_clayball", Material.CLAY, MapColor.CYAN_STAINED_HARDENED_CLAY, "cyan_stained_clay"),
	    new BlockStainedClay("purple_stained_clayball", Material.CLAY, MapColor.PURPLE_STAINED_HARDENED_CLAY, "purple_stained_clay"),
	    new BlockStainedClay("blue_stained_clayball", Material.CLAY, MapColor.BLUE_STAINED_HARDENED_CLAY, "blue_stained_clay"),
	    new BlockStainedClay("brown_stained_clayball", Material.CLAY, MapColor.BROWN_STAINED_HARDENED_CLAY, "brown_stained_clay"),
	    new BlockStainedClay("green_stained_clayball", Material.CLAY, MapColor.GREEN_STAINED_HARDENED_CLAY, "green_stained_clay"),
	    new BlockStainedClay("red_stained_clayball", Material.CLAY, MapColor.RED_STAINED_HARDENED_CLAY, "red_stained_clay"),
	    new BlockStainedClay("black_stained_clayball", Material.CLAY, MapColor.BLACK_STAINED_HARDENED_CLAY, "black_stained_clay"),
	    
	    new BlockWinnetrieHalfSlab(new ResourceLocation(References.PREFIX + "white_terracotta_bricks"), References.PREFIX, "white_terracotta_bricks_halfslab"),
	    new BlockWinnetrieDoubleSlab(new ResourceLocation(References.PREFIX + "white_terracotta_bricks"), References.PREFIX, "white_terracotta_bricks_doubleslab" )
	    
	    );	
	}	
}

 

Here my slab class:

Spoiler

public abstract class BlockWinnetrieSlab extends BlockSlab{
	
	private Block parentBlock;
	private static Material material = Material.CLOTH;
	private static String registryName;
	

	public BlockWinnetrieSlab(ResourceLocation parentreference, String modprefix, String registryname) {
		super(material);
		parentBlock = ForgeRegistries.BLOCKS.getValue(parentreference);
		registryName = modprefix + registryname;
		setUnlocalizedName(parentBlock.getLocalizedName());
		setRegistryName(modprefix + registryname);
		
		
		//setSoundType(blockSound);
		IBlockState state = this.blockState.getBaseState();

		if (!this.isDouble()) {

			state = state.withProperty(HALF, EnumBlockHalf.BOTTOM);

		}

		setDefaultState(state);
		this.useNeighborBrightness = !this.isDouble();
		
		setCreativeTab(Utilities.WINNETRIETERRACOTTAEXPANSION);
		// TODO Auto-generated constructor stub
	}
	
	@Override
	public SoundType getSoundType(IBlockState state, World world, BlockPos pos, @Nullable Entity entity){
		
        return parentBlock.getSoundType(state, world, pos, entity);
    }
	
	
	@Override
    public float getBlockHardness(IBlockState blockState, World worldIn, BlockPos pos)
    {
        return parentBlock.getBlockState().getBaseState().getBlockHardness(worldIn, pos);
    }
	
	@Override
    public Material getMaterial(IBlockState state)
    {
        return parentBlock.getBlockState().getBaseState().getMaterial();
    }

	@Override
    public MapColor getMapColor(IBlockState state, IBlockAccess worldIn, BlockPos pos)
    {
        return parentBlock.getBlockState().getBaseState().getMapColor(worldIn, pos);
    }

	@Override
	public String getUnlocalizedName(int meta) {
		
		return this.getUnlocalizedName();
	}


	@Override
	public IProperty<?> getVariantProperty() {

		return HALF;
	}

	@Override
	public Comparable<?> getTypeForItem(ItemStack stack) {
		return EnumBlockHalf.BOTTOM;
	}
	
	@Override
	public int damageDropped(IBlockState state) {
		
		return 0;
		
	}
	
	
	
    
    @Override
    protected BlockStateContainer createBlockState() {

		return new BlockStateContainer(this, new IProperty[]{HALF}) ;

	}
    
	@Override
	public int getMetaFromState(final IBlockState state) {

		if (!this.isDouble()) {

			return 0;

		} 
		return ((EnumBlockHalf)state.getValue(HALF)).ordinal() + 1;
	}

	@Override
	public IBlockState getStateFromMeta(int meta) {

		if (!this.isDouble()) {
			
			return this.getDefaultState().withProperty(HALF, EnumBlockHalf.values()[meta % EnumBlockHalf.values().length]);

		}

		return this.getDefaultState();

	}
	@Override
	public Item getItemDropped(IBlockState state, Random rand, int fortune) {
		
		return Item.getItemFromBlock(ForgeRegistries.BLOCKS.getValue(new ResourceLocation(References.PREFIX + registryName)));///VERANDEREN HIER
		
	}
	

	public abstract Item getHalfSlabReference();
	

}

 

 

latest.log

Link to comment
Share on other sites

8 hours ago, diesieben07 said:

Use local variables if you need to re-use a Block instance later in the method.

But then i have to use static initializers again. I can't use local variables in another method, and i need some references to the blocks who are inside the blockregistry method and use them in the itemregistry method to register the itemBlock

 

Or are in this case static initializers ok to use?

Link to comment
Share on other sites

4 minutes ago, diesieben07 said:

You can use fields without static intializers...

But the Eclipse shows me en error and suggest to make it static:

 

Cannot make a static reference to the non-static field white_terracotta_bricks_halfslab

 

Since i can't make my registry methods non-static (because you then need to create an instance of that class in order to acces those methods), i have to use static fields.

Or do i miss something?

 

Link to comment
Share on other sites

static initializers != static fields. Initializer means you are instantinating something. If you just use a static field to store data between methods then it's not a static initializer.

 

This is also a false statement. Read the docs on events.

40 minutes ago, winnetrie said:

Since i can't make my registry methods non-static (because you then need to create an instance of that class in order to acces those methods)

Edited by V0idWa1k3r
  • Thanks 1
Link to comment
Share on other sites

8 minutes ago, V0idWa1k3r said:

 

This is also a false statement. Read the docs on events.

That's very strange…..I was Always told you can't acces non-static methods without instantiating that class. Even java doc says this.

I tried, just for fun, to remove the static keyword from the methods and exactly that happend what i expected…..nothing was registered.

 

12 minutes ago, V0idWa1k3r said:

static initializers != static fields. Initializer means you are instantinating something. If you just use a static field to store data between methods then it's not a static initializer.

Oh yes ofcourse

Link to comment
Share on other sites

10 minutes ago, V0idWa1k3r said:

That is correct, but your event handler methods don't have to be static. Again, read the docs I have linked.

Aha if i understand it right, i can register my eventhandler class with non static methods like this:

MinecraftForge.EVENT_BUS.register(new ModRegistry());

I guess this goes in the main class, but where exactly?

Edited by winnetrie
Link to comment
Share on other sites

10 minutes ago, V0idWa1k3r said:

Before the registry events fire, so in pre-init.

Thank you! Good the know.

I apologize for my ignorance, but sometimes a documentation is more difficult to understand without a real person explaining it in greater detail. Especially if English is not your main language.

I'm very greatfull people like you take the time to do this.

Edited by winnetrie
Link to comment
Share on other sites

If you need static references to your objects use @ObjectHolder. If you need access to an object more than once in your registry method use a local variable

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Do I should not play the Eyemod in my server? But when I play singleplayer with the mod, it works
    • Hi, I use forge for 1.20.1 47.2.21 and 1.20.1 47.2.23, I play in a Aternos server that uses Archlight, that it's a software that can use Spigot/bukkit plugins and forge mods. My mods are: Security Craft 1.20.1 1.9.8, Advanced Netherite 2.0.2-1.20.1, Alex's Mobs 1.22.7, Backpacked 1.20.1-2.2.5, Biomes o'plenty 1.20.1-18.0.0.598, Builder's craft addition 1.20.1-20230928a, Mr crayfish furniture mod-forge-1.20.1-7.0.0-pre36, citadel 2.4.9-1.20.1, collective 1.20.1-7.26, Controllable-forge-1.20.1-0.20.3, create 1.20.1-0.5.1.f, When dungeons arise 1.20.1-2.1.57, Every compat 1.20.1-2.6.19, Framework forge 1.20.1-0.6.16, Friends and foes forge 1.20.1-2.0.6, Golden hopper forge 1.20.1-1.4.1, J.E.I. 1.20.1 forge 15.2.0.27, Mighty mail forge 1.20.1-1.0.14, Moonlight 1.20.1-2.8.72-forge, replanting crops 1.20.1-5.3, Saro's road blocks 1.20.1-2.5, Saro's road signs 1.20.1-3.3, stack refill 1.20.1-4.2, TerraBlender forge 1.20.1-3.0.0.169 and Worldedit mod 7.2.15. When I disconnect of Minecraft or the server disconnect me because the connection fails or stays a lot of time inactive, instead of going to the Minecraft homepage, Minecraft closes, opens the launcher and puts: "java.lang.IllegalStateException: Config property is not linked yet". Here below is the full crash, please comment me a Forge version or a version of a mod that doesn't crashes. Crash Report: ---- Minecraft Crash Report ---- // I bet Cylons wouldn't have this problem. Time: 2024-04-14 19:47:58 Description: Rendering overlay java.lang.IllegalStateException: Config property is not linked yet     at com.mrcrayfish.framework.api.config.AbstractProperty.get(AbstractProperty.java:89) ~[framework-forge-1.20.1-0.6.16.jar%23194!/:1.20.1-0.6.16] {re:mixin,re:classloading}     at com.mrcrayfish.backpacked.util.ClientUtils.createBackpackTooltip(ClientUtils.java:23) ~[backpacked-forge-1.20.1-2.2.5.jar%23184!/:1.20.1-2.2.5] {re:classloading}     at com.mrcrayfish.backpacked.item.BackpackItem.m_7373_(BackpackItem.java:62) ~[backpacked-forge-1.20.1-2.2.5.jar%23184!/:1.20.1-2.2.5] {re:mixin,re:classloading}     at net.minecraft.world.item.ItemStack.m_41651_(ItemStack.java:631) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:mixin,xf:fml:forge:itemstack,re:classloading,xf:fml:forge:itemstack}     at net.minecraft.client.Minecraft.m_231429_(Minecraft.java:758) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.searchtree.PlainTextSearchTree.m_235197_(PlainTextSearchTree.java:20) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:classloading}     at net.minecraft.client.searchtree.FullTextSearchTree.m_214078_(FullTextSearchTree.java:26) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:classloading}     at net.minecraft.client.searchtree.SearchRegistry$TreeEntry.m_235244_(SearchRegistry.java:65) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:classloading}     at net.minecraft.client.searchtree.SearchRegistry.m_6213_(SearchRegistry.java:25) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:classloading}     at net.minecraft.server.packs.resources.ResourceManagerReloadListener.m_10759_(ResourceManagerReloadListener.java:15) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:classloading,re:mixin}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:156) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:mixin,re:computing_frames,re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:130) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:115) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1106) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:718) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:218) ~[1.20.1-forge-47.2.21.jar:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:flywheel.mixins.json:ClientMainMixin,pl:mixin:A,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:111) ~[fmlloader-1.20.1-47.2.21.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:99) ~[fmlloader-1.20.1-47.2.21.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$makeService$0(CommonClientLaunchHandler.java:25) ~[fmlloader-1.20.1-47.2.21.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Suspected Mods:     Backpacked (backpacked), Version: 2.2.5         Issue tracker URL: https://github.com/MrCrayfish/Backpacked/issues         at TRANSFORMER/[email protected]/com.mrcrayfish.backpacked.util.ClientUtils.createBackpackTooltip(ClientUtils.java:23)     Framework (framework), Version: 0.6.16         at TRANSFORMER/[email protected]/com.mrcrayfish.framework.api.config.AbstractProperty.get(AbstractProperty.java:89) Stacktrace:     at com.mrcrayfish.framework.api.config.AbstractProperty.get(AbstractProperty.java:89) ~[framework-forge-1.20.1-0.6.16.jar%23194!/:1.20.1-0.6.16] {re:mixin,re:classloading}     at com.mrcrayfish.backpacked.util.ClientUtils.createBackpackTooltip(ClientUtils.java:23) ~[backpacked-forge-1.20.1-2.2.5.jar%23184!/:1.20.1-2.2.5] {re:classloading}     at com.mrcrayfish.backpacked.item.BackpackItem.m_7373_(BackpackItem.java:62) ~[backpacked-forge-1.20.1-2.2.5.jar%23184!/:1.20.1-2.2.5] {re:mixin,re:classloading}     at net.minecraft.world.item.ItemStack.m_41651_(ItemStack.java:631) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:mixin,xf:fml:forge:itemstack,re:classloading,xf:fml:forge:itemstack}     at net.minecraft.client.Minecraft.m_231429_(Minecraft.java:758) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.searchtree.PlainTextSearchTree.m_235197_(PlainTextSearchTree.java:20) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:classloading}     at net.minecraft.client.searchtree.FullTextSearchTree.m_214078_(FullTextSearchTree.java:26) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:classloading}     at net.minecraft.client.searchtree.SearchRegistry$TreeEntry.m_235244_(SearchRegistry.java:65) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:classloading}     at net.minecraft.client.searchtree.SearchRegistry.m_6213_(SearchRegistry.java:25) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:classloading}     at net.minecraft.server.packs.resources.ResourceManagerReloadListener.m_10759_(ResourceManagerReloadListener.java:15) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:classloading,re:mixin}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:156) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}     at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:mixin,re:computing_frames,re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:130) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B} -- Overlay render details -- Details:     Overlay name: net.minecraft.client.gui.screens.LoadingOverlay Stacktrace:     at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:957) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:controllable.common.mixins.json:client.GameRendererMixin,pl:mixin:APP:controllable.mixins.json:client.ForgeGameRendererMixin,pl:mixin:APP:create.mixins.json:accessor.GameRendererAccessor,pl:mixin:APP:create.mixins.json:client.GameRendererMixin,pl:mixin:APP:securitycraft.mixins.json:camera.GameRendererMixin,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1146) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:718) ~[client-1.20.1-20230612.114412-srg.jar%23206!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:218) ~[1.20.1-forge-47.2.21.jar:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:flywheel.mixins.json:ClientMainMixin,pl:mixin:A,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:111) ~[fmlloader-1.20.1-47.2.21.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:99) ~[fmlloader-1.20.1-47.2.21.jar:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$makeService$0(CommonClientLaunchHandler.java:25) ~[fmlloader-1.20.1-47.2.21.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?] {} -- Last reload -- Details:     Reload number: 3     Reload reason: manual     Finished: No     Packs: vanilla, mod_resources, Moonlight Mods Dynamic Assets -- System Details -- Details:     Minecraft Version: 1.20.1     Minecraft Version ID: 1.20.1     Operating System: Windows 11 (amd64) version 10.0     Java Version: 17.0.8, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 2365121488 bytes (2255 MiB) / 5133828096 bytes (4896 MiB) up to 6845104128 bytes (6528 MiB)     CPUs: 4     Processor Vendor: GenuineIntel     Processor Name: Intel(R) Core(TM) i3-3227U CPU @ 1.90GHz     Identifier: Intel64 Family 6 Model 58 Stepping 9     Microarchitecture: Ivy Bridge (Client)     Frequency (GHz): 1.90     Number of physical packages: 1     Number of physical CPUs: 2     Number of logical CPUs: 4     Graphics card #0 name: NVIDIA GeForce GT 740M     Graphics card #0 vendor: NVIDIA (0x10de)     Graphics card #0 VRAM (MB): 1024.00     Graphics card #0 deviceId: 0x1292     Graphics card #0 versionInfo: DriverVersion=25.21.14.2531     Graphics card #1 name: Intel(R) HD Graphics 4000     Graphics card #1 vendor: Intel Corporation (0x8086)     Graphics card #1 VRAM (MB): 2112.00     Graphics card #1 deviceId: 0x0166     Graphics card #1 versionInfo: DriverVersion=10.18.10.5161     Memory slot #0 capacity (MB): 8192.00     Memory slot #0 clockSpeed (GHz): 20.31     Memory slot #0 type: DDR3     Memory slot #1 capacity (MB): 8192.00     Memory slot #1 clockSpeed (GHz): 20.31     Memory slot #1 type: DDR3     Virtual memory max (MB): 27014.80     Virtual memory used (MB): 11781.94     Swap memory total (MB): 10752.00     Swap memory used (MB): 667.08     JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx6500M -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     Launched Version: 1.20.1-forge-47.2.21     Backend library: LWJGL version 3.3.1 build 7     Backend API: GeForce GT 740M/PCIe/SSE2 GL version 4.6.0 NVIDIA 425.31, NVIDIA Corporation     Window size: 1366x697     GL Caps: Using framebuffer using OpenGL 3.2     GL debug messages:     Using VBOs: Yes     Is Modded: Definitely; Client brand changed to 'forge'     Type: Client (map_client.txt)     Graphics mode: fast     Resource Packs:     Current Language: es_es     CPU: 4x Intel(R) Core(TM) i3-3227U CPU @ 1.90GHz     ModLauncher: 10.0.9+10.0.9+main.dcd20f30     ModLauncher launch target: forgeclient     ModLauncher naming: srg     ModLauncher services:         mixin-0.8.5.jar mixin PLUGINSERVICE         eventbus-6.0.5.jar eventbus PLUGINSERVICE         fmlloader-1.20.1-47.2.21.jar slf4jfixer PLUGINSERVICE         fmlloader-1.20.1-47.2.21.jar object_holder_definalize PLUGINSERVICE         fmlloader-1.20.1-47.2.21.jar runtime_enum_extender PLUGINSERVICE         fmlloader-1.20.1-47.2.21.jar capability_token_subclass PLUGINSERVICE         accesstransformers-8.0.4.jar accesstransformer PLUGINSERVICE         fmlloader-1.20.1-47.2.21.jar runtimedistcleaner PLUGINSERVICE         modlauncher-10.0.9.jar mixin TRANSFORMATIONSERVICE         modlauncher-10.0.9.jar fml TRANSFORMATIONSERVICE     FML Language Providers:         [email protected]         lowcodefml@null         javafml@null     Mod List:         client-1.20.1-20230612.114412-srg.jar             |Minecraft                     |minecraft                     |1.20.1              |DONE      |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f         TerraBlender-forge-1.20.1-3.0.0.169.jar           |TerraBlender                  |terrablender                  |3.0.0.169           |DONE      |Manifest: NOSIGNATURE         moonlight-1.20.1-2.8.72-forge.jar                 |Moonlight Library             |moonlight                     |1.20-2.8.72         |DONE      |Manifest: NOSIGNATURE         BiomesOPlenty-1.20.1-18.0.0.598.jar               |Biomes O' Plenty              |biomesoplenty                 |18.0.0.598          |DONE      |Manifest: NOSIGNATURE         jei-1.20.1-forge-15.2.0.27.jar                    |Just Enough Items             |jei                           |15.2.0.27           |DONE      |Manifest: NOSIGNATURE         flywheel-forge-1.20.1-0.6.10-7.jar                |Flywheel                      |flywheel                      |0.6.10-7            |DONE      |Manifest: NOSIGNATURE         create-1.20.1-0.5.1.f.jar                         |Create                        |create                        |0.5.1.f             |DONE      |Manifest: NOSIGNATURE         goldenhopper-forge-1.20.1-1.4.1.jar               |Golden Hopper                 |goldenhopper                  |1.4.1               |DONE      |Manifest: 0d:78:5f:44:c0:47:0c:8c:e2:63:a3:04:43:d4:12:7d:b0:7c:35:37:dc:40:b1:c1:98:ec:51:eb:3b:3c:45:99         collective-1.20.1-7.26.jar                        |Collective                    |collective                    |7.26                |DONE      |Manifest: NOSIGNATURE         advancednetherite-forge-2.0.2-1.20.1.jar          |Advanced Netherite            |advancednetherite             |2.0.2               |DONE      |Manifest: NOSIGNATURE         citadel-2.4.9-1.20.1.jar                          |Citadel                       |citadel                       |2.4.9               |DONE      |Manifest: NOSIGNATURE         alexsmobs-1.22.7.jar                              |Alex's Mobs                   |alexsmobs                     |1.22.7              |DONE      |Manifest: NOSIGNATURE         [1.20.1]+SecurityCraft+v1.9.8.jar                 |SecurityCraft                 |securitycraft                 |1.9.8               |DONE      |Manifest: NOSIGNATURE         mixinextras-forge-0.2.1.jar                       |MixinExtras                   |mixinextras                   |0.2.1               |DONE      |Manifest: NOSIGNATURE         buildersaddition-1.20.1-20230928a.jar             |Builders Crafts & Additions   |buildersaddition              |1.20.1-20230928a    |DONE      |Manifest: NOSIGNATURE         worldedit-mod-7.2.15.jar                          |WorldEdit                     |worldedit                     |7.2.15+6463-5ca4dff |DONE      |Manifest: NOSIGNATURE         mighty_mail-forge-1.20.1-1.0.14.jar               |Mighty Mail                   |mighty_mail                   |1.0.14              |DONE      |Manifest: 0d:78:5f:44:c0:47:0c:8c:e2:63:a3:04:43:d4:12:7d:b0:7c:35:37:dc:40:b1:c1:98:ec:51:eb:3b:3c:45:99         everycomp-1.20.1-2.6.19.jar                       |Every Compat                  |everycomp                     |1.20-2.6.19         |DONE      |Manifest: NOSIGNATURE         cfm-forge-1.20.1-7.0.0-pre36.jar                  |MrCrayfish's Furniture Mod    |cfm                           |7.0.0-pre36         |DONE      |Manifest: 0d:78:5f:44:c0:47:0c:8c:e2:63:a3:04:43:d4:12:7d:b0:7c:35:37:dc:40:b1:c1:98:ec:51:eb:3b:3c:45:99         Saros-Road-Signs-Mod-1.20.1-3.3.jar               |Saro s Road signs mod         |saros_road_signs_mod          |2.0                 |DONE      |Manifest: NOSIGNATURE         Saros-Road-Blocks-Mod-1.20.1-2.5.jar              |Saro´s Road Blocks Mod        |saros_road_blocks_mod         |1.0.0               |DONE      |Manifest: NOSIGNATURE         framework-forge-1.20.1-0.6.16.jar                 |Framework                     |framework                     |0.6.16              |DONE      |Manifest: 0d:78:5f:44:c0:47:0c:8c:e2:63:a3:04:43:d4:12:7d:b0:7c:35:37:dc:40:b1:c1:98:ec:51:eb:3b:3c:45:99         forge-1.20.1-47.2.21-universal.jar                |Forge                         |forge                         |47.2.21             |DONE      |Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90         stackrefill-1.20.1-4.2.jar                        |Stack Refill                  |stackrefill                   |4.2                 |DONE      |Manifest: NOSIGNATURE         controllable-forge-1.20.1-0.20.3.jar              |Controllable                  |controllable                  |0.20.3              |DONE      |Manifest: 0d:78:5f:44:c0:47:0c:8c:e2:63:a3:04:43:d4:12:7d:b0:7c:35:37:dc:40:b1:c1:98:ec:51:eb:3b:3c:45:99         backpacked-forge-1.20.1-2.2.5.jar                 |Backpacked                    |backpacked                    |2.2.5               |DONE      |Manifest: 0d:78:5f:44:c0:47:0c:8c:e2:63:a3:04:43:d4:12:7d:b0:7c:35:37:dc:40:b1:c1:98:ec:51:eb:3b:3c:45:99         friendsandfoes-forge-mc1.20.1-2.0.6.jar           |Friends&Foes                  |friendsandfoes                |2.0.6               |DONE      |Manifest: NOSIGNATURE         replantingcrops-1.20.1-5.3.jar                    |Replanting Crops              |replantingcrops               |5.3                 |DONE      |Manifest: NOSIGNATURE         DungeonsArise-1.20.1-2.1.57-release.jar           |When Dungeons Arise           |dungeons_arise                |2.1.57-1.20.1       |DONE      |Manifest: NOSIGNATURE     Flywheel Backend: GL33 Instanced Arrays     Crash Report UUID: f6af2b42-3068-409b-b37b-6ee521d5fea5     FML: 47.2     Forge: net.minecraftforge:47.2.21
    • Using symlinks or configuring Forge to use current launcher settings may allow for smooth integration and easier instance management.
    • Try other builds of sophisticatedstorage or remove it
    • Add crash-reports with sites like https://paste.ee/   Make a test without Optifine
  • Topics

×
×
  • Create New...

Important Information

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