2025-11-24 22:52:51 +03:00

32 lines
712 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.world.item;
public interface TooltipFlag {
public static final Default NORMAL = new Default(false, false);
public static final Default ADVANCED = new Default(true, false);
public boolean isAdvanced();
public boolean isCreative();
public record Default(boolean advanced, boolean creative) implements TooltipFlag
{
@Override
public boolean isAdvanced() {
return this.advanced;
}
@Override
public boolean isCreative() {
return this.creative;
}
public Default asCreative() {
return new Default(this.advanced, true);
}
}
}