fix: mineablity
This commit is contained in:
parent
efade64c0f
commit
8eb5a75051
@ -12,6 +12,7 @@ import net.minecraft.world.level.block.state.StateDefinition
|
||||
import net.minecraft.world.level.block.state.properties.BlockStateProperties
|
||||
import net.minecraft.world.level.material.FluidState
|
||||
import net.minecraft.world.level.material.Fluids
|
||||
import net.minecraft.world.level.material.MapColor
|
||||
import net.minecraft.world.phys.shapes.CollisionContext
|
||||
import net.minecraft.world.phys.shapes.Shapes
|
||||
import net.minecraft.world.phys.shapes.VoxelShape
|
||||
@ -20,6 +21,9 @@ object CABlock : HorizontalDirectionalBlock(
|
||||
Properties.of()
|
||||
.lightLevel { 2 }
|
||||
.noOcclusion()
|
||||
.strength(2f)
|
||||
.requiresCorrectToolForDrops()
|
||||
.mapColor(MapColor.COLOR_CYAN)
|
||||
), EntityBlock, SimpleWaterloggedBlock {
|
||||
|
||||
val shapes = getShapeForEachState(::createVoxelShape)
|
||||
|
@ -1,6 +1,8 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"quaedam:projector"
|
||||
"quaedam:projector",
|
||||
"quaedam:causality_anchor",
|
||||
"#quaedam:projections"
|
||||
]
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"quaedam:projector"
|
||||
"quaedam:projector",
|
||||
"quaedam:causality_anchor",
|
||||
"#quaedam:projections"
|
||||
]
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"bonus_rolls": 0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "quaedam:causality_anchor"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"random_sequence": "quaedam:block/causality_anchor"
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"values": [
|
||||
"quaedam:noise_projection",
|
||||
"quaedam:sound_projection",
|
||||
"quaedam:skylight_projection",
|
||||
"quaedam:swarm_projection"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user