Jump to content

Recommended Posts

Posted

When I played yesterday, it was all fine. When I try to join a world (or create a new one)now, it crashes. I updated forge (I had a very old version), still doesn't work. I took out all mods, still doent's work. HJALP

 

Crash report:

 

---- Minecraft Crash Report ----

// Surprise! Haha. Well, this is awkward.

 

Time: 29.8.2015 13:30

Description: Unexpected error

 

java.lang.IndexOutOfBoundsException

at java.nio.Buffer.checkIndex(Buffer.java:540)

at java.nio.DirectIntBufferU.get(DirectIntBufferU.java:253)

at net.minecraft.client.renderer.RenderGlobal.func_72712_a(RenderGlobal.java:350)

at net.minecraft.client.renderer.RenderGlobal.func_72732_a(RenderGlobal.java:294)

at net.minecraft.client.Minecraft.func_71353_a(Minecraft.java:2216)

at net.minecraft.client.Minecraft.func_71403_a(Minecraft.java:2146)

at net.minecraft.client.network.NetHandlerPlayClient.func_147282_a(NetHandlerPlayClient.java:240)

at net.minecraft.network.play.server.S01PacketJoinGame.func_148833_a(SourceFile:70)

at net.minecraft.network.play.server.S01PacketJoinGame.func_148833_a(SourceFile:13)

at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)

at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:2061)

at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)

at net.minecraft.client.main.Main.main(SourceFile:148)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:483)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- Head --

Stacktrace:

at java.nio.Buffer.checkIndex(Buffer.java:540)

at java.nio.DirectIntBufferU.get(DirectIntBufferU.java:253)

at net.minecraft.client.renderer.RenderGlobal.func_72712_a(RenderGlobal.java:350)

at net.minecraft.client.renderer.RenderGlobal.func_72732_a(RenderGlobal.java:294)

at net.minecraft.client.Minecraft.func_71353_a(Minecraft.java:2216)

at net.minecraft.client.Minecraft.func_71403_a(Minecraft.java:2146)

at net.minecraft.client.network.NetHandlerPlayClient.func_147282_a(NetHandlerPlayClient.java:240)

at net.minecraft.network.play.server.S01PacketJoinGame.func_148833_a(SourceFile:70)

at net.minecraft.network.play.server.S01PacketJoinGame.func_148833_a(SourceFile:13)

at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)

 

-- Affected level --

Details:

Level name: MpServer

All players: 0 total; []

Chunk stats: MultiplayerChunkCache: 0, 0

Level seed: 0

Level generator: ID 00 - default, ver 1. Features enabled: false

Level generator options:

Level spawn location: World: (8,64,8), Chunk: (at 8,4,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Level time: 0 game time, 0 day time

Level dimension: 0

Level storage version: 0x00000 - Unknown?

Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)

Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false

Forced entities: 0 total; []

Retry entities: 0 total; []

Server brand: ~~ERROR~~ NullPointerException: null

Server type: Integrated singleplayer server

Stacktrace:

at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:373)

at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2444)

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:927)

at net.minecraft.client.main.Main.main(SourceFile:148)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:483)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

 

-- System Details --

Details:

Minecraft Version: 1.7.10

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.8.0_25, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 1482336344 bytes (1413 MB) / 2008023040 bytes (1915 MB) up to 2008023040 bytes (1915 MB)

JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2048M -Xms2048M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

IntCache: cache: 1, tcache: 1, allocated: 12, tallocated: 94

FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1492 3 mods loaded, 3 mods active

States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

UCHIJAAAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)

UCHIJAAAAAA FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1492-1.7.10.jar)

UCHIJAAAAAA Forge{10.13.4.1492} [Minecraft Forge] (forge-1.7.10-10.13.4.1492-1.7.10.jar)

GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.3.0' Renderer: 'GeForce GT 640/PCIe/SSE2'

Launched Version: 1.7.10-Forge10.13.4.1492-1.7.10

LWJGL: 2.9.1

OpenGL: GeForce GT 640/PCIe/SSE2 GL version 4.3.0, NVIDIA Corporation

GL Caps: Using GL 1.3 multitexturing.

Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.

Anisotropic filtering is supported and maximum anisotropy is 16.

Shaders are available because OpenGL 2.1 is supported.

 

Is Modded: Definitely; Client brand changed to 'fml,forge'

Type: Client (map_client.txt)

Resource Packs: [unity-Complete-1.2.0.zip]

Current Language: English (UK)

Profiler Position: N/A (disabled)

Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Anisotropic Filtering: Off (1)

 

 

ForgeModLoader-client-0.log:

 

 

2015-04-18 13:30:35 [iNFO] [ForgeModLoader] Forge Mod Loader version 5.1.43.678 for Minecraft 1.5.1 loading

2015-04-18 13:30:35 [iNFO] [ForgeModLoader] Java is Java HotSpot 64-Bit Server VM, version 1.8.0_25, running on Windows 7:amd64:6.1, installed at C:\Program Files (x86)\Minecraft\runtime\jre-x64\1.8.0_25

2015-04-18 13:30:35 [FINE] [ForgeModLoader] Java classpath at launch is C:\Users\Andrej\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper\1.5\launchwrapper-1.5.jar;C:\Users\Andrej\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar;C:\Users\Andrej\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-all\4.1\asm-all-4.1.jar;C:\Users\Andrej\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;C:\Users\Andrej\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;C:\Users\Andrej\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar;C:\Users\Andrej\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar;C:\Users\Andrej\AppData\Roaming\.minecraft\versions\TLON\TLON.jar

2015-04-18 13:30:35 [FINE] [ForgeModLoader] Java library path at launch is C:\Users\Andrej\AppData\Roaming\.minecraft\versions\TLON\TLON-natives-11426682114822

2015-04-18 13:30:35 [FINE] [ForgeModLoader] Enabling runtime deobfuscation

2015-04-18 13:30:35 [FINEST] [ForgeModLoader] All core mods are successfully located

2015-04-18 13:30:35 [FINEST] [ForgeModLoader] Discovering coremods

2015-04-18 13:30:35 [FINEST] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/argo-small-3.2.jar

2015-04-18 13:30:35 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/argo-small-3.2.jar

2015-04-18 13:30:36 [FINEST] [ForgeModLoader] Download complete

2015-04-18 13:30:36 [iNFO] [ForgeModLoader] Download complete

2015-04-18 13:30:36 [FINEST] [ForgeModLoader] Library file argo-small-3.2.jar was downloaded and verified successfully

2015-04-18 13:30:36 [FINEST] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/guava-14.0-rc3.jar

2015-04-18 13:30:36 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/guava-14.0-rc3.jar

2015-04-18 13:30:53 [FINEST] [ForgeModLoader] Download complete

2015-04-18 13:30:53 [iNFO] [ForgeModLoader] Download complete

2015-04-18 13:30:53 [FINEST] [ForgeModLoader] Library file guava-14.0-rc3.jar was downloaded and verified successfully

2015-04-18 13:30:53 [FINEST] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/asm-all-4.1.jar

2015-04-18 13:30:53 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/asm-all-4.1.jar

2015-04-18 13:30:55 [FINEST] [ForgeModLoader] Download complete

2015-04-18 13:30:55 [iNFO] [ForgeModLoader] Download complete

2015-04-18 13:30:55 [FINEST] [ForgeModLoader] Library file asm-all-4.1.jar was downloaded and verified successfully

2015-04-18 13:30:55 [FINEST] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar

2015-04-18 13:30:55 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar

2015-04-18 13:30:55 [sEVERE] [ForgeModLoader] There was a problem downloading the file bcprov-jdk15on-148.jar automatically. Perhaps you have an environment without internet access. You will need to download the file manually or restart and let it try again

 

2015-04-18 13:30:55 [FINEST] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/deobfuscation_data_1.5.1.zip

2015-04-18 13:30:55 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/deobfuscation_data_1.5.1.zip

2015-04-18 13:30:57 [FINEST] [ForgeModLoader] Download complete

2015-04-18 13:30:57 [iNFO] [ForgeModLoader] Download complete

2015-04-18 13:30:57 [FINEST] [ForgeModLoader] Library file deobfuscation_data_1.5.1.zip was downloaded and verified successfully

2015-04-18 13:30:57 [FINEST] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/scala-library.jar

2015-04-18 13:30:57 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/scala-library.jar

2015-04-18 13:30:57 [sEVERE] [ForgeModLoader] There was a problem downloading the file scala-library.jar automatically. Perhaps you have an environment without internet access. You will need to download the file manually or restart and let it try again

 

2015-04-18 13:30:57 [sEVERE] [ForgeModLoader] There were errors during initial FML setup. Some files failed to download or were otherwise corrupted. You will need to manually obtain the following files from these download links and ensure your lib directory is clean.

2015-04-18 13:30:57 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/argo-small-3.2.jar

2015-04-18 13:30:57 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/guava-14.0-rc3.jar

2015-04-18 13:30:57 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/asm-all-4.1.jar

2015-04-18 13:30:57 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar

2015-04-18 13:30:57 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/deobfuscation_data_1.5.1.zip

2015-04-18 13:30:57 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/scala-library.jar

2015-04-18 13:30:57 [sEVERE] [ForgeModLoader] <===========>

2015-04-18 13:30:57 [sEVERE] [ForgeModLoader] The following is the errors that caused the setup to fail. They may help you diagnose and resolve the issue

2015-04-18 13:30:57 [sEVERE] [ForgeModLoader] A download error occured

2015-04-18 13:30:57 [sEVERE] [ForgeModLoader] A download error occured

2015-04-18 13:30:57 [sEVERE] [ForgeModLoader] <<< ==== >>>

2015-04-18 13:30:57 [sEVERE] [ForgeModLoader] The following is diagnostic information for developers to review.

2015-04-18 13:30:57 [sEVERE] [ForgeModLoader] Error details

java.lang.RuntimeException: A download error occured

at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:548)

at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:165)

at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:172)

at cpw.mods.fml.relauncher.FMLRelauncher.relaunchClient(FMLRelauncher.java:104)

at cpw.mods.fml.relauncher.FMLRelauncher.handleClientRelaunch(FMLRelauncher.java:38)

at net.minecraft.client.Minecraft.main(Minecraft.java:2236)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:483)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)

at net.minecraft.launchwrapper.Launch.main(Launch.java:18)

Caused by: java.io.FileNotFoundException: http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:408)

at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1888)

at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1883)

at java.security.AccessController.doPrivileged(Native Method)

at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1882)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1455)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439)

at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:532)

... 11 more

Caused by: java.io.FileNotFoundException: http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar

at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1834)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439)

at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2929)

at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:629)

at java.net.URLConnection.getContentLengthLong(URLConnection.java:501)

at java.net.URLConnection.getContentLength(URLConnection.java:485)

at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:531)

... 11 more

2015-04-18 13:30:57 [sEVERE] [ForgeModLoader] Error details

java.lang.RuntimeException: A download error occured

at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:548)

at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:165)

at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:172)

at cpw.mods.fml.relauncher.FMLRelauncher.relaunchClient(FMLRelauncher.java:104)

at cpw.mods.fml.relauncher.FMLRelauncher.handleClientRelaunch(FMLRelauncher.java:38)

at net.minecraft.client.Minecraft.main(Minecraft.java:2236)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:483)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)

at net.minecraft.launchwrapper.Launch.main(Launch.java:18)

Caused by: java.io.FileNotFoundException: http://files.minecraftforge.net/fmllibs/scala-library.jar

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:408)

at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1888)

at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1883)

at java.security.AccessController.doPrivileged(Native Method)

at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1882)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1455)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439)

at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:532)

... 11 more

Caused by: java.io.FileNotFoundException: http://files.minecraftforge.net/fmllibs/scala-library.jar

at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1834)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439)

at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2929)

at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:629)

at java.net.URLConnection.getContentLengthLong(URLConnection.java:501)

at java.net.URLConnection.getContentLength(URLConnection.java:485)

at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:531)

... 11 more

 

 

 

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

    • log: https://mclo.gs/QJg3wYX as stated in the title, my game freezes upon loading into the server after i used a far-away waystone in it. The modpack i'm using is better minecraft V18. Issue only comes up in this specific server, singleplayer and other servers are A-okay. i've already experimented with removing possible culprits like modernfix and various others to no effect. i've also attempted a full reinstall of the modpack profile. Issue occurs shortly after the 'cancel' button dissapears on the 'loading world' section of the loading screen.   thanks in advance.
    • You would have better results asking a more specific question. What have you done? What exactly do you need help with? Please also read the FAQ regarding posting logs.
    • Hi, this is my second post with the same content as no one answered this and it's been a long time since I made the last post, I want to make a client-only mod, everything is ok, but when I use shaders, none of the textures rendered in RenderLevelStageEvent nor the crow entity model are rendered, I want them to be visible, because it's a horror themed mod I've already tried it with different shaders, but it didn't work with any of them and I really want to add support for shaders Here is how i render the crow model in the CrowEntityRenderer<CrowEntity>, by the time i use this method, i know is not the right method but i don't think this is the cause of the problem, the renderType i'm using is entityCutout @Override public void render(CrowEntity p_entity, float entityYaw, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight) { super.render(p_entity, entityYaw, partialTick, poseStack, bufferSource, packedLight); ClientEventHandler.getClient().crow.renderToBuffer(poseStack, bufferSource.getBuffer(ClientEventHandler.getClient().crow .renderType(TEXTURE)), packedLight, OverlayTexture.NO_OVERLAY, Utils.rgb(255, 255, 255)); } Here renderLevelStage @Override public void renderWorld(RenderLevelStageEvent e) { horrorEvents.draw(e); } Here is how i render every event public void draw(RenderLevelStageEvent e) { for (HorrorEvent event : currentHorrorEvents) { event.tick(e.getPartialTick()); event.draw(e); } } Here is how i render the crow model on the event @Override public void draw(RenderLevelStageEvent e) { if(e.getStage() == RenderLevelStageEvent.Stage.AFTER_ENTITIES) { float arcProgress = getArcProgress(0.25f); int alpha = (int) Mth.lerp(arcProgress, 0, 255); int packedLight = LevelRenderer.getLightColor(Minecraft.getInstance().level, blockPos); VertexConsumer builder = ClientEventHandler.bufferSource.getBuffer(crow); Crow<CreepyBirdHorrorEvent> model = ClientEventHandler .getClient().crow; model.setupAnim(this); RenderHelper.renderModelInWorld(model, position, offset, e.getCamera(), e.getPoseStack(), builder, packedLight, OverlayTexture.NO_OVERLAY, alpha); builder = ClientEventHandler.bufferSource.getBuffer(eyes); RenderHelper.renderModelInWorld(model, position, offset, e.getCamera(), e.getPoseStack(), builder, 15728880, OverlayTexture.NO_OVERLAY, alpha); } } How i render the model public static void renderModelInWorld(Model model, Vector3f pos, Vector3f offset, Camera camera, PoseStack matrix, VertexConsumer builder, int light, int overlay, int alpha) { matrix.pushPose(); Vec3 cameraPos = camera.getPosition(); double finalX = pos.x - cameraPos.x + offset.x; double finalY = pos.y - cameraPos.y + offset.y; double finalZ = pos.z - cameraPos.z + offset.z; matrix.pushPose(); matrix.translate(finalX, finalY, finalZ); matrix.mulPose(Axis.XP.rotationDegrees(180f)); model.renderToBuffer(matrix, builder, light, overlay, Utils .rgba(255, 255, 255, alpha)); matrix.popPose(); matrix.popPose(); } Thanks in advance
    • I am trying to develop a modpack for me and my friends to use on our server. Does anyone know how to develop a modpack for a server or could they help take a look at my modpack to potentially help at all?
  • Topics

×
×
  • Create New...

Important Information

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