Everything posted by BuddingDev
- 
	
		
		[1.7.10]Checking meta for Block
		
		I can check a block's meta at the World class. Then is there any method that can be used at the block when meta is changed? I dont seem to find one.
 - 
	
		
		[1.7.10]Particle help
		
		I can find those examples. Thanks! And by the way, what would you guys categorise particles? Is it an entity, or anything else?
 - 
	
		
		[1.7.10]Particle help
		
		So should particles spawned on server or client? People say it should appear in server because Particles are Entities. People say it should appear in client because Particles are "cosmetic", not a great deal in the game. Which one is correct?
 - 
	
		
		[1.7.10]Spawning Particles
		
		Is there really a method not using GL11 or tesselator?
 - 
	
		
		[1.7.10]Spawning Particles
		
		I need help on how to tell Forge to look at my image sources for my particles.
 - 
	
		
		[1.7.10]Spawning Particles
		
		Also, how to force aparticle to be spawned whatever the situation?
 - 
	
		
		[1.7.10]Spawning Particles
		
		And, by the way, how do I register custom particles? Or simply put, how to make one?
 - 
	
		
		[1.7.10]Spawning Particles
		
		Found out that I noobedly call that function on server side... Need to deal with that for a bit... But can anyone explain that "velocity" part? The last 3 argument ofWorld#spawnParticle()?
 - 
	
		
		[1.7.10]Spawning Particles
		
		In the meantime, what does the code do? I mean, it spawns a particle at x, y, z, with speed...? I need help on that speed.
 - 
	
		
		[1.7.10]Spawning Particles
		
		I planned something like this in my TE: double x = entity.posX; double y = entity.posY; double z = entity.posZ; if (world.isRemote) { world.spawnParticle("happyVillager", xCoord, yCoord+1, zCoord, 0, 0, 0); world.spawnParticle("happyVillager", x, y, z, 0, 0, 0); }
 - 
	
		
		[1.7.10]Spawning Particles
		
		world.spawnParticle("happyVillager", xCoord, yCoord+1, zCoord, 0, 0, 0); it seems that my particle is not seen. (I allowed particles when debugging)
 - 
	
		
		[1.7.10]Sounds?
		
		I am starting to think of including sounds in my mod. Which class should I use to play sound? Or,is there a "manager" thingee that is required to play sounds?
 - 
	
		
		[1.7.10]Further Nesting?
		
		Like ("folder/subfolder/thatname"); ? So it is pointed to textures/blocks/folder/subfolder/thatname.png?
 - 
	
		
		[1.7.10]Further Nesting?
		
		So, do I use Block#setBlockTextureName()? Or any method that I possibly dont know?
 - 
	
		
		[1.7.10]Further Nesting?
		
		I am now facing another problem: I have planned so many textures and block states that depends on the TileEntity data values. I realise by placing all of those texture in the block folder, it can cause a great mess. So, my question is, is it possible to tell the game to search texture further nested in "textures/blocks/anotherSetOfBlock"? So I can organise them better?
 - 
	
		
		[1.7.10][SOLVED Finally]Tile Entity Questions
		
		Yup. I bet the problem is solved thoroughly, I will take this as a template to build other TileEntities.
 - 
	
		
		[1.7.10][SOLVED Finally]Tile Entity Questions
		
		So,I guess the following meaningless function brings back that nbt and ends this topic right? ThatPacket#func_148857_g();
 - 
	
		
		[1.7.10][SOLVED Finally]Tile Entity Questions
		
		It seems that that 'data' parameter can be anything? So, in onDataPacket i will be catching back that nbt again... What about that "NetworkManager net"? Anything related to IMessage? Do I need to check if getDescriptionPacket() is executed in server?
 - 
	
		
		[1.7.10][SOLVED Finally]Tile Entity Questions
		
		NBTTagCompound tag = new NBTTagCompound(); tag.setInteger("datum", this.datum); tag.setInteger("currentCooldown", this.currentCountdown); tag.setInteger("maxCountdown", this.maxCountdown); Alright. I have the code. And then? How to return a Packet in getDescriptionPacket?
 - 
	
		
		[1.7.10][SOLVED Finally]Tile Entity Questions
		
		NetworkManager net, S35PacketUpdateTileEntity pkt I need help to understand these two arguments
 - 
	
		
		[1.7.10][SOLVED Finally]Tile Entity Questions
		
		Any Idea how to do it simply?
 - 
	
		
		[1.7.10][SOLVED Finally]Tile Entity Questions
		
		Looks complicated.... Ah, can I call a method from the client TE to the Server TE through World class?
 - 
	
		
		[1.7.10][SOLVED Finally]Tile Entity Questions
		
		Weird, man, server said I have more datum points, but client responded with less. http://pastebin.com/29nVSykc Do I need any kind of syncing?
 - 
	
		
		[1.7.10][SOLVED Finally]Tile Entity Questions
		
		Anyone?
 - 
	
		
		[1.7.10][SOLVED Finally]Tile Entity Questions
		
		Like, everything is reset when I rejoin world. "Datum" points get back to 0 instead of the value of the last load. EDIT: Now I got some debug outputs. It seems that NBT are read correctly, but somehow it is not properly processed in / into the TileENtity.
 
IPS spam blocked by CleanTalk.