Jump to content

[1.7.10] java.lang.NoClassDefFoundError: FMLRenderAccessLibrary. Outside eclipse


Elix_x

Recommended Posts

Hello there, i met very strange problem:

In dev environment my mod works fine, but when exported - it doesn't. It crashes with following report:

---- Minecraft Crash Report ----
// Ouch. That hurt 

Time: 20.05.15 8:32
Description: Rendering screen

java.lang.NoClassDefFoundError: net/minecraft/src/FMLRenderAccessLibrary
at code.elix_x.coremods.colourfullblocks.gui.CustomRenderBlocks.func_147800_a(CustomRenderBlocks.java:8366)
at code.elix_x.coremods.colourfullblocks.gui.CustomItemRenderer.renderItemIntoGUI(CustomItemRenderer.java:83)
at code.elix_x.coremods.colourfullblocks.gui.CustomItemRenderer.renderItemIntoGUI(CustomItemRenderer.java:30)
at code.elix_x.coremods.colourfullblocks.gui.GuiBrush.func_73863_a(GuiBrush.java:122)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1061)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1001)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.ClassNotFoundException: net.minecraft.src.FMLRenderAccessLibrary
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 14 more
Caused by: java.lang.NullPointerException


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

-- Head --
Stacktrace:
at code.elix_x.coremods.colourfullblocks.gui.CustomRenderBlocks.func_147800_a(CustomRenderBlocks.java:8366)
at code.elix_x.coremods.colourfullblocks.gui.CustomItemRenderer.renderItemIntoGUI(CustomItemRenderer.java:83)
at code.elix_x.coremods.colourfullblocks.gui.CustomItemRenderer.renderItemIntoGUI(CustomItemRenderer.java:30)
at code.elix_x.coremods.colourfullblocks.gui.GuiBrush.func_73863_a(GuiBrush.java:122)

-- Screen render details --
Details:
Screen name: code.elix_x.coremods.colourfullblocks.gui.GuiBrush
Mouse location: Scaled: (213, 119). Absolute: (427, 240)
Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['elix_x'/425, l='MpServer', x=-44,69, y=68,62, z=260,22]]
Chunk stats: MultiplayerChunkCache: 773, 773
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options: 
Level spawn location: World: (-48,64,252), Chunk: (at 0,4,12 in -3,15; contains blocks -48,0,240 to -33,255,255), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Level time: 21958 game time, 9420 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: 113 total; [EntityCreeper['Creeper'/259, l='MpServer', x=-5,50, y=11,00, z=187,50], EntityCreeper['Creeper'/260, l='MpServer', x=-7,00, y=11,00, z=189,44], EntitySkeleton['Skeleton'/261, l='MpServer', x=-2,50, y=11,00, z=186,50], EntityBat['Bat'/262, l='MpServer', x=-3,50, y=12,31, z=188,36], EntityBat['Bat'/263, l='MpServer', x=-4,85, y=14,76, z=183,25], EntityCreeper['Creeper'/264, l='MpServer', x=-11,38, y=16,00, z=213,34], EntityBat['Bat'/265, l='MpServer', x=-5,10, y=11,21, z=188,85], EntityChicken['Chicken'/266, l='MpServer', x=-11,44, y=67,00, z=264,56], EntityChicken['Chicken'/267, l='MpServer', x=-0,59, y=69,00, z=263,59], EntityChicken['Chicken'/268, l='MpServer', x=-5,19, y=67,00, z=269,41], EntityItem['item.item.egg'/269, l='MpServer', x=-1,38, y=69,13, z=264,88], EntityItem['item.item.egg'/270, l='MpServer', x=-5,13, y=67,13, z=268,13], EntityChicken['Chicken'/271, l='MpServer', x=-7,34, y=67,00, z=271,56], EntityChicken['Chicken'/272, l='MpServer', x=-8,53, y=73,00, z=286,44], EntityCreeper['Creeper'/273, l='MpServer', x=-3,91, y=49,00, z=291,69], EntityChicken['Chicken'/274, l='MpServer', x=-0,50, y=69,00, z=299,50], EntitySkeleton['Skeleton'/786, l='MpServer', x=18,50, y=53,00, z=291,50], EntityChicken['Chicken'/275, l='MpServer', x=-6,44, y=72,00, z=289,44], EntitySkeleton['Skeleton'/787, l='MpServer', x=17,50, y=53,00, z=290,50], EntityItem['item.item.egg'/276, l='MpServer', x=-2,88, y=68,13, z=300,44], EntitySkeleton['Skeleton'/788, l='MpServer', x=16,50, y=53,00, z=291,50], EntityChicken['Chicken'/277, l='MpServer', x=-14,50, y=70,00, z=319,50], EntityItem['item.item.egg'/278, l='MpServer', x=-5,63, y=68,13, z=313,41], EntityChicken['Chicken'/279, l='MpServer', x=-5,48, y=72,00, z=329,32], EntityChicken['Chicken'/281, l='MpServer', x=-13,41, y=71,00, z=327,63], EntitySkeleton['Skeleton'/295, l='MpServer', x=3,63, y=18,00, z=203,59], EntitySkeleton['Skeleton'/296, l='MpServer', x=3,03, y=18,00, z=204,53], EntitySkeleton['Skeleton'/297, l='MpServer', x=4,44, y=17,00, z=204,94], EntityChicken['Chicken'/298, l='MpServer', x=13,13, y=75,00, z=195,72], EntityChicken['Chicken'/299, l='MpServer', x=0,53, y=74,00, z=198,47], EntityZombie['Zombie'/301, l='MpServer', x=4,50, y=17,00, z=209,09], EntityPig['Pig'/302, l='MpServer', x=15,88, y=97,00, z=236,50], EntityCreeper['Creeper'/303, l='MpServer', x=15,50, y=52,00, z=286,50], EntitySkeleton['Skeleton'/304, l='MpServer', x=4,50, y=54,00, z=280,50], EntityBat['Bat'/305, l='MpServer', x=15,13, y=53,38, z=287,44], EntityChicken['Chicken'/306, l='MpServer', x=4,41, y=68,00, z=294,59], EntityClientPlayerMP['elix_x'/425, l='MpServer', x=-44,69, y=68,62, z=260,22], EntityItem['item.item.egg'/308, l='MpServer', x=3,31, y=68,13, z=295,09], EntityCreeper['Creeper'/309, l='MpServer', x=5,50, y=45,00, z=318,50], EntityChicken['Chicken'/310, l='MpServer', x=-3,47, y=68,00, z=314,56], EntityChicken['Chicken'/318, l='MpServer', x=20,44, y=70,00, z=189,56], EntityPig['Pig'/321, l='MpServer', x=26,03, y=85,00, z=226,50], EntityPig['Pig'/322, l='MpServer', x=16,50, y=103,00, z=228,50], EntityPig['Pig'/323, l='MpServer', x=17,47, y=97,00, z=226,53], EntityCreeper['Creeper'/324, l='MpServer', x=28,50, y=53,00, z=286,50], EntityCreeper['Creeper'/325, l='MpServer', x=25,50, y=53,00, z=275,50], EntityBat['Bat'/326, l='MpServer', x=22,44, y=52,10, z=279,25], EntityBat['Bat'/327, l='MpServer', x=31,25, y=53,10, z=282,75], EntityZombie['Zombie'/328, l='MpServer', x=26,94, y=66,00, z=305,53], EntityZombie['Zombie'/87, l='MpServer', x=-124,38, y=29,00, z=206,94], EntityCreeper['Creeper'/348, l='MpServer', x=35,50, y=51,00, z=285,50], EntityChicken['Chicken'/123, l='MpServer', x=-112,59, y=79,00, z=188,59], EntityBat['Bat'/126, l='MpServer', x=-124,75, y=18,10, z=199,75], EntitySlime['Slime'/128, l='MpServer', x=-122,31, y=20,00, z=215,93], EntitySkeleton['Skeleton'/131, l='MpServer', x=-108,91, y=39,00, z=213,50], EntityCow['Cow'/132, l='MpServer', x=-115,50, y=76,00, z=210,34], EntityCow['Cow'/133, l='MpServer', x=-119,63, y=78,00, z=212,44], EntityCow['Cow'/134, l='MpServer', x=-114,69, y=76,00, z=211,53], EntityCow['Cow'/135, l='MpServer', x=-118,50, y=76,00, z=209,50], EntityChicken['Chicken'/136, l='MpServer', x=-122,41, y=85,00, z=219,53], EntitySlime['Slime'/137, l='MpServer', x=-121,63, y=21,00, z=234,38], EntitySkeleton['Skeleton'/138, l='MpServer', x=-116,09, y=52,00, z=248,56], EntitySkeleton['Skeleton'/139, l='MpServer', x=-115,50, y=52,00, z=251,50], EntityChicken['Chicken'/142, l='MpServer', x=-123,38, y=68,00, z=246,84], EntityPig['Pig'/143, l='MpServer', x=-123,50, y=90,00, z=314,16], EntitySkeleton['Skeleton'/153, l='MpServer', x=-102,50, y=38,00, z=207,50], EntityBat['Bat'/154, l='MpServer', x=-110,48, y=40,22, z=204,95], EntityChicken['Chicken'/155, l='MpServer', x=-99,44, y=73,00, z=192,53], EntityChicken['Chicken'/156, l='MpServer', x=-102,56, y=73,00, z=197,56], EntityChicken['Chicken'/157, l='MpServer', x=-95,53, y=75,00, z=193,53], EntityItem['item.item.egg'/158, l='MpServer', x=-104,19, y=74,13, z=199,13], EntityBat['Bat'/159, l='MpServer', x=-100,44, y=42,10, z=210,50], EntitySquid['Squid'/160, l='MpServer', x=-102,50, y=54,72, z=301,50], EntityPig['Pig'/161, l='MpServer', x=-111,50, y=88,00, z=327,50], EntityPig['Pig'/162, l='MpServer', x=-110,81, y=89,00, z=323,94], EntityPig['Pig'/163, l='MpServer', x=-110,16, y=88,00, z=327,94], EntityPig['Pig'/164, l='MpServer', x=-96,50, y=91,00, z=329,31], EntityZombie['Zombie'/171, l='MpServer', x=-95,75, y=21,00, z=205,78], EntityZombie['Zombie'/172, l='MpServer', x=-94,50, y=49,00, z=229,50], EntityChicken['Chicken'/173, l='MpServer', x=-81,56, y=73,00, z=227,63], EntityChicken['Chicken'/174, l='MpServer', x=-86,31, y=76,00, z=242,53], EntityItem['item.item.egg'/175, l='MpServer', x=-81,66, y=72,13, z=243,78], EntityChicken['Chicken'/176, l='MpServer', x=-82,47, y=72,00, z=248,41], EntityBat['Bat'/177, l='MpServer', x=-91,93, y=52,10, z=263,07], EntityChicken['Chicken'/178, l='MpServer', x=-91,53, y=74,00, z=265,91], EntityChicken['Chicken'/179, l='MpServer', x=-97,38, y=76,00, z=261,47], EntityChicken['Chicken'/180, l='MpServer', x=-91,53, y=74,00, z=265,28], EntityItem['item.item.egg'/182, l='MpServer', x=-88,66, y=72,13, z=259,13], EntityPig['Pig'/183, l='MpServer', x=-92,50, y=76,00, z=299,50], EntityPig['Pig'/184, l='MpServer', x=-80,66, y=71,00, z=300,47], EntityPig['Pig'/185, l='MpServer', x=-92,19, y=71,00, z=304,56], EntityPig['Pig'/186, l='MpServer', x=-89,81, y=71,00, z=304,13], EntityPig['Pig'/187, l='MpServer', x=-88,63, y=94,00, z=314,97], EntityPig['Pig'/188, l='MpServer', x=-91,59, y=89,00, z=335,19], EntityPig['Pig'/189, l='MpServer', x=-88,50, y=72,00, z=336,50], EntityBat['Bat'/199, l='MpServer', x=-75,23, y=37,13, z=197,48], EntityBat['Bat'/200, l='MpServer', x=-66,42, y=40,29, z=208,89], EntityChicken['Chicken'/201, l='MpServer', x=-74,44, y=72,00, z=241,44], EntityItem['item.item.egg'/202, l='MpServer', x=-76,28, y=68,13, z=255,78], EntityItem['item.item.egg'/203, l='MpServer', x=-74,88, y=72,13, z=240,53], EntityChicken['Chicken'/204, l='MpServer', x=-65,47, y=77,00, z=332,53], EntityChicken['Chicken'/205, l='MpServer', x=-73,47, y=86,00, z=328,53], EntityChicken['Chicken'/226, l='MpServer', x=-59,50, y=72,00, z=238,50], EntityItem['item.item.seeds'/227, l='MpServer', x=-48,88, y=67,13, z=264,88], EntityChicken['Chicken'/229, l='MpServer', x=-56,72, y=72,00, z=336,47], EntityZombie['Zombie'/233, l='MpServer', x=-42,50, y=24,00, z=215,50], EntityItem['item.item.seeds'/234, l='MpServer', x=-46,78, y=67,13, z=255,91], EntityItem['item.item.seeds'/235, l='MpServer', x=-47,88, y=67,13, z=266,22], EntityChicken['Chicken'/236, l='MpServer', x=-45,59, y=81,00, z=327,22], EntityChicken['Chicken'/244, l='MpServer', x=-23,91, y=72,00, z=202,88], EntityChicken['Chicken'/245, l='MpServer', x=-26,41, y=71,00, z=198,66], EntityChicken['Chicken'/246, l='MpServer', x=-17,63, y=72,00, z=200,53], EntityChicken['Chicken'/247, l='MpServer', x=-22,56, y=72,00, z=196,38]]
Retry entities: 0 total; []
Server brand: fml,forge
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:919)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 917476224 bytes (874 MB) / 1547870208 bytes (1476 MB) up to 2040135680 bytes (1945 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn1G
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 96
FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.3.1408 25 mods loaded, 25 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.3.1408-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{10.13.3.1408} [Minecraft Forge] (forge-1.7.10-10.13.3.1408-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
appliedenergistics2-core{rv2-beta-31} [AppliedEnergistics2 Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
OpenComputers|Core{1.0.0} [OpenComputers (Core)] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
antiidconflict{1.1} [Anti Id Conflict] (AntiIdConflict-LATEST-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
appliedenergistics2{rv2-beta-31} [Applied Energistics 2] (appliedenergistics2-rv2-beta-31.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BiblioCraft{1.10.4} [biblioCraft] (BiblioCraft[v1.10.4][MC1.7.10].jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Core{6.4.14} [buildCraft] (buildcraft-6.4.14.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Transport{6.4.14} [bC Transport] (buildcraft-6.4.14.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Silicon{6.4.14} [bC Silicon] (buildcraft-6.4.14.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Builders{6.4.14} [bC Builders] (buildcraft-6.4.14.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Energy{6.4.14} [bC Energy] (buildcraft-6.4.14.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Factory{6.4.14} [bC Factory] (buildcraft-6.4.14.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CarpentersBlocks{3.3.6} [Carpenter's Blocks] (Carpenter's Blocks v3.3.6 - MC 1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ForgeMultipart{1.1.2.331} [Forge Multipart] (ForgeMultipart-1.7.10-1.1.2.331-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
chisel{2.3.10.37} [Chisel 2] (Chisel2-2.3.10.37.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
colourfullblocks{1.0} [Colourfull Blocks] (ColorfullBlocks-LATEST-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
EnderIO{1.7.10-2.2.8.367} [Ender IO] (EnderIO-1.7.10-2.2.8.367.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
McMultipart{1.1.2.331} [Minecraft Multipart Plugin] (ForgeMultipart-1.7.10-1.1.2.331-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
invisizones{1.0} [invisi Zones] (InvisiZones-LATEST-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
IronChest{6.0.62.742} [iron Chest] (ironchest-1.7.10-6.0.62.742-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
cfm{3.4.7} [§9MrCrayfish's Furniture Mod] (MrCrayfishFurnitureModv3.4.7(1.7.10).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
OpenComputers{1.5.8.17} [OpenComputers] (OpenComputers-MC1.7.10-1.5.8.17-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ForgeMicroblock{1.1.2.331} [Forge Microblocks] (ForgeMultipart-1.7.10-1.1.2.331-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.4.13084 Compatibility Profile Context 14.301.1001.0' Renderer: 'AMD Radeon HD 8570D'
AE2 Version: beta rv2-beta-31 for Forge 10.13.2.1291
AE2 Integration: IC2:OFF, RotaryCraft:OFF, RC:OFF, BC:ON, RF:ON, RFItem:ON, MFR:OFF, DSU:OFF, FZ:OFF, FMP:ON, RB:OFF, CLApi:OFF, Waila:OFF, InvTweaks:OFF, NEI:OFF, CraftGuide:OFF, Mekanism:OFF, ImmibisMicroblocks:OFF, BetterStorage:OFF
Launched Version: 1.7.10-Forge10.13.3.1408-1.7.10
LWJGL: 2.9.1
OpenGL: AMD Radeon HD 8570D GL version 4.4.13084 Compatibility Profile Context 14.301.1001.0, ATI Technologies Inc.
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: []
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)

 

CustomRendenderBlocks is my class extending RenderBlocks and overriding some (a lot, not all) methods for special fonctionality (another color, glint...). I modified only code that i had to, and left the rest unmodified (copied code from render blocks, adapted to class, modified parts that needed).

 

I can see and read FMLRenderAccessLibrary in eclipse and as i said, it works completely fine in eclipse, copiles succesfully, but crashes in obf environment...

 

(i don't think you need code? do you?)

 

EDIT: did some testing, crashes with same thing whenever i reference FMLRenderAccessLibrary  anywhere in any way...

 

Thanks for help!

If you have any questions - just ask!

Link to comment
Share on other sites

I'd guess you are using your mod on a server and thats the crash log of the server.

Are you using proxies? I guess you are not.

Make sure that render things are ONLY called on the client, because the server dont got the classes for render things (and its waste of processing time)

 

Show some code please. May be start with with CustomRenderBlocks.class

 

All I said are just ideas, since this part of minecraft modding is not my specialty

Link to comment
Share on other sites

I'd guess you are using your mod on a server and thats the crash log of the server.

Are you using proxies? I guess you are not.

Make sure that render things are ONLY called on the client, because the server dont got the classes for render things (and its waste of processing time)

 

Show some code please. May be start with with CustomRenderBlocks.class

 

All I said are just ideas, since this part of minecraft modding is not my specialty

Code is called only from gui, which is client only...

Proxy's are not needed there - see above...

Code that is on this line is 100% identical to one from RenderBlocks...

 

EDIT: plus, this class is forge class made by cpw, that for some reasons is in net/minecraft/src...

Link to comment
Share on other sites

Why are you referencing that class? :o

Because of:

CustomRendenderBlocks is my class extending RenderBlocks and overriding some (a lot, not all) methods for special fonctionality (another color, glint...). I modified only code that i had to, and left the rest unmodified (copied code from render blocks, adapted to class, modified parts that needed)...

 

In total: i extended RenderBlocks and modified code that i wanted to. I'm using this extended version for my block in gui rendering, because it has adapted code. In order to render modded blocks with another render type, RenderBlocks uses FMLRenderAccessLibrary, so i do. If you have other ideas how these blocks can be rendered, tell me!

Link to comment
Share on other sites

That is no reason to extend it.

Even if don't extend it, problem stays: i still need FMLRenderAccessLibrary, for rendering blocks in gui with new render type. Because i don't know on which block user "will click"...

Link to comment
Share on other sites

I still do not get why you use that class. It's a compatibility class from ages ago for Optifine and other base-edit mods...

It contains methods renderWorldBlock... wait they're redirecting to RenderingRegistry... I'm an idiot... (facepalm) :D

 

Conclusion: do not copy paste and edit code at night :D ...

 

Oh and also, if this class doesn't exist - why does it still exist???

Link to comment
Share on other sites

The "problem" with this class is that it is in the "net/minecraft/src" package. For historical reasons I think classes in that package get obfuscated to be in the default package (~ no package at all). So your references to that class get broken.

 

Is that the one that every time I run in dev I get a "package found in net.minecraft.src! This is bad and should be reported!" message? :P

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

I know why the message exists, but is it reporting itself, then?  I'm just amused that some part of FML is being detected and not ignored.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Ah, yes, that is true. But the class doesn't exist in 1.8 anymore, so it really doesn't matter.

 

Fair enough. :D I was just curious about it.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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