Pottable crops and fixes
This commit is contained in:
parent
7ba38c4b27
commit
868e983282
43 changed files with 536 additions and 53 deletions
|
@ -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 "";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
package ru.betterend.interfaces;
|
||||
|
||||
public interface PottableTerrain {}
|
Loading…
Add table
Add a link
Reference in a new issue