From e4c9a9c3af39efdd365865a457c1513d8749dc87 Mon Sep 17 00:00:00 2001 From: Draylar Date: Sun, 24 Nov 2019 04:54:48 -0600 Subject: [PATCH] Add nonOpaque to FabricBlockSettings (#434) * add nonOpaque FabricBlockSettings builder method * module version bump (0.1.2 -> 0.1.3) --- fabric-object-builders-v0/build.gradle | 2 +- .../net/fabricmc/fabric/api/block/FabricBlockSettings.java | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/fabric-object-builders-v0/build.gradle b/fabric-object-builders-v0/build.gradle index d502806db..f1595bf14 100644 --- a/fabric-object-builders-v0/build.gradle +++ b/fabric-object-builders-v0/build.gradle @@ -1,5 +1,5 @@ archivesBaseName = "fabric-object-builders" -version = getSubprojectVersion(project, "0.1.2") +version = getSubprojectVersion(project, "0.1.3") dependencies { compile project(path: ':fabric-api-base', configuration: 'dev') diff --git a/fabric-object-builders-v0/src/main/java/net/fabricmc/fabric/api/block/FabricBlockSettings.java b/fabric-object-builders-v0/src/main/java/net/fabricmc/fabric/api/block/FabricBlockSettings.java index ea69b4310..a20b00cb4 100644 --- a/fabric-object-builders-v0/src/main/java/net/fabricmc/fabric/api/block/FabricBlockSettings.java +++ b/fabric-object-builders-v0/src/main/java/net/fabricmc/fabric/api/block/FabricBlockSettings.java @@ -165,6 +165,11 @@ public class FabricBlockSettings { return this; } + public FabricBlockSettings nonOpaque() { + delegate.nonOpaque(); + return this; + } + public FabricBlockSettings sounds(BlockSoundGroup group) { BlockSettingsExtensions.sounds(delegate, group); return this;