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

@ -1,7 +1,18 @@
package ru.betterend.interfaces;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.world.level.block.Block;
public interface PottablePlant {
boolean canPlantOn(Block block);
default boolean addToPot() {
return true;
}
@Environment(EnvType.CLIENT)
default String getPottedState() {
return "";
}
}

View file

@ -0,0 +1,3 @@
package ru.betterend.interfaces;
public interface PottableTerrain {}