Fixes of recipes deserialization from JSON

This commit is contained in:
Aleksey 2020-12-27 15:46:42 +03:00
parent 58124139d5
commit 0a82a8c4be
5 changed files with 99 additions and 26 deletions

View file

@ -114,7 +114,7 @@ public class EndPortalBlock extends NetherPortalBlock implements IRenderTypeable
float rotation = entity.applyRotation(BlockRotation.CLOCKWISE_90);
entity.yaw = rotation;
} else {
offStep = entity.getMovementDirection() == Direction.NORTH ? 1 : -1;
offStep = entity.getMovementDirection() == Direction.NORTH ? -1 : 1;
}
return checkPos.add(0, 0, offStep);
} else {