Jump to content

hydroflame

Members
  • Posts

    1511
  • Joined

  • Last visited

Everything posted by hydroflame

  1. please consult javadoc before asking anything RenderLivingEvent is the event you want to use good luck have fun
  2. the source of the player movement speed seems to originate from EntityLiving.getSpeedModifier() and there doesnt seem to be any way to change this without vanilla change. This would make a good PR.
  3. Hey guys, If you play on a server long enough you end up having a billion tunnels underground and minning all the ore out of your main area (the problem is a million time worst in big multiplayer server). So i was thinking, would there be a way to regenerate the underground ? like everything under 30 would pass another generate step every month or so (probably with another RNG so that ores are not EXACTLY in the same spot every time). btw im not expecting you guys to do the mod. I'm pretty sure i can handle this, except that world gen/chunks are the only thing i did not touch in forge (yet). so what do you guys think ? were would you start searching? does anybody have a mod i could take example from ? something like the hard mode world gen in terraria? (if you know what im talking about) Which class should I look into? Thanks ^^
  4. bug because its confusing, you expect it to be called on every right-click-air but its not but you're probably right
  5. if you print every event that have an action of type RIGHT_CLICK_AIR it will not be launched if you right click air without an item in your hands... even though it would technicly count as "interraction" can we have a different event posted when the player right-clicks even without item ?
  6. GL11.glScale(scaleX, scaleY, scaleZ);
  7. All of the stuff you see in eclipse is output to the file when used in the normal game, yes. ah this is sweet, never had to acutally use the logs as i dont release before im as close as bug free as i can get, but its good to know
  8. heu, ok i dont know but this is kind of information outputed through the logs when you're using a released version of a mod? (im 99% certain yes but i want to make sure)
  9. i have to admit that returning the instance is pretty cool for spamming function call in 1 line
  10. which takes as much time as having 2 server... one vanilla, 1 modded and logging out/in
  11. Draco are you a wizard ? dur dur hur hur
  12. well i can think of 2 way, 1 (the easiest) get the src and comment out the biomes you dont want 2 find a way to make your mod load AFTER the other one and remove all the biomes you dont want
  13. you want your custom biomes to NOT generate ... just dont put the mod in minecraft maaaaaagic
  14. honestly just look at the wiki, its pretty straightdoward. public class MainMod{ @SidedProxy(clientSide = "com.hydroflame.mod.ForgeRevClientProxy", serverSide = "com.hydroflame.mod.ForgeRevCommonProxy") public static CommonProxy proxy; //bunch of function ///...... //... //... } make a class CommonProxy and one ClientProxy that extends the CommonProxy one then make a function called registerRenderers() in both and but the rendering code in the client one
  15. just for fun, try ItemStack iss = (ItemStack)FurnaceRecipes.smelting().getSmeltingList().get(par3); its basicly what vanilla is doing. also safecheck non-null of "iss"
  16. MinecraftForgeClient.registerItemRenderer(powered_melter_idle.blockID, new TileEntityPoweredMelterInvRender()); thsi should be in a client proxy, not in a base mod class 2 eclipse isnt some kind of magical god, it will only show compilation errors, not runtime errors
  17. definitely ^ you probably should rotate before you translate doing translation before implies that you want to rotate according to the origin if you dont give a shit about why, or if i wasn't clear enough, jsut switch glRotate and glTranslate order
  18. im serious btw, this might be a huge problem
  19. actually i think i know where is your problem, add buttonList = new ArrayList(); to the first line of "initGui()" thsi will clear the previous button and elements you inserted in the list ( by using buttonList.add(button) )
  20. by a "paged" gui , do you mean like theres transition. click on 1 button and everything change ?
  21. i can say for sure that the egg thignies and entity registering should be server side as both the client and the server must know that a new mob is in the game as to why its only "Spawn" and it renders as a biped... this is beyond my knowledge. i guess you'll have to debug it or wait 'til someone else give you an answer
  22. sorry we do get some pretty stupid question sometimes at cpw.mods.fml.common.registry.GameRegistry.registerBlock([b]GameRegistry.java:232[/b]) can you check at line 232 of GameRegistry to see what reference is null like if(ref == null){ System.out.println("ref is null"); }
  23. which heu ...... which class has the code for onBlockDestroyed?
  24. is "blockLazurite initialined ? (somethign like blockLazurite = new BlockLazurite(arguments); )
  25. which openJKD ? i know for a fact that my server runs on openJDK 7 but im not sure if you can compile it on it
×
×
  • Create New...

Important Information

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