Make blackhole be made out of stone
This commit is contained in:
parent
c41fc2c61b
commit
a670671e21
@ -18,7 +18,7 @@ import ru.dbotthepony.mc.otm.block.entity.blackhole.BlockEntityBlackHole
|
|||||||
import ru.dbotthepony.mc.otm.shapes.BlockShapes
|
import ru.dbotthepony.mc.otm.shapes.BlockShapes
|
||||||
|
|
||||||
class BlockBlackHole :
|
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(
|
override fun getShape(
|
||||||
p_60555_: BlockState,
|
p_60555_: BlockState,
|
||||||
p_60556_: BlockGetter,
|
p_60556_: BlockGetter,
|
||||||
@ -29,10 +29,7 @@ class BlockBlackHole :
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun newBlockEntity(blockPos: BlockPos, blockState: BlockState): BlockEntity {
|
override fun newBlockEntity(blockPos: BlockPos, blockState: BlockState): BlockEntity {
|
||||||
return BlockEntityBlackHole(
|
return BlockEntityBlackHole(blockPos, blockState)
|
||||||
blockPos,
|
|
||||||
blockState
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun <T : BlockEntity?> getTicker(
|
override fun <T : BlockEntity?> getTicker(
|
||||||
|
Loading…
Reference in New Issue
Block a user