-
onNeighborBlockChange -> activate block
Look up the Blockpiston class, it uses the same thing.
-
[SOLVED]HD textures
What about armor textures? How do I make a rendering texture?
-
[SOLVED]HD textures
Thanks. I didn't realize that it was that simple.
-
[SOLVED]HD textures
I understand that everything in Minecraft is in 16x16 px textures per block but I saw in some mods textures that are not 16x16 but more than that almost like they were HD maybe not 720px but more pixels than 16. My question is: Is it possible and if yes how? Don't explain it to me in code but explain in general how is it possible please.
-
[SOLVED]Ore not generating and not accepting texture
Would this workout? private void generateSurface(World world, Random rand, int chunkX, int chunkZ) { int firstBlockXCoord = chunkX + rand.nextInt(16); int firstBlockYCoord = rand.nextInt(32); int firstBlockZCoord = chunkZ + rand.nextInt(16); if (world.getBiomeGenForCoords(firstBlockXCoord, firstBlockZCoord) == BiomeGenBase.ocean){ for(int k = 0; k < 10; k++){ firstBlockXCoord = chunkX + rand.nextInt(16); firstBlockYCoord = rand.nextInt(32); firstBlockZCoord = chunkZ + rand.nextInt(16); (new WorldGenMinable(Base.RedOre.blockID, 15)).generate(world, rand, firstBlockXCoord, firstBlockYCoord, firstBlockZCoord); System.out.println("spawned"); } } } The ocean is huge so I don't know how much time would it take to find it.
-
I need some help with item id's
Put the ids as you like there are really no limits to it(actually there are but those are huge numbers) but when making config file make sure you put it in so people can change it
-
I need some help with item id's
I just noticed: you defined the block and the item inside public void load. try defining it outside of it like this: public static Item Redpick = new ItemRedpick(2000, toolRed).setUnlocalizedName("Redpick"); public static Block RedOre = new RedOre(2009, Material.rock).setUnlocalizedName("RedOre");
-
I need some help with item id's
I have tried changing the itemID like you suggested, however it just generated another random number. Do you have the class of the item? If you do put it up please.
-
I need some help with item id's
That would be a block ID, not an item ID. I have block id of 2009 and an item id of 2008 I really don't understand the difference. Anyway try putting a lower id for it jibbity
-
I need some help with item id's
Why don't you just put id 2621?
-
[SOLVED]Ore not generating and not accepting texture
OK so it is spawning and accepting texture now only 1 more thing. I set up this code so it would generate in the ocean but I didn't found it anywhere. It didn't generate. Why? System.out.println is only for validating it spawned it prints it but I can't find it. private void generateSurface(World world, Random rand, int chunkX, int chunkZ) { if (world.getBiomeGenForCoords(chunkX, chunkZ) == BiomeGenBase.ocean){ for(int k = 0; k < 10; k++){ int firstBlockXCoord = chunkX + rand.nextInt(16); int firstBlockYCoord = rand.nextInt(32); int firstBlockZCoord = chunkZ + rand.nextInt(16); (new WorldGenMinable(Base.RedOre.blockID, 15)).generate(world, rand, firstBlockXCoord, firstBlockYCoord, firstBlockZCoord); System.out.println("spawned"); } } }
-
[SOLVED]Ore not generating and not accepting texture
I have a problem with my ore being generated and it doesn't accept the texture code. First it was only the texture but I thought I will deal with it later. Then when I added water generation (like the clay generation code) it wouldn't generate. Main class: Ore class Ore generation class
-
Armor definition explanation [SOLVED]
Ok. Thanks.
-
Armor definition explanation [SOLVED]
Can I add more numbers or how do I do it then?
-
Armor definition explanation [SOLVED]
But then what if I want to make new kind of armor how do I define it then, or do I just do it the old way?
IPS spam blocked by CleanTalk.