mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-20 18:07:43 +01:00
Close #12 - Make llamas WASD controllable
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 6e77b067283502e9f4d5064c2086974c5d7894a3 Mon Sep 17 00:00:00 2001
|
||||
From 8255937a5c894806e5cfc0e433dc29e605b9e9a5 Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Sat, 15 Jun 2019 03:12:15 -0500
|
||||
Subject: [PATCH] Make Iron Golems Swim
|
||||
@@ -9,7 +9,7 @@ Subject: [PATCH] Make Iron Golems Swim
|
||||
2 files changed, 3 insertions(+)
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityIronGolem.java b/src/main/java/net/minecraft/server/EntityIronGolem.java
|
||||
index 288a043fbd..0cc3b8eb01 100644
|
||||
index 288a043fb..0cc3b8eb0 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityIronGolem.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityIronGolem.java
|
||||
@@ -36,6 +36,7 @@ public class EntityIronGolem extends EntityGolem {
|
||||
@@ -21,7 +21,7 @@ index 288a043fbd..0cc3b8eb01 100644
|
||||
this.goalSelector.a(1, new PathfinderGoalMeleeAttack(this, 1.0D, true));
|
||||
this.goalSelector.a(2, new PathfinderGoalMoveTowardsTarget(this, 0.9D, 32.0F));
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index dcf0f58a29..114fe87f4a 100644
|
||||
index a1d075246..6e506dff8 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -342,10 +342,12 @@ public class PurpurWorldConfig {
|
||||
@@ -36,7 +36,7 @@ index dcf0f58a29..114fe87f4a 100644
|
||||
+ ironGolemCanSwim = getBoolean("mobs.iron_golem.can-swim", ironGolemCanSwim);
|
||||
}
|
||||
|
||||
public boolean llamaRidableInWater = false;
|
||||
public boolean llamaRidable = false;
|
||||
--
|
||||
2.24.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user