SpeakersMind
Members-
Posts
6 -
Joined
-
Last visited
Everything posted by SpeakersMind
-
MODDING HELP (GENERATING METADATA BLOCKS)
SpeakersMind replied to sidthesloth123's topic in Modder Support
You are doing metadata correct, but wrap the generation code in a for loop and loop it like 50 times and than it should spawn more, because as far as i can see, your code only spawns one group of ores in each chunk try this one, lower the 50 in the for loop too your needs public void generateSurface(World world, Random rand, int chunkX, int chunkZ) { int randPosX, randPosY, randPosZ, randSize; for(int i = 0; i < 50; i++){ randPosX = (chunkX * 16) + rand.nextInt(16); randPosY = rand.nextInt(64); randPosZ = (chunkZ * 16) + rand.nextInt(16); randSize = rand.nextInt(12); //the 18 is ment to be the blockOremeta.blockID, metadata (new WorldGenMinable(es_main_blocks.blockOremeta.blockID, 18, 50)).generate(world, rand, randPosX, randPosY, randPosZ); } } -
Add an info tab to a GUI (like what RailCraft does)
SpeakersMind replied to absorr's topic in Modder Support
I think buildcraft has it now, find buildcraft under SirSengir on github and take a look -
MODDING HELP (GENERATING METADATA BLOCKS)
SpeakersMind replied to sidthesloth123's topic in Modder Support
I think there is nothing wrong with this code.. but here is the generation part of mine [embed=425,349](new WorldGenMinable(ItemAndBlockHandler.BlockResources.blockID, 0, ).generate(w, rand, x, y, z);[/embed] but i originally derp'd on Registering the World Generator, have you done that ? -
New TextureFX & Moving Renderers
SpeakersMind replied to GiannivanMarion's topic in General Discussion
I am looking into it right now, working on making a water turbine that ofc. rotates -
Confused about the combined single/smp code
SpeakersMind replied to happyPenguin's topic in General Discussion
This is very simple, where you register your TESR, do it in the ClientProxy, like so: ClientRegistry.registerTileEntity(TileEntityCable.class, "Cable", new TileEntitySpecialCableRenderer()); and in the server proxy, just do GameRegistry.registerTileEntity(TileEntityCable.class, "Cable"); hope it helps