Talk:Entity

How does this work?
If blocks are stored in an array, how are entities stored? How does an entity move between blocks?

Sand/Gravel Entity
Under the information about the sand and gravel entities, is this still valid? Every time i try this, the sand just drops into a resource block.

"If there is a boat or minecart in the way of falling sand, it will place itself as a block above the vehicle, but then immediately fall down again, producing a 'hopping' effect. This can be used in the construction of a sand cannon."

--Zkyo 13:18, 30 March 2011 (UTC)

Tested and Confirmed. I'm going to remove that part now. WhispersOfALostGirl 20:03, 8 June 2011 (UTC)

Nevermind, I didn't realize somebody's already added the "fixed" comment in parenthesis. WhispersOfALostGirl 20:04, 8 June 2011 (UTC)

Feeding Wolves
I was just reading the page and it said something to the effect that feeding wolves would stop the action of eating yourself. I decided to test this. I used the More Stackables mod (www.minecraftforum.net/viewtopic.php?t=80246) and the Too Many items mod to give myself 2 raw porkchop.

Then I tamed a wolf, hit it to cause damage and lit myself on fire to hurt myself. Then I used the stack of two porkchop on the wolf, it healed the wolf and healed myself, using both porkchop in the process. I tested this a couple times, and I'm pretty sure that what happens in the vanilla is that when you use a single raw porkchop on the wolf, the right click action of feeding the wolf takes precedence over the normal right click action of the porkchops, (eating it yourself.) Which means that when the game tries to make the player eat the porkchop, there is no porkchop left in the slot and it cancels it.

I hope I've made sense and please feel free to check my research and submit corrections.

WhispersOfALostGirl 19:57, 8 June 2011 (UTC)

Porkchops aren't meant to be stackable, If they ever get officially stackable (example: hunger/thirst mode), mojang will probably fix the bug ;) C ali nou - talk × contribs » 20:26, 8 June 2011 (UTC)

Is this bug gone now that it is now officially stackable?


 * Should be, it takes just one click to feed the wolf, but to actually eat the food, you need to hold it down. --HexZyle 02:19, 20 October 2011 (UTC)

Armour as an Entity?
Isn't armour an entity? It is a thing in the Minecraft world that isn't a block or another object that fits into the cubical grid. It can move around freely (as long as it is attatched to a player) --HexZyle 14:16, 23 September 2011 (UTC)
 * Also particles, such as TNT explosions, smoke, block breaking pieces, block cracking texture (unless that's a block), and ceiling droplets. --HexZyle 02:31, 26 September 2011 (UTC)
 * Armour is an object: item data values from 298 to 317. Particles, smoke, … are just graphics effects, they do not have distinctive id or any effect in the game. – Scaler (t) 06:57, 26 September 2011 (UTC)
 * When Armour is in the inventory, it is an item. However, once it is equipped to a player and viewed in the world, it a appears as a 3D object worn on a player. (A dirt block can be a entity (dropped item) or a block (placed dirt block), depending on what form it is in) And regardless of wether particle effects have an effect on the game, this doesn't exclude them from being possible objects. (The functuality of an object does not change what it is. A dead camel is still a mammal.) If it doesn't have an ID, then how can it be generated in the game? Don't all events/items/mobs/blocks in the game have lines of coding that call them, and a name? I don't think an ID code is required for an object to be an entity, and if it is, the introduction text to the page needs to be re-written. --HexZyle 17:17, 27 September 2011 (UTC)
 * You are partially correct. Armour is not an entity, but according to the Minecraft source code, particles like smoke seem to be entities. --24.251.190.43 03:58, 28 November 2011 (UTC)