mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-19 09:27:43 +01:00
[ci skip] move import to config patch
This commit is contained in:
@@ -1637,18 +1637,10 @@ index d514faecb9e6b244aa043383fa072316da939518..a4ca761f6e8e6e8f86fc20ce5e3dcf92
|
||||
protected void registerGoals() {
|
||||
this.goalSelector.addGoal(0, new FloatGoal(this));
|
||||
diff --git a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
index bb64706d04fb25dcd564799c26fad231086ff827..65cbd35892ab48fccda9bccf2b4dd66be5c84a0d 100644
|
||||
index 2e35e494134e5294fd67a0bf9abbe3f68d5faea5..65cbd35892ab48fccda9bccf2b4dd66be5c84a0d 100644
|
||||
--- a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
@@ -5,6 +5,7 @@ import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.util.Mth;
|
||||
import net.minecraft.world.entity.Entity;
|
||||
import net.minecraft.world.entity.EntityType;
|
||||
+import net.minecraft.world.entity.monster.Shulker;
|
||||
import net.minecraft.world.item.DyeColor;
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.minecraft.world.item.Items;
|
||||
@@ -104,125 +105,248 @@ public class PurpurWorldConfig {
|
||||
@@ -105,125 +105,248 @@ public class PurpurWorldConfig {
|
||||
public boolean allayRidable = false;
|
||||
public boolean allayRidableInWater = true;
|
||||
public boolean allayControllable = true;
|
||||
@@ -1897,7 +1889,7 @@ index bb64706d04fb25dcd564799c26fad231086ff827..65cbd35892ab48fccda9bccf2b4dd66b
|
||||
}
|
||||
|
||||
public boolean dolphinRidable = false;
|
||||
@@ -230,80 +354,175 @@ public class PurpurWorldConfig {
|
||||
@@ -231,80 +354,175 @@ public class PurpurWorldConfig {
|
||||
public int dolphinSpitCooldown = 20;
|
||||
public float dolphinSpitSpeed = 1.0F;
|
||||
public float dolphinSpitDamage = 2.0F;
|
||||
@@ -2073,7 +2065,7 @@ index bb64706d04fb25dcd564799c26fad231086ff827..65cbd35892ab48fccda9bccf2b4dd66b
|
||||
}
|
||||
|
||||
public boolean frogRidable = false;
|
||||
@@ -321,147 +540,342 @@ public class PurpurWorldConfig {
|
||||
@@ -322,147 +540,342 @@ public class PurpurWorldConfig {
|
||||
public boolean ghastRidableInWater = true;
|
||||
public boolean ghastControllable = true;
|
||||
public double ghastMaxY = 320D;
|
||||
@@ -2416,7 +2408,7 @@ index bb64706d04fb25dcd564799c26fad231086ff827..65cbd35892ab48fccda9bccf2b4dd66b
|
||||
}
|
||||
|
||||
public boolean phantomRidable = false;
|
||||
@@ -471,6 +885,10 @@ public class PurpurWorldConfig {
|
||||
@@ -472,6 +885,10 @@ public class PurpurWorldConfig {
|
||||
public float phantomFlameDamage = 1.0F;
|
||||
public int phantomFlameFireTime = 8;
|
||||
public boolean phantomAllowGriefing = false;
|
||||
@@ -2427,7 +2419,7 @@ index bb64706d04fb25dcd564799c26fad231086ff827..65cbd35892ab48fccda9bccf2b4dd66b
|
||||
private void phantomSettings() {
|
||||
phantomRidable = getBoolean("mobs.phantom.ridable", phantomRidable);
|
||||
phantomRidableInWater = getBoolean("mobs.phantom.ridable-in-water", phantomRidableInWater);
|
||||
@@ -479,191 +897,405 @@ public class PurpurWorldConfig {
|
||||
@@ -480,191 +897,405 @@ public class PurpurWorldConfig {
|
||||
phantomFlameDamage = (float) getDouble("mobs.phantom.flames.damage", phantomFlameDamage);
|
||||
phantomFlameFireTime = getInt("mobs.phantom.flames.fire-time", phantomFlameFireTime);
|
||||
phantomAllowGriefing = getBoolean("mobs.phantom.allow-griefing", phantomAllowGriefing);
|
||||
@@ -2833,7 +2825,7 @@ index bb64706d04fb25dcd564799c26fad231086ff827..65cbd35892ab48fccda9bccf2b4dd66b
|
||||
}
|
||||
|
||||
public boolean tadpoleRidable = false;
|
||||
@@ -678,64 +1310,137 @@ public class PurpurWorldConfig {
|
||||
@@ -679,64 +1310,137 @@ public class PurpurWorldConfig {
|
||||
public boolean traderLlamaRidable = false;
|
||||
public boolean traderLlamaRidableInWater = false;
|
||||
public boolean traderLlamaControllable = true;
|
||||
@@ -2971,7 +2963,7 @@ index bb64706d04fb25dcd564799c26fad231086ff827..65cbd35892ab48fccda9bccf2b4dd66b
|
||||
}
|
||||
|
||||
public boolean wardenRidable = false;
|
||||
@@ -750,83 +1455,183 @@ public class PurpurWorldConfig {
|
||||
@@ -751,83 +1455,183 @@ public class PurpurWorldConfig {
|
||||
public boolean witchRidable = false;
|
||||
public boolean witchRidableInWater = true;
|
||||
public boolean witchControllable = true;
|
||||
|
||||
Reference in New Issue
Block a user