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);
|
||||
this.renderModel(model, stack);
|
||||
|
||||
if (stack.hasEffect())
|
||||
if (stack.isGleaming())
|
||||
{
|
||||
this.renderEffect(model);
|
||||
}
|
||||
|
|
|
@ -145,7 +145,7 @@ public class Item {
|
|||
return this.magnetic;
|
||||
}
|
||||
|
||||
public final boolean hasEffect(ItemStack stack) {
|
||||
public final boolean isGleaming(ItemStack stack) {
|
||||
return this.gleaming || stack.isItemEnchanted();
|
||||
}
|
||||
|
||||
|
|
|
@ -244,8 +244,8 @@ public final class ItemStack {
|
|||
return this.name != null;
|
||||
}
|
||||
|
||||
public boolean hasEffect() {
|
||||
return this.item.hasEffect(this);
|
||||
public boolean isGleaming() {
|
||||
return this.item.isGleaming(this);
|
||||
}
|
||||
|
||||
public TextColor getColor() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue