Fix formatting

This commit is contained in:
yueh
2020-07-28 11:44:57 +02:00
parent a65be62cd1
commit 0beab559a6
74 changed files with 221 additions and 188 deletions
@@ -970,7 +970,8 @@ public class DualityInterface implements IGridTickable, IStorageMonitorable, IIn
hostTile.getPos().getZ() + 0.5);
from = from.add(direction.getXOffset() * 0.501, direction.getYOffset() * 0.501,
direction.getZOffset() * 0.501);
final Vector3d to = from.add(direction.getXOffset(), direction.getYOffset(), direction.getZOffset());
final Vector3d to = from.add(direction.getXOffset(), direction.getYOffset(),
direction.getZOffset());
final BlockRayTraceResult hit = null;// hostWorld.rayTraceBlocks( from, to ); //FIXME:
// https://github.com/MinecraftForge/MinecraftForge/pull/6708
if (hit != null && !BAD_BLOCKS.contains(directedBlock)) {
@@ -126,7 +126,8 @@ public class InvalidPatternHelper {
}
public ITextComponent getFormattedToolTip() {
IFormattableTextComponent result = new StringTextComponent(this.getCount() + " ").func_230529_a_(this.getName());
IFormattableTextComponent result = new StringTextComponent(this.getCount() + " ")
.func_230529_a_(this.getName());
if (!this.isValid()) {
result.func_240699_a_(TextFormatting.RED);
@@ -58,7 +58,7 @@ public class MetaRotation implements IOrientable {
public Direction getUp() {
final BlockState state = this.w.getBlockState(this.pos);
if (this.facingProp != null && state.func_235901_b_(this.facingProp) ) {
if (this.facingProp != null && state.func_235901_b_(this.facingProp)) {
return state.get(this.facingProp);
}