mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-14 22:44:07 +01:00
a97418e784
- Visual rework to Schematic items and their interface - Written Schematics can now be re-used in Schematic Tables - Schematic and Quill selection is now smoother and more precise - Schematics no longer re-render their preview every time they are re-positioned - Schematic tools now move, rotate or flip the schematic more smoothly - Schematic tools now render the new cuboid outlines rather than plain GL lines - Fixed Schematics not rendering TileEntities in their preview - Fixed inconsistent shifting when rotating Schematics with an "odd by even" size - Fixed typo in Mechanical Press tooltip
29 lines
754 B
Java
29 lines
754 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 {
|
|
|
|
BLANK("blank.png"),
|
|
CHECKERED("checkerboard.png"),
|
|
HIGHLIGHT_CHECKERED("highlighted_checkerboard.png"),
|
|
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);
|
|
}
|
|
|
|
} |