Some plants fixes
This commit is contained in:
parent
2093c747c6
commit
44dd1c35a9
3 changed files with 18 additions and 0 deletions
|
@ -17,6 +17,7 @@ import net.minecraft.world.BlockView;
|
|||
import net.minecraft.world.StructureWorldAccess;
|
||||
import net.minecraft.world.World;
|
||||
import ru.betterend.blocks.basis.BlockPlantWithAge;
|
||||
import ru.betterend.registry.EndBlocks;
|
||||
import ru.betterend.registry.EndItems;
|
||||
import ru.betterend.util.MHelper;
|
||||
|
||||
|
@ -55,4 +56,9 @@ public class BlockShadowBerry extends BlockPlantWithAge {
|
|||
public AbstractBlock.OffsetType getOffsetType() {
|
||||
return AbstractBlock.OffsetType.NONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isTerrain(BlockState state) {
|
||||
return state.isOf(EndBlocks.SHADOW_GRASS);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue