Add axe actionable options

This commit is contained in:
William Blake Galbreath
2021-07-06 01:01:33 -05:00
parent a0fae1b779
commit 89c9c902b1
155 changed files with 924 additions and 720 deletions

View File

@@ -5,7 +5,7 @@ Subject: [PATCH] Fix stuck in portals
diff --git a/src/main/java/net/minecraft/server/level/ServerPlayer.java b/src/main/java/net/minecraft/server/level/ServerPlayer.java
index 269e422ea2860979bf08c9a280d17b165f456e93..da66a86620a7f53f12693d2fc040446e036a8c37 100644
index 93b8260c59c659ddd2e80660be23b9a825339a72..0c652c509c94d82a784acc8c6d4c2c6d037532db 100644
--- a/src/main/java/net/minecraft/server/level/ServerPlayer.java
+++ b/src/main/java/net/minecraft/server/level/ServerPlayer.java
@@ -1141,6 +1141,7 @@ public class ServerPlayer extends Player {
@@ -37,10 +37,10 @@ index 1029b004b526acbeecc1f2e82ddae00ff3de1196..1f06a8b4102d8736755e052f03d3bfb0
this.isInsidePortal = true;
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
index 81eb889ccb63680abd674eac5f902458af924069..088b0f8bb5ab744f41dcbeb06a71163b20ebd849 100644
index c0f24f9c8737a32a5314dfd9131d0133bd56f255..6bd19d153fcdb59b144ed40e8493e4a9f4c0e523 100644
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
@@ -293,6 +293,7 @@ public class PurpurWorldConfig {
@@ -296,6 +296,7 @@ public class PurpurWorldConfig {
public int playerDeathExpDropMax = 100;
public boolean teleportIfOutsideBorder = false;
public boolean totemOfUndyingWorksInInventory = false;
@@ -48,7 +48,7 @@ index 81eb889ccb63680abd674eac5f902458af924069..088b0f8bb5ab744f41dcbeb06a71163b
private void playerSettings() {
idleTimeoutKick = getBoolean("gameplay-mechanics.player.idle-timeout.kick-if-idle", idleTimeoutKick);
idleTimeoutTickNearbyEntities = getBoolean("gameplay-mechanics.player.idle-timeout.tick-nearby-entities", idleTimeoutTickNearbyEntities);
@@ -305,6 +306,7 @@ public class PurpurWorldConfig {
@@ -308,6 +309,7 @@ public class PurpurWorldConfig {
playerDeathExpDropMax = getInt("gameplay-mechanics.player.exp-dropped-on-death.maximum", playerDeathExpDropMax);
teleportIfOutsideBorder = getBoolean("gameplay-mechanics.player.teleport-if-outside-border", teleportIfOutsideBorder);
totemOfUndyingWorksInInventory = getBoolean("gameplay-mechanics.player.totem-of-undying-works-in-inventory", totemOfUndyingWorksInInventory);