From 54289fb2a8551bf7cde8cbf005b318d42441ec1e Mon Sep 17 00:00:00 2001 From: RealTriassic Date: Sun, 30 Jul 2023 17:24:57 +0300 Subject: [PATCH] feat: add folia support --- pom.xml | 2 +- src/main/resources/config.yml | 114 +++++++++++++++++----------------- src/main/resources/plugin.yml | 1 + 3 files changed, 59 insertions(+), 58 deletions(-) diff --git a/pom.xml b/pom.xml index 45686c8..29412fe 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.triassic RandomCart - 1.0.3 + 1.0.4 jar RandomCart diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 54ab799..5b0a2c7 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -1,57 +1,57 @@ -################################################################################################### -# ██▀███ ▄▄▄ ███▄ █ ▓█████▄ ▒█████ ███▄ ▄███▓ ▄████▄ ▄▄▄ ██▀███ ▄▄▄█████▓ # -# ▓██ ▒ ██▒▒████▄ ██ ▀█ █ ▒██▀ ██▌▒██▒ ██▒▓██▒▀█▀ ██▒▒██▀ ▀█ ▒████▄ ▓██ ▒ ██▒▓ ██▒ ▓▒ # -# ▓██ ░▄█ ▒▒██ ▀█▄ ▓██ ▀█ ██▒░██ █▌▒██░ ██▒▓██ ▓██░▒▓█ ▄▒██ ▀█▄ ▓██ ░▄█ ▒▒ ▓██░ ▒░ # -# ▒██▀▀█▄ ░██▄▄▄▄██▓██▒ ▐▌██▒░▓█▄ ▌▒██ ██░▒██ ▒██ ▒▓▓▄ ▄██░██▄▄▄▄██▒██▀▀█▄ ░ ▓██▓ ░ # -# ░██▓ ▒██▒▒▓█ ▓██▒██░ ▓██░░▒████▓ ░ ████▓▒░▒██▒ ░██▒▒ ▓███▀ ▒▓█ ▓██░██▓ ▒██▒ ▒██▒ ░ # -# ░ ▒▓ ░▒▓░░▒▒ ▓▒█░ ▒░ ▒ ▒ ▒▒▓ ▒ ░ ▒░▒░▒░ ░ ▒░ ░ ░░ ░▒ ▒ ░▒▒ ▓▒█░ ▒▓ ░▒▓░ ▒ ░░ # -# ░▒ ░ ▒░░ ░ ▒▒ ░ ░░ ░ ▒░ ░ ▒ ▒ ░ ▒ ▒░ ░ ░ ░ ░ ▒ ░ ░ ▒▒ ░▒ ░ ▒ ░ # -# ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ▒ ░░ ░ ░ # -# ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ # -################################################################################################### - -# This file handles the configuration for the RandomCart Minecraft plugin. -# Once you have understood the configuration, feel free to delete the comments, I know there's a lot. -# Plugin created by Triassic. - - -randomcart: - chance: 0.5 # The chance that a RandomCart spawns. - # Blocks that have the ability to spawn RandomCarts. - allowed-blocks: - - STONE - - DIRT - - GRASS_BLOCK - -minecarts: -# miner-cart: # Identifier used internally by the plugin. -# name: "&9Miner's Cart" # Displayed in the Minecart's Chest GUI as the title. -# # List of items that will be included in this preset. -# items: -# 0: # Slot the item should be added in. Slots begin from 0. -# material: "IRON_PICKAXE" # The Item Name. -# display-name: "&fMiner's Pickaxe" # The Name of the item displayed to players. -# # Lore of the Item displayed to players. -# lore: -# - "&7From the deepest depths of the caves." -# # Item Enchantments -# enchantments: -# EFFICIENCY: # Enchantment Name. -# level: 4 # Enchantment Level. -# 1: -# material: "STONE" -# display-name: "&dSpecial Stone" -# lore: -# - "&7I don't know why!" -# amount: 64 -# 2: -# material: "STONE_BRICKS" -# amount: 64 -# 3: -# material: "COOKED_PORKCHOP" -# amount: 16 -# 4: -# material: "COBBLESTONE" - - -version: 1.0.2 # DO NOT MODIFY. \ No newline at end of file +################################################################################################### +# ██▀███ ▄▄▄ ███▄ █ ▓█████▄ ▒█████ ███▄ ▄███▓ ▄████▄ ▄▄▄ ██▀███ ▄▄▄█████▓ # +# ▓██ ▒ ██▒▒████▄ ██ ▀█ █ ▒██▀ ██▌▒██▒ ██▒▓██▒▀█▀ ██▒▒██▀ ▀█ ▒████▄ ▓██ ▒ ██▒▓ ██▒ ▓▒ # +# ▓██ ░▄█ ▒▒██ ▀█▄ ▓██ ▀█ ██▒░██ █▌▒██░ ██▒▓██ ▓██░▒▓█ ▄▒██ ▀█▄ ▓██ ░▄█ ▒▒ ▓██░ ▒░ # +# ▒██▀▀█▄ ░██▄▄▄▄██▓██▒ ▐▌██▒░▓█▄ ▌▒██ ██░▒██ ▒██ ▒▓▓▄ ▄██░██▄▄▄▄██▒██▀▀█▄ ░ ▓██▓ ░ # +# ░██▓ ▒██▒▒▓█ ▓██▒██░ ▓██░░▒████▓ ░ ████▓▒░▒██▒ ░██▒▒ ▓███▀ ▒▓█ ▓██░██▓ ▒██▒ ▒██▒ ░ # +# ░ ▒▓ ░▒▓░░▒▒ ▓▒█░ ▒░ ▒ ▒ ▒▒▓ ▒ ░ ▒░▒░▒░ ░ ▒░ ░ ░░ ░▒ ▒ ░▒▒ ▓▒█░ ▒▓ ░▒▓░ ▒ ░░ # +# ░▒ ░ ▒░░ ░ ▒▒ ░ ░░ ░ ▒░ ░ ▒ ▒ ░ ▒ ▒░ ░ ░ ░ ░ ▒ ░ ░ ▒▒ ░▒ ░ ▒ ░ # +# ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ▒ ░░ ░ ░ # +# ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ # +################################################################################################### + +# This file handles the configuration for the RandomCart Minecraft plugin. +# Once you have understood the configuration, feel free to delete the comments, I know there's a lot. +# Plugin created by Triassic. + + +randomcart: + chance: 0.5 # The chance that a RandomCart spawns. + # Blocks that have the ability to spawn RandomCarts. + allowed-blocks: + - STONE + - DIRT + - GRASS_BLOCK + +minecarts: +# miner-cart: # Identifier used internally by the plugin. +# name: "&9Miner's Cart" # Displayed in the Minecart's Chest GUI as the title. +# # List of items that will be included in this preset. +# items: +# 0: # Slot the item should be added in. Slots begin from 0. +# material: "IRON_PICKAXE" # The Item Name. +# display-name: "&fMiner's Pickaxe" # The Name of the item displayed to players. +# # Lore of the Item displayed to players. +# lore: +# - "&7From the deepest depths of the caves." +# # Item Enchantments +# enchantments: +# EFFICIENCY: # Enchantment Name. +# level: 4 # Enchantment Level. +# 1: +# material: "STONE" +# display-name: "&dSpecial Stone" +# lore: +# - "&7I don't know why!" +# amount: 64 +# 2: +# material: "STONE_BRICKS" +# amount: 64 +# 3: +# material: "COOKED_PORKCHOP" +# amount: 16 +# 4: +# material: "COBBLESTONE" + + +version: ${project.version} # DO NOT MODIFY. \ No newline at end of file diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index cf075ce..7abc203 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -2,5 +2,6 @@ name: RandomCart version: '${project.version}' main: com.triassic.randomcart.RandomCart api-version: 1.13 +folia-supported: true authors: [ Triassic ] description: Summons a Minecart randomly with loot inside of it when a block is broken.