mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-14 22:44:07 +01:00
14b06ec22a
- Axis -> Shaft - Gear -> Cogwheel - Large_Gear -> Large_Cogwheel - Axis_Tunnel -> Encased_Shaft - Half_Axis -> Shaft_Half - Fixed further name inconsistencies in other Object Holders - Added Skeleton for Encased Fan
26 lines
647 B
Java
26 lines
647 B
Java
package com.simibubi.create;
|
|
|
|
import net.minecraft.client.Minecraft;
|
|
import net.minecraft.util.ResourceLocation;
|
|
import net.minecraftforge.api.distmarker.Dist;
|
|
import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
|
|
|
|
@EventBusSubscriber(value = Dist.CLIENT)
|
|
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);
|
|
}
|
|
|
|
} |