mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-14 22:44:07 +01:00
21 lines
493 B
Java
21 lines
493 B
Java
|
package com.simibubi.create;
|
||
|
|
||
|
import net.minecraft.client.Minecraft;
|
||
|
import net.minecraft.util.ResourceLocation;
|
||
|
|
||
|
public enum AllSpecialTextures {
|
||
|
|
||
|
Selection("selection.png");
|
||
|
|
||
|
public static final String ASSET_PATH = "textures/special/";
|
||
|
private ResourceLocation location;
|
||
|
|
||
|
private AllSpecialTextures(String filename) {
|
||
|
location = new ResourceLocation(Create.ID, ASSET_PATH + filename);
|
||
|
}
|
||
|
|
||
|
public void bind() {
|
||
|
Minecraft.getInstance().getTextureManager().bindTexture(location);
|
||
|
}
|
||
|
|
||
|
}
|