Jump to content

Mattasdqwe

Members
  • Posts

    6
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Mattasdqwe's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. No I can add recipes with the cofh api, what I want to do is extend a thermal expansion class like another addon mod does here: https://github.com/TheTemportalist/ThaumicExpansion/blob/master/src/com/temportalist/thaumicexpansion/common/tile/TEThaumicAnalyzer.java As you can see he imports thermal expansion things and extends a thermal expansion class (TileMachineBase) and I cannot figure out how to do this.
  2. Thanks for the response but I don't think thermal expansion has an api. There is the COFH api, however all other addon mods source code i've seen references thermal expansion classes themselves and I was wondering how this specifically could be achieved.
  3. If I asked KingLemming if i could deobfuscate and decompile the code for Thermal Expansion, what would I then need to do with the source code? (the mod I'm making will require Thermal Expansion)
  4. I am creating an addon mod for thermal expansion and I was wondering how to reference a parent mod's classes in 1.7.10. The forge tutorial doesn't work for me and I have seen others do it (https://github.com/TheTemportalist/ThaumicExpansion/blob/master/src/com/temportalist/thaumicexpansion/common/block/BlockThaumicAnalyzer.java). Any help would be greatly appreciated.
  5. Sorry if this is out of place but is there any way to fix it or accomplish the same thing?
  6. The title pretty much says it all I am trying to change a spawner and while it does spawn the right entities after the change, the spinning display entity doesn't change unless it is hit with a sword in creative, or I relog. here is the code: String mobName = contents.stackTagCompound.getString("MobName"); TileEntity TEAbove = worldObj.getTileEntity(this.xCoord, this.yCoord + 1, this.zCoord); if(TEAbove instanceof TileEntityMobSpawner) { TileEntityMobSpawner TEspawner = (TileEntityMobSpawner)TEAbove; if(TEspawner.func_145881_a().getEntityNameToSpawn() != mobName) { TEspawner.func_145881_a().setEntityName(mobName); } }
×
×
  • Create New...

Important Information

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