mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-06 23:53:37 +02:00
22 lines
792 B
Java
22 lines
792 B
Java
package de.ellpeck.actuallyadditions.common.blocks.functional;
|
|
|
|
import de.ellpeck.actuallyadditions.common.blocks.ActuallyBlock;
|
|
import de.ellpeck.actuallyadditions.common.blocks.BlockShapes;
|
|
import net.minecraft.block.BlockState;
|
|
import net.minecraft.block.material.Material;
|
|
import net.minecraft.util.math.BlockPos;
|
|
import net.minecraft.util.math.shapes.ISelectionContext;
|
|
import net.minecraft.util.math.shapes.VoxelShape;
|
|
import net.minecraft.world.IBlockReader;
|
|
|
|
public class XPSolidifierBlock extends ActuallyBlock {
|
|
public XPSolidifierBlock() {
|
|
super(Properties.create(Material.ROCK));
|
|
}
|
|
|
|
@Override
|
|
public VoxelShape getShape(BlockState state, IBlockReader worldIn, BlockPos pos, ISelectionContext context) {
|
|
return BlockShapes.SOLIDIFIER_SHAPE;
|
|
}
|
|
}
|