removed honeyslime, 1.1.3
This commit is contained in:
1 parent
6018f680b4
commit
89b3cd8352
2 files changed
+2
-15
No files matched your search
@@ -29,19 +29,6 @@ public abstract class PistonBlock_movableTEMixin extends FacingBlock
|
||||
|
||||
private ThreadLocal<List<BlockEntity>> list1_BlockEntities = new ThreadLocal<>(); //Unneccessary ThreadLocal if client and server use different PistonBlock instances
|
||||
|
||||
@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.honeySlime && direction_1 != direction_2)
|
||||
{
|
||||
Block block = blockState_1.getBlock();
|
||||
if (block != Blocks.HONEY_BLOCK && block != Blocks.SLIME_BLOCK) return;
|
||||
Block otherBlock = world_1.getBlockState(blockPos_1.method_10079(direction_2.getOpposite(),1)).getBlock();
|
||||
if (otherBlock != Blocks.HONEY_BLOCK && otherBlock != Blocks.SLIME_BLOCK) return;
|
||||
cir.setReturnValue(block == otherBlock);
|
||||
}
|
||||
}
|
||||
|
||||
@Inject(method = "isMovable", at = @At(value = "RETURN", ordinal = 3, shift = At.Shift.BEFORE))
|
||||
private static void movableCMD(BlockState blockState_1, World world_1, BlockPos blockPos_1,
|
||||
Direction direction_1, boolean boolean_1, Direction direction_2, CallbackInfoReturnable<Boolean> cir)
|
||||
|
||||
@@ -150,12 +150,12 @@ public class CarpetSettings
|
||||
@Rule( desc = "Pistons can push block entities, like hoppers, chests etc.", category = {EXPERIMENTAL, FEATURE} )
|
||||
public static boolean movableBlockEntities = false;
|
||||
|
||||
@Rule(
|
||||
/*@Rule(
|
||||
desc = "Orange stained glass behaves like slime, but doesn't stick to it",
|
||||
extra = "Only available for 1.14. in 1.15 use honey instead",
|
||||
category = {EXPERIMENTAL, FEATURE}
|
||||
)
|
||||
public static boolean honeySlime = false;
|
||||
public static boolean honeySlime = 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