Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[Forge 1.8] How to Render Blocks in Inventory?


HassanS6000
 Share

Recommended Posts

Hi! I'm modding in Forge 1.8 and I was wondering how I'm supposed to render blocks in the inventory. I've made it so they render when placed, but when I try to render in Inventory, it says that my block is an Item, and the method

Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(YourItem, metadata, new ModelResourceLocation("modid:items_registered_name", "inventory"));

 

is only for items.

 

So how do I render a block, which is obviously NOT an item?

Link to comment
Share on other sites

this is quite simple:

For each block, there is a corresponding item which you can get as following:

 

Item itemYourBlock = GameRegistry.findItem(mod.MODID, "yourBlock");

 

After this, you can simply render you block with the function you already have :)

 

~Brickfix

Link to comment
Share on other sites

Hi

 

This site has some info on Block Rendering

http://greyminecraftcoder.blogspot.com.au/p/list-of-topics.html  (See the four topics on Blocks and BLock rendering)

and the one on items

http://greyminecraftcoder.blogspot.com.au/2014/12/item-rendering-18.html

 

There is also an example project showing blocks and items here-

https://github.com/TheGreyGhost/MinecraftByExample

(see example 1) https://github.com/TheGreyGhost/MinecraftByExample/tree/master/src/main/java/minecraftbyexample/mbe01_block_simple

 

The short answers are- yes, you need a JSON file for the item.  No, your items doesn't need its own texture, your item can use the block texture.  And you also need to do

Item itemBlockSimple = GameRegistry.findItem("minecraftbyexample", "mbe01_block_simple");
ModelResourceLocation itemModelResourceLocation = new ModelResourceLocation("minecraftbyexample:mbe01_block_simple", "inventory");
final int DEFAULT_ITEM_SUBTYPE = 0;
Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(itemBlockSimple, DEFAULT_ITEM_SUBTYPE, itemModelResourceLocation);

 

-TGG

 

Link to comment
Share on other sites

this is quite simple:

For each block, there is a corresponding item which you can get as following:

 

Item itemYourBlock = GameRegistry.findItem(mod.MODID, "yourBlock");

 

After this, you can simply render you block with the function you already have :)

 

~Brickfix

What...? Use

Item.getItemFromBlock(Block)

to get the corresponding Item.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

 

Item itemBlockSimple = GameRegistry.findItem("minecraftbyexample", "mbe01_block_simple");
ModelResourceLocation itemModelResourceLocation = new ModelResourceLocation("minecraftbyexample:mbe01_block_simple", "inventory");

 

 

Make sure you changed those lines to match your texture name and mod ID.

 

 

Maker of the Craft++ mod.

Link to comment
Share on other sites

Hi

 

You should register your items and blocks in FMLPreInitializationEvent , not FMLInitializationEvent.

 

The getItemModelMesher() stuff needs to come in FMLInitializationEvent, after you have registered the blocks and items.

 

Also just something I noticed - instances of your classes should always start with a lower case, otherwise it looks like they are classes, which is pretty confusing for anyone who reads your code

For example

SpartanBoots = new HaloArmor(HaloArmor, bootID, 3).setUnlocalizedName("SpartanBoots");  // should be spartanBoots

 

This resource is really good for learning how to format your code to make it easy for others to understand

http://google-styleguide.googlecode.com/svn/trunk/javaguide.html

 

-TGG

 

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

    • Try the latest version of the dungeon crawl. If that doesn't fix it, contact the mod author. https://www.curseforge.com/minecraft/mc-mods/dungeon-crawl/files/all?filter-game-version=1738749986%3a73407
    • Mixin doesn't like java 19 use java 17
    • Everytime When I Try To Launch My Forge Minecraft Server It Crashes I Don't Really Know What To Do Here Is the Crash Log: ---- Minecraft Crash Report ---- WARNING: coremods are present:   TransformLoader (DynamicSurroundings-1.12.2-3.6.1.0.jar)   LoadingPlugin (Bloodmoon-MC1.12.2-1.5.3 (1).jar)   RandomPatches (randompatches-1.12.2-1.22.1.10.jar)   PhosphorFMLLoadingPlugin (phosphor-1.12.2-0.2.6+build50-universal.jar)   CreativePatchingLoader (CreativeCore_v1.10.70_mc1.12.2.jar) Contact their authors BEFORE contacting forge // This doesn't make any sense! Time: 9/25/22 10:40 PM Description: Exception in server tick loop java.lang.IllegalArgumentException: ChunkNibbleArrays should be 2048 bytes not: 0     at net.minecraft.world.chunk.NibbleArray.<init>(SourceFile:16)     at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75823_a(AnvilChunkLoader.java:450)     at net.minecraft.world.chunk.storage.AnvilChunkLoader.checkedReadChunkFromNBT__Async(AnvilChunkLoader.java:129)     at net.minecraft.world.chunk.storage.AnvilChunkLoader.loadChunk__Async(AnvilChunkLoader.java:93)     at net.minecraftforge.common.chunkio.ChunkIOProvider.run(ChunkIOProvider.java:70)     at net.minecraftforge.common.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:92)     at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:118)     at net.minecraft.world.gen.ChunkProviderServer.func_186028_c(ChunkProviderServer.java:89)     at net.minecraft.world.gen.ChunkProviderServer.func_186025_d(ChunkProviderServer.java:135)     at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:344)     at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:314)     at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:270)     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)     at java.lang.Thread.run(Unknown Source) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details:     Minecraft Version: 1.12.2     Operating System: Windows 10 (amd64) version 10.0     Java Version: 1.8.0_341, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 4739810688 bytes (4520 MB) / 6174015488 bytes (5888 MB) up to 6174015488 bytes (5888 MB)     JVM Flags: 2 total; -Xmx6144M -Xms6144M     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     FML: MCP 9.42 Powered by Forge 14.23.5.2860 33 mods loaded, 33 mods active     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     | State  | ID                | Version          | Source                                      | Signature                                |     |:------ |:----------------- |:---------------- |:------------------------------------------- |:---------------------------------------- |     | LCHIJA | minecraft         | 1.12.2           | minecraft.jar                               | None                                     |     | LCHIJA | mcp               | 9.42             | minecraft.jar                               | None                                     |     | LCHIJA | FML               | 8.0.99.99        | forge-1.12.2-14.23.5.2860.jar               | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | LCHIJA | forge             | 14.23.5.2860     | forge-1.12.2-14.23.5.2860.jar               | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | LCHIJA | creativecoredummy | 1.0.0            | minecraft.jar                               | None                                     |     | LCHIJA | randompatches     | 1.12.2-1.22.1.10 | randompatches-1.12.2-1.22.1.10.jar          | None                                     |     | LCHIJA | aiimprovements    | 0.0.1.3          | AIImprovements-1.12-0.0.1b3.jar             | None                                     |     | LCHIJA | badmobs           | 1.1.40           | BadMobs-1.12.2-1.1.40 (1).jar               | d476d1b22b218a10d845928d1665d45fce301b27 |     | LCHIJA | bloodmoon         | 1.5.3            | Bloodmoon-MC1.12.2-1.5.3 (1).jar            | d72e0dd57935b3e9476212aea0c0df352dd76291 |     | LCHIJA | chunkpregenerator | 2.5.0            | Chunk+Pregenerator-V1.12-2.5.7.jar          | None                                     |     | LCHIJA | extendedrenderer  | v1.0             | coroutil-1.12.1-1.2.37 (2).jar              | None                                     |     | LCHIJA | coroutil          | 1.12.1-1.2.37    | coroutil-1.12.1-1.2.37 (2).jar              | None                                     |     | LCHIJA | configmod         | v1.0             | coroutil-1.12.1-1.2.37 (2).jar              | None                                     |     | LCHIJA | crafttweaker      | 4.1.20           | CraftTweaker2-1.12-4.1.20.680.jar           | None                                     |     | LCHIJA | crafttweakerjei   | 2.0.3            | CraftTweaker2-1.12-4.1.20.680.jar           | None                                     |     | LCHIJA | creativecore      | 1.10.0           | CreativeCore_v1.10.70_mc1.12.2.jar          | None                                     |     | LCHIJA | orelib            | 3.6.0.1          | OreLib-1.12.2-3.6.0.1 (1).jar               | 7a2128d395ad96ceb9d9030fbd41d035b435753a |     | LCHIJA | dsurround         | 3.6.1.0          | DynamicSurroundings-1.12.2-3.6.1.0.jar      | 7a2128d395ad96ceb9d9030fbd41d035b435753a |     | LCHIJA | dynview           | 1.3              | dynviewdist-1.12-1.3.jar                    | None                                     |     | LCHIJA | enhancedvisuals   | 1.3.0            | EnhancedVisuals_v1.4.4_mc1.12.2 (1).jar     | None                                     |     | LCHIJA | epicsiegemod      | 13.169           | EpicSiegeMod-13.169 (1).jar                 | None                                     |     | LCHIJA | gravestone        | 1.10.3           | gravestone-1.10.3.jar                       | None                                     |     | LCHIJA | ichunutil         | 7.2.2            | iChunUtil-1.12.2-7.2.2.jar                  | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |     | LCHIJA | mts               | 22.1.0           | Immersive+Vehicles-1.12.2-22.1.0.jar        | None                                     |     | LCHIJA | incontrol         | 3.9.8            | incontrol-1.12-3.9.8.jar                    | None                                     |     | LCHIJA | mobends           | 1.2.1            | MoBends_1.12.2-1.2.1-19.12.21.jar           | None                                     |     | LCHIJA | mobsunscreen      | @version@        | mobsunscreen-1.12.2-3.1.5.jar               | None                                     |     | LCHIJA | performant        | 1.12.2-1.5       | performant-1.11.jar                         | None                                     |     | LCHIJA | roughmobs         | 2.0.0            | roughmobs2-1.12.2_2.0.15.jar                | None                                     |     | LCHIJA | gvc               | 1.2.5            | VoiceChatReloaded-1.12.2-1.3.0.jar          | None                                     |     | LCHIJA | worldedit         | 6.1.10           | worldedit-forge-mc1.12.2-6.1.10-dist.jar    | None                                     |     | LCHIJA | zombieawareness   | 1.12.1-1.11.16   | zombieawareness-1.12.1-1.11.16 (1).jar      | None                                     |     | LCHIJA | phosphor-lighting | 1.12.2-0.2.6     | phosphor-1.12.2-0.2.6+build50-universal.jar | f0387d288626cc2d937daa504e74af570c52a2f1 |     Loaded coremods (and transformers):  TransformLoader (DynamicSurroundings-1.12.2-3.6.1.0.jar)    LoadingPlugin (Bloodmoon-MC1.12.2-1.5.3 (1).jar)   lumien.bloodmoon.asm.ClassTransformer RandomPatches (randompatches-1.12.2-1.22.1.10.jar)   com.therandomlabs.randompatches.core.RPTransformer PhosphorFMLLoadingPlugin (phosphor-1.12.2-0.2.6+build50-universal.jar)    CreativePatchingLoader (CreativeCore_v1.10.70_mc1.12.2.jar)        Profiler Position: N/A (disabled)     Player Count: 0 / 20; []     Is Modded: Definitely; Server brand changed to 'fml,forge'     Type: Dedicated Server (map_server.txt)   Please Help Me With This Crash Report Thankkyou    
    • ---- Minecraft Crash Report ---- // Why did you do that? Time: 9/25/22, 12:14 PM Description: mouseClicked event handler java.lang.NoSuchFieldError: ENTITIES     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity.assign(WeightedRandomEntity.java:51) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity.<init>(WeightedRandomEntity.java:43) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity$Builder.build(WeightedRandomEntity.java:103) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity.fromJson(WeightedRandomEntity.java:76) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.RandomMonster.loadEntityFile(RandomMonster.java:138) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.RandomMonster.loadJson(RandomMonster.java:118) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.util.ResourceReloadHandler.reload(ResourceReloadHandler.java:60) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.util.ResourceReloadHandler.lambda$reload$0(ResourceReloadHandler.java:80) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     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.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:140) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.gui.screens.worldselection.CreateWorldScreen.m_232896_(CreateWorldScreen.java:124) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.WorldSelectionList.m_233213_(WorldSelectionList.java:136) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.WorldSelectionList.m_233206_(WorldSelectionList.java:98) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.WorldSelectionList.<init>(WorldSelectionList.java:92) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.SelectWorldScreen.m_7856_(SelectWorldScreen.java:66) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.screens.Screen.m_232761_(Screen.java:423) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.Screen.m_6575_(Screen.java:413) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91152_(Minecraft.java:943) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.TitleScreen.m_96775_(TitleScreen.java:157) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.components.Button.m_5691_(Button.java:40) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.components.AbstractButton.m_5716_(AbstractButton.java:16) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.components.AbstractWidget.m_6375_(AbstractWidget.java:110) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.components.events.ContainerEventHandler.m_6375_(ContainerEventHandler.java:27) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.screens.TitleScreen.m_6375_(TitleScreen.java:355) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_168084_(MouseHandler.java:88) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.Screen.m_96579_(Screen.java:524) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_91530_(MouseHandler.java:85) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_168091_(MouseHandler.java:185) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.MouseHandler.m_91565_(MouseHandler.java:184) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) ~[lwjgl-glfw-3.3.1.jar%23136!/:build 7] {}     at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.1.jar%23128!/:build 7] {}     at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3474) ~[lwjgl-glfw-3.3.1.jar%23136!/:build 7] {}     at com.mojang.blaze3d.systems.RenderSystem.m_69830_(RenderSystem.java:222) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1115) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:669) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:206) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {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.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19-41.1.0.jar%2393!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2381!/:?] {}     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 Stacktrace:     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity.assign(WeightedRandomEntity.java:51) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity.<init>(WeightedRandomEntity.java:43) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity$Builder.build(WeightedRandomEntity.java:103) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.WeightedRandomEntity.fromJson(WeightedRandomEntity.java:76) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.RandomMonster.loadEntityFile(RandomMonster.java:138) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.dungeon.monster.RandomMonster.loadJson(RandomMonster.java:118) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.util.ResourceReloadHandler.reload(ResourceReloadHandler.java:60) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     at xiroc.dungeoncrawl.util.ResourceReloadHandler.lambda$reload$0(ResourceReloadHandler.java:80) ~[DungeonCrawl-1.19-2.3.10.jar%23143!/:2.3.10] {re:classloading}     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.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:140) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.gui.screens.worldselection.CreateWorldScreen.m_232896_(CreateWorldScreen.java:124) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.WorldSelectionList.m_233213_(WorldSelectionList.java:136) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.WorldSelectionList.m_233206_(WorldSelectionList.java:98) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.WorldSelectionList.<init>(WorldSelectionList.java:92) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.worldselection.SelectWorldScreen.m_7856_(SelectWorldScreen.java:66) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.screens.Screen.m_232761_(Screen.java:423) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.Screen.m_6575_(Screen.java:413) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91152_(Minecraft.java:943) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.TitleScreen.m_96775_(TitleScreen.java:157) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.components.Button.m_5691_(Button.java:40) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.components.AbstractButton.m_5716_(AbstractButton.java:16) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.components.AbstractWidget.m_6375_(AbstractWidget.java:110) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.components.events.ContainerEventHandler.m_6375_(ContainerEventHandler.java:27) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.gui.screens.TitleScreen.m_6375_(TitleScreen.java:355) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_168084_(MouseHandler.java:88) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.Screen.m_96579_(Screen.java:524) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_91530_(MouseHandler.java:85) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_168091_(MouseHandler.java:185) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.MouseHandler.m_91565_(MouseHandler.java:184) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) ~[lwjgl-glfw-3.3.1.jar%23136!/:build 7] {}     at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.1.jar%23128!/:build 7] {}     at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3474) ~[lwjgl-glfw-3.3.1.jar%23136!/:build 7] {} -- Affected screen -- Details:     Screen name: net.minecraft.client.gui.screens.TitleScreen Stacktrace:     at net.minecraft.client.gui.screens.Screen.m_96579_(Screen.java:524) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_91530_(MouseHandler.java:85) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHandler.m_168091_(MouseHandler.java:185) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.MouseHandler.m_91565_(MouseHandler.java:184) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:runtimedistcleaner:A}     at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) ~[lwjgl-glfw-3.3.1.jar%23136!/:build 7] {}     at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.1.jar%23128!/:build 7] {}     at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3474) ~[lwjgl-glfw-3.3.1.jar%23136!/:build 7] {}     at com.mojang.blaze3d.systems.RenderSystem.m_69830_(RenderSystem.java:222) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1115) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:669) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:206) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {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.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19-41.1.0.jar%2393!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {} -- Last reload -- Details:     Reload number: 1     Reload reason: initial     Finished: Yes     Packs: Default, Mod Resources Stacktrace:     at net.minecraft.client.ResourceLoadStateTracker.m_168562_(ResourceLoadStateTracker.java:49) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading}     at net.minecraft.client.Minecraft.m_91354_(Minecraft.java:2244) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:686) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:206) ~[client-1.19-20220607.102129-srg.jar%23149!/:?] {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.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19-41.1.0.jar%2393!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2381!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {} -- System Details -- Details:     Minecraft Version: 1.19     Minecraft Version ID: 1.19     Operating System: Windows 10 (amd64) version 10.0     Java Version: 17.0.3, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 388041088 bytes (370 MiB) / 838860800 bytes (800 MiB) up to 2147483648 bytes (2048 MiB)     CPUs: 12     Processor Vendor: GenuineIntel     Processor Name: Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz     Identifier: Intel64 Family 6 Model 165 Stepping 5     Microarchitecture: unknown     Frequency (GHz): 2.90     Number of physical packages: 1     Number of physical CPUs: 6     Number of logical CPUs: 12     Graphics card #0 name: NVIDIA GeForce GTX 1660 Ti     Graphics card #0 vendor: NVIDIA (0x10de)     Graphics card #0 VRAM (MB): 4095.00     Graphics card #0 deviceId: 0x2182     Graphics card #0 versionInfo: DriverVersion=30.0.14.7196     Memory slot #0 capacity (MB): 8192.00     Memory slot #0 clockSpeed (GHz): 2.13     Memory slot #0 type: DDR4     Memory slot #1 capacity (MB): 16384.00     Memory slot #1 clockSpeed (GHz): 2.13     Memory slot #1 type: DDR4     Memory slot #2 capacity (MB): 16384.00     Memory slot #2 clockSpeed (GHz): 2.13     Memory slot #2 type: DDR4     Virtual memory max (MB): 46092.41     Virtual memory used (MB): 17252.70     Swap memory total (MB): 5200.06     Swap memory used (MB): 0.00     JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     Launched Version: 1.19-forge-41.1.0     Backend library: LWJGL version 3.3.1 build 7     Backend API: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2 GL version 3.2.0 NVIDIA 471.96, NVIDIA Corporation     Window size: 854x480     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: fancy     Resource Packs:      Current Language: English (US)     CPU: 12x Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz     ModLauncher: 10.0.8+10.0.8+main.0ef7e830     ModLauncher launch target: forgeclient     ModLauncher naming: srg     ModLauncher services:          mixin-0.8.5.jar mixin PLUGINSERVICE          eventbus-6.0.0.jar eventbus PLUGINSERVICE          fmlloader-1.19-41.1.0.jar slf4jfixer PLUGINSERVICE          fmlloader-1.19-41.1.0.jar object_holder_definalize PLUGINSERVICE          fmlloader-1.19-41.1.0.jar runtime_enum_extender PLUGINSERVICE          fmlloader-1.19-41.1.0.jar capability_token_subclass PLUGINSERVICE          accesstransformers-8.0.4.jar accesstransformer PLUGINSERVICE          fmlloader-1.19-41.1.0.jar runtimedistcleaner PLUGINSERVICE          modlauncher-10.0.8.jar mixin TRANSFORMATIONSERVICE          modlauncher-10.0.8.jar fml TRANSFORMATIONSERVICE      FML Language Providers:          minecraft@1.0         lowcodefml@null         javafml@null     Mod List:          client-1.19-20220607.102129-srg.jar               |Minecraft                     |minecraft                     |1.19                |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         lostcities-1.19-6.0.5.jar                         |LostCities                    |lostcities                    |1.19-6.0.5          |DONE      |Manifest: NOSIGNATURE         DungeonCrawl-1.19-2.3.10.jar                      |Dungeon Crawl                 |dungeoncrawl                  |2.3.10              |DONE      |Manifest: NOSIGNATURE         forge-1.19-41.1.0-universal.jar                   |Forge                         |forge                         |41.1.0              |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         upgradedcore-1.19-4.0.0.3-beta.jar                |Upgraded Core                 |upgradedcore                  |1.19-4.0.0.3-beta   |DONE      |Manifest: NOSIGNATURE         upgradednetherite-1.19-5.0.0.4-beta.jar           |Upgraded Netherite            |upgradednetherite             |1.19-5.0.0.4-beta   |DONE      |Manifest: NOSIGNATURE         OreExcavation-1.11.165.jar                        |OreExcavation                 |oreexcavation                 |1.11.165            |DONE      |Manifest: NOSIGNATURE     Crash Report UUID: 790c27ed-eaab-468b-b8a5-eedfd25de927     FML: 41.1     Forge: net.minecraftforge:41.1.0
  • Topics

×
×
  • Create New...

Important Information

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