Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

tuskiomi

Forge Modder
  • Joined

  • Last visited

Everything posted by tuskiomi

  1. yes i facepalmed myself because i posted this without looking first, going to read up!!!
  2. 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?
  3. maybe check the dimensions of the image? that has gotten me more than enough times
  4. http://wuppy29.blogspot.com/
  5. 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?
  6. geez man i was just trying to help
  7. 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.
  8. lmao! he speculates that my code is wrong and then tells everyone to stop!
  9. 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?
  10. 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!
  11. 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; } }
  12. 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?
  13. you *could* replace all sand generated with a dummy sand block that you have created and have that drop your custom item/block.
  14. 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
  15. 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
  16. 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
  17. i have niglected to notice that all help topics have been moved. you may close this thread
  18. 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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.