Purple Polypore

This commit is contained in:
paulevsGitch 2020-11-04 12:05:17 +03:00
parent cd44fbebf8
commit 3e1dad0694
20 changed files with 580 additions and 2 deletions

View file

@ -0,0 +1,22 @@
package ru.betterend.blocks.basis;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
import net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags;
import net.minecraft.block.Material;
import net.minecraft.sound.BlockSoundGroup;
public class BlockWallMushroom extends BlockWallPlant {
public BlockWallMushroom(int light) {
super(FabricBlockSettings.of(Material.WOOD)
.breakByTool(FabricToolTags.AXES)
.sounds(BlockSoundGroup.GRASS)
.luminance(light)
.sounds(BlockSoundGroup.WOOD)
.hardness(0.2F)
.breakByHand(true)
.allowsSpawning((state, world, pos, type) -> { return false; })
.suffocates((state, world, pos) -> { return false; })
.blockVision((state, world, pos) -> { return false; })
.noCollision());
}
}