From 33d26500d667125d17d19231da343066d5b98924 Mon Sep 17 00:00:00 2001 From: crashdemons Date: Wed, 22 Apr 2020 09:20:22 -0500 Subject: [PATCH] provisional zoglin head support (1.16 preview) --- .../crashdemons/playerheads/TexturedSkullType.java | 12 +++++++++--- PlayerHeads-core/src/main/resources/config.yml | 2 ++ PlayerHeads-core/src/main/resources/lang.properties | 3 +++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/PlayerHeads-core/src/main/java/com/github/crashdemons/playerheads/TexturedSkullType.java b/PlayerHeads-core/src/main/java/com/github/crashdemons/playerheads/TexturedSkullType.java index 9f2389c2..a986829d 100644 --- a/PlayerHeads-core/src/main/java/com/github/crashdemons/playerheads/TexturedSkullType.java +++ b/PlayerHeads-core/src/main/java/com/github/crashdemons/playerheads/TexturedSkullType.java @@ -33,7 +33,15 @@ public enum TexturedSkullType implements HeadType { ), //1.16 entries - + /** + * Zoglin head + * @deprecated provisional 1.16 support entry - subject to change. + */ + @Deprecated + ZOGLIN( + "975fca56-a595-4d33-9253-2f1f3fcaaba5", + "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTY3ZTE4NjAyZTAzMDM1YWQ2ODk2N2NlMDkwMjM1ZDg5OTY2NjNmYjllYTQ3NTc4ZDNhN2ViYmM0MmE1Y2NmOSJ9fX0=" + ), /** * Strider head * @deprecated provisional 1.16 support entry - subject to change. @@ -43,8 +51,6 @@ public enum TexturedSkullType implements HeadType { "d67320fb-f662-4850-89b4-b4410a66740e", "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMThhOWFkZjc4MGVjN2RkNDYyNWM5YzA3NzkwNTJlNmExNWE0NTE4NjY2MjM1MTFlNGM4MmU5NjU1NzE0YjNjMSJ9fX0=" ), - - /** * Piglin head * @deprecated provisional 1.16 support entry - subject to change. diff --git a/PlayerHeads-core/src/main/resources/config.yml b/PlayerHeads-core/src/main/resources/config.yml index 9adfd0eb..21627a31 100644 --- a/PlayerHeads-core/src/main/resources/config.yml +++ b/PlayerHeads-core/src/main/resources/config.yml @@ -248,4 +248,6 @@ beedroprate: 0.002 striderdroprate: 0.002 piglindroprate: 0.002 hoglindroprate: 0.002 +zoglindroprate: 0.002 + diff --git a/PlayerHeads-core/src/main/resources/lang.properties b/PlayerHeads-core/src/main/resources/lang.properties index af3e0706..8b328be1 100644 --- a/PlayerHeads-core/src/main/resources/lang.properties +++ b/PlayerHeads-core/src/main/resources/lang.properties @@ -196,6 +196,9 @@ HEAD_SPAWN_PIGLIN=#piglin HEAD_HOGLIN=Hoglin Head HEAD_SPAWN_HOGLIN=#hoglin +HEAD_ZOGLIN=Zoglin Head +HEAD_SPAWN_ZOGLIN=#zoglin + #remaining living-entity entries (disabled by default) HEAD_ARMOR_STAND=Armor Stand Head HEAD_SPAWN_ARMOR_STAND=#armorstand