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 01 - flat, ver 0. 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: survival (ID 0). 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 10 (amd64) version 10.0
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 121316336 bytes (115 MB) / 325472256 bytes (310 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1558 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
UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1558-1.7.10.jar)
UCHIJAAAA Forge{10.13.4.1558} [Minecraft Forge] (forge-1.7.10-10.13.4.1558-1.7.10.jar)
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 369.09' Renderer: 'GeForce 810M/PCIe/SSE2'
Launched Version: 1.7.10-Forge10.13.4.1558-1.7.10
LWJGL: 2.9.1
OpenGL: GeForce 810M/PCIe/SSE2 GL version 4.5.0 NVIDIA 369.09, 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: [Faithful 1.11.2-rv2.zip] Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: Off (1)
i think you are using forge 1.70, this mod is 1.10
i was having compilation errors when i try to add random sections of code witch i think would work, im doing trying-error most of times, kinda hard to find people who have patience to help us like you
I need to see a code from a 1.10 jumping mod that work so i can make my own, i look the rabbit file from vanilla, but i just cant see what i must add and what i must not.
Hey guys, im trying to learn to mod alone, its so hard... im trying to make my kangaroo jump, like the vanilla rabbit animation, but i keep looking at the rabbit file, adding code, removing code, and all i get is errors, can someone please help? after i learn this i can make a lot of mobs, any help apreciated.. thanks!
the only water mob i can look on vanilla is the squid, and when i copy the parts i think i need it give me several errors.. could, if possible, point me the parts i need (post the code) so i can add on my mob file? thanks!
We know how to develop for 1.10 but thank you anyways
i never question that, its pretty obvious you guys can, i was offering extra help anyway nice work on the models, im using them as visual ref to my own, they are amazing! congratulations!
protected void preRenderCallback(EntityAgeable entitylivingbaseIn, float partialTickTime) {
float f = 0.9375F;
if (entitylivingbaseIn.getGrowingAge() < 0) {
f = (float)((double)f * 0.25D); < ----- should i decresce here too? i dont get this...
this.shadowSize = 0.25F;
} else {
this.shadowSize = 0.5F;
}
GlStateManager.scale(1.5f, 1.5f, 1.5f); <-----for example, if i change f here to make my mob bigger, the child born at same adult size, witch it dont if i let it like above, what else i must change here to make the child follow the logic it follow on f f f?
Im trying to finish this mob here for a mod, all i need now is taming, im looking on the wolf file to trying to learn, i got what i could, but i could use some help filling the gaps, thanks!
0
i think you are using forge 1.70, this mod is 1.10
0
i was having compilation errors when i try to add random sections of code witch i think would work, im doing trying-error most of times, kinda hard to find people who have patience to help us like you
I need to see a code from a 1.10 jumping mod that work so i can make my own, i look the rabbit file from vanilla, but i just cant see what i must add and what i must not.
0
Hey guys im trying to make steve ride a giraffe here, he he sits to low on it, how i make it seat higher on this code?
0
Hey guys, im trying to learn to mod alone, its so hard... im trying to make my kangaroo jump, like the vanilla rabbit animation, but i keep looking at the rabbit file, adding code, removing code, and all i get is errors, can someone please help? after i learn this i can make a lot of mobs, any help apreciated.. thanks!
here is my mob:
0
What imports should i add to makeextends EntityWaterMob work?
0
the only water mob i can look on vanilla is the squid, and when i copy the parts i think i need it give me several errors.. could, if possible, point me the parts i need (post the code) so i can add on my mob file? thanks!
0
i never question that, its pretty obvious you guys can, i was offering extra help
0
Hey guys!
So im trying my first aquatic mob here, its all good, except for 2 aspects:
- It only swim like a regular land swimmir, i want it to swim like a fish
- it drowns if it stays to long on water, i want to make it imunne to drowning or something like that... how people make aquatic mobs?
I tried to add this below, but it game me errors:
its from the squid mob, the only aquatic mob i can use to learn, but i dont see anything recent on google too, apreciate some help!
0
this topis is closed i got the solution, i had to change here:
float f = 0.9375F; <--- Set 1.5F for 50% larger parent/adult
0
this 1.10 btw
0
so i want to make my mob 30% larger what else should i change so the child dont born at 130% too? its strange because at 100% the child born on 50%
0
Guys can someone explain me how this work?
protected void preRenderCallback(EntityAgeable entitylivingbaseIn, float partialTickTime) {
float f = 0.9375F;
if (entitylivingbaseIn.getGrowingAge() < 0) {
f = (float)((double)f * 0.25D); < ----- should i decresce here too? i dont get this...
this.shadowSize = 0.25F;
} else {
this.shadowSize = 0.5F;
}
GlStateManager.scale(1.5f, 1.5f, 1.5f); <-----for example, if i change f here to make my mob bigger, the child born at same adult size, witch it dont if i let it like above, what else i must change here to make the child follow the logic it follow on f f f?
}
0
should i maybe add this? :
0
Hello guys!
Im trying to finish this mob here for a mod, all i need now is taming, im looking on the wolf file to trying to learn, i got what i could, but i could use some help filling the gaps, thanks!
i wonder if i have to make new codes for the siting model or the program does it for me?
also i wonder if i need to add this:
0
this was solved this post is finished