Make blackhole be made out of stone

This commit is contained in:
DBotThePony 2022-01-11 11:48:41 +07:00
parent c41fc2c61b
commit a670671e21
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -18,7 +18,7 @@ import ru.dbotthepony.mc.otm.block.entity.blackhole.BlockEntityBlackHole
import ru.dbotthepony.mc.otm.shapes.BlockShapes
class BlockBlackHole :
Block(Properties.of(Material.Builder(MaterialColor.COLOR_BLACK).noCollider().nonSolid().build()).strength(-1f, 7200000.0f)), EntityBlock {
Block(Properties.of(Material.STONE).strength(-1f, 7200000.0f)), EntityBlock {
override fun getShape(
p_60555_: BlockState,
p_60556_: BlockGetter,
@ -29,10 +29,7 @@ class BlockBlackHole :
}
override fun newBlockEntity(blockPos: BlockPos, blockState: BlockState): BlockEntity {
return BlockEntityBlackHole(
blockPos,
blockState
)
return BlockEntityBlackHole(blockPos, blockState)
}
override fun <T : BlockEntity?> getTicker(