mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-20 18:07:43 +01:00
Add configuration options for silk touch spawners
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From e0798fdcdf2c55cf2e17ea5efcc61f5c1adade7b Mon Sep 17 00:00:00 2001
|
||||
From 98634944afd36a98f3cf155a6f73d84007b6bd82 Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Sat, 29 Jun 2019 02:32:40 -0500
|
||||
Subject: [PATCH] Controllable Minecarts
|
||||
@@ -9,8 +9,8 @@ Subject: [PATCH] Controllable Minecarts
|
||||
.../net/minecraft/server/EntityLiving.java | 6 +--
|
||||
.../server/EntityMinecartAbstract.java | 38 +++++++++++++++++++
|
||||
.../net/minecraft/server/ItemMinecart.java | 8 ++--
|
||||
.../net/pl3x/purpur/PurpurWorldConfig.java | 32 ++++++++++++++++
|
||||
6 files changed, 85 insertions(+), 6 deletions(-)
|
||||
.../net/pl3x/purpur/PurpurWorldConfig.java | 31 +++++++++++++++
|
||||
6 files changed, 84 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/BlockPosition.java b/src/main/java/net/minecraft/server/BlockPosition.java
|
||||
index 551ca4471..32757e231 100644
|
||||
@@ -139,21 +139,21 @@ index dc7decb06..0da16c200 100644
|
||||
}
|
||||
}
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index 6f8604c5c..64867b68d 100644
|
||||
index e0dbeaf06..cf546b206 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -1,12 +1,18 @@
|
||||
@@ -1,5 +1,7 @@
|
||||
package net.pl3x.purpur;
|
||||
|
||||
import com.destroystokyo.paper.PaperWorldConfig;
|
||||
+import net.minecraft.server.Block;
|
||||
+import net.minecraft.server.Blocks;
|
||||
import net.minecraft.server.IRegistry;
|
||||
import net.minecraft.server.Item;
|
||||
import net.minecraft.server.Items;
|
||||
import net.minecraft.server.MinecraftKey;
|
||||
@@ -7,7 +9,10 @@ import net.minecraft.server.MinecraftKey;
|
||||
import org.bukkit.configuration.ConfigurationSection;
|
||||
+
|
||||
|
||||
import java.util.ArrayList;
|
||||
+import java.util.HashMap;
|
||||
import java.util.List;
|
||||
+import java.util.Map;
|
||||
@@ -161,7 +161,7 @@ index 6f8604c5c..64867b68d 100644
|
||||
import static net.pl3x.purpur.PurpurConfig.log;
|
||||
|
||||
public class PurpurWorldConfig {
|
||||
@@ -67,6 +73,32 @@ public class PurpurWorldConfig {
|
||||
@@ -68,6 +73,32 @@ public class PurpurWorldConfig {
|
||||
armorstandStepHeight = (float) getDouble("gameplay-mechanics.armorstand.step-height", armorstandStepHeight);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user