use ::never instead of explicit
This commit is contained in:
parent
faee8a45b4
commit
74cca1057d
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ public class HexBlocks {
|
|||
.sound(SoundType.AMETHYST)
|
||||
.lightLevel((state) -> 15)
|
||||
.noDrops()
|
||||
.isValidSpawn((state, world, pos, entityType) -> false)
|
||||
.isValidSpawn(HexBlocks::never)
|
||||
.instabreak()
|
||||
.noCollission()
|
||||
.isSuffocating(HexBlocks::never)
|
||||
|
@ -50,7 +50,7 @@ public class HexBlocks {
|
|||
.sound(SoundType.AMETHYST)
|
||||
.lightLevel((state) -> 2)
|
||||
.noDrops()
|
||||
.isValidSpawn((state, world, pos, entityType) -> false)
|
||||
.isValidSpawn(HexBlocks::never)
|
||||
.instabreak()
|
||||
.noOcclusion()
|
||||
.isSuffocating(HexBlocks::never)
|
||||
|
|
Loading…
Reference in a new issue