Skip to content

Commit

Permalink
Added visibility to pre-load mechanism list (#2203)
Browse files Browse the repository at this point in the history
* Added visibility to pre-load mechanism list

* Added extra valid mechanisms to pre-loading entity spawn
  • Loading branch information
BehrRiley committed May 4, 2020
1 parent 2e2056c commit 0b9b32a
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -73,7 +73,9 @@ public class EntityTag implements ObjectTag, Adjustable, EntityFormObject {

// List a mechanism here if it can be safely run before spawn.
public static HashSet<String> earlyValidMechanisms = new HashSet<>(Arrays.asList(
"max_health", "health_data", "health"
"max_health", "health_data", "health", "visible",
"armor_pose", "arms", "base_plate", "is_small",
"velocity", "age", "is_using_riptide"
));

private static final Map<UUID, Entity> rememberedEntities = new HashMap<>();
Expand Down

0 comments on commit 0b9b32a

Please sign in to comment.