Updates Spigot version and materials
This commit is contained in:
parent
d930d82c5b
commit
eb3eeae9b4
2
pom.xml
2
pom.xml
@ -51,7 +51,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>org.spigotmc</groupId>
|
||||||
<artifactId>spigot-api</artifactId>
|
<artifactId>spigot-api</artifactId>
|
||||||
<version>1.19.4-R0.1-SNAPSHOT</version>
|
<version>1.20.1-R0.1-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- MassiveCore -->
|
<!-- MassiveCore -->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -26,6 +26,7 @@ public class EnumerationUtil {
|
|||||||
|
|
||||||
// The various flower pots, they had to make each one a different material -.-
|
// The various flower pots, they had to make each one a different material -.-
|
||||||
"POTTED_ACACIA_SAPLING", // Minecraft 1.13
|
"POTTED_ACACIA_SAPLING", // Minecraft 1.13
|
||||||
|
"POTTED_AZALEA_BUSH",
|
||||||
"POTTED_ALLIUM", // Minecraft 1.13
|
"POTTED_ALLIUM", // Minecraft 1.13
|
||||||
"POTTED_AZURE_BLUET", // Minecraft 1.13
|
"POTTED_AZURE_BLUET", // Minecraft 1.13
|
||||||
"POTTED_BAMBOO", // Minecraft 1.13
|
"POTTED_BAMBOO", // Minecraft 1.13
|
||||||
@ -33,14 +34,16 @@ public class EnumerationUtil {
|
|||||||
"POTTED_BLUE_ORCHID", // Minecraft 1.13
|
"POTTED_BLUE_ORCHID", // Minecraft 1.13
|
||||||
"POTTED_BROWN_MUSHROOM", // Minecraft 1.13
|
"POTTED_BROWN_MUSHROOM", // Minecraft 1.13
|
||||||
"POTTED_CACTUS", // Minecraft 1.13
|
"POTTED_CACTUS", // Minecraft 1.13
|
||||||
"POTTED_CACTUS", // Minecraft 1.13
|
"POTTED_CHERRY_SAPLING",
|
||||||
"POTTED_CORNFLOWER", // Minecraft 1.13
|
"POTTED_CORNFLOWER", // Minecraft 1.13
|
||||||
"POTTED_DANDELION", // Minecraft 1.13
|
"POTTED_DANDELION", // Minecraft 1.13
|
||||||
"POTTED_DARK_OAK_SAPLING", // Minecraft 1.13
|
"POTTED_DARK_OAK_SAPLING", // Minecraft 1.13
|
||||||
"POTTED_DEAD_BUSH", // Minecraft 1.13
|
"POTTED_DEAD_BUSH", // Minecraft 1.13
|
||||||
"POTTED_FERN", // Minecraft 1.13
|
"POTTED_FERN", // Minecraft 1.13
|
||||||
|
"POTTED_FLOWERING_AZALEA_BUSH",
|
||||||
"POTTED_JUNGLE_SAPLING", // Minecraft 1.13
|
"POTTED_JUNGLE_SAPLING", // Minecraft 1.13
|
||||||
"POTTED_LILY_OF_THE_VALLEY", // Minecraft 1.13
|
"POTTED_LILY_OF_THE_VALLEY", // Minecraft 1.13
|
||||||
|
"POTTED_MANGROVE_PROPAGULE",
|
||||||
"POTTED_OAK_SAPLING", // Minecraft 1.13
|
"POTTED_OAK_SAPLING", // Minecraft 1.13
|
||||||
"POTTED_ORANGE_TULIP", // Minecraft 1.13
|
"POTTED_ORANGE_TULIP", // Minecraft 1.13
|
||||||
"POTTED_OXEYE_DAISY", // Minecraft 1.13
|
"POTTED_OXEYE_DAISY", // Minecraft 1.13
|
||||||
@ -49,6 +52,7 @@ public class EnumerationUtil {
|
|||||||
"POTTED_RED_MUSHROOM", // Minecraft 1.13
|
"POTTED_RED_MUSHROOM", // Minecraft 1.13
|
||||||
"POTTED_RED_TULIP", // Minecraft 1.13
|
"POTTED_RED_TULIP", // Minecraft 1.13
|
||||||
"POTTED_SPRUCE_SAPLING", // Minecraft 1.13
|
"POTTED_SPRUCE_SAPLING", // Minecraft 1.13
|
||||||
|
"POTTED_TORCHFLOWER",
|
||||||
"POTTED_WHITE_TULIP", // Minecraft 1.13
|
"POTTED_WHITE_TULIP", // Minecraft 1.13
|
||||||
"POTTED_WITHER_ROSE", // Minecraft 1.13
|
"POTTED_WITHER_ROSE", // Minecraft 1.13
|
||||||
"POTTED_CRIMSON_FUNGUS", // Minecraft 1.16
|
"POTTED_CRIMSON_FUNGUS", // Minecraft 1.16
|
||||||
@ -124,7 +128,15 @@ public class EnumerationUtil {
|
|||||||
"CRIMSON_FENCE_GATE",
|
"CRIMSON_FENCE_GATE",
|
||||||
"WARPED_DOOR",
|
"WARPED_DOOR",
|
||||||
"WARPED_TRAPDOOR",
|
"WARPED_TRAPDOOR",
|
||||||
"WARPED_FENCE_GATE"
|
"WARPED_FENCE_GATE",
|
||||||
|
"MANGROVE_DOOR",
|
||||||
|
"MANGROVE_TRAPDOOR",
|
||||||
|
|
||||||
|
// 1.20
|
||||||
|
"BAMBOO_DOOR",
|
||||||
|
"BAMBOO_TRAPDOOR",
|
||||||
|
"CHERRY_DOOR",
|
||||||
|
"CHERRY_TRAPDOOR"
|
||||||
);
|
);
|
||||||
|
|
||||||
public static boolean isMaterialDoor(Material material) {
|
public static boolean isMaterialDoor(Material material) {
|
||||||
@ -172,7 +184,8 @@ public class EnumerationUtil {
|
|||||||
"RED_SHULKER_BOX",
|
"RED_SHULKER_BOX",
|
||||||
"SILVER_SHULKER_BOX", // Changed name to light gray, I think. Kept for backwards compatibility
|
"SILVER_SHULKER_BOX", // Changed name to light gray, I think. Kept for backwards compatibility
|
||||||
"WHITE_SHULKER_BOX",
|
"WHITE_SHULKER_BOX",
|
||||||
"YELLOW_SHULKER_BOX"
|
"YELLOW_SHULKER_BOX",
|
||||||
|
"CHISELED_BOOKSHELF" // 1.20
|
||||||
);
|
);
|
||||||
|
|
||||||
public static boolean isMaterialContainer(Material material) {
|
public static boolean isMaterialContainer(Material material) {
|
||||||
@ -187,7 +200,8 @@ public class EnumerationUtil {
|
|||||||
public static final BackstringSet<EntityType> ENTITY_TYPES_EDIT_ON_INTERACT = new BackstringSet<>(EntityType.class,
|
public static final BackstringSet<EntityType> ENTITY_TYPES_EDIT_ON_INTERACT = new BackstringSet<>(EntityType.class,
|
||||||
"ITEM_FRAME", // Minecraft 1.?
|
"ITEM_FRAME", // Minecraft 1.?
|
||||||
"ARMOR_STAND", // Minecraft 1.8
|
"ARMOR_STAND", // Minecraft 1.8
|
||||||
"LEASH_HITCH"
|
"LEASH_HITCH",
|
||||||
|
"GLOW_ITEM_FRAME"
|
||||||
);
|
);
|
||||||
|
|
||||||
public static boolean isEntityTypeEditOnInteract(EntityType entityType) {
|
public static boolean isEntityTypeEditOnInteract(EntityType entityType) {
|
||||||
@ -202,7 +216,8 @@ public class EnumerationUtil {
|
|||||||
public static final BackstringSet<EntityType> ENTITY_TYPES_EDIT_ON_DAMAGE = new BackstringSet<>(EntityType.class,
|
public static final BackstringSet<EntityType> ENTITY_TYPES_EDIT_ON_DAMAGE = new BackstringSet<>(EntityType.class,
|
||||||
"ITEM_FRAME", // Minecraft 1.?
|
"ITEM_FRAME", // Minecraft 1.?
|
||||||
"ARMOR_STAND", // Minecraft 1.8
|
"ARMOR_STAND", // Minecraft 1.8
|
||||||
"ENDER_CRYSTAL" // Minecraft 1.10
|
"ENDER_CRYSTAL", // Minecraft 1.10
|
||||||
|
"GLOW_ITEM_FRAME"
|
||||||
);
|
);
|
||||||
|
|
||||||
public static boolean isEntityTypeEditOnDamage(EntityType entityType) {
|
public static boolean isEntityTypeEditOnDamage(EntityType entityType) {
|
||||||
@ -215,7 +230,8 @@ public class EnumerationUtil {
|
|||||||
|
|
||||||
public static final BackstringSet<EntityType> ENTITY_TYPES_CONTAINER = new BackstringSet<>(EntityType.class,
|
public static final BackstringSet<EntityType> ENTITY_TYPES_CONTAINER = new BackstringSet<>(EntityType.class,
|
||||||
"MINECART_CHEST", // Minecraft 1.?
|
"MINECART_CHEST", // Minecraft 1.?
|
||||||
"MINECART_HOPPER" // Minecraft 1.?
|
"MINECART_HOPPER", // Minecraft 1.?
|
||||||
|
"CHEST_BOAT"
|
||||||
);
|
);
|
||||||
|
|
||||||
public static boolean isEntityTypeContainer(EntityType entityType) {
|
public static boolean isEntityTypeContainer(EntityType entityType) {
|
||||||
@ -310,7 +326,9 @@ public class EnumerationUtil {
|
|||||||
"GOAT", // 1.17
|
"GOAT", // 1.17
|
||||||
"GLOW_SQUID",
|
"GLOW_SQUID",
|
||||||
"FROG",
|
"FROG",
|
||||||
"AXOLOTL"
|
"AXOLOTL",
|
||||||
|
"CAMEL", // 1.20
|
||||||
|
"SNIFFER" // 1.20
|
||||||
);
|
);
|
||||||
|
|
||||||
public static boolean isEntityTypeAnimal(EntityType entityType) {
|
public static boolean isEntityTypeAnimal(EntityType entityType) {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
main: ${project.groupId}.${project.name}
|
main: '${project.groupId}.${project.name}'
|
||||||
name: ${project.name}
|
name: '${project.name}'
|
||||||
version: ${project.version}
|
version: '${project.version}'
|
||||||
website: ${project.url}
|
website: '${project.url}'
|
||||||
description: ${project.description}
|
description: '${project.description}'
|
||||||
authors: [ Madus, Cayorion, Ulumulu1510, MarkehMe, Brettflan ]
|
authors: [ Madus, Cayorion, Ulumulu1510, MarkehMe, Brettflan ]
|
||||||
depend: [ MassiveCore ]
|
depend: [ MassiveCore ]
|
||||||
softdepend: [ PermissionsEx, Permissions, Essentials, EssentialsChat, HeroChat, LocalAreaChat, LWC, ChatManager, AuthMe, Vault, WorldEdit, WorldGuard ]
|
softdepend: [ PermissionsEx, Permissions, Essentials, EssentialsChat, HeroChat, LocalAreaChat, LWC, ChatManager, AuthMe, Vault, WorldEdit, WorldGuard ]
|
||||||
|
Loading…
Reference in New Issue
Block a user