Pottable crops and fixes

This commit is contained in:
paulevsGitch 2021-07-12 09:18:33 +03:00
parent 7ba38c4b27
commit 868e983282
43 changed files with 536 additions and 53 deletions

View file

@ -36,4 +36,9 @@ public class EndPlantBlock extends BasePlantBlock implements PottablePlant {
public boolean canPlantOn(Block block) {
return isTerrain(block.defaultBlockState());
}
@Override
public boolean addToPot() {
return getStateDefinition().getProperties().isEmpty();
}
}