From 1efca092a8abd0f74b2d70ae25012e04fa02450f Mon Sep 17 00:00:00 2001 From: bijimio Date: Thu, 10 Oct 2024 18:14:16 +0200 Subject: [PATCH] Bijimio Experimental Fork V7.0.4 | Fixed Beifengs spawning on the surface --- .../changed/entity/beast/Beifeng.java | 14 ++++++++++---- src/main/resources/assets/changed/lang/sv_se.json | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/main/java/net/ltxprogrammer/changed/entity/beast/Beifeng.java b/src/main/java/net/ltxprogrammer/changed/entity/beast/Beifeng.java index 0405a05a9..b1bc9dcd0 100644 --- a/src/main/java/net/ltxprogrammer/changed/entity/beast/Beifeng.java +++ b/src/main/java/net/ltxprogrammer/changed/entity/beast/Beifeng.java @@ -1,8 +1,6 @@ package net.ltxprogrammer.changed.entity.beast; -import net.ltxprogrammer.changed.entity.HairStyle; -import net.ltxprogrammer.changed.entity.PatronOC; -import net.ltxprogrammer.changed.entity.TransfurCause; +import net.ltxprogrammer.changed.entity.*; import net.ltxprogrammer.changed.util.Color3; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.ai.attributes.AttributeMap; @@ -13,7 +11,7 @@ import java.util.List; -public class Beifeng extends AbstractLatexWolf implements DarkLatexEntity, PatronOC { +public class Beifeng extends AbstractCaveEntity implements DarkLatexEntity, PatronOC { public Beifeng(EntityType p_19870_, Level p_19871_) { super(p_19870_, p_19871_); } @@ -25,6 +23,14 @@ protected void setAttributes(AttributeMap attributes) { attributes.getInstance(ForgeMod.SWIM_SPEED.get()).setBaseValue(1.0); } + @Override + public LatexType getLatexType() { + return LatexType.NEUTRAL; + } + + @Override + public TransfurMode getTransfurMode() { return TransfurMode.NONE; } + @Override public Color3 getDripColor() { return level.random.nextInt(10) > 3 ? Color3.BLUE : Color3.WHITE; diff --git a/src/main/resources/assets/changed/lang/sv_se.json b/src/main/resources/assets/changed/lang/sv_se.json index bed4fad58..a444d5039 100644 --- a/src/main/resources/assets/changed/lang/sv_se.json +++ b/src/main/resources/assets/changed/lang/sv_se.json @@ -168,7 +168,7 @@ "gamerule.changed:doPale": "Är Pale aktiverad", "key.changed.variant_ability": "Aktiv variantförmåga", - "key.changed.use_ability": "Använda variantförmåga", + "key.changed.use_ability": "Använd variantförmåga", "key.changed.extra_jump": "Extra hopp", "container.changed.extra_hands": "Extra händermeny",