Moss fixes

This commit is contained in:
paulevsGitch 2020-09-30 21:18:56 +03:00
parent e3a20b4b80
commit 8ee06d5b2b
4 changed files with 12 additions and 6 deletions

View file

@ -43,7 +43,7 @@ public class BlockDoublePlant extends BlockBaseNotFull implements IRenderTypeabl
public static final BooleanProperty TOP = BooleanProperty.of("top"); public static final BooleanProperty TOP = BooleanProperty.of("top");
public BlockDoublePlant() { public BlockDoublePlant() {
super(FabricBlockSettings.of(Material.REPLACEABLE_PLANT) super(FabricBlockSettings.of(Material.PLANT)
.breakByTool(FabricToolTags.SHEARS) .breakByTool(FabricToolTags.SHEARS)
.sounds(BlockSoundGroup.WET_GRASS) .sounds(BlockSoundGroup.WET_GRASS)
.breakByHand(true) .breakByHand(true)
@ -52,7 +52,7 @@ public class BlockDoublePlant extends BlockBaseNotFull implements IRenderTypeabl
} }
public BlockDoublePlant(int light) { public BlockDoublePlant(int light) {
super(FabricBlockSettings.of(Material.REPLACEABLE_PLANT) super(FabricBlockSettings.of(Material.PLANT)
.breakByTool(FabricToolTags.SHEARS) .breakByTool(FabricToolTags.SHEARS)
.sounds(BlockSoundGroup.WET_GRASS) .sounds(BlockSoundGroup.WET_GRASS)
.lightLevel((state) -> { return state.get(TOP) ? light : 0; }) .lightLevel((state) -> { return state.get(TOP) ? light : 0; })

View file

@ -38,7 +38,7 @@ public class BlockPlant extends BlockBaseNotFull implements IRenderTypeable, Fer
private static final VoxelShape SHAPE = Block.createCuboidShape(4, 2, 4, 12, 14, 12); private static final VoxelShape SHAPE = Block.createCuboidShape(4, 2, 4, 12, 14, 12);
public BlockPlant() { public BlockPlant() {
super(FabricBlockSettings.of(Material.REPLACEABLE_PLANT) super(FabricBlockSettings.of(Material.PLANT)
.breakByTool(FabricToolTags.SHEARS) .breakByTool(FabricToolTags.SHEARS)
.sounds(BlockSoundGroup.GRASS) .sounds(BlockSoundGroup.GRASS)
.breakByHand(true) .breakByHand(true)
@ -46,7 +46,7 @@ public class BlockPlant extends BlockBaseNotFull implements IRenderTypeable, Fer
} }
public BlockPlant(int light) { public BlockPlant(int light) {
super(FabricBlockSettings.of(Material.REPLACEABLE_PLANT) super(FabricBlockSettings.of(Material.PLANT)
.breakByTool(FabricToolTags.SHEARS) .breakByTool(FabricToolTags.SHEARS)
.sounds(BlockSoundGroup.GRASS) .sounds(BlockSoundGroup.GRASS)
.lightLevel(light) .lightLevel(light)

View file

@ -35,5 +35,8 @@
"block.betterend.mossy_glowshroom_stairs": "Mossy Glowshroom Stairs", "block.betterend.mossy_glowshroom_stairs": "Mossy Glowshroom Stairs",
"block.betterend.mossy_glowshroom_striped_bark": "Mossy Glowshroom Striped Bark", "block.betterend.mossy_glowshroom_striped_bark": "Mossy Glowshroom Striped Bark",
"block.betterend.mossy_glowshroom_striped_log": "Mossy Glowshroom Striped Log", "block.betterend.mossy_glowshroom_striped_log": "Mossy Glowshroom Striped Log",
"block.betterend.mossy_glowshroom_trapdoor": "Mossy Glowshroom Trapdoor" "block.betterend.mossy_glowshroom_trapdoor": "Mossy Glowshroom Trapdoor",
"block.betterend.umbrella_moss": "Umbrella Moss",
"block.betterend.umbrella_moss_tall": "Tall Umbrella Moss"
} }

View file

@ -35,5 +35,8 @@
"block.betterend.mossy_glowshroom_stairs": "Ступени из мшистого светогриба", "block.betterend.mossy_glowshroom_stairs": "Ступени из мшистого светогриба",
"block.betterend.mossy_glowshroom_striped_bark": "Обтёсанная кора из мшистого светогриба", "block.betterend.mossy_glowshroom_striped_bark": "Обтёсанная кора из мшистого светогриба",
"block.betterend.mossy_glowshroom_striped_log": "Обтёсанное бревно из мшистого светогриба", "block.betterend.mossy_glowshroom_striped_log": "Обтёсанное бревно из мшистого светогриба",
"block.betterend.mossy_glowshroom_trapdoor": "Люк из мшистого светогриба" "block.betterend.mossy_glowshroom_trapdoor": "Люк из мшистого светогриба",
"block.betterend.umbrella_moss": "Зонтичный мох",
"block.betterend.umbrella_moss_tall": "Высокий зонтичный мох"
} }