rename method

This commit is contained in:
Sen 2025-07-20 00:10:36 +02:00
parent 3e58287efa
commit f97d952e7f
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
3 changed files with 4 additions and 4 deletions

View file

@ -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);
}

View file

@ -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();
}

View file

@ -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() {