Talk:Entity

How does this work?
If blocks are stored in an array, how are entities stored? How does an entity move between blocks?
 * Entities are stored in a list, like an array but more flexible, blocks are not stored in an array, they are stored in several arrays, one for block ID, one for metadata and each of those in each chunk. Entities are not stored with the blocks so they don't have any trouble moving from one to another.86.149.111.2 18:40, 8 February 2012 (UTC)

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)

Reason for edit
I changed "Most entities" to "All entities" because all entities are instances of sub-classes of Entity and all of these things are fields in Entity so all entities inherit them, even if they aren't ever used (smoke never burns for example).86.149.111.2 18:46, 8 February 2012 (UTC)

Reason for "200" value in the Types of Entities Chart
In this section of the entities pages, there is an extra box on the very bottom row that has a "200" in it. I am not sure what purpose this serves as there is no heading or label to describe what it is. Nor are there any other numerical vaule throughout the rest of this table. I am asking that this be removed or some description be placed in the following paragraph. --Choolio123 11:32, 9 February 2012
 * I have since then removed this odd outlier. --Choolio123 11:34, 9 February 2012
 * That 200 was part of the entity ID column which got removed.HotdogPi 04:41, 20 February 2012 (UTC)

Endercrystal drops are incorrect
Endercrystals do not drop placed bedrock, they are spawned inside bedrock! If you spawn an endercrystal with a spawn egg, nothing is yielded upon its destruction.--99.25.90.235 03:49, 20 February 2012 (UTC) (P.S. How do I log in with my Minecraft Forum account, or can I even?)
 * You cannot, this is a separate service. Create a new account here, it's free. --74.102.134.192 03:55, 20 February 2012 (UTC)