rename method
This commit is contained in:
parent
3e58287efa
commit
f97d952e7f
3 changed files with 4 additions and 4 deletions
|
@ -88,7 +88,7 @@ public class RenderItem
|
||||||
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
|
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
|
||||||
this.renderModel(model, stack);
|
this.renderModel(model, stack);
|
||||||
|
|
||||||
if (stack.hasEffect())
|
if (stack.isGleaming())
|
||||||
{
|
{
|
||||||
this.renderEffect(model);
|
this.renderEffect(model);
|
||||||
}
|
}
|
||||||
|
|
|
@ -145,7 +145,7 @@ public class Item {
|
||||||
return this.magnetic;
|
return this.magnetic;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final boolean hasEffect(ItemStack stack) {
|
public final boolean isGleaming(ItemStack stack) {
|
||||||
return this.gleaming || stack.isItemEnchanted();
|
return this.gleaming || stack.isItemEnchanted();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -244,8 +244,8 @@ public final class ItemStack {
|
||||||
return this.name != null;
|
return this.name != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean hasEffect() {
|
public boolean isGleaming() {
|
||||||
return this.item.hasEffect(this);
|
return this.item.isGleaming(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public TextColor getColor() {
|
public TextColor getColor() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue