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

Add textures without modifying minecraft.jar - Modding Questions


omnee
 Share

Recommended Posts

Hello everybody, omnee here. So my main question is, how do I add textures to my forge mod without having to modify the minecraft.jar? I want to do this because I know modifying the jar can get quite frustrating and annoying, so hopefully, somebody can tell me how to do this, like all those awesome mods where you just drag the zip and boom, done...

The code I am currently using is:

	 @Override
 public void registerRenderThings(){
	 MinecraftForgeClient.preloadTexture("/omnee/MineScape");
 }

Or we can say, that's the only important part.

 

Now my second question... So I started this mod in a mod_MineScape class in common.net.minecraft.src.mod_Minescape, now, will this work just like the awesome mods where you just drag a zip file in the mods folder and your done? Pheraps you have to make your own package? I did make 2 packages but only for the Proxy, one in client and one in common... If it does work, can somebody explain me how to get the zip file, is it just compressing all the class files into a zip file and putting it in the mods folder?

Link to comment
Share on other sites

how do I add textures to my forge mod without having to modify the minecraft.jar?

You just add the textures to the final zip after you have recompiled it for release.

Another option if you REALLY want to if to add a texture pack including the textures in the correct folders

 

 

So I started this mod in a mod_MineScape class in common.net.minecraft.src.mod_Minescape, now, will this work just like the awesome mods where you just drag a zip file in the mods folder and your done? Pheraps you have to make your own package? I did make 2 packages but only for the Proxy, one in client and one in common... If it does work, can somebody explain me how to get the zip file, is it just compressing all the class files into a zip file and putting it in the mods folder?

 

It should work just having it in its own package but if you REALLY want to (not recommended), you can have it in "net.minecraft.src" package. just make sure that the line at the top of the class says the correct package that its in.

 

Getting the zip file?? Yup, recompile all the class files in the "reobj" folder making sure the file structure is correct (ie. common SHOULDNT be at the top of the zip folder structure, it should start one below that)

Link to comment
Share on other sites

to add textures to new blocks, you need to do a

 

public String getTexturefile(){
     return "/ExampleFolder/TextureFile.png";                          //starts with MCP/eclipse/Minecraft/bin
}

 

this will be inside the class with your item/block

NOTE: you must put .png

          if you have multiple blocks/items in a single class, you could do

 

public String getTexturefile(){
if(this.blockID == mod_Examplemod.ExampleBlock.blockID){

     //blockID could be this.shiftedIndex if its an item
     return "/ExampleFolder/TextureFile.png";                          //starts with MCP/eclipse/Minecraft/bin
}else
if(this.blockID == mod_Examplemod.ExampleBlock2.blockID){
     return "/ExampleFolder/TextureFile2.png"
}
}

 

So, if you wanted an 257 blocks in 1 class, you could have that do

if(this.blockID <= mod_Examplemod.ExampleBlock256.blockID && this.blockID >= mod_Examplemod.ExampleBlock.blockID){
     return "/Hi.png";
} else
if(this.blockID >= mod_Examplemod.ExampleBlock257.blockID && this.blockID <= mod_Examplemod.ExampleBlock512.blockID){
     return"/Hi2.png";
}

Hope this helps!

The Korecraft Mod

Link to comment
Share on other sites

So I started this mod in a mod_MineScape class in common.net.minecraft.src.mod_Minescape, now, will this work just like the awesome mods where you just drag a zip file in the mods folder and your done? Pheraps you have to make your own package? I did make 2 packages but only for the Proxy, one in client and one in common... If it does work, can somebody explain me how to get the zip file, is it just compressing all the class files into a zip file and putting it in the mods folder?

 

It should work just having it in its own package but if you REALLY want to (not recommended), you can have it in "net.minecraft.src" package. just make sure that the line at the top of the class says the correct package that its in.

 

Getting the zip file?? Yup, recompile all the class files in the "reobj" folder making sure the file structure is correct (ie. common SHOULDNT be at the top of the zip folder structure, it should start one below that)

 

Do you even know what you are talking about? It IS recommended to make your own package, and when you do, you should put it into the .zip/.jar like this: For instance, take the package ebilkill.mods.minecraft.crosstheline; Then it's be like this:*root of archive*/ebilkill/mods/minecraft/crosstheline/*all files in this package*

Hope this helps you.

 

The textures should be added to the path you specified (/omnee/MineScape I think there should be a .png after that though) inside the root of the .zip/.jar, like this: *root of archive*/omnee/MineScape(.png?). I hope your texture is a .png, because it won't work if it isn't.

Link to comment
Share on other sites

So I started this mod in a mod_MineScape class in common.net.minecraft.src.mod_Minescape, now, will this work just like the awesome mods where you just drag a zip file in the mods folder and your done? Pheraps you have to make your own package? I did make 2 packages but only for the Proxy, one in client and one in common... If it does work, can somebody explain me how to get the zip file, is it just compressing all the class files into a zip file and putting it in the mods folder?

 

It should work just having it in its own package but if you REALLY want to (not recommended), you can have it in "net.minecraft.src" package. just make sure that the line at the top of the class says the correct package that its in.

 

Getting the zip file?? Yup, recompile all the class files in the "reobj" folder making sure the file structure is correct (ie. common SHOULDNT be at the top of the zip folder structure, it should start one below that)

 

Do you even know what you are talking about? It IS recommended to make your own package, and when you do, you should put it into the .zip/.jar like this: For instance, take the package ebilkill.mods.minecraft.crosstheline; Then it's be like this:*root of archive*/ebilkill/mods/minecraft/crosstheline/*all files in this package*

Hope this helps you.

 

The textures should be added to the path you specified (/omnee/MineScape I think there should be a .png after that though) inside the root of the .zip/.jar, like this: *root of archive*/omnee/MineScape(.png?). I hope your texture is a .png, because it won't work if it isn't.

 

I think he meant like: It is recomended to make your own package, But if you don't want you can do it on net.minecraft.src (wich isn't recomended)

 

I only coded ModLoader and noLoader before, this is my very first time codding with Forge, and all this "@" thingies are quite getting me confused, but I will get how this works better someday, anyway, thanks SO MUCH guys... I will try to do it now, thanks SO much :)

Link to comment
Share on other sites

Sorry for double post!

 

So I did everything, except, when I add the "omnee" folder to "jars/bin/minecraft.jar" it get's an error when I try to run minecraft with eclipse, btw, all my pictures are inside that omnee folder...

 

So... I tried to compile it, reobfuscate it, and zipped it like this: Created zip file, added minecraft folder from reobfuscate, some other class files and omnee folder too... And I get a zip with minecraft, class files and omnee in it, but when I try to add it to "mods" inside a client with Forge installed I get an error... Can somebody help me with this?...

Link to comment
Share on other sites

Sorry for double post!

 

So I did everything, except, when I add the "omnee" folder to "jars/bin/minecraft.jar" it get's an error when I try to run minecraft with eclipse, btw, all my pictures are inside that omnee folder...

 

So... I tried to compile it, reobfuscate it, and zipped it like this: Created zip file, added minecraft folder from reobfuscate, some other class files and omnee folder too... And I get a zip with minecraft, class files and omnee in it, but when I try to add it to "mods" inside a client with Forge installed I get an error... Can somebody help me with this?...

 

You should add the contents of that minecraft folder, not the minecraft folder itself...

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

    • It says the error was Rendering overlay, please help me with this one; (Here is the full report below if needed)   ---- Minecraft Crash Report ---- // I bet Cylons wouldn't have this problem. Time: 12/8/21, 6:30 PM Description: Rendering overlay java.lang.VerifyError: Bad access to protected data in getfield Exception Details:   Location:     net/minecraft/client/renderer/entity/player/PlayerRenderer.renderArm(ZLnet/minecraft/client/player/AbstractClientPlayer;Lnet/minecraft/client/model/geom/ModelPart;Lcom/mojang/blaze3d/vertex/PoseStack;ILnet/minecraft/client/renderer/MultiBufferSource;Lnet/minecraft/client/renderer/entity/LivingEntityRenderer;Lnet/minecraft/world/entity/LivingEntity;I)V @7: getfield   Reason:     Type top (current frame, stack[1]) is not assignable to 'net/minecraft/client/renderer/entity/player/PlayerRenderer'   Current Frame:     bci: @7     flags: { }     locals: { 'net/minecraft/client/renderer/entity/player/PlayerRenderer', integer, 'net/minecraft/client/player/AbstractClientPlayer', 'net/minecraft/client/model/geom/ModelPart', 'com/mojang/blaze3d/vertex/PoseStack', integer, 'net/minecraft/client/renderer/MultiBufferSource', 'net/minecraft/client/renderer/entity/LivingEntityRenderer', 'net/minecraft/world/entity/LivingEntity', integer }     stack: { 'net/minecraft/client/model/EntityModel' }   Bytecode:     0000000: 1904 b601 9519 07b4 02d9 c102 dc99 001b     0000010: 1904 1b99 0009 1402 fba7 0006 1402 fd14     0000020: 02ff 1403 01b6 01d3 2a2c b600 7d19 07b4     0000030: 02d9 0bb5 0305 1907 c103 0799 0022 1907     0000040: c003 073a 0a19 0ab4 0308 c000 170b b503     0000050: 0919 0ab4 0308 c000 1703 b503 0a19 07c1     0000060: 0307 9a00 0e19 07b6 030b c100 1c99 0028     0000070: 1b99 0024 2cb6 0115 b203 0ea6 001a 2cb2     0000080: 00f7 b601 2bb6 010a 9900 0d19 0414 030f     0000090: 0e0e b601 d319 07b4 02d9 1908 0b0b 0b0b     00000a0: 0bb6 0313 2d0b b502 1d2d 1904 1906 1907     00000b0: 1908 b603 15b8 0318 b902 2902 0015 05b2     00000c0: 022e b602 3219 04b6 01d6 b1               Stackmap Table:     same_locals_1_stack_item_frame(@28,Object[#381])     full_frame(@31,{Object[#2],Integer,Object[#159],Object[#192],Object[#381],Integer,Object[#549],Object[#5],Object[#737],Integer},{Object[#381],Double})     same_frame(@40)     same_frame(@93)     same_frame(@112)     same_frame(@149)     at net.minecraft.client.renderer.entity.EntityRenderers.m_174097_(SourceFile:24) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.renderer.entity.EntityRenderers.m_174044_(SourceFile:164) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B}     at com.google.common.collect.RegularImmutableMap.forEach(RegularImmutableMap.java:146) ~[guava-21.0.jar%2320!:?] {}     at net.minecraft.client.renderer.entity.EntityRenderers.m_174051_(SourceFile:162) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.renderer.entity.EntityRenderDispatcher.m_6213_(EntityRenderDispatcher.java:334) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.server.packs.resources.ResourceManagerReloadListener.m_10759_(ResourceManagerReloadListener.java:18) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,re:mixin}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:783) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:780) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:791) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:780) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:791) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:780) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:791) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:780) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:710) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:710) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:710) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:710) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:710) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:710) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at com.mojang.blaze3d.systems.RenderSystem.m_69884_(SourceFile:179) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at com.mojang.blaze3d.systems.RenderSystem.m_69495_(SourceFile:166) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at com.mojang.blaze3d.platform.Window.m_85435_(Window.java:333) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1062) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:659) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:186) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.17.1-37.0.82.jar%2322!:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.0.7.jar%235!:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.0.7.jar%235!:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.0.7.jar%235!:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.0.7.jar%235!:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.0.7.jar%235!:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.0.7.jar%235!:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.0.7.jar%235!:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) [bootstraplauncher-0.1.17.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace:     at net.minecraft.client.renderer.entity.EntityRenderers.m_174097_(SourceFile:24) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.renderer.entity.EntityRenderers.m_174044_(SourceFile:164) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B}     at com.google.common.collect.RegularImmutableMap.forEach(RegularImmutableMap.java:146) ~[guava-21.0.jar%2320!:?] {}     at net.minecraft.client.renderer.entity.EntityRenderers.m_174051_(SourceFile:162) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.client.renderer.entity.EntityRenderDispatcher.m_6213_(EntityRenderDispatcher.java:334) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.server.packs.resources.ResourceManagerReloadListener.m_10759_(ResourceManagerReloadListener.java:18) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,re:mixin}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:783) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:780) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:791) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:780) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:791) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:780) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:791) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:780) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:710) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:710) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:710) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:710) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:710) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SourceFile:71) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at net.minecraft.util.thread.BlockableEventLoop.execute(SourceFile:101) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}     at net.minecraft.server.packs.resources.SimpleReloadInstance.m_10834_(SourceFile:70) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:568) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:710) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?] {}     at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610) ~[?:?] {}     at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}     at com.mojang.blaze3d.systems.RenderSystem.m_69884_(SourceFile:179) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading}     at com.mojang.blaze3d.systems.RenderSystem.m_69495_(SourceFile:166) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading} -- Overlay render details -- Details:     Overlay name: net.minecraft.client.gui.screens.LoadingOverlay Stacktrace:     at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:877) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1040) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:659) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:186) ~[client-1.17.1-20210706.113038-srg.jar%23101!:?] {re:classloading,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.17.1-37.0.82.jar%2322!:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.0.7.jar%235!:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.0.7.jar%235!:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.0.7.jar%235!:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.0.7.jar%235!:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.0.7.jar%235!:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.0.7.jar%235!:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.0.7.jar%235!:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) [bootstraplauncher-0.1.17.jar:?] {} -- Last reload -- Details:     Reload number: 1     Reload reason: initial     Finished: No     Packs: Default -- System Details -- Details:     Minecraft Version: 1.17.1     Minecraft Version ID: 1.17.1     Operating System: Windows 10 (amd64) version 10.0     Java Version: 16.0.1, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 1401075712 bytes (1336 MiB) / 1962934272 bytes (1872 MiB) up to 4294967296 bytes (4096 MiB)     CPUs: 6     Processor Vendor: GenuineIntel     Processor Name: Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz     Identifier: Intel64 Family 6 Model 158 Stepping 10     Microarchitecture: Coffee Lake     Frequency (GHz): 2.90     Number of physical packages: 1     Number of physical CPUs: 6     Number of logical CPUs: 6     Graphics card #0 name: NVIDIA GeForce GTX 1050 Ti     Graphics card #0 vendor: NVIDIA (0x10de)     Graphics card #0 VRAM (MB): 4095.00     Graphics card #0 deviceId: 0x1c82     Graphics card #0 versionInfo: DriverVersion=30.0.14.7141     Memory slot #0 capacity (MB): 8192.00     Memory slot #0 clockSpeed (GHz): 2.67     Memory slot #0 type: DDR4     Memory slot #1 capacity (MB): 8192.00     Memory slot #1 clockSpeed (GHz): 2.67     Memory slot #1 type: DDR4     Virtual memory max (MB): 24253.32     Virtual memory used (MB): 12864.45     Swap memory total (MB): 7936.00     Swap memory used (MB): 82.73     JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4096m -Xms256m     Launched Version: forge-37.0.82     Backend library: LWJGL version 3.2.2 SNAPSHOT     Backend API: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 GL version 3.2.0 NVIDIA 471.41, NVIDIA Corporation     Window size: 1024x768     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: 6x Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz     ModLauncher: 9.0.7+91+master.8569cdf     ModLauncher launch target: forgeclient     ModLauncher naming: srg     ModLauncher services:           mixin PLUGINSERVICE           eventbus PLUGINSERVICE           object_holder_definalize PLUGINSERVICE           runtime_enum_extender PLUGINSERVICE           capability_token_subclass PLUGINSERVICE           capability_inject_definalize PLUGINSERVICE           accesstransformer PLUGINSERVICE           runtimedistcleaner PLUGINSERVICE           mixin TRANSFORMATIONSERVICE           fml TRANSFORMATIONSERVICE      FML Language Providers:          minecraft@1.0         javafml@null     Mod List:          client-1.17.1-20210706.113038-srg.jar             |Minecraft                     |minecraft                     |1.17.1              |NONE      |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         forge-1.17.1-37.0.82-universal.jar                |Forge                         |forge                         |37.0.82             |NONE      |Manifest: 22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90
    • but that's terrible, i can't upgrade because every mod that i am using with this mod is using 1.12.2
    • 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
    • When i make a TileEntitySpecialRenderer and then use the render function to render the item the item rendered is flickered and it has texture glitches   public class ShelfTileRenderer extends TileEntitySpecialRenderer<TileEntityShelf> { @Override public void render(TileEntityShelf te, double x, double y, double z, float partialTicks, int destroyStage, float alpha) { GL11.glPushMatrix(); GL11.glTranslatef((float)x + 0.5F, (float)y + 1.02F, (float)z + 0.3F); GL11.glRotatef(180, 0, 1, 1); //RenderManager.renderEntityWithPosYaw(this.entItem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F); //ItemStack is = te.itemInShelf.getStackInSlot(0); RenderItem itemRenderer = Minecraft.getMinecraft().getRenderItem(); //IBakedModel ibakedmodel = itemRenderer.getItemModelWithOverrides(is, te.getWorld(), (EntityLivingBase)null); //IBakedModel transformedModel = net.minecraftforge.client.ForgeHooksClient.handleCameraTransforms(ibakedmodel, ItemCameraTransforms.TransformType.GROUND, false); //itemRenderer.renderItem(is, itemRenderer.getItemModelMesher().getItemModel(is)); //ForgeHooksClient.renderLitItem(itemRenderer, itemRenderer.getItemModelMesher().getItemModel(is), -1, is); ItemStack itemstack = te.itemInShelf.getStackInSlot(0); GlStateManager.enableRescaleNormal(); GlStateManager.alphaFunc(516, 0.1F); GlStateManager.enableBlend(); RenderHelper.enableStandardItemLighting(); GlStateManager.tryBlendFuncSeparate(GlStateManager.SourceFactor.SRC_ALPHA, GlStateManager.DestFactor.ONE_MINUS_SRC_ALPHA, GlStateManager.SourceFactor.ONE, GlStateManager.DestFactor.ZERO); IBakedModel ibakedmodel = itemRenderer.getItemModelWithOverrides(itemstack, te.getWorld(), (EntityLivingBase)null); IBakedModel transformedModel = net.minecraftforge.client.ForgeHooksClient.handleCameraTransforms(ibakedmodel, ItemCameraTransforms.TransformType.GROUND, false); itemRenderer.renderItem(itemstack, transformedModel); GlStateManager.disableRescaleNormal(); GlStateManager.disableBlend(); //Minecraft.getMinecraft().getRenderItem().renderItem(te.itemInShelf.getStackInSlot(0),); GL11.glPopMatrix(); } }    
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.