com.parzivail.util.data.TintedIdentifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pswg Show documentation
Show all versions of pswg Show documentation
Explore the galaxy with Galaxies: Parzi's Star Wars Mod!
package com.parzivail.util.data;
import net.minecraft.class_2960;
public class TintedIdentifier extends class_2960
{
public enum Mode
{
Multiply,
Add,
Overlay
}
private final int tint;
private final Mode tintMode;
public TintedIdentifier(String namespace, String path, int tint)
{
this(namespace, path, tint, Mode.Multiply);
}
public TintedIdentifier(String namespace, String path, int tint, Mode mode)
{
super(namespace, path);
this.tint = tint;
this.tintMode = mode;
}
public TintedIdentifier(class_2960 other, int tint, Mode mode)
{
super(other.method_12836(), other.method_12832());
this.tint = tint;
this.tintMode = mode;
}
public int getTint()
{
return tint;
}
public Mode getTintMode()
{
return tintMode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy