Fix formatting
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user