Everything posted by Looke81
- 
	
		
		[1.7.2] Animating a texture of a custom renderd block
		
		So does anyone have experience of using an animated texture for a custom model?... i have no idea what i am doing
 - 
	
		
		[1.7.2] Animating a texture of a custom renderd block
		
		woops well i knew that ive just misspelt it in the post
 - 
	
		
		[1.7.2] Animating a texture of a custom renderd block
		
		hey i have a custom rendered block that i want to animate the texture of but if i use the normal 16 x how many frames and use a mcmetta file it just used the whole texture do i need to change what it says in the .mcmetta file? mine is: { "animation": {} }
 - 
	
		
		A block that spreads over every block but air?
		
		If anyone can help with this that would be awesome?!
 - 
	
		
		A block that spreads over every block but air?
		
		whoever keeps deleting my reply i'm not bumping this for no reason my problem has not been solved i want the block to spread over the top of adjacent blocks and all of the people trying to help reply's don't work
 - 
	
		
		A block that spreads over every block but air?
		
		bump
 - 
	
		
		A block that spreads over every block but air?
		
		anyone else or is this impossible?
 - 
	
		
		A block that spreads over every block but air?
		
		no i want it to spread on top of adjacent blocks not to be abble to grow ontop of itself
 - 
	
		
		A block that spreads over every block but air?
		
		anyone?
 - 
	
		
		A block that spreads over every block but air?
		
		anyone else think they might have a solution?
 - 
	
		
		A block that spreads over every block but air?
		
		I dont think you understand i want it to spread over the top of blocks next to it if i remove the +1 it will just delete that block and replace it with itself
 - 
	
		
		A block that spreads over every block but air?
		
		now this is just spreading up public void updateTick(World world, int x, int y, int z, Random random) { if (!world.isRemote) if (world.getBlockLightValue(x, y + 1, z) >= 9) { for (int l = 0; l < 45000; ++l) { int i1 = x + random.nextInt(3) - 1; int j1=y; int k1 = z + random.nextInt(3) - 1; Block block = world.getBlock(i1, j1 + 1, k1); if (world.getBlock(i1, j1, k1) != Blocks.air){ world.setBlock(i1, j1 + 1, k1, this); } } } }
 - 
	
		
		A block that spreads over every block but air?
		
		i dont know if i have done the right thing but this dosen't work. public void updateTick(World world, int x, int y, int z, Random random) { if (!world.isRemote) if (world.getBlockLightValue(x, y + 1, z) >= 9) { for (int l = 0; l < 45000; ++l) { int i1 = x + random.nextInt(3) - 1; int j1 = y + random.nextInt(3) - 1; int k1 = z + random.nextInt(3) - 1; Block block = world.getBlock(i1, j1 + 1, k1); if (world.getBlock(i1, j1, k1) != Blocks.air){ world.setBlock(x, j1 + 1, z, this); } } } }
 - 
	
		
		A block that spreads over every block but air?
		
		"if you want that your block spreads only upwards you have to remove the -1 from the new y(j1) coordinate and change the 3 to a 2" No i want it so that it dosen't spread upwards
 - 
	
		
		A block that spreads over every block but air?
		
		I wont have it spreading that fast but i want it to spread quickly for testing thats all
 - 
	
		
		A block that spreads over every block but air?
		
		wait i dont understand what do i need to change to 0?
 - 
	
		
		A block that spreads over every block but air?
		
		ive done this and its fixed the problem but now it is spreading down if (world.getBlock(i1, j1, k1) ==block && (world.getBlock(i1, j1, k1) != Blocks.air)){ world.setBlock(i1, j1 + 1, k1, this); }
 - 
	
		
		A block that spreads over every block but air?
		
		no this hasn't worked its still doing the same thing
 - 
	
		
		A block that spreads over every block but air?
		
		better? public void updateTick(World world, int x, int y, int z, Random random) { if (!world.isRemote) if (world.getBlockLightValue(x, y + 1, z) >= 9) { for (int l = 0; l < 45000; ++l) { int i1 = x + random.nextInt(3) - 1; int j1 = y + random.nextInt(5) - 3; int k1 = z + random.nextInt(3) - 1; Block block = world.getBlock(i1, j1 + 1, k1); if (world.getBlock(i1, j1, k1) == block && world.getBlockMetadata(i1, j1, k1) == 0 && world.getBlockLightValue(i1, j1 + 1, k1) >= 4 && world.getBlockLightOpacity(i1, j1 + 1, k1) <= 2) world.setBlock(i1, j1 + 1, k1, this); } } }
 - 
	
		
		A block that spreads over every block but air?
		
		ok thats not very usefull but il be honest i did take some of it from the mycelium class so yea the names arnt very easy to understand
 - 
	
		
		A block that spreads over every block but air?
		
		Hi everyone i have made a block that can spread over the top of grass next to it and i tried to do this with all blocks by using block not Blocks.grass but of course this uses air so it spreads in the air i only want it to spread over the surface is there anyway i can make it spread over every block but air? update tick public void updateTick(World p_149674_1_, int p_149674_2_, int p_149674_3_, int p_149674_4_, Random p_149674_5_) { if (!p_149674_1_.isRemote) if (p_149674_1_.getBlockLightValue(p_149674_2_, p_149674_3_ + 1, p_149674_4_) >= 9) { for (int l = 0; l < 45000; ++l) { int i1 = p_149674_2_ + p_149674_5_.nextInt(3) - 1; int j1 = p_149674_3_ + p_149674_5_.nextInt(5) - 3; int k1 = p_149674_4_ + p_149674_5_.nextInt(3) - 1; Block block = p_149674_1_.getBlock(i1, j1 + 1, k1); if (p_149674_1_.getBlock(i1, j1, k1) == block && p_149674_1_.getBlockMetadata(i1, j1, k1) == 0 && p_149674_1_.getBlockLightValue(i1, j1 + 1, k1) >= 4 && p_149674_1_.getBlockLightOpacity(i1, j1 + 1, k1) <= 2) p_149674_1_.setBlock(i1, j1 + 1, k1, this); } } }
 - 
	
		
		[1.7.2]Creating an item that opens a gui
		
		lol it works for me this tutorial:https://www.youtube.com/watch?v=4VzP6AohgXQ
 - 
	
		
		[1.7.2]Creating an item that opens a gui
		
		thnx becuse all the item tutorials i have found put all the code for the item in the main mod file.
 - 
	
		
		[1.7.2]Creating an item that opens a gui
		
		I applaud for the cool link but seriously i wanted to know how you make a class for an item instead of doing what i was doing (which works)
 - 
	
		
		[1.7.2]Creating an item that opens a gui
		
		can you elaborate a bit more on how i would do that or if you could link a tutorial that would be awesome!
 
IPS spam blocked by CleanTalk.