From 1881505ad810861d3dd553b15f9c129488932d23 Mon Sep 17 00:00:00 2001 From: quat1024 Date: Sat, 8 Jul 2023 02:42:16 -0400 Subject: [PATCH] Let me breathe --- .../github/cottonmc/templates/api/TemplateInteractionUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/io/github/cottonmc/templates/api/TemplateInteractionUtil.java b/src/main/java/io/github/cottonmc/templates/api/TemplateInteractionUtil.java index 1e333c3..ba49ed6 100644 --- a/src/main/java/io/github/cottonmc/templates/api/TemplateInteractionUtil.java +++ b/src/main/java/io/github/cottonmc/templates/api/TemplateInteractionUtil.java @@ -44,8 +44,9 @@ public class TemplateInteractionUtil { return configureSettings(AbstractBlock.Settings.create()); } + private static final AbstractBlock.ContextPredicate NOPE = (blah, blahdey, blahh) -> false; 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) {