BedrockMiner 2.0.0

Craft Bedrock and break it with a custom Bedrock Pickaxe

  1. Wowkster
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.16
    Source Code:
    https://github.com/wowkster/BedrockMiner
    Contributors:
    Floris, Ognisko
    Bedrock Miner Final-min.jpg

    Config has changed in the latest update and is not compatible with older versions. Make sure to delete your old config and reconfigure it with the new settings.

    Description:

    Bedrock Miner Provides the ability to craft bedrock and also craft a bedrock pickaxe. Bedrock pickaxes can be used to break bedrock anywhere, but can easily be configured to your liking. All of the Pickaxe Item settings are configurable and there are a host of config options and permissions so that you can easily tailor the plugin to your needs.

    Usage:
    Right click on a block of bedrock while the pickaxe is in your hand. If the pickaxe is enchanted with silk touch, a bedrock block item will be dropped. When used, 100 durability is taken from the tool by default (but can be changed). A customizable cooldown prevents players from spamming the pickaxe and optional anvil options will allow or prevent players from renaming, repairing, and enchanting the Bedrock Pickaxe.

    Crafting:

    - Bedrock (Default is 8 crying obsidian around 1 ancient debris)

    bedrock crafting.png

    - Bedrock Pickaxe (Default is 3 custom bedrock and 2 sticks)

    pickaxe crafting.png

    Items:

    - Bedrock

    bedrock.png

    - Bedrock Pickaxe

    pickaxe.png


    Commands:
    - /bedrockminer give Gives the player a bedrock pickaxe
    - /bedrockminer reload Reloads the config.yml
    - /bm <arg> Optional Alias

    Permisions:
    - bedrockminer.use Allows player to use a bedrock pickaxe
    - bedrockminer.give Allows player to use the /bm give command
    - bedrockminer.craft.bedrock Allows player to craft bedrock
    - bedrockminer.craft.pickaxe Allows player to craft a bedrock pickaxe
    - bedrockminer.place Allows player to place bedrock
    - bedrockminer.reload Allows player reload the config.yml

    Config:
    Code (YAML):
    messages:
      prefix
    : "&7[&bBedrockMiner&7] &e"
      not-bedrock
    : "&eWarning! You can only break &6Bedrock &eusing this pickaxe"
      reload
    : "&aReloaded Config"
      no-permission
    :
        craft
    :
          pickaxe
    : "&cYou do not have permission to craft a &6Bedrock Pickaxe&e."
          bedrock
    : "&cYou do not have permission to craft &6Bedrock&e."
        use
    :
          pickaxe
    : "&cYou do not have permission to use a &6Bedrock Pickaxe&e."
          bedrock
    : "&cYou do not have permission to place &6Bedrock&e."
        command
    :
          give
    : "&eYou do not have permission to use that command."
          console
    : "&cYou must be a player to utilize these commands!"
          target-not-found
    : "&cThe selected target could not be found"
          invalid
    : "&cThat command is invalid. Usage: /bedrockminer give [target]"
          too-many-args
    : "&cCommand passed with excess arguments. Usage: /bedrockminer give [target]"
        break
    : "&eYou can not break bedrock blocks at that layer."
        # Setting the cooldown to "" will disable the message. %TICKS% is replaced by the ticks left and %SECONDS% is replaced by the seconds left (rounded up)
        cooldown
    : "&dYou need to wait before using that again. Time remaining: %TICKS% ticks (%SECONDS% seconds)."
        world
    : "&cBedrock Pickaxes are disabled in this world."

    # Customize the pickaxe item meta (changing model data will make any pickaxes currently in circulation to not work)
    pickaxe
    :
      name
    : "&6Bedrock Pickaxe"
      lore
    :
       - "Can be used to break bedrock"
      enchantments
    :
       - vanishing_curse:1
      custom-model-data
    : 6969696

    # Customize the bedrock item meta
    bedrock
    :
      name
    : "&6Bedrock"
      lore
    :
       - "Can be used to craft a bedrock pickaxe"
      custom-model-data
    : 6969697

    # If enabled, drops bedrock blocks if the pickaxe used if enchanted with silk touch
    silk-touch
    : true

    # Level silk touch required to obtain bedrock
    silk-touch-level
    : 1

    # The amount of durability to remove from the pickaxe on each usage
    durability
    : 100

    # List of disabled layers
    disabled-layers
    :
     - 0
      - 1
      - 126
      - 127

    # Multiverse support
    disabled-worlds
    :
     - example_world
      - world_nether

    # Delay between breaking blocks (ticks)
    break-delay
    : 10

    # Whether or not to register the bedrock crafting recipe
    bedrock-recipe
    : true

    # Shaped crafting recipe for crafting bedrock
    bedrock-shaped-recipe
    :
     - crying_obsidian, crying_obsidian, crying_obsidian
      - crying_obsidian, ancient_debris,  crying_obsidian
      - crying_obsidian, crying_obsidian, crying_obsidian

    # Whether or not to register the pickaxe crafting recipe
    pickaxe-recipe
    : true

    # Forces players to use the custom bedrock item when making the pickaxe.
    # Disable if your recipe doesn't use bedrock or if you have another bedrock source you would prefer.
    require-custom-bedrock
    : true

    # Shaped crafting recipe for crafting bedrock pickaxe
    pickaxe-shaped-recipe
    :
     - bedrock, bedrock, bedrock
      - air,     stick,   air
      - air,     stick,   air

    # Allow players to apply silk touch in an anvil
    allow-anvil-silk
    : true

    # Allow players to add other enchantments through an anvil
    allow-anvil-other
    : false

    # Allow players to rename the pickaxe (THIS FEATURE IS EXPERIMENTAL AND MAY BREAK)
    allow-anvil-rename
    : false

    # Allow players to merge pickaxe with other pickaxes to try and sneak mending/etc on it, or to prevent repair
    allow-anvil-merge
    : false

    Texturing:
    Both the bedrock item and the pickaxe have custom model data which can be used to add a custom texture to the items using a resource pack. The model data can be changed but the default is listed in the config.yml

    Issues:
    Please do not post issues in the comments. If you have any problems or you need help configuring some settings please either post an issue on the GitHub or DM me on Discord at Wowkster#0969

    Credit
    This plugin was originally inspired by the Bedrock Miner forge mod made by XxRexRaptorxX. This is simply a spigot adaptation that draws some inspiration, but is by no means a direct copy.

    Versioning
    If you really need this plugin for an older version of Minecraft, please reach out to me and we can come to an agreement, but for now the plugin will stay in 1.16 because of the items used in the recipes as well as the bedrock pickaxe item being a netherite pickaxe.
    Kaiz3r likes this.

Recent Reviews

  1. TomaszMaziarz
    TomaszMaziarz
    5/5,
    Version: 2.0.0
    This plugin was exactly what i was looking for. Very good quality plugin with good attention to detail and good balance for survival.
  2. LegendarySheep
    LegendarySheep
    5/5,
    Version: 1.5.1
    I needed a plugin to easily break bedrock in survival without feeling super modded. Great resource.