mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 10:27:44 +01:00
Add configurable minecart speed and move controllable minecart options
This commit is contained in:
@@ -22,10 +22,10 @@ index 5a2f84cd1456b072084e2db53a24c9863cb75563..40ad7f050b7f11f2810b07970c9e2935
|
||||
this.o = this.player.locX();
|
||||
this.p = this.player.locY();
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index 7afc05f54f4b2fda3b250cb8fd1973247be5933f..bd3a7b45746ec2981cd4f6373e7af11ac668bba6 100644
|
||||
index b82cf670d693096884f801e72efbcb535d0952a7..6e37207d2c1d83a18d39cde4436b9b16c693df77 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -168,6 +168,8 @@ public class PurpurWorldConfig {
|
||||
@@ -202,6 +202,8 @@ public class PurpurWorldConfig {
|
||||
public List<Item> itemImmuneToCactus = new ArrayList<>();
|
||||
public List<Item> itemImmuneToExplosion = new ArrayList<>();
|
||||
public List<Item> itemImmuneToFire = new ArrayList<>();
|
||||
@@ -34,7 +34,7 @@ index 7afc05f54f4b2fda3b250cb8fd1973247be5933f..bd3a7b45746ec2981cd4f6373e7af11a
|
||||
private void itemSettings() {
|
||||
itemImmuneToCactus.clear();
|
||||
getList("gameplay-mechanics.item.immune.cactus", new ArrayList<>()).forEach(key -> {
|
||||
@@ -196,6 +198,8 @@ public class PurpurWorldConfig {
|
||||
@@ -230,6 +232,8 @@ public class PurpurWorldConfig {
|
||||
Item item = IRegistry.ITEM.get(new MinecraftKey(key.toString()));
|
||||
if (item != Items.AIR) itemImmuneToFire.add(item);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user