Dirt Drops Clay

Introduction

This plugin allows dirt blocks to drop clay balls and/or gravel blocks when broken. If you like to build a lot of stuff using brick stones but cannot find enough clay naturally then this plugin is for you.

The chance by which a dirt block drops clay and/or gravel can be configured as a percentage rate between 0 and 100%. This plugin works in two slightly different modes: in the first mode clay and/or gravel is dropped in addition to the normally dropped dirt block, in the second mode clay and/or gravel replace the normally dropped dirt block.

Installation

Copy the downloaded JAR file into craftbukkits plugins folder and then restart the server or reload the configuration.

Configuration

When starting the plugin for the first time a configuration file named 'config.yml' is created in the plugin's data folder (plugins/DirtDropsClay) containing default settings. Change these settings to your liking:

  • clay_dropping_percentage: 5
  • gravel_dropping_percentage: 0
  • dirt_drops_as_well: false
  • grass_treated_as_dirt: true
  • soil_treated_as_dirt: true
  • mycelium_treated_as_dirt: false
  • podzol_treated_as_dirt: false

Meaning of options:

  • clay_dropping_percentage defines the chance by which clay balls are dropped when a dirt block is broken (0-100)
  • gravel_dropping_percentage defines the chance by which a gravel block is dropped (0-100)
  • dirt_drops_as_well defines whether an additional dirt block is dropped together with clay/gravel
  • *_treated_as_dirt define whether the corresponding blocks (grass, soil, mycelium, podzol) are treated as dirt blocks when broken and thus also have the chance to drop clay/gravel

Note: Please make sure that the sum of the percentage rates for clay and gravel does not exceed 100.

Permissions

  • dirtdropsclay: The plugin is only enabled for players with this permission

By default the permission "dirtdropsclay" is false.

Conflicts

This plugin may conflict with other plugins which catch BlockBreakEvents and trigger for dirt/grass/soil/podzol/mycelium blocks and change their dropping behaviour. In the mode where clay/gravel drops replace dirt drops (dirt_drops_as_well: false) monitoring plugins which count/report the type of broken blocks may not report the correct block type when they have dropped clay/gravel.

Prerequisites

  • CB 1.7.2-R0.3
  • Java 6 or higher

Upwards compatibility

This plugin should be upwards compatible with all future bukkit releases as long as the current implementations of BlockBreakEvent handling and World.dropItemNaturally() method aren't changed.

Changelog

  • Version 0.9.0, 2014/03/27: Initial release

Download


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    76980
  • Created
    Mar 27, 2014
  • Last Released File
    Mar 27, 2014
  • Total Downloads
    551
  • License

Categories

Members

Recent Files