@@ -126,11 +126,10 @@ public class InvalidPatternHelper {
|
||||
}
|
||||
|
||||
public ITextComponent getFormattedToolTip() {
|
||||
IFormattableTextComponent result = new StringTextComponent(this.getCount() + " ")
|
||||
.func_230529_a_(this.getName());
|
||||
IFormattableTextComponent result = new StringTextComponent(this.getCount() + " ").append(this.getName());
|
||||
|
||||
if (!this.isValid()) {
|
||||
result.func_240699_a_(TextFormatting.RED);
|
||||
result.mergeStyle(TextFormatting.RED);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
@@ -58,12 +58,12 @@ 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.hasProperty(this.facingProp)) {
|
||||
return state.get(this.facingProp);
|
||||
}
|
||||
|
||||
// TODO 1.10.2-R - Temp
|
||||
if (state.func_235901_b_(QuartzPillarBlock.AXIS)) {
|
||||
if (state.hasProperty(QuartzPillarBlock.AXIS)) {
|
||||
Axis a = state.get(QuartzPillarBlock.AXIS);
|
||||
switch (a) {
|
||||
case X:
|
||||
|
||||
Reference in New Issue
Block a user