Merge branch 'master' into 1.15
# Conflicts: # src/main/java/carpet/mixins/PistonBlock_movableTEMixin.java # src/main/java/carpet/mixins/PistonHandler_movableTEMixin.java
This commit is contained in:
commit
3e6363ae12
2 files changed
+2
-2
No files matched your search
@@ -32,7 +32,7 @@ public abstract class PistonBlock_movableTEMixin extends FacingBlock
|
||||
@Inject(method = "isMovable", at = @At("HEAD"), cancellable = true)
|
||||
private static void slimeHoney(BlockState blockState_1, World world_1, BlockPos blockPos_1, Direction direction_1, boolean boolean_1, Direction direction_2, CallbackInfoReturnable<Boolean> cir)
|
||||
{
|
||||
if (CarpetSettings.stickyHoney && direction_1 != direction_2)
|
||||
if (CarpetSettings.honeyGlidingSlime && direction_1 != direction_2)
|
||||
{
|
||||
Block block = blockState_1.getBlock();
|
||||
if (block != Blocks.HONEY_BLOCK && block != Blocks.SLIME_BLOCK) return;
|
||||
|
||||
@@ -156,7 +156,7 @@ public class CarpetSettings
|
||||
"In 1.14 that behaviour is applied to gold blocks instead"},
|
||||
category = {EXPERIMENTAL, FEATURE}
|
||||
)
|
||||
public static boolean stickyHoney = false;
|
||||
public static boolean honeyGlidingSlime = false;
|
||||
|
||||
@Rule( desc = "Saplings turn into dead shrubs in hot climates and no water access", category = FEATURE )
|
||||
public static boolean desertShrubs = false;
|
||||
|
||||
Reference in new issue
Block a user