mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-22 19:07:44 +01:00
Add pillager leader chance options
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From e0a32f81af60ef0eb5f602f9ddc37242c65fa515 Mon Sep 17 00:00:00 2001
|
||||
From 5c1eae3df43971867b4b8b766c3d3c3676e5d8cd Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Tue, 9 Jul 2019 20:56:47 -0500
|
||||
Subject: [PATCH] MC-56653 Fix - pig zombies aggro
|
||||
@@ -43,10 +43,10 @@ index 90bf12c735..c78876fc42 100644
|
||||
|
||||
public PathfinderGoalAnger(EntityPigZombie entitypigzombie) {
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index 944ecc0723..be0d5f9e3e 100644
|
||||
index 46c6742da8..b844b93d77 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -999,6 +999,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1003,6 +1003,7 @@ public class PurpurWorldConfig {
|
||||
public boolean zombiePigmanJockeyOnlyBaby = true;
|
||||
public double zombiePigmanJockeyChance = 0.05D;
|
||||
public boolean zombiePigmanJockeyTryExistingChickens = true;
|
||||
@@ -54,7 +54,7 @@ index 944ecc0723..be0d5f9e3e 100644
|
||||
private void zombiePigmanSettings() {
|
||||
zombiePigmanRidable = getBoolean("mobs.zombie_pigman.ridable", zombiePigmanRidable);
|
||||
zombiePigmanRidableInWater = getBoolean("mobs.zombie_pigman.ridable-in-water", zombiePigmanRidableInWater);
|
||||
@@ -1006,6 +1007,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1010,6 +1011,7 @@ public class PurpurWorldConfig {
|
||||
zombiePigmanJockeyOnlyBaby = getBoolean("mobs.zombie_pigman.jockey.only-babies", zombiePigmanJockeyOnlyBaby);
|
||||
zombiePigmanJockeyChance = getDouble("mobs.zombie_pigman.jockey.chance", zombiePigmanJockeyChance);
|
||||
zombiePigmanJockeyTryExistingChickens = getBoolean("mobs.zombie_pigman.jockey.try-existing-chickens", zombiePigmanJockeyTryExistingChickens);
|
||||
|
||||
Reference in New Issue
Block a user