Let me breathe

This commit is contained in:
quat1024 2023-07-08 02:42:16 -04:00
parent 65b3b97381
commit 1881505ad8

View File

@ -44,8 +44,9 @@ public class TemplateInteractionUtil {
return configureSettings(AbstractBlock.Settings.create()); return configureSettings(AbstractBlock.Settings.create());
} }
private static final AbstractBlock.ContextPredicate NOPE = (blah, blahdey, blahh) -> false;
public static AbstractBlock.Settings configureSettings(AbstractBlock.Settings s) { public static AbstractBlock.Settings configureSettings(AbstractBlock.Settings s) {
return s.luminance(TemplateInteractionUtil::luminance).nonOpaque().sounds(BlockSoundGroup.WOOD).hardness(0.2f); return s.luminance(TemplateInteractionUtil::luminance).nonOpaque().sounds(BlockSoundGroup.WOOD).hardness(0.2f).suffocates(NOPE).blockVision(NOPE);
} }
public static BlockState setDefaultStates(BlockState in) { public static BlockState setDefaultStates(BlockState in) {