Jump to content

MrMasochism

Members
  • Posts

    29
  • Joined

  • Last visited

Posts posted by MrMasochism

  1. To further this.  We are currently about to release our 1.7 version and are going to have to break compatibility with the biome tag system which we are loathe to do but it doesn't have enough flexibility as it currently sits.  Even with the 1.6 system, a 2-tag identifying structure wasn't enough to be able to distiinguish between taiga and taiga hills so I'd love it if forge moved to a 3 tag system and applied it to the 1.7 biome list.  Would this be possible?

  2. I do this with pixelmon.  Here's some code from my render class for my tileEntity which has an item rendered spinning inside it:

    				GL11.glRotatef(-1*tile.timer/1.5f * 57.296f, 0.0F, 1.0F, 0.0F);
    			((RenderItem) RenderManager.instance.getEntityClassRenderObject(EntityItem.class)).doRenderItem(uncoveredEntity, 0, 1.8, 0, tile.timer / 1.5f, 0);
    			GL11.glRotatef(tile.timer/1.5f * 57.296f, 0.0F, 1.0F, 0.0F);

  3. The obj model loader has issues with some versions of obj files.  However the report there does tell you exactly what the issue is.  If you change that erroring line (line 4) from

    o ShapeIndexedFaceSet.652_ShapeIndexedFaceSet.653', line 4

    to

    o shape652

    it will compile past that line.  There may be a few more errors to fix up in a similar way later on in the file though

  4. I'm also interested in this but I'm not sure whereabouts the hook should point to.  There are heaps of ways of going about it but I'm not sure what is best.  Any ideas?  I'm happy to do the coding for it when that is decided

  5. Turns out that for some people, putting the library inside our mod's zip isn't working, they aren't a majority but it's happening.  However, putting the external library anywhere else is still not working.  Minecraft isn't picking it up and the game is crashing.

     

    I have a class check on load which looks to see if the classes from that library are available.  In 1.2.5 this would work every time if the library was in the mods directory alongside the mod but now in 1.3.2 no matter where I put it it doesn't get linked in.  I have tried every conceivable location.  The mod just spits out the error on the class check that it couldn't find the library

  6. Hi,

     

    Been converting pixelmon over to 1.3.2 with forge 4.0.0 and am having trouble getting it to link to an external library that we use.  In previous versions of forge i was able to just stick the jar for this library in the mods folder with my mod and it would be loaded but it doesn't seem to matter where i put it with this current version, it can't find it.  I had it in my lib folder in mcp when i compiled and putting it in the lib folder in .minecraft doesn't work.  Any ideas?

     

    MrMasochism

  7. Alright, so i found that maxNumberOfCreature was reobfuscated to field_21108_e but when i switched the call over to that field it still came up saying that the field could not be found:

    try {
    		ModLoader.setPrivateValue(EnumCreatureType.class, EnumCreatureType.monster, "field_21108_e", 80);
    		ModLoader.setPrivateValue(EnumCreatureType.class, EnumCreatureType.creature, "field_21108_e", 80);
    		ModLoader.setPrivateValue(EnumCreatureType.class, EnumCreatureType.waterCreature, "field_21108_e", 100);
    	} catch (Throwable e) {
    		System.err.println(e);
    }

     

    [sEVERE] Unexpected exception

    java.lang.RuntimeException: java.lang.NoSuchFieldException: field_21108_e

    at cpw.mods.fml.common.ReflectionHelper.setPrivateValue(ReflectionHelper.java:93)

    at ModLoader.setPrivateValue(ModLoader.java:731)

    at pixelmon.PixelmonSpawner.init(PixelmonSpawner.java:17)

    at mod_Pixelmon.addSpawns(mod_Pixelmon.java:271)

    at mod_Pixelmon.load(mod_Pixelmon.java:214)

    at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:351)

    at cpw.mods.fml.common.Loader.modInit(Loader.java:263)

    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:604)

    at cpw.mods.fml.server.FMLServerHandler.onLoadComplete(FMLServerHandler.java:147)

    at net.minecraft.server.MinecraftServer.s(MinecraftServer.java:204)

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:412)

    at dn.run(SourceFile:492)

    Caused by: java.lang.NoSuchFieldException: field_21108_e

    at java.lang.Class.getDeclaredField(Unknown Source)

    at cpw.mods

     

×
×
  • Create New...

Important Information

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