mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-12 16:27:45 +00:00
Move RenderBlocksColumn to API (for now), bump API version. Closes #314
This commit is contained in:
1 parent
17f2a16bd3
commit
b2a394741f
4 files changed
+8
-9
No files matched your search
@@ -2,6 +2,6 @@ package com.cricketcraft.chisel.api;
|
||||
|
||||
public class ChiselAPIProps {
|
||||
|
||||
public static final String VERSION = "0.0.2";
|
||||
public static final String VERSION = "0.1.0";
|
||||
public static String MOD_ID = null; // Set by Chisel
|
||||
}
|
||||
+6
-5
@@ -1,18 +1,19 @@
|
||||
package com.cricketcraft.chisel.client.render;
|
||||
|
||||
import com.cricketcraft.chisel.api.rendering.CTM;
|
||||
import com.cricketcraft.chisel.api.rendering.TextureSubmap;
|
||||
package com.cricketcraft.chisel.api.rendering;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.client.renderer.RenderBlocks;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
|
||||
/**
|
||||
* Used by {@link TextureType#CTMV}, slated to be rewritten. Do not use.
|
||||
*/
|
||||
@Deprecated
|
||||
public class RenderBlocksColumn extends RenderBlocks {
|
||||
|
||||
public TextureSubmap submap;
|
||||
public IIcon iconTop;
|
||||
|
||||
|
||||
private IIcon sides[] = new IIcon[6];
|
||||
private CTM ctm = CTM.getInstance();
|
||||
|
||||
@@ -17,7 +17,6 @@ import org.apache.commons.lang3.tuple.Triple;
|
||||
|
||||
import com.cricketcraft.chisel.api.carving.CarvableHelper;
|
||||
import com.cricketcraft.chisel.api.carving.ICarvingVariation;
|
||||
import com.cricketcraft.chisel.client.render.RenderBlocksColumn;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
@@ -25,7 +24,7 @@ import cpw.mods.fml.relauncher.SideOnly;
|
||||
/**
|
||||
* Handles all default {@link ISubmapManager} behavior
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
@SuppressWarnings({ "unchecked", "deprecation" })
|
||||
public enum TextureType {
|
||||
|
||||
// @formatter:off
|
||||
|
||||
@@ -19,7 +19,6 @@ import cpw.mods.fml.client.registry.RenderingRegistry;
|
||||
public class RendererCTM implements ISimpleBlockRenderingHandler {
|
||||
|
||||
public RenderBlocksCTM rendererCTM = new RenderBlocksCTM();
|
||||
RenderBlocksColumn rendererColumn = new RenderBlocksColumn();
|
||||
|
||||
public RendererCTM() {
|
||||
if (ClientUtils.renderCTMId == 0) {
|
||||
|
||||
Reference in new issue
Block a user