
BuddingDev
Members-
Posts
237 -
Joined
-
Last visited
Everything posted by BuddingDev
-
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.
-
I can find those examples. Thanks! And by the way, what would you guys categorise particles? Is it an entity, or anything else?
-
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?
-
Is there really a method not using GL11 or tesselator?
-
I need help on how to tell Forge to look at my image sources for my particles.
-
Also, how to force aparticle to be spawned whatever the situation?
-
And, by the way, how do I register custom particles? Or simply put, how to make one?
-
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()?
-
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.
-
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); }
-
world.spawnParticle("happyVillager", xCoord, yCoord+1, zCoord, 0, 0, 0); it seems that my particle is not seen. (I allowed particles when debugging)
-
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?
-
Like ("folder/subfolder/thatname"); ? So it is pointed to textures/blocks/folder/subfolder/thatname.png?
-
So, do I use Block#setBlockTextureName()? Or any method that I possibly dont know?
-
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
BuddingDev replied to BuddingDev's topic in Modder Support
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
BuddingDev replied to BuddingDev's topic in Modder Support
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
BuddingDev replied to BuddingDev's topic in Modder Support
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
BuddingDev replied to BuddingDev's topic in Modder Support
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
BuddingDev replied to BuddingDev's topic in Modder Support
NetworkManager net, S35PacketUpdateTileEntity pkt I need help to understand these two arguments -
[1.7.10][SOLVED Finally]Tile Entity Questions
BuddingDev replied to BuddingDev's topic in Modder Support
Any Idea how to do it simply? -
[1.7.10][SOLVED Finally]Tile Entity Questions
BuddingDev replied to BuddingDev's topic in Modder Support
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
BuddingDev replied to BuddingDev's topic in Modder Support
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
BuddingDev replied to BuddingDev's topic in Modder Support
Anyone? -
[1.7.10][SOLVED Finally]Tile Entity Questions
BuddingDev replied to BuddingDev's topic in Modder Support
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.