Smaragdant blocks, end tools fixes, fur & leaves blocks sounds fixes,

translations, shaders
This commit is contained in:
paulevsGitch 2021-03-27 18:01:19 +03:00
parent 941b2ace9f
commit c381260487
35 changed files with 216 additions and 29 deletions

View file

@ -32,10 +32,10 @@ public class FurBlock extends AttachedBlock implements IRenderTypeable {
private final ItemConvertible drop;
private final int dropChance;
public FurBlock(ItemConvertible drop, int light, int dropChance) {
public FurBlock(ItemConvertible drop, int light, int dropChance, boolean wet) {
super(FabricBlockSettings.of(Material.REPLACEABLE_PLANT)
.breakByTool(FabricToolTags.SHEARS)
.sounds(BlockSoundGroup.WET_GRASS)
.sounds(wet ? BlockSoundGroup.WET_GRASS : BlockSoundGroup.GRASS)
.luminance(light)
.breakByHand(true)
.noCollision());
@ -46,7 +46,7 @@ public class FurBlock extends AttachedBlock implements IRenderTypeable {
public FurBlock(ItemConvertible drop, int dropChance) {
super(FabricBlockSettings.of(Material.REPLACEABLE_PLANT)
.breakByTool(FabricToolTags.SHEARS)
.sounds(BlockSoundGroup.WET_GRASS)
.sounds(BlockSoundGroup.GRASS)
.breakByHand(true)
.noCollision());
this.drop = drop;