Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2836c6304b | ||
|
|
96751b0c3f | ||
|
|
48d4bd1339 | ||
|
|
7c8c7288ff | ||
|
|
0d0e031b37 | ||
|
|
fc51e2d852 | ||
|
|
b1df67cbe7 | ||
|
|
79d1fce49c | ||
|
|
58159294bc | ||
|
|
0a87fadac9 | ||
|
|
2f13313ac1 | ||
|
|
21690ddb09 | ||
|
|
1cb9a96d4f | ||
|
|
12460a6e02 | ||
|
|
20d2fc8c3f | ||
|
|
3f395fef1d | ||
|
|
2593b14c53 | ||
|
|
72341f1633 | ||
|
|
8a7a4a79f0 | ||
|
|
2e1a20d829 | ||
|
|
39e860974a | ||
|
|
1464929264 | ||
|
|
c4c1953ae1 | ||
|
|
6efa21100b | ||
|
|
c3e1675ac8 | ||
|
|
cc9b8ab774 | ||
|
|
674d2b389b |
No files matched your search
@@ -28,3 +28,4 @@ whitelist.json
|
||||
src/main/resources/mixins.*.json
|
||||
*.bat
|
||||
layout.json
|
||||
.DS_Store
|
||||
@@ -1,14 +1,14 @@
|
||||
// Add your dependencies here
|
||||
|
||||
dependencies {
|
||||
implementation("com.github.GTNewHorizons:CodeChickenCore:1.4.7:dev")
|
||||
implementation("com.github.GTNewHorizons:NotEnoughItems:2.8.35-GTNH:dev")
|
||||
implementation("com.github.GTNewHorizons:ForgeMultipart:1.7.0:dev")
|
||||
implementation("com.github.GTNewHorizons:CodeChickenCore:1.4.10:dev")
|
||||
implementation("com.github.GTNewHorizons:NotEnoughItems:2.8.48-GTNH:dev")
|
||||
implementation("com.github.GTNewHorizons:ForgeMultipart:1.7.2:dev")
|
||||
|
||||
compileOnly("org.projectlombok:lombok:1.18.24")
|
||||
annotationProcessor("org.projectlombok:lombok:1.18.24")
|
||||
|
||||
devOnlyNonPublishable("com.github.GTNewHorizons:waila:1.9.7:dev") {
|
||||
devOnlyNonPublishable("com.github.GTNewHorizons:waila:1.9.15:dev") {
|
||||
transitive = false
|
||||
}
|
||||
devOnlyNonPublishable("com.github.GTNewHorizons:WailaHarvestability:1.3.4-GTNH:dev")
|
||||
@@ -17,7 +17,7 @@ dependencies {
|
||||
transitive = false
|
||||
}
|
||||
|
||||
compileOnly("com.github.GTNewHorizons:Angelica:1.0.0-beta68:api") {
|
||||
compileOnly("com.github.GTNewHorizons:Angelica:1.0.0-beta68a:api") {
|
||||
transitive = false
|
||||
}
|
||||
}
|
||||
@@ -41,7 +41,11 @@ developmentEnvironmentUserName = Developer
|
||||
|
||||
# Enables using modern Java syntax (up to version 17) via Jabel, while still targeting JVM 8.
|
||||
# See https://github.com/bsideup/jabel for details on how this works.
|
||||
enableModernJavaSyntax = false
|
||||
enableModernJavaSyntax = true
|
||||
|
||||
# If set, ignores the above setting and compiles with the given toolchain. This may cause unexpected issues,
|
||||
# and should *not* be used in most situations. -1 disables this.
|
||||
# forceToolchainVersion = -1
|
||||
|
||||
# Enables injecting missing generics into the decompiled source code for a better coding experience.
|
||||
# Turns most publicly visible List, Map, etc. into proper List<E>, Map<K, V> types.
|
||||
@@ -209,3 +213,6 @@ curseForgeRelations =
|
||||
# This is meant to be set in $HOME/.gradle/gradle.properties.
|
||||
# ideaCheckSpotlessOnBuild = true
|
||||
|
||||
# Non-GTNH properties
|
||||
org.gradle.configuration-cache = true
|
||||
org.gradle.parallel = true
|
||||
@@ -0,0 +1,12 @@
|
||||
#This file is generated by updateDaemonJvm
|
||||
toolchainUrl.FREE_BSD.AARCH64=https\://api.foojay.io/disco/v3.0/ids/df211d3c3eefdc408b462041881bc575/redirect
|
||||
toolchainUrl.FREE_BSD.X86_64=https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
|
||||
toolchainUrl.LINUX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/df211d3c3eefdc408b462041881bc575/redirect
|
||||
toolchainUrl.LINUX.X86_64=https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
|
||||
toolchainUrl.MAC_OS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/46949723aaa20c7b64d7ecfed7207034/redirect
|
||||
toolchainUrl.MAC_OS.X86_64=https\://api.foojay.io/disco/v3.0/ids/d6690dfd71c4c91e08577437b5b2beb0/redirect
|
||||
toolchainUrl.UNIX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/df211d3c3eefdc408b462041881bc575/redirect
|
||||
toolchainUrl.UNIX.X86_64=https\://api.foojay.io/disco/v3.0/ids/b41931cf1e70bc8e08d7dd19c343ef00/redirect
|
||||
toolchainUrl.WINDOWS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/3cd7045fca9a72cd9bc7d14a385e594c/redirect
|
||||
toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/552c7bffe0370c66410a51c55985b511/redirect
|
||||
toolchainVersion=25
|
||||
@@ -1,6 +1,6 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Copyright © 2015-2021 the original authors.
|
||||
# Copyright © 2015 the original authors.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
@@ -114,7 +114,6 @@ case "$( uname )" in #(
|
||||
NONSTOP* ) nonstop=true ;;
|
||||
esac
|
||||
|
||||
CLASSPATH="\\\"\\\""
|
||||
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
@@ -172,7 +171,6 @@ fi
|
||||
# For Cygwin or MSYS, switch paths to Windows format before running java
|
||||
if "$cygwin" || "$msys" ; then
|
||||
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
|
||||
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
|
||||
|
||||
JAVACMD=$( cygpath --unix "$JAVACMD" )
|
||||
|
||||
@@ -212,7 +210,6 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||
|
||||
set -- \
|
||||
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||
-classpath "$CLASSPATH" \
|
||||
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
|
||||
"$@"
|
||||
|
||||
|
||||
@@ -70,11 +70,10 @@ goto fail
|
||||
:execute
|
||||
@rem Setup the command line
|
||||
|
||||
set CLASSPATH=
|
||||
|
||||
|
||||
@rem Execute Gradle
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
|
||||
@@ -17,7 +17,7 @@ pluginManagement {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.48'
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.7'
|
||||
}
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ import net.minecraft.block.Block;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.renderer.RenderBlocks;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.launchwrapper.Launch;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
@@ -271,6 +272,8 @@ public enum TextureType {
|
||||
CUSTOM;
|
||||
|
||||
/* Some util stuff for shared code between v* and r* */
|
||||
public static final boolean fixedBottomFaceUV = (boolean) Launch.blackboard
|
||||
.getOrDefault("hodgepodge.FixesConfig.fixBottomFaceUV", Boolean.FALSE);
|
||||
|
||||
public static IIcon getVIcon(TextureType type, TextureSubmap map, int x, int y, int z, int side) {
|
||||
int variationSize = (type == TextureType.V9) ? 3 : 2;
|
||||
@@ -291,6 +294,9 @@ public enum TextureType {
|
||||
//For DOWN, reverse the indexes for only Z
|
||||
textureZ = (variationSize - textureZ - 1);
|
||||
}*/
|
||||
else if (side == 0 && fixedBottomFaceUV) {
|
||||
textureX = variationSize - textureX - 1;
|
||||
}
|
||||
|
||||
int index;
|
||||
if (side == 0 || side == 1) {
|
||||
|
||||
@@ -40,7 +40,7 @@ public class BlockCarvableStairs extends BlockStairs implements ICarvable {
|
||||
|
||||
@Override
|
||||
public int damageDropped(int i) {
|
||||
return i / 8;
|
||||
return i & 0x8;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -62,7 +62,7 @@ public class BlockRoadLine extends BlockCarvable {
|
||||
if (par1World.isRemote) return;
|
||||
|
||||
if (!this.canPlaceBlockAt(par1World, par2, par3, par4)) {
|
||||
this.dropBlockAsItem(par1World, par2, par3, par4, 0, 0);
|
||||
this.dropBlockAsItem(par1World, par2, par3, par4, par1World.getBlockMetadata(par2, par3, par4), 0);
|
||||
par1World.setBlockToAir(par2, par3, par4);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,91 +21,81 @@ public class SubmapManagerVoidstone extends SubmapManagerBase {
|
||||
|
||||
// TODO there must be a better more generic way to do this...
|
||||
@SideOnly(Side.CLIENT)
|
||||
private class RenderBlocksVoidstone extends RenderBlocksCTM {
|
||||
private static class RenderBlocksVoidstone extends RenderBlocksCTM {
|
||||
|
||||
@Override
|
||||
public void renderFaceXNeg(Block block, double x, double y, double z, IIcon icon) {
|
||||
super.renderFaceXNeg(block, x, y, z, icon);
|
||||
renderMinX += 0.005;
|
||||
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.WEST.ordinal()));
|
||||
super.renderFaceXNeg(block, x, y, z, null);
|
||||
clearOverrideBlockTexture();
|
||||
|
||||
super.renderFaceXNeg(block, x, y, z, icon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void renderFaceXPos(Block block, double x, double y, double z, IIcon icon) {
|
||||
super.renderFaceXPos(block, x, y, z, icon);
|
||||
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.EAST.ordinal()));
|
||||
renderMaxX -= 0.005;
|
||||
super.renderFaceXPos(block, x, y, z, null);
|
||||
clearOverrideBlockTexture();
|
||||
|
||||
super.renderFaceXPos(block, x, y, z, icon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void renderFaceYNeg(Block block, double x, double y, double z, IIcon icon) {
|
||||
super.renderFaceYNeg(block, x, y, z, icon);
|
||||
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.DOWN.ordinal()));
|
||||
renderMinY += 0.005;
|
||||
super.renderFaceYNeg(block, x, y, z, null);
|
||||
clearOverrideBlockTexture();
|
||||
|
||||
super.renderFaceYNeg(block, x, y, z, icon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void renderFaceYPos(Block block, double x, double y, double z, IIcon icon) {
|
||||
super.renderFaceYPos(block, x, y, z, icon);
|
||||
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.UP.ordinal()));
|
||||
renderMaxY -= 0.005;
|
||||
super.renderFaceYPos(block, x, y, z, null);
|
||||
clearOverrideBlockTexture();
|
||||
|
||||
super.renderFaceYPos(block, x, y, z, icon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void renderFaceZNeg(Block block, double x, double y, double z, IIcon icon) {
|
||||
super.renderFaceZNeg(block, x, y, z, icon);
|
||||
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.NORTH.ordinal()));
|
||||
renderMinZ += 0.005;
|
||||
super.renderFaceZNeg(block, x, y, z, null);
|
||||
clearOverrideBlockTexture();
|
||||
|
||||
super.renderFaceZNeg(block, x, y, z, icon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void renderFaceZPos(Block block, double x, double y, double z, IIcon icon) {
|
||||
super.renderFaceZPos(block, x, y, z, icon);
|
||||
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.SOUTH.ordinal()));
|
||||
renderMaxZ -= 0.005;
|
||||
super.renderFaceZPos(block, x, y, z, null);
|
||||
clearOverrideBlockTexture();
|
||||
|
||||
super.renderFaceZPos(block, x, y, z, icon);
|
||||
}
|
||||
|
||||
public void reset() {
|
||||
this.submap = null;
|
||||
private IIcon getBase(double x, double y, double z, int side) {
|
||||
return TextureType.getVIcon(
|
||||
TextureType.V4,
|
||||
base,
|
||||
MathHelper.floor_double(x),
|
||||
MathHelper.floor_double(y),
|
||||
MathHelper.floor_double(z),
|
||||
side);
|
||||
}
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
private static ThreadLocal<RenderBlocksVoidstone> renderBlocksThreadLocal;
|
||||
|
||||
private static void initStatics() {
|
||||
if (renderBlocksThreadLocal == null) {
|
||||
renderBlocksThreadLocal = new ThreadLocal<>();
|
||||
}
|
||||
}
|
||||
|
||||
private ISubmapManager overlay;
|
||||
private TextureSubmap base;
|
||||
private static TextureSubmap base;
|
||||
|
||||
private IIcon getBase(double x, double y, double z, int side) {
|
||||
return TextureType.getVIcon(
|
||||
TextureType.V4,
|
||||
base,
|
||||
MathHelper.floor_double(x),
|
||||
MathHelper.floor_double(y),
|
||||
MathHelper.floor_double(z),
|
||||
side);
|
||||
}
|
||||
|
||||
private String texture;
|
||||
private int meta;
|
||||
private final String texture;
|
||||
private final int meta;
|
||||
|
||||
public SubmapManagerVoidstone(String texture, int meta) {
|
||||
this.texture = texture;
|
||||
@@ -133,18 +123,22 @@ public class SubmapManagerVoidstone extends SubmapManagerBase {
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
|
||||
initStatics();
|
||||
if (renderBlocksThreadLocal == null) {
|
||||
renderBlocksThreadLocal = ThreadLocal.withInitial(RenderBlocksVoidstone::new);
|
||||
}
|
||||
|
||||
RenderBlocksVoidstone rb = renderBlocksThreadLocal.get();
|
||||
if (rb == null) {
|
||||
rb = new RenderBlocksVoidstone();
|
||||
renderBlocksThreadLocal.set(rb);
|
||||
} else rb.reset();
|
||||
RenderBlocks ctx = overlay.createRenderContext(rendererOld, block, world);
|
||||
rb.setRenderBoundsFromBlock(block);
|
||||
|
||||
if (ctx instanceof RenderBlocksCTM) {
|
||||
rb.submap = ((RenderBlocksCTM) ctx).submap;
|
||||
rb.submapSmall = ((RenderBlocksCTM) ctx).submapSmall;
|
||||
} else {
|
||||
rb.submap = null;
|
||||
rb.submapSmall = null;
|
||||
}
|
||||
|
||||
return rb;
|
||||
}
|
||||
}
|
||||
@@ -361,6 +361,61 @@ public class RenderBlocksCTM extends RenderBlocks {
|
||||
|
||||
protected void side(Block block, SubSide side, int iconIndex) {
|
||||
|
||||
// If we have an overridden texture when we're supposed to render a CTM texture,
|
||||
// we'll treat it as a normal block texture but still render it the CTM way: quarter of a texture at a time.
|
||||
// This way has one benefit: if an overridden texture is a base block texture and a CTM texture (that is being
|
||||
// rendered next) is an overlay texture above the base, we're avoiding any z-fighting issues because we
|
||||
// create identical vertices and now only order of rendering dictates which texture will be rendered above
|
||||
if (hasOverrideBlockTexture()) {
|
||||
IIcon icon = overrideBlockTexture;
|
||||
|
||||
double u0 = icon.getMinU();
|
||||
double u1 = icon.getMaxU();
|
||||
double v0 = icon.getMinV();
|
||||
double v1 = icon.getMaxV();
|
||||
|
||||
double uMid = (u0 + u1) / 2;
|
||||
double vMid = (v0 + v1) / 2;
|
||||
|
||||
// Map all LB-style subsides to bottom-left quarter, RB to bottom-right, RT to top-right, LT to top-left
|
||||
switch (side) {
|
||||
// bottom-left quarter
|
||||
case XNEG_LB, XPOS_LB, YNEG_LB, YPOS_LB, ZNEG_LB, ZPOS_LB -> {
|
||||
minU = u0;
|
||||
maxU = uMid;
|
||||
minV = vMid;
|
||||
maxV = v1;
|
||||
}
|
||||
|
||||
// bottom-right quarter
|
||||
case XNEG_RB, XPOS_RB, YNEG_RB, YPOS_RB, ZNEG_RB, ZPOS_RB -> {
|
||||
minU = uMid;
|
||||
maxU = u1;
|
||||
minV = vMid;
|
||||
maxV = v1;
|
||||
}
|
||||
|
||||
// top-right quarter
|
||||
case XNEG_RT, XPOS_RT, YNEG_RT, YPOS_RT, ZNEG_RT, ZPOS_RT -> {
|
||||
minU = uMid;
|
||||
maxU = u1;
|
||||
minV = v0;
|
||||
maxV = vMid;
|
||||
}
|
||||
|
||||
// top-left quarter
|
||||
case XNEG_LT, XPOS_LT, YNEG_LT, YPOS_LT, ZNEG_LT, ZPOS_LT -> {
|
||||
minU = u0;
|
||||
maxU = uMid;
|
||||
minV = v0;
|
||||
maxV = vMid;
|
||||
}
|
||||
}
|
||||
|
||||
side.render(this);
|
||||
return;
|
||||
}
|
||||
|
||||
IIcon icon;
|
||||
TextureSubmap map;
|
||||
if (iconIndex >= 16) {
|
||||
@@ -378,25 +433,10 @@ public class RenderBlocksCTM extends RenderBlocks {
|
||||
icon = map.getSubIcon(x, y);
|
||||
}
|
||||
|
||||
double umax = icon.getMaxU();
|
||||
double umin = icon.getMinU();
|
||||
double vmax = icon.getMaxV();
|
||||
double vmin = icon.getMinV();
|
||||
|
||||
minU = umin;
|
||||
maxU = umax;
|
||||
minV = vmin;
|
||||
maxV = vmax;
|
||||
|
||||
// uCache[0] = umin;
|
||||
// uCache[1] = umax;
|
||||
// uCache[2] = umax;
|
||||
// uCache[3] = umin;
|
||||
//
|
||||
// vCache[0] = vmax;
|
||||
// vCache[1] = vmax;
|
||||
// vCache[2] = vmin;
|
||||
// vCache[3] = vmin;
|
||||
minU = icon.getMinU();
|
||||
maxU = icon.getMaxU();
|
||||
minV = icon.getMinV();
|
||||
maxV = icon.getMaxV();
|
||||
|
||||
side.render(this);
|
||||
}
|
||||
@@ -404,7 +444,7 @@ public class RenderBlocksCTM extends RenderBlocks {
|
||||
@Override
|
||||
public void renderFaceXNeg(Block block, double x, double y, double z, IIcon icon) {
|
||||
pre(ForgeDirection.WEST);
|
||||
if (!inWorld || hasOverrideBlockTexture() || submap == null) {
|
||||
if (!inWorld || submap == null) {
|
||||
super.renderFaceXNeg(block, 0, 0, 0, icon);
|
||||
} else {
|
||||
int tex[] = ctm.getSubmapIndices(blockAccess, bx, by, bz, 4);
|
||||
@@ -429,7 +469,7 @@ public class RenderBlocksCTM extends RenderBlocks {
|
||||
@Override
|
||||
public void renderFaceXPos(Block block, double x, double y, double z, IIcon icon) {
|
||||
pre(ForgeDirection.EAST);
|
||||
if (!inWorld || hasOverrideBlockTexture() || submap == null) {
|
||||
if (!inWorld || submap == null) {
|
||||
super.renderFaceXPos(block, 0, 0, 0, icon);
|
||||
} else {
|
||||
int tex[] = ctm.getSubmapIndices(blockAccess, bx, by, bz, 5);
|
||||
@@ -454,7 +494,7 @@ public class RenderBlocksCTM extends RenderBlocks {
|
||||
@Override
|
||||
public void renderFaceZNeg(Block block, double x, double y, double z, IIcon icon) {
|
||||
pre(ForgeDirection.NORTH);
|
||||
if (!inWorld || hasOverrideBlockTexture() || submap == null) {
|
||||
if (!inWorld || submap == null) {
|
||||
super.renderFaceZNeg(block, 0, 0, 0, icon);
|
||||
} else {
|
||||
int tex[] = ctm.getSubmapIndices(blockAccess, bx, by, bz, 2);
|
||||
@@ -479,7 +519,7 @@ public class RenderBlocksCTM extends RenderBlocks {
|
||||
@Override
|
||||
public void renderFaceZPos(Block block, double x, double y, double z, IIcon icon) {
|
||||
pre(ForgeDirection.SOUTH);
|
||||
if (!inWorld || hasOverrideBlockTexture() || submap == null) {
|
||||
if (!inWorld || submap == null) {
|
||||
super.renderFaceZPos(block, 0, 0, 0, icon);
|
||||
} else {
|
||||
int tex[] = ctm.getSubmapIndices(blockAccess, bx, by, bz, 3);
|
||||
@@ -504,7 +544,7 @@ public class RenderBlocksCTM extends RenderBlocks {
|
||||
@Override
|
||||
public void renderFaceYNeg(Block block, double x, double y, double z, IIcon icon) {
|
||||
pre(ForgeDirection.DOWN);
|
||||
if (!inWorld || hasOverrideBlockTexture() || submap == null) {
|
||||
if (!inWorld || submap == null) {
|
||||
super.renderFaceYNeg(block, 0, 0, 0, icon);
|
||||
} else {
|
||||
int tex[] = ctm.getSubmapIndices(blockAccess, bx, by, bz, 0);
|
||||
@@ -529,7 +569,7 @@ public class RenderBlocksCTM extends RenderBlocks {
|
||||
@Override
|
||||
public void renderFaceYPos(Block block, double x, double y, double z, IIcon icon) {
|
||||
pre(ForgeDirection.UP);
|
||||
if (!inWorld || hasOverrideBlockTexture() || submap == null) {
|
||||
if (!inWorld || submap == null) {
|
||||
super.renderFaceYPos(block, 0, 0, 0, icon);
|
||||
} else {
|
||||
int tex[] = ctm.getSubmapIndices(blockAccess, bx, by, bz, 1);
|
||||
|
||||
@@ -177,5 +177,43 @@ public final class ChiselBlocks {
|
||||
public static final BlockCarvable lantern = null;
|
||||
public static final BlockCarvable sheetmetal = null;
|
||||
|
||||
// June Additions
|
||||
public static final BlockCarvable moss = null;
|
||||
public static final BlockCarvableCarpet moss_carpet = null;
|
||||
public static final BlockCarvable cobalt = null;
|
||||
public static final BlockCarvable electrum = null;
|
||||
public static final BlockCarvable invar = null;
|
||||
public static final BlockCarvable nickel = null;
|
||||
public static final BlockCarvable platinum = null;
|
||||
public static final BlockCarvable wrought_iron = null;
|
||||
public static final BlockCarvable stainless_steel = null;
|
||||
public static final BlockCarvable titanium = null;
|
||||
public static final BlockCarvable tungstensteel = null;
|
||||
public static final BlockCarvable rpp = null;
|
||||
public static final BlockCarvable iridium = null;
|
||||
public static final BlockCarvable osmium = null;
|
||||
public static final BlockCarvable basalt = null;
|
||||
public static final BlockCarvable tuff = null;
|
||||
public static final BlockCarvable purpurite = null;
|
||||
public static final BlockCarvable prismarine = null;
|
||||
public static final BlockCarvable darkprismarine = null;
|
||||
public static final BlockCarvable dripstone = null;
|
||||
public static final BlockCarvable coralstone = null;
|
||||
public static final BlockCarvable amethyst = null;
|
||||
public static final BlockCarvable blackstone = null;
|
||||
public static final BlockCarvable spinel = null;
|
||||
public static final BlockCarvable ruby = null;
|
||||
public static final BlockCarvable amber2 = null;
|
||||
public static final BlockCarvable jade = null;
|
||||
public static final BlockCarvable fluorite = null;
|
||||
public static final BlockCarvable opal = null;
|
||||
public static final BlockCarvable charoite = null;
|
||||
public static final BlockCarvable rhodochrosite = null;
|
||||
public static final BlockCarvable netherquartz = null;
|
||||
public static final BlockCarvable labradorite = null;
|
||||
public static final BlockCarvable onyx = null;
|
||||
public static final BlockCarvable plasticblock = null;
|
||||
public static final BlockCarvable apatite = null;
|
||||
|
||||
private ChiselBlocks() {}
|
||||
}
|
||||
@@ -101,6 +101,8 @@ tile.diorite.3.desc=Diorite Bricks
|
||||
tile.diorite.4.desc=Ornate Diorite
|
||||
tile.diorite.5.desc=Prismatic Diorite
|
||||
tile.diorite.6.desc=Diorite Small Tiles
|
||||
tile.diorite.7.desc=Cobbled Diorite
|
||||
tile.diorite.8.desc=Mossy Diorite
|
||||
|
||||
#Andesite
|
||||
tile.chisel.andesite.name=Andesite
|
||||
@@ -111,6 +113,8 @@ tile.andesite.3.desc=Andesite Bricks
|
||||
tile.andesite.4.desc=Ornate Andesite
|
||||
tile.andesite.5.desc=Prismatic Andesite
|
||||
tile.andesite.6.desc=Andesite Small Tiles
|
||||
tile.andesite.7.desc=Cobbled Andesite
|
||||
tile.andesite.8.desc=Mossy Andesite
|
||||
|
||||
#Granite
|
||||
tile.chisel.granite.name=Granite
|
||||
@@ -121,6 +125,8 @@ tile.granite.3.desc=Granite Bricks
|
||||
tile.granite.4.desc=Ornate Granite
|
||||
tile.granite.5.desc=Prismatic Granite
|
||||
tile.granite.6.desc=Granite Small Tiles
|
||||
tile.granite.7.desc=Cobbled Granite
|
||||
tile.granite.8.desc=Mossy Granite
|
||||
|
||||
#Auto Chisel
|
||||
tile.chisel.autoChisel.name=Auto Chisel
|
||||
@@ -2727,5 +2733,113 @@ tile.sheetmetal.7.desc=Paneling (Rusty)
|
||||
tile.sheetmetal.8.desc=Plating (Rusty)
|
||||
tile.sheetmetal.9.desc=Treading (Rusty)
|
||||
|
||||
#Moss
|
||||
tile.chisel.moss.name=Moss
|
||||
tile.moss.0.desc=Lush
|
||||
tile.moss.1.desc=Pale
|
||||
tile.moss.2.desc=Dark
|
||||
tile.moss.3.desc=Dry
|
||||
tile.moss.4.desc=Golden
|
||||
tile.moss.5.desc=Infused
|
||||
tile.moss.6.desc=Mutated
|
||||
tile.moss.7.desc=Scorched
|
||||
tile.moss.8.desc=Vivid
|
||||
tile.moss.9.desc=Peaty
|
||||
tile.moss.10.desc=Pink Sphagnum
|
||||
|
||||
#Metals2
|
||||
tile.chisel.cobaltblock.name=Block of Cobalt
|
||||
tile.chisel.invarblock.name=Block of Invar
|
||||
tile.chisel.electrumblock.name=Block of Electrum
|
||||
tile.chisel.nickelblock.name=Block of Nickel
|
||||
tile.chisel.platinumblock.name=Block of Platinum
|
||||
tile.chisel.wroughtironblock.name=Block of Wrought Iron
|
||||
tile.chisel.stainlesssteelblock.name=Block of Stainless Steel
|
||||
tile.chisel.titaniumblock.name=Block of Titanium
|
||||
tile.chisel.tungstensteelblock.name=Block of Tungstensteel
|
||||
tile.chisel.rppblock.name=Block of Rhodium-Plated Palladium
|
||||
tile.chisel.iridiumblock.name=Block of Iridium
|
||||
tile.chisel.osmiumblock.name=Block of Osmium
|
||||
tile.numetalOre.0.desc=Egregious
|
||||
tile.numetalOre.1.desc=Bolted Casing
|
||||
tile.numetalOre.2.desc=Caution Stripes
|
||||
tile.numetalOre.3.desc=Shipping Crate
|
||||
tile.numetalOre.4.desc=Machinery
|
||||
tile.numetalOre.5.desc=Scaffolding
|
||||
tile.numetalOre.6.desc=Thermal
|
||||
|
||||
tile.chisel.basaltblock.name=Basalt
|
||||
tile.chisel.tuffblock.name=Tuff
|
||||
tile.chisel.purpuriteblock.name=Purpurite
|
||||
tile.chisel.prismarineblock.name=Prismarine
|
||||
tile.chisel.darkprismarineblock.name=Dark Prismarine
|
||||
tile.chisel.dripstoneblock.name=Dripstone
|
||||
tile.chisel.coralstoneblock.name=Coralstone
|
||||
tile.chisel.amethystblock.name=Amethyst
|
||||
tile.chisel.blackstoneblock.name=Blackstone
|
||||
|
||||
tile.stones.0.desc=Raw
|
||||
tile.stones.1.desc=Bricks
|
||||
tile.stones.2.desc=Cobblestone
|
||||
tile.stones.3.desc=Mossy
|
||||
tile.stones.4.desc=Ornate
|
||||
tile.stones.5.desc=Pillar
|
||||
tile.stones.6.desc=Polished
|
||||
tile.stones.7.desc=Prismatic
|
||||
tile.stones.8.desc=Tiles
|
||||
|
||||
tile.newmetalOre.0.desc=Machinery
|
||||
tile.newmetalOre.1.desc=Egregiously Modern
|
||||
tile.newetalOre.2.desc=Bolted Casing
|
||||
tile.newetalOre.3.desc=Caution Stripes
|
||||
tile.newetalOre.4.desc=Shipping Crate
|
||||
tile.newetalOre.5.desc=Egregious
|
||||
tile.newetalOre.6.desc=Scaffolding
|
||||
tile.newetalOre.7.desc=Thermal
|
||||
|
||||
tile.chisel.spinel.name=Block of Spinel
|
||||
tile.chisel.ruby.name=Block of Ruby
|
||||
tile.chisel.amber.name=Block of Amber
|
||||
tile.chisel.jade.name=Block of Jade
|
||||
tile.chisel.fluorite.name=Block of Fluorite
|
||||
tile.chisel.opal.name=Block of Opal
|
||||
tile.chisel.charoite.name=Block of Charoite
|
||||
tile.chisel.spinel.name=Block of Spinel
|
||||
tile.chisel.rhodochrosite.name=Block of Rhodochrosite
|
||||
tile.chisel.netherquartz.name=Block of Nether Quartz
|
||||
tile.chisel.labradorite.name=Block of Labradorite
|
||||
tile.chisel.onyx.name=Block of Onyx
|
||||
tile.chisel.plasticblock.name=Plastic
|
||||
tile.chisel.apatite.name=Topaz
|
||||
|
||||
tile.gemstones.0.desc=Bismuth
|
||||
tile.gemstones.1.desc=Bordered
|
||||
tile.gemstones.2.desc=Encased
|
||||
tile.gemstones.3.desc=Faceted
|
||||
tile.gemstones.4.desc=Ornate Tiles
|
||||
tile.gemstones.5.desc=Panel
|
||||
tile.gemstones.6.desc=Polished
|
||||
tile.gemstones.7.desc=Raw Mineral
|
||||
tile.gemstones.8.desc=Smooth
|
||||
tile.gemstones.9.desc=Hopper Crystal
|
||||
tile.gemstones.10.desc=Simple Tiles
|
||||
|
||||
tile.plastic.0.desc=Polyethylene Sheets
|
||||
tile.plastic.1.desc=Polyvinyl Chloride Pipes
|
||||
tile.plastic.2.desc=Polytetrafluoroethylene Bricks
|
||||
tile.plastic.3.desc=Polybenzimidazole Grates
|
||||
tile.plastic.4.desc=Kevlar Netting
|
||||
tile.plastic.5.desc=Epoxy Resin Bubbles
|
||||
tile.plastic.6.desc=Radox Polymer Casings
|
||||
tile.plastic.7.desc=Red Nondescript Plastic Brick
|
||||
tile.plastic.8.desc=Orange Nondescript Plastic Brick
|
||||
tile.plastic.9.desc=Yellow Nondescript Plastic Brick
|
||||
tile.plastic.10.desc=Green Nondescript Plastic Brick
|
||||
tile.plastic.11.desc=Blue Nondescript Plastic Brick
|
||||
tile.plastic.12.desc=Purple Nondescript Plastic Brick
|
||||
tile.plastic.13.desc=Gray Nondescript Plastic Brick
|
||||
tile.plastic.14.desc=Black Nondescript Plastic Brick
|
||||
tile.plastic.15.desc=White Nondescript Plastic Brick
|
||||
|
||||
tile.chisel.amber.name=Block of Amber
|
||||
tile.chisel.bloodBrick.name=Bloodstone Brick
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.0 KiB |