Skip to content

Commit

Permalink
Update SkywarsMap.java
Browse files Browse the repository at this point in the history
  • Loading branch information
surgeflame authored Jan 10, 2024
1 parent 3a3afed commit c9e52d0
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -171,4 +178,4 @@ public static SkywarsMap calculateMap(int oldPlayers, int newPlayers) {
}
return SkywarsMap.SKYHENGE;
}
}
}

0 comments on commit c9e52d0

Please sign in to comment.