diff options
author | Jason <[email protected]> | 2022-05-29 12:54:25 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-05-29 12:54:25 -0700 |
commit | af3b3778f6de06af48de08d41a43565d3ff19976 (patch) | |
tree | 77b45ab00e1dfde03c3dee2aa92e64aae6b0909f /patches/server/0352-Entity-Activation-Range-2.0.patch | |
parent | 3f7fbe316d85040cde5e0694861a5b1675170efb (diff) | |
download | Paper-af3b3778f6de06af48de08d41a43565d3ff19976.tar.gz Paper-af3b3778f6de06af48de08d41a43565d3ff19976.zip |
Update ForgeFlower (#7857)
Diffstat (limited to 'patches/server/0352-Entity-Activation-Range-2.0.patch')
-rw-r--r-- | patches/server/0352-Entity-Activation-Range-2.0.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/server/0352-Entity-Activation-Range-2.0.patch b/patches/server/0352-Entity-Activation-Range-2.0.patch index fb125c6e93..a921362a20 100644 --- a/patches/server/0352-Entity-Activation-Range-2.0.patch +++ b/patches/server/0352-Entity-Activation-Range-2.0.patch @@ -180,10 +180,10 @@ index ff458abb221daaddaa734811eaaa35ea43883343..d1ab31d03ae421e628448fe2492ff138 public float getWalkTargetValue(BlockPos pos) { return this.getWalkTargetValue(pos, this.level); diff --git a/src/main/java/net/minecraft/world/entity/ai/goal/GoalSelector.java b/src/main/java/net/minecraft/world/entity/ai/goal/GoalSelector.java -index d1a68808af3c9c35767e4be72ce1ed0f77f7a3c9..ef8fe11bcda9fb8365d2c7efb2e088727dd849d9 100644 +index 3e981fbf81f21b40652f7a05d4a7a37065db4b00..19ee04dd92b39a775260f832ca8880335d24988b 100644 --- a/src/main/java/net/minecraft/world/entity/ai/goal/GoalSelector.java +++ b/src/main/java/net/minecraft/world/entity/ai/goal/GoalSelector.java -@@ -33,6 +33,7 @@ public class GoalSelector { +@@ -32,6 +32,7 @@ public class GoalSelector { private final EnumSet<Goal.Flag> disabledFlags = EnumSet.noneOf(Goal.Flag.class); private int tickCount; private int newGoalRate = 3; @@ -191,7 +191,7 @@ index d1a68808af3c9c35767e4be72ce1ed0f77f7a3c9..ef8fe11bcda9fb8365d2c7efb2e08872 public GoalSelector(Supplier<ProfilerFiller> profiler) { this.profiler = profiler; -@@ -47,6 +48,20 @@ public class GoalSelector { +@@ -46,6 +47,20 @@ public class GoalSelector { this.availableGoals.clear(); } @@ -320,7 +320,7 @@ index dab1b7491fff4da9f606d041536adb649bfccd9a..27bd21ec70a446537d24952cb7ea04b0 public final org.spigotmc.SpigotWorldConfig spigotConfig; // Spigot diff --git a/src/main/java/net/minecraft/world/level/block/piston/PistonMovingBlockEntity.java b/src/main/java/net/minecraft/world/level/block/piston/PistonMovingBlockEntity.java -index 6b29f66aec8a82b367a979b5b04857416b697c14..78d252b829e5c1f19532656a728620852403760c 100644 +index 4b55b667eebfe50dfeda89015112e275e71b9777..dda0b32a4989bbead35a2219a969a30ba0e975b0 100644 --- a/src/main/java/net/minecraft/world/level/block/piston/PistonMovingBlockEntity.java +++ b/src/main/java/net/minecraft/world/level/block/piston/PistonMovingBlockEntity.java @@ -140,6 +140,10 @@ public class PistonMovingBlockEntity extends BlockEntity { |