drops
modid:name * count (ResourceLocation * Int) | chance (Double) | blockStates (List<IBlockState>)
The first two parameters are required.
The third parameter is optional. It can have an unlimited number of properties that must be comma-separated.
Examples
Adds one
minecraft:diamond
with a100%
chance to drop when the plant hasage=3
property.minecraft:diamond | 1.0 | age=3Adds three
minecraft:diamond
s with a50%
chance to drop.minecraft:diamond * 3 | 0.5Drops the default item for the plant with a
100%
chance when the plant hasage=3
andsingle=false
properties. For example, for cattail, the default item would be cattail. 😛this | 1.0 | age=3, single=falseDrop the default seed item defined by forge with a
20%
chance. It should be compatible with all the mods altering default seeds. (For example CraftTweaker.)seeds | 0.2The parser is smart! So even this is a valid configuration:
minecraft : diamond |1 . 0 | age =3
Last modified: 18 October 2024