Everything posted by tuskiomi
-
getting a mob to naturally spawn in a biome?
yes i facepalmed myself because i posted this without looking first, going to read up!!!
-
adding an item to a generated chest? [halted]
hello all! how would one go about adding an item to a chest without using forge's hooks? and if there is no possible way, then how would i add only ONE item at a time?
-
getting a mob to naturally spawn in a biome?
nobody?
-
GUI being stretched in a weird way
maybe check the dimensions of the image? that has gotten me more than enough times
-
new biomes + dimensions
http://wuppy29.blogspot.com/
-
getting a mob to naturally spawn in a biome?
Hello all, i know this is probobly a question but i saw that which mobs can spawn naturally in a given 'biome' is stated in the biome file, what method would i use to tell forge/minecraft that i want mob X to spawn in biome Y?
-
[Unsolved] Biome Specific Ore Generation?
geez man i was just trying to help
-
[Unsolved] Biome Specific Ore Generation?
you're right, last post was uncalled for. but im half in half with my code, i have yet to learn how the ore generation methods work, much less what the xcoord and ycoord are for.
-
[Unsolved] Biome Specific Ore Generation?
lmao! he speculates that my code is wrong and then tells everyone to stop!
-
Make Sand Drop Custom Item?
i was thinking overriding the world generation of sand. or maybe you could have an onContactWith event with sand, when it contacts the player it destroyes itself and places a new item on gorund?
-
[SOLVED]sprite problem
oooooooooooh thanks much! i had mine in a 16x32 PNG. ugh. testing now! edit: works!!!!! i cant beleive i had to make a square. well then ONWARDS my nooby mod!
-
[Unsolved] Biome Specific Ore Generation?
i have no background code here, but i have edited it a small bit also, dig round in the file for the clay block, i bet that will welp you a bit. int x = 0; int z = 0;//outside the for loop for(int i = 0; i < 4; i++){ int xCoord = chunkX + random.nextInt(16); int yCoord = random.nextInt(64); int zCoord = chunkZ + random.nextInt(16); if(world.getBiomeGenForCoords(x, z) = BiomeGenBase.ocean){ // NO ! mark (new WorldGenMinable(gemcraft.Clam.blockID, 4)).generate(world, random, xCoord, yCoord, zCoord); } else { z = z + 16; //16 because a chunk is 16x16 x = x + 16; } }
-
[SOLVED]sprite problem
here is the sample of my basic block public class Blockrainbowwool extends Block { public Blockrainbowwool(int ID){ super(ID,Material.rock); //<-is this a problem? setTextureFile("/tuskiomi/modsheet.png"); //The texture file used setBlockName("mithril"); setHardness(3.0F); setResistance(5.0F); setCreativeTab(CreativeTabs.tabBlock); } public int getBlockTextureFromSide(int par1) { return 0;//same texture for all sides } also i am still having trouble with spritesheets, do i have to edit where the devidiant between the different blocks are? i created the sheet in MS paint but then finished it in paint.net, is that okay? and can i store all items and blocks on one sheet?
-
Make Sand Drop Custom Item?
you *could* replace all sand generated with a dummy sand block that you have created and have that drop your custom item/block.
-
[SOLVED]sprite problem
update: made a noob mistake and fixed that (i forgot the / in the file path) still my texture continues to haunt me as it has yet another error: http://s1176.beta.photobucket.com/user/tuskiomi/media/blockerror2_zps7801f73b.png.html the ore is supposed to look like http://s1176.beta.photobucket.com/user/tuskiomi/media/mithril_zps4c5bb4f8.png.html?sort=3&o=2
-
[SOLVED]sprite problem
i use paint .net and for my mod im using an individual file. when i open my mod in eclipse i get this: http://s1176.beta.photobucket.com/user/tuskiomi/media/blockerror_zps18a9792a.png.html
-
[SOLVED]sprite problem
hello all, and thanks for reading my second post. i have been forge coding for a week now and i am having trouble with PNGs and graphics. basically its the way the png is formatted, i cannot get the "grid" onto the png much less load the code if someone could tell me how to so this it would mean alot. download: http://i1176.photobucket.com/albums/x331/tuskiomi/mithril_zps4c5bb4f8.png
-
if you have time to help a noob, that'd be great.
i have niglected to notice that all help topics have been moved. you may close this thread
-
if you have time to help a noob, that'd be great.
hello all, and thanks for reading my first post. i have been forge coding for a week now and i am having trouble with PNGs and graphics. basically its the way the png is formatted, i cannot get the "grid" onto the png much less load the code if someone could tell me how to so this it would mean alot. here is my texture: download: http://i1176.photobucket.com/albums/x331/tuskiomi/mithril_zps4c5bb4f8.png
IPS spam blocked by CleanTalk.