1.15-pre2 loads of new mappings
This commit is contained in:
parent
937b184ace
commit
bfdde04892
21 changed files with 45 additions and 42 deletions
|
@ -115,7 +115,7 @@ public class CableBlock extends BlockWithEntity {
|
|||
}
|
||||
|
||||
private BlockState makeConnections(World world, BlockPos pos) {
|
||||
Boolean down = canConnectTo(world, pos.method_10079(Direction.DOWN, 1), Direction.UP);
|
||||
Boolean down = canConnectTo(world, pos.offset(Direction.DOWN, 1), Direction.UP);
|
||||
Boolean up = canConnectTo(world, pos.up(), Direction.DOWN);
|
||||
Boolean north = canConnectTo(world, pos.north(), Direction.SOUTH);
|
||||
Boolean east = canConnectTo(world, pos.east(), Direction.WEST);
|
||||
|
|
|
@ -107,7 +107,7 @@ public class BlockRubberLog extends LogBlock {
|
|||
}
|
||||
if (random.nextInt(50) == 0) {
|
||||
Direction facing = Direction.fromHorizontal(random.nextInt(4));
|
||||
if (worldIn.getBlockState(pos.method_10079(Direction.DOWN, 1)).getBlock() == this
|
||||
if (worldIn.getBlockState(pos.offset(Direction.DOWN, 1)).getBlock() == this
|
||||
&& worldIn.getBlockState(pos.up()).getBlock() == this) {
|
||||
worldIn.setBlockState(pos, state.with(HAS_SAP, true).with(SAP_SIDE, facing));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue