forked from Upstream/mmocore
comments
This commit is contained in:
parent
d9d41ba3c4
commit
2e910d5150
@ -18,6 +18,13 @@ public class MineBlockExperienceSource extends SpecificExperienceSource<Material
|
|||||||
public final Material material;
|
public final Material material;
|
||||||
private final boolean silkTouch;
|
private final boolean silkTouch;
|
||||||
private final boolean crop;
|
private final boolean crop;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set to false by default.
|
||||||
|
*
|
||||||
|
* When set to true, the exp source will trigger when breaking
|
||||||
|
* blocks that were placed by players. This can be used for crops
|
||||||
|
*/
|
||||||
private final boolean playerPlaced;
|
private final boolean playerPlaced;
|
||||||
|
|
||||||
public MineBlockExperienceSource(ExperienceDispenser dispenser, MMOLineConfig config) {
|
public MineBlockExperienceSource(ExperienceDispenser dispenser, MMOLineConfig config) {
|
||||||
|
Loading…
Reference in New Issue
Block a user