From c9e52d0732daf39d9930be5a995f88058e9cad1b Mon Sep 17 00:00:00 2001 From: surgeflame <76570284+surgeflame@users.noreply.github.com> Date: Wed, 10 Jan 2024 10:36:17 -0500 Subject: [PATCH] Update SkywarsMap.java --- .../com/nexia/minigames/games/skywars/SkywarsMap.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/nexia/minigames/games/skywars/SkywarsMap.java b/src/main/java/com/nexia/minigames/games/skywars/SkywarsMap.java index 4bade160..b439b724 100644 --- a/src/main/java/com/nexia/minigames/games/skywars/SkywarsMap.java +++ b/src/main/java/com/nexia/minigames/games/skywars/SkywarsMap.java @@ -90,6 +90,13 @@ public class SkywarsMap { new EntityPos(-24.5, 77.0, -24.5)) ), new StructureMap(new ResourceLocation("skywars", "null"), Rotation.NO_ROTATION, true, new BlockPos(0, 80, 0), new BlockPos(-33, -42, -33), true)); + public static SkywarsMap SHROOMS = new SkywarsMap("shrooms", 4, new ArrayList<>(Arrays.asList( + new EntityPos(40.5, 80, 40.5), + new EntityPos(40.5, 80, -39.5), + new EntityPos(-39.5, 80, -39.5), + new EntityPos(-39.5, 80, 40.5)) + ), new StructureMap(new ResourceLocation("skywars", "shrooms"), Rotation.NO_ROTATION, true, new BlockPos(0, 80, 0), new BlockPos(-44, -6, -45), true)); + public static SkywarsMap identifyMap(String name) { for(SkywarsMap map : SkywarsMap.skywarsMaps) { @@ -171,4 +178,4 @@ public static SkywarsMap calculateMap(int oldPlayers, int newPlayers) { } return SkywarsMap.SKYHENGE; } -} \ No newline at end of file +}