Water plants drop fix
This commit is contained in:
parent
616c824257
commit
8e5996524d
3 changed files with 1 additions and 2 deletions
|
@ -45,7 +45,6 @@ import ru.betterend.blocks.entities.PedestalBlockEntity;
|
|||
import ru.betterend.patterns.Patterns;
|
||||
import ru.betterend.registry.EndBlocks;
|
||||
import ru.betterend.rituals.InfusionRitual;
|
||||
import ru.betterend.util.BlocksHelper;
|
||||
|
||||
public class PedestalBlock extends BlockBaseNotFull implements BlockEntityProvider {
|
||||
public final static EnumProperty<PedestalState> STATE = BlockProperties.PEDESTAL_STATE;
|
||||
|
|
|
@ -88,6 +88,7 @@ public class UnderwaterPlantBlock extends BlockBaseNotFull implements IRenderTyp
|
|||
@Override
|
||||
public BlockState getStateForNeighborUpdate(BlockState state, Direction facing, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) {
|
||||
if (!canPlaceAt(state, world, pos)) {
|
||||
world.breakBlock(pos, true);
|
||||
return Blocks.WATER.getDefaultState();
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -4,7 +4,6 @@ import java.util.Random;
|
|||
|
||||
import net.minecraft.client.util.math.Vector3f;
|
||||
import net.minecraft.util.math.Vec3d;
|
||||
import ru.betterend.util.sdf.operator.SDFRotation;
|
||||
|
||||
public class MHelper {
|
||||
public static final float PI2 = (float) (Math.PI * 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue