mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fix extended entity properties being lost when leaving the end, This introduces the concept of calling IExtendedEntityProperties.init when entites/worlds change. Lets see if mods explode.
This commit is contained in:
1 parent
3b79370be1
commit
c8abc41aa0
3 files changed
+18
-5
No files matched your search
@@ -30,6 +30,8 @@ public interface IExtendedEntityProperties {
|
||||
* Used to initialize the extended properties with the entity that this is attached to, as well
|
||||
* as the world object.
|
||||
* Called automatically if you register with the EntityConstructing event.
|
||||
* May be called multiple times if the extended properties is moved over to a new entity.
|
||||
* Such as when a player switches dimension {Minecraft re-creates the player entity}
|
||||
* @param entity The entity that this extended properties is attached to
|
||||
* @param world The world in which the entity exists
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user