Lumecorn seed & rod

This commit is contained in:
paulevsGitch 2021-01-21 07:06:34 +03:00
parent 302db402c1
commit 7e9d809814
23 changed files with 162 additions and 18 deletions

View file

@ -2,6 +2,7 @@ package ru.betterend.blocks;
import java.util.Random;
import net.minecraft.block.AbstractBlock;
import net.minecraft.block.BlockState;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Direction;
@ -46,4 +47,9 @@ public class BlueVineSeedBlock extends EndPlantWithAgeBlock {
protected boolean isTerrain(BlockState state) {
return state.isOf(EndBlocks.END_MOSS) || state.isOf(EndBlocks.END_MYCELIUM);
}
@Override
public AbstractBlock.OffsetType getOffsetType() {
return AbstractBlock.OffsetType.NONE;
}
}