Compare commits

..
Author SHA1 Message Date
bombcar 1d50c84c55 update for CCC/L 1.2.0 2024-01-03 16:25:53 -06:00
bombcar ebe1040015 udpate dependencies 2024-01-03 15:59:41 -06:00
1002 changed files with 1838 additions and 3246 deletions

No files matched your search

-1
View File
@@ -27,4 +27,3 @@ whitelist.json
*.iws
src/main/resources/mixins.*.json
*.bat
layout.json
+1603 -3
View File
File diff suppressed because it is too large. Load diff
+8 -9
View File
@@ -1,23 +1,22 @@
// Add your dependencies here
dependencies {
implementation("com.github.GTNewHorizons:CodeChickenCore:1.4.7:dev")
implementation("com.github.GTNewHorizons:NotEnoughItems:2.8.25-GTNH:dev")
implementation("com.github.GTNewHorizons:ForgeMultipart:1.7.0:dev")
implementation("com.github.GTNewHorizons:CodeChickenCore:1.2.0:dev")
implementation("com.github.GTNewHorizons:CodeChickenLib:1.2.0:dev")
implementation("com.github.GTNewHorizons:NotEnoughItems:2.4.13-GTNH:dev")
implementation("com.github.GTNewHorizons:ForgeMultipart:1.4.3:dev")
compileOnly("org.projectlombok:lombok:1.18.24")
annotationProcessor("org.projectlombok:lombok:1.18.24")
devOnlyNonPublishable("com.github.GTNewHorizons:waila:1.9.7:dev") {
shadowImplementation("com.github.GTNewHorizons:CTMLib:1.4.4:dev")
devOnlyNonPublishable("com.github.GTNewHorizons:waila:1.6.5:dev") {
transitive = false
}
devOnlyNonPublishable("com.github.GTNewHorizons:WailaHarvestability:1.3.4-GTNH:dev")
devOnlyNonPublishable("com.github.GTNewHorizons:WailaHarvestability:1.1.10-GTNH:dev")
compileOnly("curse.maven:ee3-65509:2305023") { // https://www.curseforge.com/minecraft/mc-mods/ee3/files/2305023
transitive = false
}
compileOnly("com.github.GTNewHorizons:Angelica:1.0.0-beta62:api") {
transitive = false
}
}
+30 -168
View File
@@ -1,205 +1,67 @@
# ExampleMod tag to use as Blowdryer (Spotless, etc.) settings version, leave empty to disable.
# LOCAL to test local config updates.
gtnh.settings.blowdryerTag = 0.2.2
# Human-readable mod name, available for mcmod.info population.
modName = Chisel
# Case-sensitive identifier string, available for mcmod.info population and used for automatic mixin JSON generation.
# Conventionally lowercase.
# This is a case-sensitive string to identify your mod. Convention is to use lower case.
modId = chisel
# Root package of the mod, used to find various classes in other properties,
# mcmod.info substitution, enabling assertions in run tasks, etc.
modGroup = com.cricketcraft.chisel
# Whether to use modGroup as the maven publishing group.
# When false, com.github.GTNewHorizons is used.
useModGroupForPublishing = false
# WHY is there no version field?
# The build script relies on git to provide a version via tags. It is super easy and will enable you to always know the
# code base or your binary. Check out this tutorial: https://blog.mattclemente.com/2017/10/13/versioning-with-git-tags/
# Updates your build.gradle and settings.gradle automatically whenever an update is available.
# Will update your build.gradle automatically whenever an update is available
autoUpdateBuildScript = false
# Version of Minecraft to target
minecraftVersion = 1.7.10
# Version of Minecraft Forge to target
forgeVersion = 10.13.4.1614
# Specify an MCP channel for dependency deobfuscation and the deobfParams task.
channel = stable
# Select a username for testing your mod with breakpoints. You may leave this empty for a random user name each time you
# restart Minecraft in development. Choose this dependent on your mod:
# Do you need consistent player progressing (for example Thaumcraft)? -> Select a name
# Do you need to test how your custom blocks interacts with a player that is not the owner? -> leave name empty
developmentEnvironmentUserName = "Developer"
# Specify an MCP mappings version for dependency deobfuscation and the deobfParams task.
mappingsVersion = 12
# Defines other MCP mappings for dependency deobfuscation.
remoteMappings = https\://raw.githubusercontent.com/MinecraftForge/FML/1.7.10/conf/
# Select a default username for testing your mod. You can always override this per-run by running
# `./gradlew runClient --username=AnotherPlayer`, or configuring this command in your IDE.
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
# 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.
enableGenericInjection = false
# Generate a class with a String field for the mod version named as defined below.
# If generateGradleTokenClass is empty or not missing, no such class will be generated.
# If gradleTokenVersion is empty or missing, the field will not be present in the class.
generateGradleTokenClass = team.chisel.Tags
# Name of the token containing the project's current version to generate/replace.
gradleTokenVersion = VERSION
# [DEPRECATED] Mod ID replacement token.
# Define a source file of your project with:
# public static final String VERSION = "GRADLETOKEN_VERSION";
# The string's content will be replaced with your mods version when compiled. You should use this to specify your mod's
# version in @Mod([...], version = VERSION, [...])
# Leave these properties empty to skip individual token replacements
replaceGradleTokenInFile = Chisel.java
gradleTokenModId =
# [DEPRECATED] Mod name replacement token.
gradleTokenModName =
# [DEPRECATED] Mod Group replacement token.
gradleTokenVersion = GRADLETOKEN_VERSION
gradleTokenGroupName =
# [DEPRECATED]
# Multiple source files can be defined here by providing a comma-separated list: Class1.java,Class2.java,Class3.java
# public static final String VERSION = "GRADLETOKEN_VERSION";
# The string's content will be replaced with your mod's version when compiled. You should use this to specify your mod's
# version in @Mod([...], version = VERSION, [...]).
# Leave these properties empty to skip individual token replacements.
replaceGradleTokenInFile =
# In case your mod provides an API for other mods to implement you may declare its package here. Otherwise, you can
# In case your mod provides an API for other mods to implement you may declare its package here. Otherwise you can
# leave this property empty.
# Example value: (apiPackage = api) + (modGroup = com.myname.mymodid) -> com.myname.mymodid.api
# Example value: apiPackage = api + modGroup = com.myname.mymodid -> com.myname.mymodid.api
apiPackage = api
# Specify the configuration file for Forge's access transformers here. It must be placed into /src/main/resources/META-INF/
# There can be multiple files in a space-separated list.
# Example value: mymodid_at.cfg nei_at.cfg
# Specify the configuration file for Forge's access transformers here. I must be placed into /src/main/resources/META-INF/
# Example value: mymodid_at.cfg
accessTransformersFile = chisel_compile_at.cfg
# Provides setup for Mixins if enabled. If you don't know what mixins are: Keep it disabled!
usesMixins = false
# Set to a non-empty string to configure mixins in a separate source set under src/VALUE, instead of src/main.
# This can speed up compile times thanks to not running the mixin annotation processor on all input sources.
# Mixin classes will have access to "main" classes, but not the other way around.
separateMixinSourceSet =
# Adds some debug arguments like verbose output and class export.
usesMixinDebug = false
# Specify the location of your implementation of IMixinConfigPlugin. Leave it empty otherwise.
mixinPlugin =
# Specify the package that contains all of your Mixins. The package must exist or
# the build will fail. If you have a package property defined in your mixins.<modid>.json,
# it must match with this or the build will fail.
# Specify the package that contains all of your Mixins. You may only place Mixins in this package or the build will fail!
mixinsPackage =
# Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin!
# This parameter is for legacy compatibility only
# Example value: (coreModClass = asm.FMLPlugin) + (modGroup = com.myname.mymodid) -> com.myname.mymodid.asm.FMLPlugin
# This parameter is for legacy compatability only
# Example value: coreModClass = asm.FMLPlugin + modGroup = com.myname.mymodid -> com.myname.mymodid.asm.FMLPlugin
coreModClass =
# If your project is only a consolidation of mixins or a core mod and does NOT contain a 'normal' mod ( = some class
# that is annotated with @Mod) you want this to be true. When in doubt: leave it on false!
containsMixinsAndOrCoreModOnly = false
# Enables Mixins even if this mod doesn't use them, useful if one of the dependencies uses mixins.
forceEnableMixins = false
# If enabled, you may use 'shadowCompile' for dependencies. They will be integrated into your jar. It is your
# responsibility to check the license and request permission for distribution if required.
# If enabled, you may use 'shadowImplementation' for dependencies. They will be integrated in your jar. It is your
# responsibility check the licence and request permission for distribution, if required.
usesShadowedDependencies = true
# If disabled, won't remove unused classes from shadowed dependencies. Some libraries use reflection to access
# their own classes, making the minimization unreliable.
minimizeShadowedDependencies = true
# If disabled, won't rename the shadowed classes.
relocateShadowedDependencies = false
# Adds CurseMaven, Modrinth, and some more well-known 1.7.10 repositories.
includeWellKnownRepositories = true
# A list of repositories to exclude from the includeWellKnownRepositories setting. Should be a space separated
# list of strings, with the acceptable keys being(case does not matter):
# cursemaven
# modrinth
excludeWellKnownRepositories =
# Change these to your Maven coordinates if you want to publish to a custom Maven repository instead of the default GTNH Maven.
# Authenticate with the MAVEN_USER and MAVEN_PASSWORD environment variables.
# If you need a more complex setup disable maven publishing here and add a publishing repository to addon.gradle.
usesMavenPublishing = true
# Maven repository to publish the mod to.
# mavenPublishUrl = https\://nexus.gtnewhorizons.com/repository/releases/
# Publishing to Modrinth requires you to set the MODRINTH_TOKEN environment variable to your current Modrinth API token.
#
# The project's ID on Modrinth. Can be either the slug or the ID.
# Leave this empty if you don't want to publish to Modrinth.
modrinthProjectId =
# The project's relations on Modrinth. You can use this to refer to other projects on Modrinth.
# Syntax: scope1-type1:name1;scope2-type2:name2;...
# Where scope can be one of [required, optional, incompatible, embedded],
# type can be one of [project, version],
# and the name is the Modrinth project or version slug/id of the other mod.
# Example: required-project:fplib;optional-project:gasstation;incompatible-project:gregtech
# Note: UniMixins is automatically set as a required dependency if usesMixins = true.
modrinthRelations =
# Publishing to CurseForge requires you to set the CURSEFORGE_TOKEN environment variable to one of your CurseForge API tokens.
#
# The project's numeric ID on CurseForge. You can find this in the About Project box.
# Leave this empty if you don't want to publish on CurseForge.
curseForgeProjectId =
# The project's relations on CurseForge. You can use this to refer to other projects on CurseForge.
# Syntax: type1:name1;type2:name2;...
# Where type can be one of [requiredDependency, embeddedLibrary, optionalDependency, tool, incompatible],
# and the name is the CurseForge project slug of the other mod.
# Example: requiredDependency:railcraft;embeddedLibrary:cofhlib;incompatible:buildcraft
# Note: UniMixins is automatically set as a required dependency if usesMixins = true.
curseForgeRelations =
# Optional parameter to customize the produced artifacts. Use this to preserve artifact naming when migrating older
# Optional parameter to customize the produced artifacts. Use this to preserver artifact naming when migrating older
# projects. New projects should not use this parameter.
# customArchiveBaseName =
# Optional parameter to have the build automatically fail if an illegal version is used.
# This can be useful if you e.g. only want to allow versions in the form of '1.1.xxx'.
# The check is ONLY performed if the version is a git tag.
# Note: the specified string must be escaped, so e.g. 1\\.1\\.\\d+ instead of 1\.1\.\d+
# versionPattern =
# Uncomment to prevent the source code from being published.
# noPublishedSources = true
# Uncomment this to disable Spotless checks.
# This should only be uncommented to keep it easier to sync with upstream/other forks.
# That is, if there is no other active fork/upstream, NEVER change this.
# disableSpotless = true
# Uncomment this to disable Checkstyle checks (currently wildcard import check).
# disableCheckstyle = true
# Override the IDEA build type. Valid values are: "" (leave blank, do not override), "idea" (force use native IDEA build), "gradle"
# (force use delegated build).
# This is meant to be set in $HOME/.gradle/gradle.properties.
# e.g. add "systemProp.org.gradle.project.ideaOverrideBuildType=idea" will override the build type to be native build.
# WARNING: If you do use this option, it will overwrite whatever you have in your existing projects. This might not be what you want!
# Usually there is no need to uncomment this here as other developers do not necessarily use the same build type as you.
# ideaOverrideBuildType = idea
# Whether IDEA should run spotless checks when pressing the Build button.
# This is meant to be set in $HOME/.gradle/gradle.properties.
# ideaCheckSpotlessOnBuild = true
#customArchiveBaseName =
# Use the team.chisel.ctmlib package name for CTMLib like upstream Chisel (needed by Techguns)
relocateShadowedDependencies = false
Binary file not shown.
+1 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Vendored
+9 -12
View File
@@ -15,8 +15,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#
##############################################################################
#
@@ -57,7 +55,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -85,8 +83,7 @@ done
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
@@ -147,7 +144,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC2039,SC3045
# shellcheck disable=SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
@@ -155,7 +152,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC2039,SC3045
# shellcheck disable=SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
@@ -204,11 +201,11 @@ fi
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.
# Collect all arguments for the java command;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in
# double quotes to make sure that they get re-expanded; and
# * put everything else in single quotes, so that it's not re-expanded.
set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
Vendored
+10 -12
View File
@@ -13,8 +13,6 @@
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@rem SPDX-License-Identifier: Apache-2.0
@rem
@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@@ -45,11 +43,11 @@ set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute
echo. 1>&2
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
@@ -59,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto execute
echo. 1>&2
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
+10 -5
View File
@@ -4,10 +4,10 @@ pluginManagement {
maven {
// RetroFuturaGradle
name "GTNH Maven"
url "https://nexus.gtnewhorizons.com/repository/public/"
url "http://jenkins.usrv.eu:8081/nexus/content/groups/public/"
allowInsecureProtocol = true
mavenContent {
includeGroup("com.gtnewhorizons")
includeGroupByRegex("com\\.gtnewhorizons\\..+")
includeGroup("com.gtnewhorizons.retrofuturagradle")
}
}
gradlePluginPortal()
@@ -17,7 +17,12 @@ pluginManagement {
}
plugins {
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.47'
id 'com.diffplug.blowdryerSetup' version '1.6.0'
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.4.0' // Provides java toolchains
}
blowdryerSetup {
repoSubfolder 'gtnhShared'
github('GTNewHorizons/ExampleMod1.7.10', 'tag', '0.2.2')
//devLocal '.' // Use this when testing config updates locally
}
@@ -100,8 +100,7 @@ public enum TextureType {
@Override
@SideOnly(Side.CLIENT)
protected RenderBlocks createRenderContext(RenderBlocks rendererOld, IBlockAccess world, Object cachedObject) {
TextureType.initStatics();
RenderBlocksColumn ret = theRenderBlocksColumn.get();
RenderBlocksColumn ret = theRenderBlocksColumn;
Pair<TextureSubmap, IIcon> data = (Pair<TextureSubmap, IIcon>) cachedObject;
ret.blockAccess = world;
@@ -206,8 +205,7 @@ public enum TextureType {
@Override
@SideOnly(Side.CLIENT)
protected RenderBlocks createRenderContext(RenderBlocks rendererOld, IBlockAccess world, Object cachedObject) {
TextureType.initStatics();
RenderBlocksCTM ret = theRenderBlocksCTM.get();
RenderBlocksCTM ret = theRenderBlocksCTM;
Triple<?, TextureSubmap, TextureSubmap> data = (Triple<?, TextureSubmap, TextureSubmap>) cachedObject;
ret.blockAccess = world;
@@ -327,9 +325,9 @@ public enum TextureType {
private static final CTM ctm = CTM.getInstance();
private static final Random rand = new Random();
@SideOnly(Side.CLIENT)
private static ThreadLocal<RenderBlocksCTM> theRenderBlocksCTM;
private static RenderBlocksCTM theRenderBlocksCTM;
@SideOnly(Side.CLIENT)
private static ThreadLocal<RenderBlocksColumn> theRenderBlocksColumn;
private static RenderBlocksColumn theRenderBlocksColumn;
private String[] suffixes;
static {
@@ -340,17 +338,16 @@ public enum TextureType {
this.suffixes = suffixes.length == 0 ? new String[] { "" } : suffixes;
}
private static void initStatics() {
if (theRenderBlocksCTM == null) {
theRenderBlocksCTM = ThreadLocal.withInitial(RenderBlocksCTM::new);
theRenderBlocksColumn = ThreadLocal.withInitial(RenderBlocksColumn::new);
}
}
private static void initStatics() {
if (theRenderBlocksCTM == null) {
theRenderBlocksCTM = new RenderBlocksCTM();
theRenderBlocksColumn = new RenderBlocksColumn();
}
}
@SideOnly(Side.CLIENT)
public static void clearStatics() {
if(theRenderBlocksCTM != null) theRenderBlocksCTM.remove();
if(theRenderBlocksColumn != null) theRenderBlocksColumn.remove();
theRenderBlocksCTM = null;
theRenderBlocksColumn = null;
}
public ISubmapManager createManagerFor(ICarvingVariation variation, String texturePath) {
@@ -431,6 +428,7 @@ public enum TextureType {
@Override
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
initStatics();
RenderBlocks rb = type.createRenderContext(rendererOld, world, cachedObject);
rb.setRenderBoundsFromBlock(block);
return rb;
+2 -2
View File
@@ -57,7 +57,7 @@ import team.chisel.world.GeneratorChisel;
name = Chisel.MOD_NAME,
version = Chisel.VERSION,
guiFactory = "team.chisel.client.gui.GuiFactory",
dependencies = "after:EE3;after:ForgeMultipart;after:Thaumcraft;after:appliedenergistics2;after:Railcraft;after:AWWayofTime;after:TwilightForest;after:BiomesOPlenty")
dependencies = "after:EE3;after:ForgeMultipart;after:Thaumcraft;after:appliedenergistics2;after:Railcraft;after:AWWayofTime;after:TwilightForest")
public class Chisel {
public static final String MOD_ID = "chisel";
@@ -67,7 +67,7 @@ public class Chisel {
1.0f,
1.0f);
public static final String MOD_NAME = "Chisel";
public static final String VERSION = Tags.VERSION;
public static final String VERSION = "GRADLETOKEN_VERSION";
public static final BlockCarvable.SoundType soundHolystoneFootstep = new BlockCarvable.SoundType(
"holystone",
1.0f,
+33 -267
View File
@@ -8,8 +8,6 @@ import static team.chisel.init.ChiselBlocks.jackolantern;
import static team.chisel.init.ChiselBlocks.neonite;
import static team.chisel.init.ChiselBlocks.nucrete;
import static team.chisel.init.ChiselBlocks.planks;
import static team.chisel.init.ChiselBlocks.planks_bop;
import static team.chisel.init.ChiselBlocks.planks_tc;
import static team.chisel.init.ChiselBlocks.pumpkin;
import static team.chisel.init.ChiselBlocks.stainedGlass;
import static team.chisel.init.ChiselBlocks.stainedGlassForestry;
@@ -1088,9 +1086,7 @@ public enum Features {
end_Stone.carverHelper.addVariation("tile.end_Stone.13.desc", 13, "endstone/endStoneLargeTile");
end_Stone.carverHelper.registerBlock(end_Stone, "end_Stone");
end_Stone.carverHelper.registerVariations("end_stone");
if (!Loader.isModLoaded("dreamcraft")) {
end_Stone.carverHelper.registerOre("blockEndstone");
}
end_Stone.carverHelper.registerOre("blockEndstone");
Carving.chisel.registerOre("end_stone", "blockEndstone");
}
},
@@ -1459,6 +1455,10 @@ public enum Features {
BlockCarvable glotek = (BlockCarvable) new BlockCarvableGlowie(Material.rock)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks);
if (!Configurations.allowChiselCrossColors) {
glotek.carverHelper.forbidChiseling = true;
}
for (int i = 0; i < 16; i++) {
glotek.carverHelper.addVariation(
"tile.glotek." + i + ".desc",
@@ -1639,107 +1639,6 @@ public enum Features {
}
},
HARDENED_CLAY {
@Override
void addBlocks() {
BlockCarvable hardenedClay = (BlockCarvable) new BlockCarvable(Material.rock)
.setCreativeTab(ChiselTabs.tabStoneChiselBlocks)
.setStepSound(Block.soundTypeStone)
.setHardness(1.5F);
Carving.chisel.addVariation("hardenedClay", Blocks.hardened_clay, 0, 0);
hardenedClay.carverHelper.addVariation("tile.hardened_clay.0.desc", 0, "hardenedclay/braid");
hardenedClay.carverHelper.addVariation("tile.hardened_clay.1.desc", 1, "hardenedclay/bricks-cracked");
hardenedClay.carverHelper.addVariation("tile.hardened_clay.2.desc", 2, "hardenedclay/bricks-encased");
hardenedClay.carverHelper.addVariation("tile.hardened_clay.3.desc", 3, "hardenedclay/bricks-small");
hardenedClay.carverHelper.addVariation("tile.hardened_clay.4.desc", 4, "hardenedclay/bricks-soft");
hardenedClay.carverHelper.addVariation("tile.hardened_clay.5.desc", 5, "hardenedclay/bricks-solid");
hardenedClay.carverHelper.addVariation("tile.hardened_clay.6.desc", 6, "hardenedclay/bricks-triple");
hardenedClay.carverHelper.addVariation("tile.hardened_clay.7.desc", 7, "hardenedclay/chaotic-medium");
hardenedClay.carverHelper.addVariation("tile.hardened_clay.8.desc", 8, "hardenedclay/chaotic-small");
hardenedClay.carverHelper.addVariation("tile.hardened_clay.9.desc", 9, "hardenedclay/circular");
hardenedClay.carverHelper.addVariation("tile.hardened_clay.10.desc", 10, "hardenedclay/cracked");
hardenedClay.carverHelper.addVariation("tile.hardened_clay.11.desc", 11, "hardenedclay/dent");
hardenedClay.carverHelper.addVariation("tile.hardened_clay.12.desc", 12, "hardenedclay/french-1");
hardenedClay.carverHelper.addVariation("tile.hardened_clay.13.desc", 13, "hardenedclay/french-2");
hardenedClay.carverHelper.addVariation("tile.hardened_clay.14.desc", 14, "hardenedclay/layers");
hardenedClay.carverHelper.addVariation("tile.hardened_clay.15.desc", 15, "hardenedclay/mosaic");
hardenedClay.carverHelper.registerAll(hardenedClay, "hardened_clay");
BlockCarvable hardenedClay2 = (BlockCarvable) new BlockCarvable(Material.rock)
.setCreativeTab(ChiselTabs.tabStoneChiselBlocks)
.setStepSound(Block.soundTypeStone)
.setHardness(1.5F);
hardenedClay2.carverHelper.addVariation("tile.hardened_clay.16.desc", 0, "hardenedclay/ornate");
hardenedClay2.carverHelper.addVariation("tile.hardened_clay.17.desc", 1, "hardenedclay/panel");
hardenedClay2.carverHelper.addVariation("tile.hardened_clay.18.desc", 2, "hardenedclay/pillar");
hardenedClay2.carverHelper.addVariation("tile.hardened_clay.19.desc", 3, "hardenedclay/prism");
hardenedClay2.carverHelper.addVariation("tile.hardened_clay.20.desc", 4, "hardenedclay/road");
hardenedClay2.carverHelper.addVariation("tile.hardened_clay.21.desc", 5, "hardenedclay/tiles-large");
hardenedClay2.carverHelper.addVariation("tile.hardened_clay.22.desc", 6, "hardenedclay/tiles-medium");
hardenedClay2.carverHelper.addVariation("tile.hardened_clay.23.desc", 7, "hardenedclay/tiles-small");
hardenedClay2.carverHelper.addVariation("tile.hardened_clay.24.desc", 8, "hardenedclay/twisted");
hardenedClay2.carverHelper.addVariation("tile.hardened_clay.25.desc", 9, "hardenedclay/weaver");
hardenedClay2.carverHelper.registerBlock(hardenedClay2, "hardened_clay2");
hardenedClay2.carverHelper.registerVariations("hardenedClay");
}
},
HARDENED_CLAY_STAINED {
@Override
void addBlocks() {
for (int i = 0; i < 16; i++) {
BlockCarvable hardenedClay = (BlockCarvable) new BlockCarvable(Material.rock)
.setCreativeTab(ChiselTabs.tabStoneChiselBlocks)
.setStepSound(Block.soundTypeStone)
.setHardness(1.5F);
final String groupName = "hardenedClay" + sGNames[i].replaceAll(" ", "")
.toLowerCase();
final String blockName = "hardened_clay_" + sGNames[i].replaceAll(" ", "")
.toLowerCase();
String oreName = "hardenedClay" + sGNames[i].replaceAll(" ", "");
String texName = "hardenedclay/" + sGNames[i].toLowerCase()
.replaceAll(" ", "") + "/";
Carving.chisel.addVariation(groupName, Blocks.stained_hardened_clay, i, 0);
hardenedClay.carverHelper.addVariation("tile." + blockName + ".0.desc", 0, texName + "braid");
hardenedClay.carverHelper.addVariation("tile." + blockName + ".1.desc", 1, texName + "bricks-cracked");
hardenedClay.carverHelper.addVariation("tile." + blockName + ".2.desc", 2, texName + "bricks-encased");
hardenedClay.carverHelper.addVariation("tile." + blockName + ".3.desc", 3, texName + "bricks-small");
hardenedClay.carverHelper.addVariation("tile." + blockName + ".4.desc", 4, texName + "bricks-soft");
hardenedClay.carverHelper.addVariation("tile." + blockName + ".5.desc", 5, texName + "bricks-solid");
hardenedClay.carverHelper.addVariation("tile." + blockName + ".6.desc", 6, texName + "bricks-triple");
hardenedClay.carverHelper.addVariation("tile." + blockName + ".7.desc", 7, texName + "chaotic-medium");
hardenedClay.carverHelper.addVariation("tile." + blockName + ".8.desc", 8, texName + "chaotic-small");
hardenedClay.carverHelper.addVariation("tile." + blockName + ".9.desc", 9, texName + "circular");
hardenedClay.carverHelper.addVariation("tile." + blockName + ".10.desc", 10, texName + "cracked");
hardenedClay.carverHelper.addVariation("tile." + blockName + ".11.desc", 11, texName + "dent");
hardenedClay.carverHelper.addVariation("tile." + blockName + ".12.desc", 12, texName + "french-1");
hardenedClay.carverHelper.addVariation("tile." + blockName + ".13.desc", 13, texName + "french-2");
hardenedClay.carverHelper.addVariation("tile." + blockName + ".14.desc", 14, texName + "layers");
hardenedClay.carverHelper.addVariation("tile." + blockName + ".15.desc", 15, texName + "mosaic");
hardenedClay.carverHelper.registerAll(hardenedClay, blockName);
BlockCarvable hardenedClay2 = (BlockCarvable) new BlockCarvable(Material.rock)
.setCreativeTab(ChiselTabs.tabStoneChiselBlocks)
.setStepSound(Block.soundTypeStone)
.setHardness(1.5F);
hardenedClay2.carverHelper.addVariation("tile." + blockName + ".16.desc", 0, texName + "ornate");
hardenedClay2.carverHelper.addVariation("tile." + blockName + ".17.desc", 1, texName + "panel");
hardenedClay2.carverHelper.addVariation("tile." + blockName + ".18.desc", 2, texName + "pillar");
hardenedClay2.carverHelper.addVariation("tile." + blockName + ".19.desc", 3, texName + "prism");
hardenedClay2.carverHelper.addVariation("tile." + blockName + ".20.desc", 4, texName + "road");
hardenedClay2.carverHelper.addVariation("tile." + blockName + ".21.desc", 5, texName + "tiles-large");
hardenedClay2.carverHelper.addVariation("tile." + blockName + ".22.desc", 6, texName + "tiles-medium");
hardenedClay2.carverHelper.addVariation("tile." + blockName + ".23.desc", 7, texName + "tiles-small");
hardenedClay2.carverHelper.addVariation("tile." + blockName + ".24.desc", 8, texName + "twisted");
hardenedClay2.carverHelper.addVariation("tile." + blockName + ".25.desc", 9, texName + "weaver");
hardenedClay2.carverHelper.registerBlock(hardenedClay2, blockName + "2");
hardenedClay2.carverHelper.registerVariations(groupName);
}
}
},
HEX_PLATING {
@Override
@@ -2719,22 +2618,22 @@ public enum Features {
.setCreativeTab(ChiselTabs.tabMetalChiselBlocks)
.setHardness(2.0F)
.setResistance(10F);
imperial.carverHelper.addVariation("tile.nation.0.desc", 0, "military/imperialCamo");
imperial.carverHelper.addVariation("tile.nation.1.desc", 1, "military/imperialCamoSecluded");
imperial.carverHelper.addVariation("tile.nation.2.desc", 2, "military/imperialPlate");
imperial.carverHelper.addVariation("tile.nation.3.desc", 3, "military/imperialCautionWhite");
imperial.carverHelper.addVariation("tile.nation.4.desc", 4, "military/imperialCautionOrange");
imperial.carverHelper.addVariation("tile.imperial.0.desc", 0, "military/imperialCamo");
imperial.carverHelper.addVariation("tile.imperial.1.desc", 1, "military/imperialCamoSecluded");
imperial.carverHelper.addVariation("tile.imperial.2.desc", 2, "military/imperialPlate");
imperial.carverHelper.addVariation("tile.imperial.3.desc", 3, "military/imperialCautionWhite");
imperial.carverHelper.addVariation("tile.imperial.4.desc", 4, "military/imperialCautionOrange");
imperial.carverHelper.registerBlock(imperial, "nation");
BlockCarvable rebel = (BlockCarvable) new BlockCarvable(Material.rock)
.setCreativeTab(ChiselTabs.tabMetalChiselBlocks)
.setHardness(2.0F)
.setResistance(10F);
rebel.carverHelper.addVariation("tile.nation.0.desc", 0, "military/rebelCamo", 20);
rebel.carverHelper.addVariation("tile.nation.1.desc", 1, "military/rebelCamoSecluded", 21);
rebel.carverHelper.addVariation("tile.nation.2.desc", 2, "military/rebelPlate", 22);
rebel.carverHelper.addVariation("tile.nation.3.desc", 3, "military/rebelCautionWhite", 23);
rebel.carverHelper.addVariation("tile.nation.4.desc", 4, "military/rebelCautionRed", 24);
rebel.carverHelper.addVariation("tile.rebel.0.desc", 0, "military/rebelCamo", 20);
rebel.carverHelper.addVariation("tile.rebel.1.desc", 1, "military/rebelCamoSecluded", 21);
rebel.carverHelper.addVariation("tile.rebel.2.desc", 2, "military/rebelPlate", 22);
rebel.carverHelper.addVariation("tile.rebel.3.desc", 3, "military/rebelCautionWhite", 23);
rebel.carverHelper.addVariation("tile.rebel.4.desc", 4, "military/rebelCautionRed", 24);
rebel.carverHelper.registerBlock(rebel, "rebel");
imperial.carverHelper.registerVariations("military");
@@ -2759,6 +2658,10 @@ public enum Features {
BlockCarvable neonite = (BlockCarvable) new BlockCarvableGlowie(Material.rock)
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks);
if (!Configurations.allowChiselCrossColors) {
neonite.carverHelper.forbidChiseling = true;
}
for (int i = 0; i < 16; i++) {
neonite.carverHelper.addVariation(
"tile.neonite." + i + ".desc",
@@ -3602,10 +3505,8 @@ public enum Features {
// "Stone snake block head");
// LanguageRegistry.addName(new ItemStack(snakestone, 1, 13),
// "Stone snake block body");
Carving.chisel.addVariation("stonebricksmooth", stone_snakestone, 1, 20);
Carving.chisel.addVariation("stonebricksmooth", stone_snakestone, 13, 21);
Carving.chisel.addVariation("stonebrick", stone_snakestone, 1, 100);
Carving.chisel.addVariation("stonebrick", stone_snakestone, 13, 101);
// Carving.chisel.registerOre("snakestoneStone", "snakestoneStone");
}
},
@@ -4165,25 +4066,23 @@ public enum Features {
.setHardness(5.0F)
.setResistance(10.0F);
voidstone2.carverHelper
.addVariation("tile.voidstone2.0.desc", 0, new SubmapManagerVoidstone("voidstone/animated/raw", 0));
.addVariation("tile.voidstone.0.desc", 0, new SubmapManagerVoidstone("voidstone/animated/raw", 0));
voidstone2.carverHelper
.addVariation("tile.voidstone.1.desc", 1, new SubmapManagerVoidstone("voidstone/animated/quarters", 1));
voidstone2.carverHelper
.addVariation("tile.voidstone.2.desc", 2, new SubmapManagerVoidstone("voidstone/animated/smooth", 2));
voidstone2.carverHelper
.addVariation("tile.voidstone.3.desc", 3, new SubmapManagerVoidstone("voidstone/animated/skulls", 3));
voidstone2.carverHelper
.addVariation("tile.voidstone.4.desc", 4, new SubmapManagerVoidstone("voidstone/animated/rune", 4));
voidstone2.carverHelper.addVariation(
"tile.voidstone2.1.desc",
1,
new SubmapManagerVoidstone("voidstone/animated/quarters", 1));
voidstone2.carverHelper
.addVariation("tile.voidstone2.2.desc", 2, new SubmapManagerVoidstone("voidstone/animated/smooth", 2));
voidstone2.carverHelper
.addVariation("tile.voidstone2.3.desc", 3, new SubmapManagerVoidstone("voidstone/animated/skulls", 3));
voidstone2.carverHelper
.addVariation("tile.voidstone2.4.desc", 4, new SubmapManagerVoidstone("voidstone/animated/rune", 4));
voidstone2.carverHelper.addVariation(
"tile.voidstone2.5.desc",
"tile.voidstone.5.desc",
5,
new SubmapManagerVoidstone("voidstone/animated/metalborder", 5));
voidstone2.carverHelper
.addVariation("tile.voidstone2.6.desc", 6, new SubmapManagerVoidstone("voidstone/animated/eye", 6));
.addVariation("tile.voidstone.6.desc", 6, new SubmapManagerVoidstone("voidstone/animated/eye", 6));
voidstone2.carverHelper
.addVariation("tile.voidstone2.7.desc", 7, new SubmapManagerVoidstone("voidstone/animated/bevel", 7));
.addVariation("tile.voidstone.7.desc", 7, new SubmapManagerVoidstone("voidstone/animated/bevel", 7));
voidstone2.carverHelper.registerAll(voidstone2, "voidstone2");
Carving.chisel.registerOre("voidstone2", "voidstone2");
@@ -4366,106 +4265,6 @@ public enum Features {
}
},
WOOD_BOP("BiomesOPlenty") {
@Override
void addBlocks() {
String[] plank_names = { "sacredoak", "cherry", "dark", "fir", "ethereal", "magic", "mangrove", "palm",
"redwood", "willow", "pine", "hellbark", "jacaranda", "mahogany" };
for (int i = 0; i < plank_names.length; i++) {
String n = plank_names[i];
final String name = n.replace('-', '_') + "_planks";
planks_bop[i] = (BlockCarvable) (new BlockCarvable(Material.wood))
.setCreativeTab(ChiselTabs.tabWoodChiselBlocks)
.setHardness(2.0F)
.setResistance(5.0F)
.setStepSound(Block.soundTypeWood);
planks_bop[i].carverHelper.addVariation("tile." + n + ".planks.1.desc", 1, "planks-" + n + "/clean");
planks_bop[i].carverHelper.addVariation("tile." + n + ".planks.2.desc", 2, "planks-" + n + "/short");
planks_bop[i].carverHelper.addVariation("tile." + n + ".planks.6.desc", 6, "planks-" + n + "/fancy");
planks_bop[i].carverHelper
.addVariation("tile." + n + ".planks.8.desc", 8, "planks-" + n + "/panel-nails");
planks_bop[i].carverHelper.addVariation("tile." + n + ".planks.9.desc", 9, "planks-" + n + "/double");
planks_bop[i].carverHelper.addVariation("tile." + n + ".planks.10.desc", 10, "planks-" + n + "/crate");
planks_bop[i].carverHelper
.addVariation("tile." + n + ".planks.11.desc", 11, "planks-" + n + "/crate-fancy");
planks_bop[i].carverHelper.addVariation("tile." + n + ".planks.13.desc", 13, "planks-" + n + "/large");
planks_bop[i].carverHelper.addVariation("tile." + n + ".planks.3.desc", 3, "planks-" + n + "/vertical");
planks_bop[i].carverHelper
.addVariation("tile." + n + ".planks.4.desc", 4, "planks-" + n + "/vertical-uneven");
planks_bop[i].carverHelper.addVariation("tile." + n + ".planks.5.desc", 5, "planks-" + n + "/parquet");
planks_bop[i].carverHelper.addVariation("tile." + n + ".planks.7.desc", 7, "planks-" + n + "/blinds");
planks_bop[i].carverHelper
.addVariation("tile." + n + ".planks.12.desc", 12, "planks-" + n + "/crateex");
planks_bop[i].carverHelper
.addVariation("tile." + n + ".planks.14.desc", 14, "planks-" + n + "/chaotic-hor");
planks_bop[i].carverHelper
.addVariation("tile." + n + ".planks.15.desc", 15, "planks-" + n + "/chaotic");
planks_bop[i].carverHelper.registerAll(planks_bop[i], name);
int i2 = i;
if (i > 9) {
i2 = i + 1;
}
Carving.chisel.addVariation(name, GameRegistry.findBlock("BiomesOPlenty", "planks"), i2, 0);
planks_bop[i].setHarvestLevel("axe", 0);
Carving.chisel.registerOre(name, "wood");
Carving.chisel.setVariationSound(name, Chisel.MOD_ID + ":chisel.wood");
Blocks.fire.setFireInfo(planks_bop[i], 5, 20);
}
}
},
WOOD_THAUMCRAFT("Thaumcraft") {
@Override
void addBlocks() {
String[] plank_names = { "greatwood", "silverwood" };
for (int i = 0; i < plank_names.length; i++) {
String n = plank_names[i];
final String name = n.replace('-', '_') + "_planks";
planks_tc[i] = (BlockCarvable) (new BlockCarvable(Material.wood))
.setCreativeTab(ChiselTabs.tabWoodChiselBlocks)
.setHardness(2.0F)
.setResistance(5.0F)
.setStepSound(Block.soundTypeWood);
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.1.desc", 1, "planks-" + n + "/clean");
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.2.desc", 2, "planks-" + n + "/short");
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.6.desc", 6, "planks-" + n + "/fancy");
planks_tc[i].carverHelper
.addVariation("tile." + n + ".planks.8.desc", 8, "planks-" + n + "/panel-nails");
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.9.desc", 9, "planks-" + n + "/double");
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.10.desc", 10, "planks-" + n + "/crate");
planks_tc[i].carverHelper
.addVariation("tile." + n + ".planks.11.desc", 11, "planks-" + n + "/crate-fancy");
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.13.desc", 13, "planks-" + n + "/large");
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.3.desc", 3, "planks-" + n + "/vertical");
planks_tc[i].carverHelper
.addVariation("tile." + n + ".planks.4.desc", 4, "planks-" + n + "/vertical-uneven");
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.5.desc", 5, "planks-" + n + "/parquet");
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.7.desc", 7, "planks-" + n + "/blinds");
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.12.desc", 12, "planks-" + n + "/crateex");
planks_tc[i].carverHelper
.addVariation("tile." + n + ".planks.14.desc", 14, "planks-" + n + "/chaotic-hor");
planks_tc[i].carverHelper.addVariation("tile." + n + ".planks.15.desc", 15, "planks-" + n + "/chaotic");
planks_tc[i].carverHelper.registerAll(planks_tc[i], name);
if (GameRegistry.findBlock("salisarcana", "blockCustomPlank") != null) {
Carving.chisel.addVariation(name, GameRegistry.findBlock("salisarcana", "blockCustomPlank"), i, 0);
} else {
Carving.chisel
.addVariation(name, GameRegistry.findBlock("Thaumcraft", "blockWoodenDevice"), i + 6, 0);
}
planks_tc[i].setHarvestLevel("axe", 0);
Carving.chisel.registerOre(name, "wood");
Carving.chisel.setVariationSound(name, Chisel.MOD_ID + ":chisel.wood");
Blocks.fire.setFireInfo(planks_tc[i], 5, 20);
}
}
},
WOOLEN_CLAY {
@Override
@@ -4503,39 +4302,6 @@ public enum Features {
boolean needsMetaRecipes() {
return true;
}
},
FROGLIGHT {
@Override
void addBlocks() {
BlockCarvable froglight = (BlockCarvable) new BlockCarvable()
.setCreativeTab(ChiselTabs.tabOtherChiselBlocks)
.setHardness(1F)
.setLightLevel(1.0F)
.setStepSound(Block.soundTypeStone);
for (int i = 0; i < 10; i++) {
froglight.carverHelper.addVariation("tile.froglight." + i + ".desc", i, "froglight/" + i);
}
froglight.carverHelper.registerAll(froglight, "froglight");
}
@Override
void addRecipes() {
GameRegistry.addRecipe(
new ItemStack(ChiselBlocks.froglight, 8, 0),
"SGS",
"BSB",
"SGS",
'S',
new ItemStack(Blocks.stone, 1, 0),
'G',
new ItemStack(Items.glowstone_dust, 1),
'B',
new ItemStack(Items.slime_ball, 1));
}
};
private static final String[] dyeOres = { "dyeBlack", "dyeRed", "dyeGreen", "dyeBrown", "dyeBlue", "dyePurple",
@@ -1,8 +1,6 @@
package team.chisel.block;
import java.util.List;
import java.util.Objects;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.block.BlockGlass;
@@ -107,9 +105,4 @@ public class BlockCarvableGlass extends BlockGlass implements ICarvable {
public int getRenderBlockPass() {
return isAlpha ? 1 : 0;
}
@Override
public int quantityDropped(Random random) {
return Objects.equals(this.getUnlocalizedName(), "tile.chisel.technical2") ? 1 : 0;
}
}
@@ -7,14 +7,21 @@ import net.minecraft.entity.monster.EntityIronGolem;
import net.minecraft.init.Blocks;
import net.minecraft.item.ItemStack;
import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import com.cricketcraft.chisel.api.ICarvable;
import com.cricketcraft.chisel.api.carving.CarvableHelper;
import com.cricketcraft.chisel.api.carving.IVariationInfo;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import team.chisel.Chisel;
import team.chisel.entity.EntityChiselSnowman;
public class BlockCarvablePumpkin extends BlockPumpkin {
public class BlockCarvablePumpkin extends BlockPumpkin implements ICarvable {
public CarvableHelper carverHelper;
@SideOnly(Side.CLIENT)
private IIcon top, face;
@@ -25,6 +32,7 @@ public class BlockCarvablePumpkin extends BlockPumpkin {
super(isOn);
this.setStepSound(Block.soundTypeWood);
if (isOn) setLightLevel(10.0F);
carverHelper = new CarvableHelper(this);
}
@Override
@@ -114,6 +122,16 @@ public class BlockCarvablePumpkin extends BlockPumpkin {
this.blockIcon = icon.registerIcon(Chisel.MOD_ID + ":pumpkin/pumpkin_side");
}
@Override
public IVariationInfo getManager(IBlockAccess world, int x, int y, int z, int metadata) {
return carverHelper.getVariation(metadata);
}
@Override
public IVariationInfo getManager(int meta) {
return carverHelper.getVariation(meta);
}
public void setInformation(String textureLocation) {
this.faceLocation = textureLocation;
}
@@ -4,22 +4,28 @@ import java.util.Random;
import net.minecraft.block.BlockTorch;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import com.cricketcraft.chisel.api.ChiselTabs;
import com.cricketcraft.chisel.api.ICarvable;
import com.cricketcraft.chisel.api.carving.CarvableHelper;
import com.cricketcraft.chisel.api.carving.IVariationInfo;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import team.chisel.Chisel;
public class BlockCarvableTorch extends BlockTorch {
public class BlockCarvableTorch extends BlockTorch implements ICarvable {
public CarvableHelper carverHelper;
private String texLocation;
protected boolean emitsParticles = true;
public int idx;
public BlockCarvableTorch(int idx, String tex) {
super();
carverHelper = new CarvableHelper(this);
setCreativeTab(ChiselTabs.tabOtherChiselBlocks);
setLightLevel(0.9375F);
setBlockName("torch");
@@ -27,6 +33,16 @@ public class BlockCarvableTorch extends BlockTorch {
this.texLocation = tex;
}
@Override
public IVariationInfo getManager(IBlockAccess world, int x, int y, int z, int metadata) {
return carverHelper.getVariation(metadata);
}
@Override
public IVariationInfo getManager(int meta) {
return carverHelper.getVariation(meta);
}
@Override
public void registerBlockIcons(IIconRegister icon) {
this.blockIcon = icon.registerIcon(Chisel.MOD_ID + ":torch/" + texLocation);
@@ -21,34 +21,31 @@ public class BlockConcrete extends BlockCarvable {
super();
FMLCommonHandler.instance()
.bus()
.register(new EventHandler());
.register(this);
}
@SideOnly(Side.CLIENT)
private static MovementInput manualInputCheck;
public class EventHandler {
@SubscribeEvent
@SideOnly(Side.CLIENT)
public void speedupPlayer(PlayerTickEvent event) {
if (event.phase == Phase.START && event.side.isClient()
&& event.player.onGround
&& event.player instanceof EntityPlayerSP) {
if (manualInputCheck == null) {
manualInputCheck = new MovementInputFromOptions(Minecraft.getMinecraft().gameSettings);
}
EntityPlayerSP player = (EntityPlayerSP) event.player;
Block below = player.worldObj.getBlock(
MathHelper.floor_double(player.posX),
MathHelper.floor_double(player.posY) - 2,
MathHelper.floor_double(player.posZ));
if (below == BlockConcrete.this) {
manualInputCheck.updatePlayerMoveState();
if (manualInputCheck.moveForward != 0 || manualInputCheck.moveStrafe != 0) {
player.motionX *= Configurations.concreteVelocityMult + 0.05;
player.motionZ *= Configurations.concreteVelocityMult + 0.05;
}
@SubscribeEvent
@SideOnly(Side.CLIENT)
public void speedupPlayer(PlayerTickEvent event) {
if (event.phase == Phase.START && event.side.isClient()
&& event.player.onGround
&& event.player instanceof EntityPlayerSP) {
if (manualInputCheck == null) {
manualInputCheck = new MovementInputFromOptions(Minecraft.getMinecraft().gameSettings);
}
EntityPlayerSP player = (EntityPlayerSP) event.player;
Block below = player.worldObj.getBlock(
MathHelper.floor_double(player.posX),
MathHelper.floor_double(player.posY) - 2,
MathHelper.floor_double(player.posZ));
if (below == this) {
manualInputCheck.updatePlayerMoveState();
if (manualInputCheck.moveForward != 0 || manualInputCheck.moveStrafe != 0) {
player.motionX *= Configurations.concreteVelocityMult + 0.05;
player.motionZ *= Configurations.concreteVelocityMult + 0.05;
}
}
}
@@ -13,8 +13,8 @@ public class FullBrightLighting implements CCRenderState.IVertexOperation {
if (!state.computeLighting) {
return false;
}
state.pipeline.addDependency(CCRenderState.instance().colourAttrib);
state.pipeline.addDependency(CCRenderState.instance().lightCoordAttrib);
state.pipeline.addDependency(CCRenderState.colourAttrib);
state.pipeline.addDependency(CCRenderState.lightCoordAttrib);
return true;
}
@@ -10,13 +10,10 @@ import net.minecraft.world.IBlockAccess;
import org.lwjgl.opengl.GL11;
import com.gtnewhorizons.angelica.api.ThreadSafeISBRH;
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import cpw.mods.fml.client.registry.RenderingRegistry;
import team.chisel.ctmlib.Drawing;
@ThreadSafeISBRH(perThread = false)
public class RendererCTMPane implements ISimpleBlockRenderingHandler {
public static int id;
@@ -35,6 +32,8 @@ public class RendererCTMPane implements ISimpleBlockRenderingHandler {
class PaneRenderer {
Tessellator tessellator;
double i0u0;
double i0uh;
double i0u1;
@@ -70,6 +69,8 @@ public class RendererCTMPane implements ISimpleBlockRenderingHandler {
double y1;
void set(double x, double y, double z, IIcon icon, IIcon icon1, IIcon icon2) {
tessellator = Tessellator.instance;
i0u0 = icon.getMinU();
i0uh = icon.getInterpolatedU(8.0D);
i0u1 = icon.getMaxU();
@@ -106,8 +107,6 @@ public class RendererCTMPane implements ISimpleBlockRenderingHandler {
}
public void renderNorthPane() {
Tessellator tessellator = Tessellator.instance;
tessellator.addVertexWithUV(xh, y1, z0, i0uh, i0v0);
tessellator.addVertexWithUV(xh, y0, z0, i0uh, i0v1);
tessellator.addVertexWithUV(xh, y0, zh, i0u0, i0v1);
@@ -119,8 +118,6 @@ public class RendererCTMPane implements ISimpleBlockRenderingHandler {
}
public void renderSouthPane() {
Tessellator tessellator = Tessellator.instance;
tessellator.addVertexWithUV(xh, y1, zh, i0u1, i0v0);
tessellator.addVertexWithUV(xh, y0, zh, i0u1, i0v1);
tessellator.addVertexWithUV(xh, y0, z1, i0uh, i0v1);
@@ -132,8 +129,6 @@ public class RendererCTMPane implements ISimpleBlockRenderingHandler {
}
public void renderWestPane() {
Tessellator tessellator = Tessellator.instance;
tessellator.addVertexWithUV(x0, y1, zh, i0uh, i0v0);
tessellator.addVertexWithUV(x0, y0, zh, i0uh, i0v1);
tessellator.addVertexWithUV(xh, y0, zh, i0u0, i0v1);
@@ -145,8 +140,6 @@ public class RendererCTMPane implements ISimpleBlockRenderingHandler {
}
public void renderEastPane() {
Tessellator tessellator = Tessellator.instance;
tessellator.addVertexWithUV(xh, y1, zh, i0u1, i0v0);
tessellator.addVertexWithUV(xh, y0, zh, i0u1, i0v1);
tessellator.addVertexWithUV(x1, y0, zh, i0uh, i0v1);
@@ -158,8 +151,6 @@ public class RendererCTMPane implements ISimpleBlockRenderingHandler {
}
public void renderVerticalNS(double y, double zoff0, double zoff1, double v0, double v1) {
Tessellator tessellator = Tessellator.instance;
tessellator.addVertexWithUV(xp0, y0 + y, z0 + zoff0, i1u0, i1v0 + i1v * v0);
tessellator.addVertexWithUV(xp0, y0 + y, z0 + zoff1, i1u0, i1v0 + i1v * v1);
tessellator.addVertexWithUV(xp1, y0 + y, z0 + zoff1, i1u1, i1v0 + i1v * v1);
@@ -171,8 +162,6 @@ public class RendererCTMPane implements ISimpleBlockRenderingHandler {
}
public void renderVerticalWE(double y, double xoff0, double xoff1, double v0, double v1) {
Tessellator tessellator = Tessellator.instance;
tessellator.addVertexWithUV(x0 + xoff0, y0 + y, zp1, i1u1, i1v0 + i1v * v0);
tessellator.addVertexWithUV(x0 + xoff1, y0 + y, zp1, i1u1, i1v0 + i1v * v1);
tessellator.addVertexWithUV(x0 + xoff1, y0 + y, zp0, i1u0, i1v0 + i1v * v1);
@@ -184,8 +173,6 @@ public class RendererCTMPane implements ISimpleBlockRenderingHandler {
}
public void renderHorizontalNS(double zoff, double v0, double v1) {
Tessellator tessellator = Tessellator.instance;
tessellator.addVertexWithUV(xp0, y1, z0 + zoff, i2u0, i2v0 + i2v * v1);
tessellator.addVertexWithUV(xp0, y0, z0 + zoff, i2u0, i2v0 + i2v * v0);
tessellator.addVertexWithUV(xp1, y0, z0 + zoff, i2u1, i2v0 + i2v * v0);
@@ -198,8 +185,6 @@ public class RendererCTMPane implements ISimpleBlockRenderingHandler {
}
public void renderHorizontalWE(double xoff, double v0, double v1) {
Tessellator tessellator = Tessellator.instance;
tessellator.addVertexWithUV(x0 + xoff, y1, zp0, i2u0, i2v0 + i2v * v1);
tessellator.addVertexWithUV(x0 + xoff, y0, zp0, i2u0, i2v0 + i2v * v0);
tessellator.addVertexWithUV(x0 + xoff, y0, zp1, i2u1, i2v0 + i2v * v0);
@@ -211,14 +196,13 @@ public class RendererCTMPane implements ISimpleBlockRenderingHandler {
}
}
final ThreadLocal<PaneRenderer> paneRendererThreadLocal = ThreadLocal.withInitial(PaneRenderer::new);
PaneRenderer paneRenderer = new PaneRenderer();
@Override
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block b, int modelId,
RenderBlocks renderer) {
BlockPane block = (BlockPane) b;
final Tessellator tessellator = Tessellator.instance;
final PaneRenderer paneRenderer = paneRendererThreadLocal.get();
Tessellator tessellator = Tessellator.instance;
tessellator.setBrightness(block.getMixedBrightnessForBlock(world, x, y, z));
@@ -6,14 +6,11 @@ import net.minecraft.world.IBlockAccess;
import org.lwjgl.opengl.GL11;
import com.gtnewhorizons.angelica.api.ThreadSafeISBRH;
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import cpw.mods.fml.client.registry.RenderingRegistry;
import team.chisel.Chisel;
import team.chisel.ctmlib.Drawing;
@ThreadSafeISBRH(perThread = false)
public class RendererEldritch implements ISimpleBlockRenderingHandler {
public RendererEldritch() {
@@ -27,14 +24,12 @@ public class RendererEldritch implements ISimpleBlockRenderingHandler {
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
}
ThreadLocal<RenderBlocksEldritch> rendererThreadLocal = ThreadLocal.withInitial(RenderBlocksEldritch::new);
RenderBlocksEldritch renderer = new RenderBlocksEldritch();
@Override
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId,
RenderBlocks rendererOld) {
final RenderBlocksEldritch renderer = rendererThreadLocal.get();
// tessellator.setBrightness(block.getMixedBrightnessForBlock(world, x,
// y, z));
/*
@@ -7,8 +7,6 @@ import net.minecraft.world.IBlockAccess;
import org.lwjgl.opengl.GL11;
import com.gtnewhorizons.angelica.api.ThreadSafeISBRH;
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import cpw.mods.fml.client.registry.RenderingRegistry;
import team.chisel.Chisel;
@@ -17,7 +15,6 @@ import team.chisel.config.Configurations;
import team.chisel.ctmlib.Drawing;
import team.chisel.utils.GeneralClient;
@ThreadSafeISBRH(perThread = false)
public class RendererLayeredGlow implements ISimpleBlockRenderingHandler {
public RendererLayeredGlow() {
@@ -39,9 +36,8 @@ public class RendererLayeredGlow implements ISimpleBlockRenderingHandler {
@Override
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId,
RenderBlocks renderer) {
final Tessellator tessellator = Tessellator.instance;
tessellator.setColorOpaque_I(Configurations.configColors[world.getBlockMetadata(x, y, z)]);
tessellator.setBrightness(0xF000F0);
Tessellator.instance.setColorOpaque_I(Configurations.configColors[world.getBlockMetadata(x, y, z)]);
Tessellator.instance.setBrightness(0xF000F0);
Drawing.renderAllFaces(renderer, block, x, y, z, ((BlockCarvableGlow) block).getGlowTexture());
renderer.renderStandardBlock(block, x, y, z);
return true;
@@ -16,18 +16,14 @@ import net.minecraft.init.Blocks;
import net.minecraft.world.IBlockAccess;
import net.minecraftforge.client.MinecraftForgeClient;
import com.gtnewhorizons.angelica.api.ThreadSafeISBRH;
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import cpw.mods.fml.client.registry.RenderingRegistry;
import team.chisel.block.BlockMultiLayerBase;
import team.chisel.ctmlib.Drawing;
@ThreadSafeISBRH(perThread = false)
public class RendererMultiLayer implements ISimpleBlockRenderingHandler {
final static float bot = -0.001f;
final static float top = 1.0f - bot;
float bot = -0.001f, top = 1.0f - bot;
public static int id;
public RendererMultiLayer() {
@@ -7,15 +7,12 @@ import net.minecraft.client.renderer.Tessellator;
import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import com.gtnewhorizons.angelica.api.ThreadSafeISBRH;
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import cpw.mods.fml.client.registry.RenderingRegistry;
import team.chisel.Chisel;
import team.chisel.block.BlockRoadLine;
import team.chisel.ctmlib.Drawing;
@ThreadSafeISBRH(perThread = false)
public class RendererRoadLine implements ISimpleBlockRenderingHandler {
public RendererRoadLine() {
@@ -6,15 +6,12 @@ import net.minecraft.world.IBlockAccess;
import org.lwjgl.opengl.GL11;
import com.gtnewhorizons.angelica.api.ThreadSafeISBRH;
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import cpw.mods.fml.client.registry.RenderingRegistry;
import team.chisel.Chisel;
import team.chisel.block.BlockCarvableLayered;
import team.chisel.ctmlib.Drawing;
@ThreadSafeISBRH(perThread = false)
public class RendererSimpleLayered implements ISimpleBlockRenderingHandler {
public RendererSimpleLayered() {
@@ -6,14 +6,11 @@ import net.minecraft.world.IBlockAccess;
import org.lwjgl.opengl.GL11;
import com.gtnewhorizons.angelica.api.ThreadSafeISBRH;
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import cpw.mods.fml.client.registry.RenderingRegistry;
import team.chisel.block.BlockSnakestone;
import team.chisel.ctmlib.Drawing;
@ThreadSafeISBRH(perThread = false)
public class RendererSnakeStone implements ISimpleBlockRenderingHandler {
public static int id;
@@ -6,14 +6,11 @@ import net.minecraft.world.IBlockAccess;
import org.lwjgl.opengl.GL11;
import com.gtnewhorizons.angelica.api.ThreadSafeISBRH;
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import cpw.mods.fml.client.registry.RenderingRegistry;
import team.chisel.block.BlockCarvableStairs;
import team.chisel.ctmlib.Drawing;
@ThreadSafeISBRH(perThread = false)
public class RendererStairs implements ISimpleBlockRenderingHandler {
public static int id;
@@ -75,13 +75,7 @@ public class SubmapManagerAntiblock extends SubmapManagerBase {
};
@SideOnly(Side.CLIENT)
private static ThreadLocal<RenderBlocksCTMFullbright> renderBlocksThreadLocal;
private static void initStatics() {
if (renderBlocksThreadLocal == null) {
renderBlocksThreadLocal = ThreadLocal.withInitial(RenderBlocksCTMFullbright::new);
}
}
private RenderBlocksCTMFullbright rb;
private String color;
private TextureSubmap submap, submapSmall;
@@ -105,8 +99,9 @@ public class SubmapManagerAntiblock extends SubmapManagerBase {
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
initStatics();
RenderBlocksCTMFullbright rb = renderBlocksThreadLocal.get();
if (rb == null) {
rb = new RenderBlocksCTMFullbright();
}
rb.setRenderBoundsFromBlock(block);
rb.submap = submap;
rb.submapSmall = submapSmall;
@@ -14,13 +14,7 @@ import team.chisel.ctmlib.TextureSubmap;
public class SubmapManagerCarpetFloor extends SubmapManagerBase {
@SideOnly(Side.CLIENT)
private static ThreadLocal<RenderBlocksCTM> renderBlocksThreadLocal;
private static void initStatics() {
if (renderBlocksThreadLocal == null) {
renderBlocksThreadLocal = ThreadLocal.withInitial(RenderBlocksCTM::new);
}
}
private RenderBlocksCTM rb;
private TextureSubmap submap;
private TextureSubmap submapSmall;
@@ -51,8 +45,9 @@ public class SubmapManagerCarpetFloor extends SubmapManagerBase {
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
initStatics();
RenderBlocksCTM rb = renderBlocksThreadLocal.get();
if (rb == null) {
rb = new RenderBlocksCTM();
}
rb.setRenderBoundsFromBlock(block);
rb.submap = submap;
rb.submapSmall = submapSmall;
@@ -99,13 +99,7 @@ public class SubmapManagerCombinedCTM extends SubmapManagerBase {
}
@SideOnly(Side.CLIENT)
private static ThreadLocal<RenderBlocksCombinedCTM> renderBlocksThreadLocal;
private static void initStatics() {
if (renderBlocksThreadLocal == null) {
renderBlocksThreadLocal = new ThreadLocal<>();
}
}
private RenderBlocksCTM rb;
private TextureSubmap submap, smallSubmap;
private int size;
@@ -139,11 +133,8 @@ public class SubmapManagerCombinedCTM extends SubmapManagerBase {
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
initStatics();
RenderBlocksCombinedCTM rb = renderBlocksThreadLocal.get();
if (rb == null) {
rb = new RenderBlocksCombinedCTM();
renderBlocksThreadLocal.set(rb);
}
rb.setRenderBoundsFromBlock(block);
return rb;
@@ -16,13 +16,7 @@ import team.chisel.ctmlib.TextureSubmap;
public class SubmapManagerSlab implements ISubmapManager {
@SideOnly(Side.CLIENT)
private static ThreadLocal<RenderBlocksCTM> renderBlocksThreadLocal;
private static void initStatics() {
if (renderBlocksThreadLocal == null) {
renderBlocksThreadLocal = ThreadLocal.withInitial(RenderBlocksCTM::new);
}
}
private RenderBlocksCTM rb;
private TextureSubmap submap;
private TextureSubmap submapSmall;
@@ -55,8 +49,9 @@ public class SubmapManagerSlab implements ISubmapManager {
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
initStatics();
RenderBlocksCTM rb = renderBlocksThreadLocal.get();
if (rb == null) {
rb = new RenderBlocksCTM();
}
rb.setRenderBoundsFromBlock(block);
rb.submap = submap;
rb.submapSmall = submapSmall;
@@ -48,14 +48,7 @@ public class SubmapManagerSpecialMaterial extends SubmapManagerBase {
}
};
@SideOnly(Side.CLIENT)
private static ThreadLocal<RenderBlocksCTMFullbright> renderBlocksThreadLocal;
private static void initStatics() {
if (renderBlocksThreadLocal == null) {
renderBlocksThreadLocal = ThreadLocal.withInitial(RenderBlocksCTMFullbright::new);
}
}
private RenderBlocksCTMFullbright renderBlocksFullbright;
private String color;
private MaterialType materialType;
@@ -83,8 +76,9 @@ public class SubmapManagerSpecialMaterial extends SubmapManagerBase {
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
initStatics();
RenderBlocksCTMFullbright renderBlocksFullbright = renderBlocksThreadLocal.get();
if (renderBlocksFullbright == null) {
renderBlocksFullbright = new RenderBlocksCTMFullbright();
}
renderBlocksFullbright.setRenderBoundsFromBlock(block);
renderBlocksFullbright.submap = submap;
renderBlocksFullbright.submapSmall = submapSmall;
@@ -26,7 +26,7 @@ public class SubmapManagerVoidstone extends SubmapManagerBase {
@Override
public void renderFaceXNeg(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceXNeg(block, x, y, z, icon);
renderMinX += 0.005;
renderMinX += 0.001;
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.WEST.ordinal()));
super.renderFaceXNeg(block, x, y, z, null);
clearOverrideBlockTexture();
@@ -36,7 +36,7 @@ public class SubmapManagerVoidstone extends SubmapManagerBase {
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;
renderMaxX -= 0.001;
super.renderFaceXPos(block, x, y, z, null);
clearOverrideBlockTexture();
}
@@ -45,7 +45,7 @@ public class SubmapManagerVoidstone extends SubmapManagerBase {
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;
renderMinY += 0.001;
super.renderFaceYNeg(block, x, y, z, null);
clearOverrideBlockTexture();
}
@@ -54,7 +54,7 @@ public class SubmapManagerVoidstone extends SubmapManagerBase {
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;
renderMaxY -= 0.001;
super.renderFaceYPos(block, x, y, z, null);
clearOverrideBlockTexture();
}
@@ -63,7 +63,7 @@ public class SubmapManagerVoidstone extends SubmapManagerBase {
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;
renderMinZ += 0.001;
super.renderFaceZNeg(block, x, y, z, null);
clearOverrideBlockTexture();
}
@@ -72,24 +72,14 @@ public class SubmapManagerVoidstone extends SubmapManagerBase {
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;
renderMaxZ -= 0.001;
super.renderFaceZPos(block, x, y, z, null);
clearOverrideBlockTexture();
}
public void reset() {
this.submap = null;
}
}
@SideOnly(Side.CLIENT)
private static ThreadLocal<RenderBlocksVoidstone> renderBlocksThreadLocal;
private static void initStatics() {
if (renderBlocksThreadLocal == null) {
renderBlocksThreadLocal = new ThreadLocal<>();
}
}
private RenderBlocksVoidstone rb;
private ISubmapManager overlay;
private TextureSubmap base;
@@ -133,12 +123,9 @@ public class SubmapManagerVoidstone extends SubmapManagerBase {
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
initStatics();
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) {
-313
View File
@@ -1,313 +0,0 @@
package team.chisel.ctmlib;
import static team.chisel.ctmlib.Dir.BOTTOM;
import static team.chisel.ctmlib.Dir.BOTTOM_LEFT;
import static team.chisel.ctmlib.Dir.BOTTOM_RIGHT;
import static team.chisel.ctmlib.Dir.LEFT;
import static team.chisel.ctmlib.Dir.RIGHT;
import static team.chisel.ctmlib.Dir.TOP;
import static team.chisel.ctmlib.Dir.TOP_LEFT;
import static team.chisel.ctmlib.Dir.TOP_RIGHT;
import java.util.EnumMap;
import net.minecraft.block.Block;
import net.minecraft.world.IBlockAccess;
import net.minecraftforge.common.util.ForgeDirection;
import com.cricketcraft.chisel.api.IConnectable;
import com.cricketcraft.chisel.api.IFacade;
import com.google.common.base.Optional;
import com.google.common.collect.Maps;
import gnu.trove.map.TIntObjectMap;
import gnu.trove.map.hash.TIntObjectHashMap;
//@formatter:off
/**
* The CTM renderer will draw the block's FACE using by assembling 4 quadrants from the 5 available block
* textures. The normal Texture.png is the blocks "unconnected" texture, and is used when CTM is disabled or the block
* has nothing to connect to. This texture has all of the outside corner quadrants The texture-ctm.png contains the
* rest of the quadrants.
* <pre><blockquote>
* ┌─────────────────┐ ┌────────────────────────────────┐
* │ texture.png │ │ texture-ctm.png │
* │ ╔══════╤══════╗ │ │ ──────┼────── ║ ─────┼───── ║ │
* │ ║ │ ║ │ │ │ │ │║ │ ║ │
* │ ║ 16 │ 17 ║ │ │ │ 0 │ 1 │║ 2 │ 3 ║ │
* │ ╟──────┼──────╢ │ │ ┼──────┼──────┼╟──────┼──────╢ │
* │ ║ │ ║ │ │ │ │ │║ │ ║ │
* │ ║ 18 │ 19 ║ │ │ │ 4 │ 5 │║ 6 │ 7 ║ │
* │ ╚══════╧══════╝ │ │ ──────┼────── ║ ─────┼───── ║ │
* └─────────────────┘ │ ═══════╤═══════╝ ─────┼───── ╚ │
* │ │ │ ││ │ │ │
* │ │ 8 │ 9 ││ 10 │ 11 │ │
* │ ┼──────┼──────┼┼──────┼──────┼ │
* │ │ │ ││ │ │ │
* │ │ 12 │ 13 ││ 14 │ 15 │ │
* │ ═══════╧═══════╗ ─────┼───── ╔ │
* └────────────────────────────────┘
* </blockquote></pre>
* combining { 18, 13, 9, 16 }, we can generate a texture connected to the right!
* <pre><blockquote>
* ╔══════╤═══════
* ║ │ │
* ║ 16 │ 9 │
* ╟──────┼──────┼
* ║ │ │
* ║ 18 │ 13 │
* ╚══════╧═══════
* </blockquote></pre>
*
* combining { 18, 13, 11, 2 }, we can generate a texture, in the shape of an L (connected to the right, and up
* <pre><blockquote>
* ║ ─────┼───── ╚
* ║ │ │
* ║ 2 │ 11 │
* ╟──────┼──────┼
* ║ │ │
* ║ 18 │ 13 │
* ╚══════╧═══════
* </blockquote></pre>
*
* HAVE FUN!
* -CptRageToaster-
*/
//@formatter:on
public class CTM {
/** Some hardcoded offset values for the different corner indeces */
protected static int[] submapOffsets = { 4, 5, 1, 0 };
/** For use via the Chisel 2 config only, altering this could cause unintended behavior */
public static boolean disableObscuredFaceCheckConfig = false;
public Optional<Boolean> disableObscuredFaceCheck = Optional.absent();
protected TIntObjectMap<Dir[]> submapMap = new TIntObjectHashMap<>();
protected EnumMap<Dir, Boolean> connectionMap = Maps.newEnumMap(Dir.class);
protected CTM() {
for (Dir dir : Dir.VALUES) {
connectionMap.put(dir, false);
}
// Mapping the different corner indeces to their respective dirs
submapMap.put(0, new Dir[] { BOTTOM, LEFT, BOTTOM_LEFT });
submapMap.put(1, new Dir[] { BOTTOM, RIGHT, BOTTOM_RIGHT });
submapMap.put(2, new Dir[] { TOP, RIGHT, TOP_RIGHT });
submapMap.put(3, new Dir[] { TOP, LEFT, TOP_LEFT });
}
public static CTM getInstance() {
return new CTM();
}
/**
* @return The indeces of the typical 4x4 submap to use for the given face at the given location.
*
* Indeces are in counter-clockwise order starting at bottom left.
*/
public int[] getSubmapIndices(IBlockAccess world, int x, int y, int z, int side) {
int[] ret = new int[] { 18, 19, 17, 16 };
if (world == null) {
return ret;
}
Block block = world.getBlock(x, y, z);
int meta = world.getBlockMetadata(x, y, z);
buildConnectionMap(world, x, y, z, side, block, meta);
// Map connections to submap indeces
for (int i = 0; i < 4; i++) {
fillSubmaps(ret, i);
}
return ret;
}
/**
* Builds the connection map and stores it in this CTM instance. The {@link #connected(Dir)},
* {@link #connectedAnd(Dir...)}, and {@link #connectedOr(Dir...)} methods can be used to access it.
*/
public void buildConnectionMap(IBlockAccess world, int x, int y, int z, int side, Block block, int meta) {
for (Dir dir : Dir.VALUES) {
connectionMap.put(dir, dir.isConnected(this, world, x, y, z, side, block, meta));
}
}
private void fillSubmaps(int[] ret, int idx) {
Dir[] dirs = submapMap.get(idx);
if (connectedOr(dirs[0], dirs[1])) {
if (connectedAnd(dirs)) {
// If all dirs are connected, we use the fully connected face,
// the base offset value.
ret[idx] = submapOffsets[idx];
} else {
// This is a bit magic-y, but basically the array is ordered so
// the first dir requires an offset of 2, and the second dir
// requires an offset of 8, plus the initial offset for the
// corner.
ret[idx] = submapOffsets[idx] + (connected(dirs[0]) ? 2 : 0) + (connected(dirs[1]) ? 8 : 0);
}
}
}
/**
* @param dir The direction to check connection in.
* @return True if the cached connectionMap holds a connection in this {@link Dir direction}.
*/
public boolean connected(Dir dir) {
return connectionMap.get(dir);
}
/**
* @param dirs The directions to check connection in.
* @return True if the cached connectionMap holds a connection in <i><b>all</b></i> the given {@link Dir
* directions}.
*/
public boolean connectedAnd(Dir... dirs) {
for (Dir dir : dirs) {
if (!connected(dir)) {
return false;
}
}
return true;
}
/**
* @param dirs The directions to check connection in.
* @return True if the cached connectionMap holds a connection in <i><b>one of</b></i> the given {@link Dir
* directions}.
*/
private boolean connectedOr(Dir... dirs) {
for (Dir dir : dirs) {
if (connected(dir)) {
return true;
}
}
return false;
}
/**
* A simple check for if the given block can connect to the given direction on the given side.
*
* @param world
* @param x The x coordinate of the block to check <i>against</i>. This is not the position of your block.
* @param y The y coordinate of the block to check <i>against</i>. This is not the position of your block.
* @param z The z coordinate of the block to check <i>against</i>. This is not the position of your block.
* @param side The side of the block to check for connection status. This is <i>not</i> the direction to check in.
* @param block The block to check against for connection.
* @param meta The metadata to check against for connection.
* @return True if the given block can connect to the given location on the given side.
*/
public boolean isConnected(IBlockAccess world, int x, int y, int z, int side, Block block, int meta) {
ForgeDirection dir = ForgeDirection.VALID_DIRECTIONS[side];
return isConnected(world, x, y, z, dir, block, meta);
}
/**
* A simple check for if the given block can connect to the given direction on the given side.
*
* @param world
* @param x The x coordinate of the block to check <i>against</i>. This is not the position of your block.
* @param y The y coordinate of the block to check <i>against</i>. This is not the position of your block.
* @param z The z coordinate of the block to check <i>against</i>. This is not the position of your block.
* @param dir The {@link ForgeDirection side} of the block to check for connection status. This is <i>not</i> the
* direction to check in.
* @param block The block to check against for connection.
* @param meta The metadata to check against for connection.
* @return True if the given block can connect to the given location on the given side.
*/
public boolean isConnected(IBlockAccess world, int x, int y, int z, ForgeDirection dir, Block block, int meta) {
if (CTMLib.chiselLoaded() && connectionBlocked(world, x, y, z, dir.ordinal())) {
return false;
}
int x2 = x + dir.offsetX;
int y2 = y + dir.offsetY;
int z2 = z + dir.offsetZ;
boolean disableObscured = disableObscuredFaceCheck.or(disableObscuredFaceCheckConfig);
Block con = getBlockOrFacade(world, x, y, z, dir.ordinal());
Block obscuring = disableObscured ? null : getBlockOrFacade(world, x2, y2, z2, dir.ordinal());
// no block or a bad API user
if (con == null) {
return false;
}
boolean ret = con.equals(block) && getBlockOrFacadeMetadata(world, x, y, z, dir.ordinal()) == meta;
// no block obscuring this face
if (obscuring == null) {
return ret;
}
// check that we aren't already connected outwards from this side
ret &= !(obscuring.equals(block) && getBlockOrFacadeMetadata(world, x2, y2, z2, dir.ordinal()) == meta);
return ret;
}
private boolean connectionBlocked(IBlockAccess world, int x, int y, int z, int side) {
Block block = world.getBlock(x, y, z);
if (block instanceof IConnectable) {
return !((IConnectable) block).canConnectCTM(world, x, y, z, side);
}
return false;
}
/**
* A utility method to access metadata from both the world and {@link IFacade} blocks in the world.
*
* @param world
* @param x
* @param y
* @param z
* @param side The side to check for. -1 for unknown.
* @return The metadata at this position in the world, or inside an {@link IFacade} block.
*/
public int getBlockOrFacadeMetadata(IBlockAccess world, int x, int y, int z, int side) {
Block blk = world.getBlock(x, y, z);
if (CTMLib.chiselLoaded()) {
return getFacadeMeta(blk, world, x, y, z, side);
}
return world.getBlockMetadata(x, y, z);
}
private int getFacadeMeta(Block blk, IBlockAccess world, int x, int y, int z, int side) {
if (blk instanceof IFacade) {
return ((IFacade) blk).getFacadeMetadata(world, x, y, z, side);
}
return world.getBlockMetadata(x, y, z);
}
/**
* A utility method to access a block from both the world and {@link IFacade} blocks in the world.
*
* @param world
* @param x
* @param y
* @param z
* @param side The side to check for. -1 for unknown.
* @return The block at this position in the world, or inside an {@link IFacade} block.
*/
public Block getBlockOrFacade(IBlockAccess world, int x, int y, int z, int side) {
Block blk = world.getBlock(x, y, z);
if (CTMLib.chiselLoaded()) {
return getFacade(blk, world, x, y, z, side);
}
return blk;
}
private Block getFacade(Block blk, IBlockAccess world, int x, int y, int z, int side) {
if (blk instanceof IFacade) {
blk = ((IFacade) blk).getFacade(world, x, y, z, side);
}
return blk;
}
}
@@ -1,71 +0,0 @@
package team.chisel.ctmlib;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import lombok.Getter;
/**
* Convenience implementation of ICMBlock. This does everything you should need for basic CTM.
* <p>
* This class does <i>not</i> handle metadata-dependent textures.
*/
public class CTMBlock extends Block implements ICTMBlock<ISubmapManager> {
@SideOnly(Side.CLIENT)
private SubmapManagerCTM manager;
@Getter
private final String modid;
@Getter
private final String texturePath;
private final int renderId;
public CTMBlock(String modid, String texturePath, int renderId) {
super(Material.rock);
this.modid = modid;
this.texturePath = texturePath;
this.renderId = renderId;
}
@Override
@SideOnly(Side.CLIENT)
public void registerBlockIcons(IIconRegister icon) {
manager = new SubmapManagerCTM(texturePath);
manager.registerIcons(modid, this, icon);
}
@Override
@SideOnly(Side.CLIENT)
public IIcon getIcon(IBlockAccess world, int x, int y, int z, int side) {
return manager.getIcon(world, x, y, z, side);
}
@Override
@SideOnly(Side.CLIENT)
public IIcon getIcon(int side, int meta) {
return manager.getIcon(side, meta);
}
@Override
@SideOnly(Side.CLIENT)
public int getRenderType() {
return renderId;
}
@Override
public ISubmapManager getManager(IBlockAccess world, int x, int y, int z, int meta) {
return manager;
}
@Override
public ISubmapManager getManager(int meta) {
return manager;
}
}
@@ -1,19 +0,0 @@
package team.chisel.ctmlib;
import cpw.mods.fml.common.ModAPIManager;
import team.chisel.Tags;
public class CTMLib {
public static final String VERSION = Tags.VERSION;
private static boolean chiselPresent, chiselInitialized;
public static boolean chiselLoaded() {
if (!chiselInitialized) {
chiselInitialized = true;
chiselPresent = ModAPIManager.INSTANCE.hasAPI("ChiselAPI");
}
return chiselPresent;
}
}
@@ -1,101 +0,0 @@
package team.chisel.ctmlib;
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.crash.CrashReport;
import net.minecraft.crash.CrashReportCategory;
import net.minecraft.util.ReportedException;
import net.minecraft.world.IBlockAccess;
import org.lwjgl.opengl.GL11;
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import cpw.mods.fml.common.registry.GameRegistry;
/**
* A convenience base class for CTM blocks. Any block using this must implement {@link ICTMBlock}.
*/
public class CTMRenderer implements ISimpleBlockRenderingHandler {
private final int renderId;
public CTMRenderer(int renderId) {
this.renderId = renderId;
}
@Override
public void renderInventoryBlock(Block block, int metadata, int modelID, RenderBlocks renderer) {
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
RenderBlocks rb = getContext(
renderer,
block,
Minecraft.getMinecraft().theWorld,
((ICTMBlock<?>) block).getManager(metadata),
metadata);
Drawing.drawBlock(block, metadata, rb);
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
rb.unlockBlockBounds();
}
@Override
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId,
RenderBlocks rendererOld) {
try {
int meta = world.getBlockMetadata(x, y, z);
RenderBlocks rb = getContext(
rendererOld,
block,
world,
((ICTMBlock<?>) block).getManager(world, x, y, z, meta),
meta);
rb.renderAllFaces = rendererOld.renderAllFaces;
boolean ret = rb.renderStandardBlock(block, x, y, z);
rb.unlockBlockBounds();
rb.renderAllFaces = false;
return ret;
} catch (Throwable t) {
CrashReport crashreport = CrashReport.makeCrashReport(t, "Rendering CTM Block");
CrashReportCategory crashreportcategory = crashreport.makeCategory("Block being rendered");
crashreportcategory.addCrashSection("Block name", GameRegistry.findUniqueIdentifierFor(block));
crashreportcategory.addCrashSection("Block metadata", world.getBlockMetadata(x, y, z));
throw new ReportedException(crashreport);
}
}
protected RenderBlocks getContext(RenderBlocks rendererOld, Block block, IBlockAccess world, ISubmapManager manager,
int meta) {
if (!rendererOld.hasOverrideBlockTexture() && manager != null) {
RenderBlocks rb = manager.createRenderContext(rendererOld, block, world);
if (rb != null && rb != rendererOld) {
rb.blockAccess = world;
if (rendererOld.lockBlockBounds) {
rb.overrideBlockBounds(
rendererOld.renderMinX,
rendererOld.renderMinY,
rendererOld.renderMinZ,
rendererOld.renderMaxX,
rendererOld.renderMaxY,
rendererOld.renderMaxZ);
}
if (rb instanceof RenderBlocksCTM) {
RenderBlocksCTM rbctm = (RenderBlocksCTM) rb;
rbctm.manager = rbctm.manager == null ? manager : rbctm.manager;
rbctm.rendererOld = rbctm.rendererOld == null ? rendererOld : rbctm.rendererOld;
}
return rb;
}
}
return rendererOld;
}
@Override
public boolean shouldRender3DInInventory(int renderId) {
return true;
}
@Override
public int getRenderId() {
return renderId;
}
}
-104
View File
@@ -1,104 +0,0 @@
package team.chisel.ctmlib;
import static net.minecraftforge.common.util.ForgeDirection.DOWN;
import static net.minecraftforge.common.util.ForgeDirection.EAST;
import static net.minecraftforge.common.util.ForgeDirection.SOUTH;
import static net.minecraftforge.common.util.ForgeDirection.UP;
import static net.minecraftforge.common.util.ForgeDirection.WEST;
import static net.minecraftforge.common.util.ForgeDirection.getOrientation;
import net.minecraft.block.Block;
import net.minecraft.world.IBlockAccess;
import net.minecraftforge.common.util.ForgeDirection;
/**
* Think of this class as a "Two dimensional ForgeDirection, with diagonals".
* <p>
* It represents the eight different directions a face of a block can connect with CTM, and contains the logic for
* determining if a block is indeed connected in that direction.
* <p>
* Note that, for example, {@link #TOP_RIGHT} does not mean connected to the {@link #TOP} and {@link #RIGHT}, but
* connected in the diagonal direction represented by {@link #TOP_RIGHT}. This is used for inner corner rendering.
*/
public enum Dir {
// @formatter:off
TOP(UP),
TOP_RIGHT(UP, EAST),
RIGHT(EAST),
BOTTOM_RIGHT(DOWN, EAST),
BOTTOM(DOWN),
BOTTOM_LEFT(DOWN, WEST),
LEFT(WEST),
TOP_LEFT(UP, WEST);
// @formatter:on
/**
* All values of this enum, used to prevent unnecessary allocation via {@link #values()}.
*/
public static final Dir[] VALUES = values();
private static final ForgeDirection NORMAL = SOUTH;
private ForgeDirection[] dirs;
private Dir(ForgeDirection... dirs) {
this.dirs = dirs;
}
/**
* Finds if this block is connected for the given side in this Dir.
*
* @param inst The CTM instance to use for logic.
* @param world The world the block is in.
* @param x The x coordinate of your block.
* @param y The y coordinate of your block.
* @param z The z coordinate of your block.
* @param sideIdx The side index of the current face. This equivalent to {@link ForgeDirection#ordinal()}
* @param block The block being rendered.
* @param meta The metadata of the block.
* @return True if the block is connected in the given Dir, false otherwise.
*/
public boolean isConnected(CTM inst, IBlockAccess world, int x, int y, int z, int sideIdx, Block block, int meta) {
ForgeDirection side = getOrientation(sideIdx);
ForgeDirection[] dirs = getNormalizedDirs(side);
for (ForgeDirection dir : dirs) {
x += dir.offsetX;
y += dir.offsetY;
z += dir.offsetZ;
}
return inst.isConnected(world, x, y, z, side, block, meta);
}
private ForgeDirection[] getNormalizedDirs(ForgeDirection normal) {
if (normal == NORMAL) {
return dirs;
} else if (normal == NORMAL.getOpposite()) {
// If this is the opposite direction of the default normal, we
// need to mirror the dirs
// A mirror version does not affect y+ and y- so we ignore those
ForgeDirection[] ret = new ForgeDirection[dirs.length];
for (int i = 0; i < ret.length; i++) {
ret[i] = dirs[i].offsetY != 0 ? dirs[i] : dirs[i].getOpposite();
}
return ret;
} else {
ForgeDirection axis = null;
// Next, we need different a different rotation axis depending
// on if this is up/down or not
if (normal.offsetY == 0) {
// If it is not up/down, pick either the left or right-hand
// rotation
axis = normal == NORMAL.getRotation(UP) ? UP : DOWN;
} else {
// If it is up/down, pick either the up or down rotation.
axis = normal == UP ? NORMAL.getRotation(DOWN) : NORMAL.getRotation(UP);
}
ForgeDirection[] ret = new ForgeDirection[dirs.length];
// Finally apply all the rotations
for (int i = 0; i < ret.length; i++) {
ret[i] = dirs[i].getRotation(axis);
}
return ret;
}
}
}
@@ -1,76 +0,0 @@
package team.chisel.ctmlib;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.util.IIcon;
public class Drawing {
public static void drawBlock(Block block, IIcon icon, RenderBlocks renderer) {
Tessellator tessellator = Tessellator.instance;
tessellator.startDrawingQuads();
tessellator.setNormal(0.0F, -1.0F, 0.0F);
renderer.renderFaceYNeg(block, 0.0D, 0.0D, 0.0D, icon);
tessellator.draw();
tessellator.startDrawingQuads();
tessellator.setNormal(0.0F, 1.0F, 0.0F);
renderer.renderFaceYPos(block, 0.0D, 0.0D, 0.0D, icon);
tessellator.draw();
tessellator.startDrawingQuads();
tessellator.setNormal(0.0F, 0.0F, -1.0F);
renderer.renderFaceZNeg(block, 0.0D, 0.0D, 0.0D, icon);
tessellator.draw();
tessellator.startDrawingQuads();
tessellator.setNormal(0.0F, 0.0F, 1.0F);
renderer.renderFaceZPos(block, 0.0D, 0.0D, 0.0D, icon);
tessellator.draw();
tessellator.startDrawingQuads();
tessellator.setNormal(-1.0F, 0.0F, 0.0F);
renderer.renderFaceXNeg(block, 0.0D, 0.0D, 0.0D, icon);
tessellator.draw();
tessellator.startDrawingQuads();
tessellator.setNormal(1.0F, 0.0F, 0.0F);
renderer.renderFaceXPos(block, 0.0D, 0.0D, 0.0D, icon);
tessellator.draw();
}
public static void drawBlock(Block block, int meta, RenderBlocks renderer) {
Tessellator tessellator = Tessellator.instance;
tessellator.startDrawingQuads();
tessellator.setNormal(0.0F, -1.0F, 0.0F);
renderer.renderFaceYNeg(block, 0.0D, 0.0D, 0.0D, block.getIcon(0, meta));
tessellator.draw();
tessellator.startDrawingQuads();
tessellator.setNormal(0.0F, 1.0F, 0.0F);
renderer.renderFaceYPos(block, 0.0D, 0.0D, 0.0D, block.getIcon(1, meta));
tessellator.draw();
tessellator.startDrawingQuads();
tessellator.setNormal(0.0F, 0.0F, -1.0F);
renderer.renderFaceZNeg(block, 0.0D, 0.0D, 0.0D, block.getIcon(2, meta));
tessellator.draw();
tessellator.startDrawingQuads();
tessellator.setNormal(0.0F, 0.0F, 1.0F);
renderer.renderFaceZPos(block, 0.0D, 0.0D, 0.0D, block.getIcon(3, meta));
tessellator.draw();
tessellator.startDrawingQuads();
tessellator.setNormal(-1.0F, 0.0F, 0.0F);
renderer.renderFaceXNeg(block, 0.0D, 0.0D, 0.0D, block.getIcon(4, meta));
tessellator.draw();
tessellator.startDrawingQuads();
tessellator.setNormal(1.0F, 0.0F, 0.0F);
renderer.renderFaceXPos(block, 0.0D, 0.0D, 0.0D, block.getIcon(5, meta));
tessellator.draw();
}
public static void renderAllFaces(RenderBlocks renderer, Block block, int x, int y, int z, IIcon icon) {
renderer.renderFaceYNeg(block, x, y, z, icon);
renderer.renderFaceYPos(block, x, y, z, icon);
renderer.renderFaceZNeg(block, x, y, z, icon);
renderer.renderFaceZPos(block, x, y, z, icon);
renderer.renderFaceXNeg(block, x, y, z, icon);
renderer.renderFaceXPos(block, x, y, z, icon);
}
}
@@ -1,19 +0,0 @@
package team.chisel.ctmlib;
import net.minecraft.world.IBlockAccess;
public interface ICTMBlock<T extends ISubmapManager> {
/**
* Gets the {@link ISubmapManager} for this block in the world.
*/
T getManager(IBlockAccess world, int x, int y, int z, int meta);
/**
* Gets the {@link ISubmapManager} for this block in item form.
*
* @param meta The meta (damage) of the stack.
*/
T getManager(int meta);
}
@@ -1,19 +0,0 @@
package team.chisel.ctmlib;
import net.minecraft.util.IIcon;
public interface ISubmap {
/**
* The width, in icons, of the submap.
*/
int getWidth();
/**
* The height, in icons, of the submap.
*/
int getHeight();
IIcon getSubIcon(int x, int y);
}
@@ -1,48 +0,0 @@
package team.chisel.ctmlib;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import net.minecraftforge.common.util.ForgeDirection;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public interface ISubmapManager {
/**
* Gets the icon for item rendering, based on side and item metadata.
*
* @param side Side of the ItemBlock.
* @param meta Metadata of the ItemBlock.
* @return The IIcon for rendering.
*/
IIcon getIcon(int side, int meta);
/**
* Gets the icon for world rendering, based on world position and side.
*/
IIcon getIcon(IBlockAccess world, int x, int y, int z, int side);
/**
* Hook for registering any custom icons you might need in this class. Will be called during the normal block
* method.
*
* @param modName The mod ID this submap was registered to.
* @param block The block being registered for.
* @param register The IIconRegister instance.
*/
@SideOnly(Side.CLIENT)
void registerIcons(String modName, Block block, IIconRegister register);
@SideOnly(Side.CLIENT)
RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world);
@SideOnly(Side.CLIENT)
void preRenderSide(RenderBlocks renderer, IBlockAccess world, int x, int y, int z, ForgeDirection side);
@SideOnly(Side.CLIENT)
void postRenderSide(RenderBlocks renderer, IBlockAccess world, int x, int y, int z, ForgeDirection side);
}
@@ -1,561 +0,0 @@
package team.chisel.ctmlib;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.XNEG_LB;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.XNEG_LT;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.XNEG_RB;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.XNEG_RT;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.XPOS_LB;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.XPOS_LT;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.XPOS_RB;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.XPOS_RT;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.YNEG_LB;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.YNEG_LT;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.YNEG_RB;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.YNEG_RT;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.YPOS_LB;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.YPOS_LT;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.YPOS_RB;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.YPOS_RT;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.ZNEG_LB;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.ZNEG_LT;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.ZNEG_RB;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.ZNEG_RT;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.ZPOS_LB;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.ZPOS_LT;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.ZPOS_RB;
import static team.chisel.ctmlib.RenderBlocksCTM.SubSide.ZPOS_RT;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.X;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.XY;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.XYZ;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.XY_HALF;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.XY_HALF_Z;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.XZ;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.XZ_HALF;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.XZ_HALF_Y;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.X_HALF;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.X_HALF_Y;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.X_HALF_YZ;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.X_HALF_Z;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.Y;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.YZ;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.YZ_HALF;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.YZ_HALF_X;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.Y_HALF;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.Y_HALF_X;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.Y_HALF_XZ;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.Y_HALF_Z;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.Z;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.ZERO;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.Z_HALF;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.Z_HALF_X;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.Z_HALF_XY;
import static team.chisel.ctmlib.RenderBlocksCTM.Vert.Z_HALF_Y;
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.util.IIcon;
import net.minecraftforge.common.util.ForgeDirection;
import lombok.Getter;
public class RenderBlocksCTM extends RenderBlocks {
/**
* An enum for all possible 26 sub-side vertices.
*
* The naming scheme is as follows:
*
* ZERO is a special case, it is the absolute min point of the block. X, Y, Z, or any combination means that the
* axes listed in the name are at 1. X, Y, Z, or any combination followed by HALF means that those axes are at 0.5.
* X, Y, Z, or any combination after a HALF means those axes are at 1.
*/
protected enum Vert {
// @formatter:off
ZERO(0, 0, 0),
XYZ(1, 1, 1),
X(1, 0, 0),
Y(0, 1, 0),
Z(0, 0, 1),
XY(1, 1, 0),
YZ(0, 1, 1),
XZ(1, 0, 1),
X_HALF(0.5, 0, 0),
Y_HALF(0, 0.5, 0),
Z_HALF(0, 0, 0.5),
XY_HALF(0.5, 0.5, 0),
YZ_HALF(0, 0.5, 0.5),
XZ_HALF(0.5, 0, 0.5),
X_HALF_Y(0.5, 1, 0),
X_HALF_Z(0.5, 0, 1),
Y_HALF_X(1, 0.5, 0),
Y_HALF_Z(0, 0.5, 1),
Z_HALF_X(1, 0, 0.5),
Z_HALF_Y(0, 1, 0.5),
X_HALF_YZ(0.5, 1, 1),
Y_HALF_XZ(1, 0.5, 1),
Z_HALF_XY(1, 1, 0.5),
XY_HALF_Z(0.5, 0.5, 1),
YZ_HALF_X(1, 0.5, 0.5),
XZ_HALF_Y(0.5, 1, 0.5);
// @formatter:on
private double x, y, z;
private Vert(double x, double y, double z) {
this.x = x;
this.y = y;
this.z = z;
}
private static double u, v, xDiff, yDiff, zDiff, uDiff, vDiff;
void render(RenderBlocksCTM inst, ForgeDirection normal, int cacheID) {
final Tessellator tessellator = Tessellator.instance;
if (inst.enableAO) {
tessellator.setColorOpaque_F(inst.redCache[cacheID], inst.grnCache[cacheID], inst.bluCache[cacheID]);
tessellator.setBrightness(inst.lightingCache[cacheID]);
}
u = cacheID == 1 || cacheID == 2 ? inst.maxU : inst.minU;
v = cacheID < 2 ? inst.maxV : inst.minV;
uDiff = inst.maxU - inst.minU;
vDiff = inst.maxV - inst.minV;
if (inst.renderMinX + inst.renderMinY + inst.renderMinZ != 0
|| inst.renderMaxX + inst.renderMaxY + inst.renderMaxZ != 3) {
boolean uMin = u == inst.minU;
boolean vMin = v == inst.minV;
xDiff = inst.renderMaxX - inst.renderMinX;
yDiff = inst.renderMaxY - inst.renderMinY;
zDiff = inst.renderMaxZ - inst.renderMinZ;
if (normal.offsetY != 0) {
uDiff *= uMin ? inst.renderMinX : 1 - inst.renderMaxX;
vDiff *= vMin ? inst.renderMinZ : 1 - inst.renderMaxZ;
} else if (normal.offsetX != 0) {
uDiff *= uMin ? inst.renderMinZ : 1 - inst.renderMaxZ;
vDiff *= vMin ? inst.renderMinY : 1 - inst.renderMaxY;
} else if (normal.offsetZ != 0) {
uDiff *= uMin ? inst.renderMinX : 1 - inst.renderMaxX;
vDiff *= vMin ? inst.renderMinY : 1 - inst.renderMaxY;
}
u = u == inst.minU ? inst.minU + uDiff : inst.maxU - uDiff;
v = v == inst.minV ? inst.minV + vDiff : inst.maxV - vDiff;
} else {
xDiff = yDiff = zDiff = 1;
}
tessellator.addVertexWithUV(
inst.renderMinX + (x * xDiff),
inst.renderMinY + (y * yDiff),
inst.renderMinZ + (z * zDiff),
u,
v);
}
}
/**
* Each side is divided into 4 sub-sides. LB(left bottom), RB(right bottom), LT(right top), and RT(right top).
*
* Each sub-side contains 4 {@link Vert} objects representing its position on the block.
*/
protected enum SubSide {
// @formatter:off
XNEG_LB(ZERO, Z_HALF, YZ_HALF, Y_HALF), XNEG_RB(Z_HALF, Z, Y_HALF_Z, YZ_HALF), XNEG_RT(YZ_HALF, Y_HALF_Z, YZ, Z_HALF_Y), XNEG_LT(Y_HALF, YZ_HALF, Z_HALF_Y, Y),
XPOS_LB(XZ, Z_HALF_X, YZ_HALF_X, Y_HALF_XZ), XPOS_RB(Z_HALF_X, X, Y_HALF_X, YZ_HALF_X), XPOS_RT(YZ_HALF_X, Y_HALF_X, XY, Z_HALF_XY), XPOS_LT(Y_HALF_XZ, YZ_HALF_X, Z_HALF_XY, XYZ),
ZNEG_LB(X, X_HALF, XY_HALF, Y_HALF_X), ZNEG_RB(X_HALF, ZERO, Y_HALF, XY_HALF), ZNEG_RT(XY_HALF, Y_HALF, Y, X_HALF_Y), ZNEG_LT(Y_HALF_X, XY_HALF, X_HALF_Y, XY),
ZPOS_LB(Z, X_HALF_Z, XY_HALF_Z, Y_HALF_Z), ZPOS_RB(X_HALF_Z, XZ, Y_HALF_XZ, XY_HALF_Z), ZPOS_RT(XY_HALF_Z, Y_HALF_XZ, XYZ, X_HALF_YZ), ZPOS_LT(Y_HALF_Z, XY_HALF_Z, X_HALF_YZ, YZ),
YNEG_LB(ZERO, X_HALF, XZ_HALF, Z_HALF), YNEG_RB(X_HALF, X, Z_HALF_X, XZ_HALF), YNEG_RT(XZ_HALF, Z_HALF_X, XZ, X_HALF_Z), YNEG_LT(Z_HALF, XZ_HALF, X_HALF_Z, Z),
YPOS_LB(YZ, X_HALF_YZ, XZ_HALF_Y, Z_HALF_Y), YPOS_RB(X_HALF_YZ, XYZ, Z_HALF_XY, XZ_HALF_Y), YPOS_RT(XZ_HALF_Y, Z_HALF_XY, XY, X_HALF_Y), YPOS_LT(Z_HALF_Y, XZ_HALF_Y, X_HALF_Y, Y);
// @formatter:on
private Vert xmin, xmax, ymin, ymax;
private ForgeDirection normal;
SubSide(Vert xmin, Vert ymin, Vert ymax, Vert xmax) {
this.xmin = xmin;
this.ymin = ymin;
this.ymax = ymax;
this.xmax = xmax;
this.normal = calcNormal();
}
private ForgeDirection calcNormal() {
double xTot = xmin.x + xmax.x + ymin.x + ymax.x;
double yTot = xmin.y + xmax.y + ymin.y + ymax.y;
double zTot = xmin.z + xmax.z + ymin.z + ymax.z;
if (xTot % 4 == 0) {
return xTot > 0 ? ForgeDirection.EAST : ForgeDirection.WEST;
} else if (yTot % 4 == 0) {
return yTot > 0 ? ForgeDirection.UP : ForgeDirection.DOWN;
} else if (zTot % 4 == 0) {
return zTot > 0 ? ForgeDirection.SOUTH : ForgeDirection.NORTH;
}
return ForgeDirection.UNKNOWN;
}
void render(RenderBlocksCTM inst) {
xmin.render(inst, normal, 0);
ymin.render(inst, normal, 1);
ymax.render(inst, normal, 2);
xmax.render(inst, normal, 3);
}
}
public CTM ctm = CTM.getInstance();
// globals added to save the JVM some trouble. No need to constantly create
// and destroy ints if we don't have to
protected int blockLightBitChannel = 0;
protected int redBitChannel = 0;
protected int greenBitChannel = 0;
protected int blueBitChannel = 0;
protected int sunlightBitChannel = 0;
public RenderBlocksCTM() {
super();
renderMaxX = renderMaxY = renderMaxZ = 1;
}
protected double minU, maxU;
protected double minV, maxV;
protected int[] lightingCache = new int[4];
protected float[] redCache = new float[4];
protected float[] grnCache = new float[4];
protected float[] bluCache = new float[4];
public TextureSubmap submap;
public TextureSubmap submapSmall;
public RenderBlocks rendererOld;
public ISubmapManager manager;
protected int[][] lightmap = new int[3][3];
protected float[][] redmap = new float[3][3];
protected float[][] grnmap = new float[3][3];
protected float[][] blumap = new float[3][3];
protected int bx, by, bz, meta;
@Getter
protected boolean inWorld = false;
@Override
public boolean renderStandardBlock(Block block, int x, int y, int z) {
bx = x;
by = y;
bz = z;
meta = Minecraft.getMinecraft().theWorld.getBlockMetadata(x, y, z);
final Tessellator tessellator = Tessellator.instance;
tessellator.setColorOpaque_F(1.0F, 1.0F, 1.0F);
tessellator.addTranslation(x, y, z);
if (rendererOld != null && rendererOld.hasOverrideBlockTexture()) {
setOverrideBlockTexture(rendererOld.overrideBlockTexture);
}
inWorld = true;
boolean res = super.renderStandardBlock(block, x, y, z);
inWorld = false;
tessellator.addTranslation(-x, -y, -z);
return res;
}
/* @formatter:off
* This method fills a 3x3 grid of light values based on the four corners, by averaging them together.
*
* 2 TL x TR
*
* 1 x x x
*
* 0 BL x BR
* 0 1 2
*
* Note: Variable names mean nothing... don't touch
*
* ._.
*
* shakes fist in anger
*/
// @formatter:on
protected void fillLightmap(int bottomLeft, int bottomRight, int topRight, int topLeft) {
lightmap[0][0] = bottomLeft;
lightmap[2][0] = bottomRight;
lightmap[2][2] = topRight;
lightmap[0][2] = topLeft;
lightmap[1][0] = avg(bottomLeft, bottomRight);
lightmap[2][1] = avg(bottomRight, topRight);
lightmap[1][2] = avg(topRight, topLeft);
lightmap[0][1] = avg(topLeft, bottomLeft);
lightmap[1][1] = avg(bottomLeft, bottomRight, topRight, topLeft);
}
protected void fillColormap(float bottomLeft, float bottomRight, float topRight, float topLeft, float[][] map) {
map[0][0] = bottomLeft;
map[2][0] = bottomRight;
map[2][2] = topRight;
map[0][2] = topLeft;
map[1][0] = (bottomLeft + bottomRight) / 2.0F;
map[2][1] = (bottomRight + topRight) / 2.0F;
map[1][2] = (topRight + topLeft) / 2.0F;
map[0][1] = (topLeft + bottomLeft) / 2.0F;
map[1][1] = (bottomLeft + bottomRight + topRight + topLeft) / 4.0F;
}
protected void getLight(int x, int y) {
lightingCache[0] = lightmap[0 + x][0 + y];
lightingCache[1] = lightmap[1 + x][0 + y];
lightingCache[2] = lightmap[1 + x][1 + y];
lightingCache[3] = lightmap[0 + x][1 + y];
redCache[0] = redmap[0 + x][0 + y];
redCache[1] = redmap[1 + x][0 + y];
redCache[2] = redmap[1 + x][1 + y];
redCache[3] = redmap[0 + x][1 + y];
grnCache[0] = grnmap[0 + x][0 + y];
grnCache[1] = grnmap[1 + x][0 + y];
grnCache[2] = grnmap[1 + x][1 + y];
grnCache[3] = grnmap[0 + x][1 + y];
bluCache[0] = blumap[0 + x][0 + y];
bluCache[1] = blumap[1 + x][0 + y];
bluCache[2] = blumap[1 + x][1 + y];
bluCache[3] = blumap[0 + x][1 + y];
}
/**
* This works around a bug in CLC atm
*/
private int avg(int... lightVals) {
blockLightBitChannel = 0;
redBitChannel = 0;
greenBitChannel = 0;
blueBitChannel = 0;
sunlightBitChannel = 0;
for (int light : lightVals) {
blockLightBitChannel += (light & 0xFF);
redBitChannel += (light & 0xF00);
greenBitChannel += (light & 0xF000);
blueBitChannel += (light & 0xF0000);
sunlightBitChannel += (light & 0xF00000);
}
return ((blockLightBitChannel / lightVals.length) & 0xFF) | ((redBitChannel / lightVals.length) & 0xF00)
| ((greenBitChannel / lightVals.length) & 0xF000)
| ((blueBitChannel / lightVals.length) & 0xF0000)
| ((sunlightBitChannel / lightVals.length) & 0xF00000);
}
protected void side(Block block, SubSide side, int iconIndex) {
IIcon icon;
TextureSubmap map;
if (iconIndex >= 16) {
iconIndex -= 16;
map = submapSmall;
} else {
map = submap;
}
if (map == null) {
icon = getBlockIconFromSideAndMetadata(block, side.normal.ordinal(), meta);
} else {
int x = iconIndex % map.getWidth();
int y = iconIndex / map.getHeight();
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;
side.render(this);
}
@Override
public void renderFaceXNeg(Block block, double x, double y, double z, IIcon icon) {
pre(ForgeDirection.WEST);
if (!inWorld || hasOverrideBlockTexture() || submap == null) {
super.renderFaceXNeg(block, 0, 0, 0, icon);
} else {
int tex[] = ctm.getSubmapIndices(blockAccess, bx, by, bz, 4);
fillLightmap(brightnessBottomRight, brightnessTopRight, brightnessTopLeft, brightnessBottomLeft);
fillColormap(colorRedBottomRight, colorRedTopRight, colorRedTopLeft, colorRedBottomLeft, redmap);
fillColormap(colorGreenBottomRight, colorGreenTopRight, colorGreenTopLeft, colorGreenBottomLeft, grnmap);
fillColormap(colorBlueBottomRight, colorBlueTopRight, colorBlueTopLeft, colorBlueBottomLeft, blumap);
getLight(0, 0);
side(block, XNEG_LB, tex[0]);
getLight(1, 0);
side(block, XNEG_RB, tex[1]);
getLight(1, 1);
side(block, XNEG_RT, tex[2]);
getLight(0, 1);
side(block, XNEG_LT, tex[3]);
}
post(ForgeDirection.WEST);
}
@Override
public void renderFaceXPos(Block block, double x, double y, double z, IIcon icon) {
pre(ForgeDirection.EAST);
if (!inWorld || hasOverrideBlockTexture() || submap == null) {
super.renderFaceXPos(block, 0, 0, 0, icon);
} else {
int tex[] = ctm.getSubmapIndices(blockAccess, bx, by, bz, 5);
fillLightmap(brightnessTopLeft, brightnessBottomLeft, brightnessBottomRight, brightnessTopRight);
fillColormap(colorRedTopLeft, colorRedBottomLeft, colorRedBottomRight, colorRedTopRight, redmap);
fillColormap(colorGreenTopLeft, colorGreenBottomLeft, colorGreenBottomRight, colorGreenTopRight, grnmap);
fillColormap(colorBlueTopLeft, colorBlueBottomLeft, colorBlueBottomRight, colorBlueTopRight, blumap);
getLight(0, 0);
side(block, XPOS_LB, tex[0]);
getLight(1, 0);
side(block, XPOS_RB, tex[1]);
getLight(1, 1);
side(block, XPOS_RT, tex[2]);
getLight(0, 1);
side(block, XPOS_LT, tex[3]);
}
post(ForgeDirection.EAST);
}
@Override
public void renderFaceZNeg(Block block, double x, double y, double z, IIcon icon) {
pre(ForgeDirection.NORTH);
if (!inWorld || hasOverrideBlockTexture() || submap == null) {
super.renderFaceZNeg(block, 0, 0, 0, icon);
} else {
int tex[] = ctm.getSubmapIndices(blockAccess, bx, by, bz, 2);
fillLightmap(brightnessBottomRight, brightnessTopRight, brightnessTopLeft, brightnessBottomLeft);
fillColormap(colorRedBottomRight, colorRedTopRight, colorRedTopLeft, colorRedBottomLeft, redmap);
fillColormap(colorGreenBottomRight, colorGreenTopRight, colorGreenTopLeft, colorGreenBottomLeft, grnmap);
fillColormap(colorBlueBottomRight, colorBlueTopRight, colorBlueTopLeft, colorBlueBottomLeft, blumap);
getLight(0, 0);
side(block, ZNEG_LB, tex[0]);
getLight(1, 0);
side(block, ZNEG_RB, tex[1]);
getLight(1, 1);
side(block, ZNEG_RT, tex[2]);
getLight(0, 1);
side(block, ZNEG_LT, tex[3]);
}
post(ForgeDirection.NORTH);
}
@Override
public void renderFaceZPos(Block block, double x, double y, double z, IIcon icon) {
pre(ForgeDirection.SOUTH);
if (!inWorld || hasOverrideBlockTexture() || submap == null) {
super.renderFaceZPos(block, 0, 0, 0, icon);
} else {
int tex[] = ctm.getSubmapIndices(blockAccess, bx, by, bz, 3);
fillLightmap(brightnessBottomLeft, brightnessBottomRight, brightnessTopRight, brightnessTopLeft);
fillColormap(colorRedBottomLeft, colorRedBottomRight, colorRedTopRight, colorRedTopLeft, redmap);
fillColormap(colorGreenBottomLeft, colorGreenBottomRight, colorGreenTopRight, colorGreenTopLeft, grnmap);
fillColormap(colorBlueBottomLeft, colorBlueBottomRight, colorBlueTopRight, colorBlueTopLeft, blumap);
getLight(0, 0);
side(block, ZPOS_LB, tex[0]);
getLight(1, 0);
side(block, ZPOS_RB, tex[1]);
getLight(1, 1);
side(block, ZPOS_RT, tex[2]);
getLight(0, 1);
side(block, ZPOS_LT, tex[3]);
}
post(ForgeDirection.SOUTH);
}
@Override
public void renderFaceYNeg(Block block, double x, double y, double z, IIcon icon) {
pre(ForgeDirection.DOWN);
if (!inWorld || hasOverrideBlockTexture() || submap == null) {
super.renderFaceYNeg(block, 0, 0, 0, icon);
} else {
int tex[] = ctm.getSubmapIndices(blockAccess, bx, by, bz, 0);
fillLightmap(brightnessBottomLeft, brightnessBottomRight, brightnessTopRight, brightnessTopLeft);
fillColormap(colorRedBottomLeft, colorRedBottomRight, colorRedTopRight, colorRedTopLeft, redmap);
fillColormap(colorGreenBottomLeft, colorGreenBottomRight, colorGreenTopRight, colorGreenTopLeft, grnmap);
fillColormap(colorBlueBottomLeft, colorBlueBottomRight, colorBlueTopRight, colorBlueTopLeft, blumap);
getLight(0, 0);
side(block, YNEG_LB, tex[0]);
getLight(1, 0);
side(block, YNEG_RB, tex[1]);
getLight(1, 1);
side(block, YNEG_RT, tex[2]);
getLight(0, 1);
side(block, YNEG_LT, tex[3]);
}
post(ForgeDirection.DOWN);
}
@Override
public void renderFaceYPos(Block block, double x, double y, double z, IIcon icon) {
pre(ForgeDirection.UP);
if (!inWorld || hasOverrideBlockTexture() || submap == null) {
super.renderFaceYPos(block, 0, 0, 0, icon);
} else {
int tex[] = ctm.getSubmapIndices(blockAccess, bx, by, bz, 1);
fillLightmap(brightnessTopRight, brightnessTopLeft, brightnessBottomLeft, brightnessBottomRight);
fillColormap(colorRedTopRight, colorRedTopLeft, colorRedBottomLeft, colorRedBottomRight, redmap);
fillColormap(colorGreenTopRight, colorGreenTopLeft, colorGreenBottomLeft, colorGreenBottomRight, grnmap);
fillColormap(colorBlueTopRight, colorBlueTopLeft, colorBlueBottomLeft, colorBlueBottomRight, blumap);
getLight(0, 0);
side(block, YPOS_LB, tex[0]);
getLight(1, 0);
side(block, YPOS_RB, tex[1]);
getLight(1, 1);
side(block, YPOS_RT, tex[2]);
getLight(0, 1);
side(block, YPOS_LT, tex[3]);
}
post(ForgeDirection.UP);
}
protected void pre(ForgeDirection face) {
manager.preRenderSide(this, blockAccess, bx, by, bz, face);
}
protected void post(ForgeDirection face) {
manager.postRenderSide(this, blockAccess, bx, by, bz, face);
}
}
@@ -1,156 +0,0 @@
package team.chisel.ctmlib;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import com.cricketcraft.chisel.api.rendering.TextureType;
/**
* Used by {@link TextureType#CTMV}
*/
public class RenderBlocksColumn extends RenderBlocks {
public TextureSubmap submap;
public IIcon iconTop;
private boolean inWorld;
private IIcon sides[] = new IIcon[6];
private CTM ctm = CTM.getInstance();
public RenderBlocksColumn() {
super();
}
boolean connected(IBlockAccess world, int x, int y, int z, Block block, int meta) {
Block inWorld = ctm.getBlockOrFacade(world, x, y, z, -1);
return inWorld != null && inWorld.equals(block) && ctm.getBlockOrFacadeMetadata(world, x, y, z, -1) == meta;
}
@Override
public boolean renderStandardBlock(Block block, int x, int y, int z) {
int metadata = blockAccess.getBlockMetadata(x, y, z);
inWorld = true;
boolean yp = connected(blockAccess, x, y + 1, z, block, metadata);
boolean yn = connected(blockAccess, x, y - 1, z, block, metadata);
if (yp || yn) {
sides[0] = iconTop;
sides[1] = iconTop;
if (yp && yn) sides[2] = submap.getSubIcon(0, 1);
else if (yp) sides[2] = submap.getSubIcon(1, 1);
else sides[2] = submap.getSubIcon(1, 0);
sides[3] = sides[4] = sides[5] = sides[2];
} else {
boolean xp = connected(blockAccess, x + 1, y, z, block, metadata);
boolean xn = connected(blockAccess, x - 1, y, z, block, metadata);
if (xp && (connected(blockAccess, x + 1, y + 1, z, block, metadata)
|| connected(blockAccess, x + 1, y - 1, z, block, metadata))) xp = false;
if (xn && (connected(blockAccess, x - 1, y + 1, z, block, metadata)
|| connected(blockAccess, x - 1, y - 1, z, block, metadata))) xn = false;
if (xp || xn) {
uvRotateEast = 2;
uvRotateWest = 1;
uvRotateTop = 1;
uvRotateBottom = 1;
sides[4] = iconTop;
sides[5] = iconTop;
// for some reason along the x axis the bottom texture on the ends is backwards. This flips it around.
if (xp && xn) {
sides[1] = submap.getSubIcon(0, 1);
sides[0] = sides[1];
} else if (xp) {
sides[1] = submap.getSubIcon(1, 1);
sides[0] = submap.getSubIcon(1, 0);
} else {
sides[1] = submap.getSubIcon(1, 0);
sides[0] = submap.getSubIcon(1, 1);
}
sides[2] = sides[3] = sides[1];
} else {
boolean zp = connected(blockAccess, x, y, z + 1, block, metadata);
boolean zn = connected(blockAccess, x, y, z - 1, block, metadata);
if (zp && (connected(blockAccess, x, y + 1, z + 1, block, metadata)
|| connected(blockAccess, x, y - 1, z + 1, block, metadata))) zp = false;
if (zp && (connected(blockAccess, x + 1, y, z + 1, block, metadata)
|| connected(blockAccess, x - 1, y, z + 1, block, metadata))) zp = false;
if (zn && (connected(blockAccess, x, y + 1, z - 1, block, metadata)
|| connected(blockAccess, x, y - 1, z - 1, block, metadata))) zn = false;
if (zn && (connected(blockAccess, x + 1, y, z - 1, block, metadata)
|| connected(blockAccess, x - 1, y, z - 1, block, metadata))) zn = false;
if (zp || zn) {
uvRotateSouth = 1;
uvRotateNorth = 2;
sides[2] = iconTop;
sides[3] = iconTop;
if (zp && zn) sides[0] = submap.getSubIcon(0, 1);
else if (zp) sides[0] = submap.getSubIcon(1, 0);
else sides[0] = submap.getSubIcon(1, 1);
sides[1] = sides[4] = sides[5] = sides[0];
} else {
sides[0] = sides[1] = iconTop;
sides[2] = sides[3] = sides[4] = sides[5] = submap.getSubIcon(0, 0);
}
}
}
boolean flag = super.renderStandardBlock(block, x, y, z);
uvRotateSouth = 0;
uvRotateEast = 0;
uvRotateWest = 0;
uvRotateNorth = 0;
uvRotateTop = 0;
uvRotateBottom = 0;
inWorld = false;
return flag;
}
@Override
public void renderFaceXNeg(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceXNeg(block, x, y, z, getIcon(icon, 4));
}
@Override
public void renderFaceXPos(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceXPos(block, x, y, z, getIcon(icon, 5));
}
@Override
public void renderFaceZNeg(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceZNeg(block, x, y, z, getIcon(icon, 2));
}
@Override
public void renderFaceZPos(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceZPos(block, x, y, z, getIcon(icon, 3));
}
@Override
public void renderFaceYNeg(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceYNeg(block, x, y, z, getIcon(icon, 0));
}
@Override
public void renderFaceYPos(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceYPos(block, x, y, z, getIcon(icon, 1));
}
private IIcon getIcon(IIcon defaultIcon, int side) {
return sides[side] == null || !inWorld ? defaultIcon : sides[side];
}
}
@@ -1,70 +0,0 @@
package team.chisel.ctmlib;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import net.minecraftforge.common.util.ForgeDirection;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import lombok.Getter;
/**
* A convenience implementation of {@link ISubmapManager} which does the standard CTM behavior.
*/
public class SubmapManagerCTM implements ISubmapManager {
@SideOnly(Side.CLIENT)
private static final ThreadLocal<RenderBlocksCTM> renderBlocksThreadLocal = ThreadLocal
.withInitial(RenderBlocksCTM::new);
@Getter
private TextureSubmap submap, submapSmall;
@Getter
private final String textureName;
/**
* @param textureName The path to the texture, excluding the mod ID (this is passed into
* {@link #registerIcons(String, Block, IIconRegister)}).
* <p>
* The CTM texture will be this path, plus {@code "-ctm"}.
*/
public SubmapManagerCTM(String textureName) {
this.textureName = textureName;
}
@Override
public IIcon getIcon(int side, int meta) {
return submapSmall.getBaseIcon();
}
@Override
public IIcon getIcon(IBlockAccess world, int x, int y, int z, int side) {
return getIcon(side, world.getBlockMetadata(x, y, z));
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(String modName, Block block, IIconRegister register) {
submap = new TextureSubmap(register.registerIcon(modName + ":" + textureName + "-ctm"), 4, 4);
submapSmall = new TextureSubmap(register.registerIcon(modName + ":" + textureName), 2, 2);
}
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
RenderBlocksCTM rb = renderBlocksThreadLocal.get();
rb.setRenderBoundsFromBlock(block);
rb.submap = submap;
rb.submapSmall = submapSmall;
return rb;
}
@Override
public void preRenderSide(RenderBlocks renderer, IBlockAccess world, int x, int y, int z, ForgeDirection side) {}
@Override
public void postRenderSide(RenderBlocks renderer, IBlockAccess world, int x, int y, int z, ForgeDirection side) {}
}
@@ -1,185 +0,0 @@
package team.chisel.ctmlib;
import java.util.List;
import net.minecraft.util.IIcon;
import net.minecraftforge.client.event.TextureStitchEvent;
import net.minecraftforge.common.MinecraftForge;
import org.apache.commons.lang3.ArrayUtils;
import com.google.common.collect.Lists;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import lombok.experimental.Delegate;
/**
* This class is used to split up a large IIcon into smaller "submapped" icons used for CTM and other texture
* manipulation.
*/
public class TextureSubmap implements IIcon, ISubmap {
private static List<TextureSubmap> submaps = Lists.newArrayList();
private static TextureSubmap dummy = new TextureSubmap(null, 0, 0);
static {
MinecraftForge.EVENT_BUS.register(dummy);
}
private int width, height;
@Delegate
private IIcon baseIcon;
protected IIcon[][] icons;
/**
* Construct a new submap. A submap is not required to be square, but it is required to be rectangular.
*
* @param baseIcon The IIcon to submap.
* @param width The width of the map, in icons.
* @param height The height of the map, in icons.
*/
public TextureSubmap(IIcon baseIcon, int width, int height) {
this.baseIcon = baseIcon;
this.width = width;
this.height = height;
this.icons = new IIcon[width][height];
submaps.add(this);
}
/**
* The large "base" icon used for the submap.
*/
public IIcon getBaseIcon() {
return baseIcon;
}
/**
* Gets all the icons in this submap. This is an expensive operation as it first clones the entire 2D array.
*
* @return All icons in this submap.
*/
public IIcon[][] getAllIcons() {
IIcon[][] ret = ArrayUtils.clone(icons);
for (int i = 0; i < ret.length; i++) {
ret[i] = ArrayUtils.clone(ret[i]);
}
return ret;
}
/* ==== ISubmap ==== */
/**
* Finds and returns the sub-icon at the given coordinates. For example, if you have a 3 by 3 submap, calling
* {@code getSubIcon(1, 1)} will return the center subicon.
*/
@Override
public IIcon getSubIcon(int x, int y) {
x = x % icons.length;
return icons[x][y % icons[x].length];
}
@Override
public int getWidth() {
return width;
}
@Override
public int getHeight() {
return height;
}
/* ==== Internal Stitching Logic ==== */
/**
* For internal use only, this is used to create the virtual "subicons" used in the map.
*/
@SubscribeEvent
public final void TexturesStitched(TextureStitchEvent.Post event) {
for (TextureSubmap ts : submaps) {
ts.texturesStitched();
}
}
public void texturesStitched() {
for (int x = 0; x < width; x++) {
for (int y = 0; y < height; y++) {
icons[x][y] = new TextureVirtual(getBaseIcon(), width, height, x, y);
}
}
}
private class TextureVirtual implements IIcon {
private int width, height;
private float umin, umax, vmin, vmax;
private IIcon parentIcon;
private TextureVirtual(IIcon parent, int w, int h, int x, int y) {
parentIcon = parent;
umin = parentIcon.getInterpolatedU(16.0 * (x) / w);
umax = parentIcon.getInterpolatedU(16.0 * (x + 1) / w);
vmin = parentIcon.getInterpolatedV(16.0 * (y) / h);
vmax = parentIcon.getInterpolatedV(16.0 * (y + 1) / h);
width = parentIcon.getIconWidth();
height = parentIcon.getIconHeight();
}
@Override
@SideOnly(Side.CLIENT)
public float getMinU() {
return umin;
}
@Override
@SideOnly(Side.CLIENT)
public float getMaxU() {
return umax;
}
@Override
@SideOnly(Side.CLIENT)
public float getInterpolatedU(double d0) {
return (float) (umin + (umax - umin) * d0 / 16.0);
}
@Override
@SideOnly(Side.CLIENT)
public float getMinV() {
return vmin;
}
@Override
@SideOnly(Side.CLIENT)
public float getMaxV() {
return vmax;
}
@Override
@SideOnly(Side.CLIENT)
public float getInterpolatedV(double d0) {
return (float) (vmin + (vmax - vmin) * d0 / 16.0);
}
@Override
@SideOnly(Side.CLIENT)
public String getIconName() {
return parentIcon.getIconName();
}
@Override
@SideOnly(Side.CLIENT)
public int getIconWidth() {
return width;
}
@Override
@SideOnly(Side.CLIENT)
public int getIconHeight() {
return height;
}
}
}
@@ -65,7 +65,6 @@ public final class ChiselBlocks {
public static final BlockCarvable netherrack = null;
public static final BlockCarvable mossy_cobblestone = null;
public static final BlockCarvable stonebricksmooth = null;
public static final BlockCarvable hardenedClay = null;
public static final BlockCarvablePane iron_bars = null;
public static final BlockCarvableIce ice = null;
public static final BlockCarvableIce ice_pillar = null;
@@ -151,8 +150,6 @@ public final class ChiselBlocks {
public static Block[] torches = new BlockCarvableTorch[16];
public static BlockCarvable[] planks = new BlockCarvable[6];
public static BlockCarvable[] planks_bop = new BlockCarvable[14];
public static BlockCarvable[] planks_tc = new BlockCarvable[2];
public static BlockCarvablePumpkin[] pumpkin = new BlockCarvablePumpkin[16];
public static BlockCarvablePumpkin[] jackolantern = new BlockCarvablePumpkin[16];
@@ -170,8 +167,5 @@ public final class ChiselBlocks {
// 1.9... drull pls
public static final BlockCarvable purpur = null;
// 1.19, skipped 10 versions but thats fine
public static final BlockCarvable froglight = null;
private ChiselBlocks() {}
}
@@ -96,7 +96,6 @@ public class ContainerChisel extends Container {
itemstack = itemstack1.copy();
if (slotIdx > InventoryChiselSelection.normalSlots) {
// clicked in player inventory
if (!this.mergeItemStack(
itemstack1,
InventoryChiselSelection.normalSlots,
@@ -105,13 +104,10 @@ public class ContainerChisel extends Container {
return null;
}
} else {
// only run this logic if a chisel selection slot was clicked (i.e. not the input slot)
if (slotIdx != InventoryChiselSelection.normalSlots) {
entity.inventory.setItemStack(itemstack1.copy());
slot.onPickupFromSlot(entity, itemstack1);
itemstack1 = entity.inventory.getItemStack();
entity.inventory.setItemStack(null);
}
entity.inventory.setItemStack(itemstack1.copy());
slot.onPickupFromSlot(entity, itemstack1);
itemstack1 = entity.inventory.getItemStack();
entity.inventory.setItemStack(null);
if (!this.mergeItemStack(
itemstack1,
@@ -156,13 +152,13 @@ public class ContainerChisel extends Container {
}
public void onChiselSlotChanged() {
ItemStack stack = playerInventory.getStackInSlot(chiselSlot);
ItemStack stack = playerInventory.mainInventory[chiselSlot];
if (stack == null || !stack.isItemEqual(chisel)) finished = true;
if (finished) return;
General.setChiselTarget(chisel, inventory.getStackInSpecialSlot());
playerInventory.setInventorySlotContents(chiselSlot, chisel);
playerInventory.mainInventory[chiselSlot] = chisel;
}
}
@@ -66,7 +66,7 @@ public class SlotChiselSelection extends Slot {
.onChisel(player.worldObj, container.chisel, General.getVariation(crafted))) {
container.chisel.damageItem(1, player);
if (container.chisel.stackSize <= 0) {
player.setCurrentItemOrArmor(0, null);
player.inventory.mainInventory[player.inventory.currentItem] = null;
}
}
@@ -121,7 +121,7 @@ public enum ChiselMode implements IChiselMode {
player.getCurrentEquippedItem()
.damageItem(1, player);
if (player.getCurrentEquippedItem().stackSize <= 0) {
player.setCurrentItemOrArmor(0, null);
player.inventory.mainInventory[player.inventory.currentItem] = null;
breakChisel = true;
}
}
@@ -14,6 +14,7 @@ import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import net.minecraftforge.common.MinecraftForge;
import com.cricketcraft.chisel.api.IChiselItem;
import com.cricketcraft.chisel.api.carving.ICarvingRegistry;
@@ -67,6 +68,7 @@ public class ItemChisel extends Item implements IChiselItem {
+ type.name()
.toLowerCase());
}
MinecraftForge.EVENT_BUS.register(this);
}
@Override
@@ -133,7 +133,7 @@ tile.beacon.blue.desc=Blau leuchtendes Leuchtfeuer
tile.beacon.brown.desc=Braun leuchtendes Leuchtfeuer
tile.beacon.cyan.desc=Türkis leuchtendes Leuchtfeuer
tile.beacon.green.desc=Grün leuchtendes Leuchtfeuer
tile.beacon.lightBlue.desc=Hellblau leuchtendes Leuchtfeuer
tile.beacon.lightblue.desc=Hellblau leuchtendes Leuchtfeuer
tile.beacon.silver.desc=Hellgrau leuchtendes Leuchtfeuer
tile.beacon.lime.desc=Hellgrün leuchtendes Leuchtfeuer
tile.beacon.magenta.desc=Lila leuchtendes Leuchtfeuer
@@ -134,7 +134,7 @@ tile.beacon.blue.desc=Blue Beamed Beacon
tile.beacon.brown.desc=Brown Beamed Beacon
tile.beacon.cyan.desc=Cyan Beamed Beacon
tile.beacon.green.desc=Green Beamed Beacon
tile.beacon.lightBlue.desc=Light Blue Beamed Beacon
tile.beacon.lightblue.desc=Light Blue Beamed Beacon
# Beacon
tile.beacon.silver.desc=Light Grey Beamed Beacon
tile.beacon.lime.desc=Lime Beamed Beacon
@@ -238,7 +238,7 @@ tile.arcane.10.desc=Fine Thaumaturge's Emblem
tile.arcane.11.desc=Cracked Rock leaking Eldritch Glow
# Thaumium
tile.chisel.thaumium.name=Block of Thaumium
tile.chisel.thaumium.name=Thaumium Block
tile.thaumium.0.desc=Ornate Pattern
tile.thaumium.1.desc=Totem Faces
tile.thaumium.2.desc=Bricks
@@ -692,7 +692,7 @@ tile.factory2.2.desc=Metallic Blue Circuit Plating
tile.factory2.3.desc=Blue Wireframing
# Diamond blocks
tile.chisel.diamond_block.name=Block of Diamond
tile.chisel.diamond_block.name=Diamond Block
tile.diamond.1.desc=Embossed Diamond Block
tile.diamond.2.desc=Diamond Block with Panel
tile.diamond.3.desc=Diamond Cells
@@ -783,7 +783,7 @@ tile.roadLine.3.desc=Double Yellow
tile.roadLine.4.desc=Hazard Tape
# Iron Blocks
tile.chisel.iron_block.name=Block of Iron
tile.chisel.iron_block.name=Iron Block
tile.iron.1.desc=Large Iron Ingots
tile.iron.2.desc=Small Iron Ingots
tile.iron.3.desc=Iron Gears
@@ -801,7 +801,7 @@ tile.iron.14.desc=Iron Vents
tile.iron.15.desc=Simple Iron Block
# Gold Blocks
tile.chisel.gold_block.name=Block of Gold
tile.chisel.gold_block.name=Gold Block
tile.gold.1.desc=Large Golden Ingots
tile.gold.2.desc=Small Golden Ingots
tile.gold.3.desc=Golden Bricks
@@ -836,7 +836,7 @@ tile.lightstone.14.desc=Glowstone Bismuth
tile.lightstone.15.desc=Glowstone Bismuth Panel
# Lapis blocks
tile.chisel.lapis_block.name=Lapis Lazuli Block
tile.chisel.lapis_block.name=Lapis Block
tile.lapis.1.desc=Chunky Lapis Block
tile.lapis.2.desc=Dark Lapis Block
tile.lapis.3.desc=Zelda Lapis Block
@@ -847,7 +847,7 @@ tile.lapis.7.desc=Smooth Lapis
tile.lapis.8.desc=Lapis with Ornate Layer
# Emerald Blocks
tile.chisel.emerald_block.name=Block of Emerald
tile.chisel.emerald_block.name=Emerald Block
tile.emerald.1.desc=Emerald Panel
tile.emerald.2.desc=Classic emerald Panel
tile.emerald.3.desc=Smooth Emerald
@@ -1108,7 +1108,7 @@ tile.glass_pane.14.desc=Japanese Glass Pane
tile.glass_pane.15.desc=Ornate Japanese Glass Pane
# Redstone block
tile.chisel.redstone_block.name=Block of Redstone
tile.chisel.redstone_block.name=Redstone Block
tile.redstone_block.1.desc=Smooth Redstone
tile.redstone_block.2.desc=Large Redstone Block
tile.redstone_block.3.desc=Small Redstone Block
@@ -134,7 +134,7 @@ tile.beacon.blue.desc=Blue Beamed Beacon
tile.beacon.brown.desc=Brown Beamed Beacon
tile.beacon.cyan.desc=Cyan Beamed Beacon
tile.beacon.green.desc=Green Beamed Beacon
tile.beacon.lightBlue.desc=Light Blue Beamed Beacon
tile.beacon.lightblue.desc=Light Blue Beamed Beacon
tile.beacon.silver.desc=Light Gray Beamed Beacon
tile.beacon.lime.desc=Lime Beamed Beacon
tile.beacon.magenta.desc=Magenta Beamed Beacon
@@ -27,7 +27,6 @@ item.cloudBottle.name=Cloud In A Bottle
item.cloudBottle.desc=Right-Click to throw. This will spawn clouds on impact.
item.smashingRock.name=Smashing Rock
item.smashingRock.desc=Right-Click to throw. This will turn Cobblestone into Gravel, Gravel into Sand etc on impact.
item.upgrade.name=Upgrade
item.upgrade_speed.name=Speed Upgrade
item.upgrade_automation.name=Automation Upgrade
item.upgrade_stack.name=Stack Upgrade
@@ -139,7 +138,7 @@ tile.beacon.blue.desc=Blue Beamed Beacon
tile.beacon.brown.desc=Brown Beamed Beacon
tile.beacon.cyan.desc=Cyan Beamed Beacon
tile.beacon.green.desc=Green Beamed Beacon
tile.beacon.lightBlue.desc=Light Blue Beamed Beacon
tile.beacon.lightblue.desc=Light Blue Beamed Beacon
tile.beacon.silver.desc=Light Gray Beamed Beacon
tile.beacon.lime.desc=Lime Beamed Beacon
tile.beacon.magenta.desc=Magenta Beamed Beacon
@@ -340,516 +339,6 @@ tile.grimstone.12.desc=Smooth Grimstone Plate
tile.grimstone.13.desc=Grimstone Plate
tile.grimstone.14.desc=Flaky Grimstone
#Hardened Clay (Terracotta)
tile.chisel.hardened_clay.name=Terracotta
tile.chisel.hardened_clay2.name=Terracotta
tile.hardened_clay.0.desc=Braid Terracotta Bricks
tile.hardened_clay.1.desc=Cracked Terracotta Bricks
tile.hardened_clay.2.desc=Small Terracotta Brick Tiles
tile.hardened_clay.3.desc=Small Terracotta Bricks
tile.hardened_clay.4.desc=Aligned Terracotta Bricks
tile.hardened_clay.5.desc=Detailed Terracotta Bricks
tile.hardened_clay.6.desc=Wide Terracotta Bricks
tile.hardened_clay.7.desc=Chaotic Small Terracotta Bricks
tile.hardened_clay.8.desc=Small Disordered Terracotta Bricks
tile.hardened_clay.9.desc=Ornate Terracotta
tile.hardened_clay.10.desc=Cracked Terracotta
tile.hardened_clay.11.desc=Sunken Terracotta Panel
tile.hardened_clay.12.desc=Fancy Terracotta Bricks
tile.hardened_clay.13.desc=Fancy Terracotta Tiles
tile.hardened_clay.14.desc=Terracotta Layers
tile.hardened_clay.15.desc=Terracotta Mosaic
tile.hardened_clay.16.desc=Small Ornate Terracotta
tile.hardened_clay.17.desc=Terracotta Large Tile
tile.hardened_clay.18.desc=Terracotta Pillar
tile.hardened_clay.19.desc=Prismatic Terracotta
tile.hardened_clay.20.desc=Terracotta Bricks in a Fancy Arrangement
tile.hardened_clay.21.desc=Terracotta Panel
tile.hardened_clay.22.desc=Small Terracotta Blocks
tile.hardened_clay.23.desc=Small Terracotta Tiles
tile.hardened_clay.24.desc=Radial Carved Terracotta
tile.hardened_clay.25.desc=Engraved Terracotta Block
#Hardened Clay (Black Terracotta)
tile.chisel.hardened_clay_black.name=Black Terracotta
tile.chisel.hardened_clay_black2.name=Black Terracotta
tile.hardened_clay_black.0.desc=Braid Black Terracotta Bricks
tile.hardened_clay_black.1.desc=Cracked Black Terracotta Bricks
tile.hardened_clay_black.2.desc=Small Black Terracotta Brick Tiles
tile.hardened_clay_black.3.desc=Small Black Terracotta Bricks
tile.hardened_clay_black.4.desc=Aligned Black Terracotta Bricks
tile.hardened_clay_black.5.desc=Detailed Black Terracotta Bricks
tile.hardened_clay_black.6.desc=Wide Black Terracotta Bricks
tile.hardened_clay_black.7.desc=Chaotic Small Black Terracotta Bricks
tile.hardened_clay_black.8.desc=Small Disordered Black Terracotta Bricks
tile.hardened_clay_black.9.desc=Ornate Black Terracotta
tile.hardened_clay_black.10.desc=Cracked Black Terracotta
tile.hardened_clay_black.11.desc=Sunken Black Terracotta Panel
tile.hardened_clay_black.12.desc=Fancy Black Terracotta Bricks
tile.hardened_clay_black.13.desc=Fancy Black Terracotta Tiles
tile.hardened_clay_black.14.desc=Black Terracotta Layers
tile.hardened_clay_black.15.desc=Black Terracotta Mosaic
tile.hardened_clay_black.16.desc=Small Ornate Black Terracotta
tile.hardened_clay_black.17.desc=Black Terracotta Large Tile
tile.hardened_clay_black.18.desc=Black Terracotta Pillar
tile.hardened_clay_black.19.desc=Prismatic Black Terracotta
tile.hardened_clay_black.20.desc=Black Terracotta Bricks in a Fancy Arrangement
tile.hardened_clay_black.21.desc=Black Terracotta Panel
tile.hardened_clay_black.22.desc=Small Black Terracotta Blocks
tile.hardened_clay_black.23.desc=Small Black Terracotta Tiles
tile.hardened_clay_black.24.desc=Radial Carved Black Terracotta
tile.hardened_clay_black.25.desc=Engraved Black Terracotta Block
#Hardened Clay (Blue Terracotta)
tile.chisel.hardened_clay_blue.name=Blue Terracotta
tile.chisel.hardened_clay_blue2.name=Blue Terracotta
tile.hardened_clay_blue.0.desc=Braid Blue Terracotta Bricks
tile.hardened_clay_blue.1.desc=Cracked Blue Terracotta Bricks
tile.hardened_clay_blue.2.desc=Small Blue Terracotta Brick Tiles
tile.hardened_clay_blue.3.desc=Small Blue Terracotta Bricks
tile.hardened_clay_blue.4.desc=Aligned Blue Terracotta Bricks
tile.hardened_clay_blue.5.desc=Detailed Blue Terracotta Bricks
tile.hardened_clay_blue.6.desc=Wide Blue Terracotta Bricks
tile.hardened_clay_blue.7.desc=Chaotic Small Blue Terracotta Bricks
tile.hardened_clay_blue.8.desc=Small Disordered Blue Terracotta Bricks
tile.hardened_clay_blue.9.desc=Ornate Blue Terracotta
tile.hardened_clay_blue.10.desc=Cracked Blue Terracotta
tile.hardened_clay_blue.11.desc=Sunken Blue Terracotta Panel
tile.hardened_clay_blue.12.desc=Fancy Blue Terracotta Bricks
tile.hardened_clay_blue.13.desc=Fancy Blue Terracotta Tiles
tile.hardened_clay_blue.14.desc=Blue Terracotta Layers
tile.hardened_clay_blue.15.desc=Blue Terracotta Mosaic
tile.hardened_clay_blue.16.desc=Small Ornate Blue Terracotta
tile.hardened_clay_blue.17.desc=Blue Terracotta Large Tile
tile.hardened_clay_blue.18.desc=Blue Terracotta Pillar
tile.hardened_clay_blue.19.desc=Prismatic Blue Terracotta
tile.hardened_clay_blue.20.desc=Blue Terracotta Bricks in a Fancy Arrangement
tile.hardened_clay_blue.21.desc=Blue Terracotta Panel
tile.hardened_clay_blue.22.desc=Small Blue Terracotta Blocks
tile.hardened_clay_blue.23.desc=Small Blue Terracotta Tiles
tile.hardened_clay_blue.24.desc=Radial Carved Blue Terracotta
tile.hardened_clay_blue.25.desc=Engraved Blue Terracotta Block
#Hardened Clay (Brown Terracotta)
tile.chisel.hardened_clay_brown.name=Brown Terracotta
tile.chisel.hardened_clay_brown2.name=Brown Terracotta
tile.hardened_clay_brown.0.desc=Braid Brown Terracotta Bricks
tile.hardened_clay_brown.1.desc=Cracked Brown Terracotta Bricks
tile.hardened_clay_brown.2.desc=Small Brown Terracotta Brick Tiles
tile.hardened_clay_brown.3.desc=Small Brown Terracotta Bricks
tile.hardened_clay_brown.4.desc=Aligned Brown Terracotta Bricks
tile.hardened_clay_brown.5.desc=Detailed Brown Terracotta Bricks
tile.hardened_clay_brown.6.desc=Wide Brown Terracotta Bricks
tile.hardened_clay_brown.7.desc=Chaotic Small Brown Terracotta Bricks
tile.hardened_clay_brown.8.desc=Small Disordered Brown Terracotta Bricks
tile.hardened_clay_brown.9.desc=Ornate Brown Terracotta
tile.hardened_clay_brown.10.desc=Cracked Brown Terracotta
tile.hardened_clay_brown.11.desc=Sunken Brown Terracotta Panel
tile.hardened_clay_brown.12.desc=Fancy Brown Terracotta Bricks
tile.hardened_clay_brown.13.desc=Fancy Brown Terracotta Tiles
tile.hardened_clay_brown.14.desc=Brown Terracotta Layers
tile.hardened_clay_brown.15.desc=Brown Terracotta Mosaic
tile.hardened_clay_brown.16.desc=Small Ornate Brown Terracotta
tile.hardened_clay_brown.17.desc=Brown Terracotta Large Tile
tile.hardened_clay_brown.18.desc=Brown Terracotta Pillar
tile.hardened_clay_brown.19.desc=Prismatic Brown Terracotta
tile.hardened_clay_brown.20.desc=Brown Terracotta Bricks in a Fancy Arrangement
tile.hardened_clay_brown.21.desc=Brown Terracotta Panel
tile.hardened_clay_brown.22.desc=Small Brown Terracotta Blocks
tile.hardened_clay_brown.23.desc=Small Brown Terracotta Tiles
tile.hardened_clay_brown.24.desc=Radial Carved Brown Terracotta
tile.hardened_clay_brown.25.desc=Engraved Brown Terracotta Block
#Hardened Clay (Cyan Terracotta)
tile.chisel.hardened_clay_cyan.name=Cyan Terracotta
tile.chisel.hardened_clay_cyan2.name=Cyan Terracotta
tile.hardened_clay_cyan.0.desc=Braid Cyan Terracotta Bricks
tile.hardened_clay_cyan.1.desc=Cracked Cyan Terracotta Bricks
tile.hardened_clay_cyan.2.desc=Small Cyan Terracotta Brick Tiles
tile.hardened_clay_cyan.3.desc=Small Cyan Terracotta Bricks
tile.hardened_clay_cyan.4.desc=Aligned Cyan Terracotta Bricks
tile.hardened_clay_cyan.5.desc=Detailed Cyan Terracotta Bricks
tile.hardened_clay_cyan.6.desc=Wide Cyan Terracotta Bricks
tile.hardened_clay_cyan.7.desc=Chaotic Small Cyan Terracotta Bricks
tile.hardened_clay_cyan.8.desc=Small Disordered Cyan Terracotta Bricks
tile.hardened_clay_cyan.9.desc=Ornate Cyan Terracotta
tile.hardened_clay_cyan.10.desc=Cracked Cyan Terracotta
tile.hardened_clay_cyan.11.desc=Sunken Cyan Terracotta Panel
tile.hardened_clay_cyan.12.desc=Fancy Cyan Terracotta Bricks
tile.hardened_clay_cyan.13.desc=Fancy Cyan Terracotta Tiles
tile.hardened_clay_cyan.14.desc=Cyan Terracotta Layers
tile.hardened_clay_cyan.15.desc=Cyan Terracotta Mosaic
tile.hardened_clay_cyan.16.desc=Small Ornate Cyan Terracotta
tile.hardened_clay_cyan.17.desc=Cyan Terracotta Large Tile
tile.hardened_clay_cyan.18.desc=Cyan Terracotta Pillar
tile.hardened_clay_cyan.19.desc=Prismatic Cyan Terracotta
tile.hardened_clay_cyan.20.desc=Cyan Terracotta Bricks in a Fancy Arrangement
tile.hardened_clay_cyan.21.desc=Cyan Terracotta Panel
tile.hardened_clay_cyan.22.desc=Small Cyan Terracotta Blocks
tile.hardened_clay_cyan.23.desc=Small Cyan Terracotta Tiles
tile.hardened_clay_cyan.24.desc=Radial Carved Cyan Terracotta
tile.hardened_clay_cyan.25.desc=Engraved Cyan Terracotta Block
#Hardened Clay (Gray Terracotta)
tile.chisel.hardened_clay_gray.name=Gray Terracotta
tile.chisel.hardened_clay_gray2.name=Gray Terracotta
tile.hardened_clay_gray.0.desc=Braid Gray Terracotta Bricks
tile.hardened_clay_gray.1.desc=Cracked Gray Terracotta Bricks
tile.hardened_clay_gray.2.desc=Small Gray Terracotta Brick Tiles
tile.hardened_clay_gray.3.desc=Small Gray Terracotta Bricks
tile.hardened_clay_gray.4.desc=Aligned Gray Terracotta Bricks
tile.hardened_clay_gray.5.desc=Detailed Gray Terracotta Bricks
tile.hardened_clay_gray.6.desc=Wide Gray Terracotta Bricks
tile.hardened_clay_gray.7.desc=Chaotic Small Gray Terracotta Bricks
tile.hardened_clay_gray.8.desc=Small Disordered Gray Terracotta Bricks
tile.hardened_clay_gray.9.desc=Ornate Gray Terracotta
tile.hardened_clay_gray.10.desc=Cracked Gray Terracotta
tile.hardened_clay_gray.11.desc=Sunken Gray Terracotta Panel
tile.hardened_clay_gray.12.desc=Fancy Gray Terracotta Bricks
tile.hardened_clay_gray.13.desc=Fancy Gray Terracotta Tiles
tile.hardened_clay_gray.14.desc=Gray Terracotta Layers
tile.hardened_clay_gray.15.desc=Gray Terracotta Mosaic
tile.hardened_clay_gray.16.desc=Small Ornate Gray Terracotta
tile.hardened_clay_gray.17.desc=Gray Terracotta Large Tile
tile.hardened_clay_gray.18.desc=Gray Terracotta Pillar
tile.hardened_clay_gray.19.desc=Prismatic Gray Terracotta
tile.hardened_clay_gray.20.desc=Gray Terracotta Bricks in a Fancy Arrangement
tile.hardened_clay_gray.21.desc=Gray Terracotta Panel
tile.hardened_clay_gray.22.desc=Small Gray Terracotta Blocks
tile.hardened_clay_gray.23.desc=Small Gray Terracotta Tiles
tile.hardened_clay_gray.24.desc=Radial Carved Gray Terracotta
tile.hardened_clay_gray.25.desc=Engraved Gray Terracotta Block
#Hardened Clay (Green Terracotta)
tile.chisel.hardened_clay_green.name=Green Terracotta
tile.chisel.hardened_clay_green2.name=Green Terracotta
tile.hardened_clay_green.0.desc=Braid Green Terracotta Bricks
tile.hardened_clay_green.1.desc=Cracked Green Terracotta Bricks
tile.hardened_clay_green.2.desc=Small Green Terracotta Brick Tiles
tile.hardened_clay_green.3.desc=Small Green Terracotta Bricks
tile.hardened_clay_green.4.desc=Aligned Green Terracotta Bricks
tile.hardened_clay_green.5.desc=Detailed Green Terracotta Bricks
tile.hardened_clay_green.6.desc=Wide Green Terracotta Bricks
tile.hardened_clay_green.7.desc=Chaotic Small Green Terracotta Bricks
tile.hardened_clay_green.8.desc=Small Disordered Green Terracotta Bricks
tile.hardened_clay_green.9.desc=Ornate Green Terracotta
tile.hardened_clay_green.10.desc=Cracked Green Terracotta
tile.hardened_clay_green.11.desc=Sunken Green Terracotta Panel
tile.hardened_clay_green.12.desc=Fancy Green Terracotta Bricks
tile.hardened_clay_green.13.desc=Fancy Green Terracotta Tiles
tile.hardened_clay_green.14.desc=Green Terracotta Layers
tile.hardened_clay_green.15.desc=Green Terracotta Mosaic
tile.hardened_clay_green.16.desc=Small Ornate Green Terracotta
tile.hardened_clay_green.17.desc=Green Terracotta Large Tile
tile.hardened_clay_green.18.desc=Green Terracotta Pillar
tile.hardened_clay_green.19.desc=Prismatic Green Terracotta
tile.hardened_clay_green.20.desc=Green Terracotta Bricks in a Fancy Arrangement
tile.hardened_clay_green.21.desc=Green Terracotta Panel
tile.hardened_clay_green.22.desc=Small Green Terracotta Blocks
tile.hardened_clay_green.23.desc=Small Green Terracotta Tiles
tile.hardened_clay_green.24.desc=Radial Carved Green Terracotta
tile.hardened_clay_green.25.desc=Engraved Green Terracotta Block
#Hardened Clay (Light Blue Terracotta)
tile.chisel.hardened_clay_lightblue.name=Light Blue Terracotta
tile.chisel.hardened_clay_lightblue2.name=Light Blue Terracotta
tile.hardened_clay_lightblue.0.desc=Braid Light Blue Terracotta Bricks
tile.hardened_clay_lightblue.1.desc=Cracked Light Blue Terracotta Bricks
tile.hardened_clay_lightblue.2.desc=Small Light Blue Terracotta Brick Tiles
tile.hardened_clay_lightblue.3.desc=Small Light Blue Terracotta Bricks
tile.hardened_clay_lightblue.4.desc=Aligned Light Blue Terracotta Bricks
tile.hardened_clay_lightblue.5.desc=Detailed Light Blue Terracotta Bricks
tile.hardened_clay_lightblue.6.desc=Wide Light Blue Terracotta Bricks
tile.hardened_clay_lightblue.7.desc=Chaotic Small Light Blue Terracotta Bricks
tile.hardened_clay_lightblue.8.desc=Small Disordered Light Blue Terracotta Bricks
tile.hardened_clay_lightblue.9.desc=Ornate Light Blue Terracotta
tile.hardened_clay_lightblue.10.desc=Cracked Light Blue Terracotta
tile.hardened_clay_lightblue.11.desc=Sunken Light Blue Terracotta Panel
tile.hardened_clay_lightblue.12.desc=Fancy Light Blue Terracotta Bricks
tile.hardened_clay_lightblue.13.desc=Fancy Light Blue Terracotta Tiles
tile.hardened_clay_lightblue.14.desc=Light Blue Terracotta Layers
tile.hardened_clay_lightblue.15.desc=Light Blue Terracotta Mosaic
tile.hardened_clay_lightblue.16.desc=Small Ornate Light Blue Terracotta
tile.hardened_clay_lightblue.17.desc=Light Blue Terracotta Large Tile
tile.hardened_clay_lightblue.18.desc=Light Blue Terracotta Pillar
tile.hardened_clay_lightblue.19.desc=Prismatic Light Blue Terracotta
tile.hardened_clay_lightblue.20.desc=Light Blue Terracotta Bricks in a Fancy Arrangement
tile.hardened_clay_lightblue.21.desc=Light Blue Terracotta Panel
tile.hardened_clay_lightblue.22.desc=Small Light Blue Terracotta Blocks
tile.hardened_clay_lightblue.23.desc=Small Light Blue Terracotta Tiles
tile.hardened_clay_lightblue.24.desc=Radial Carved Light Blue Terracotta
tile.hardened_clay_lightblue.25.desc=Engraved Light Blue Terracotta Block
#Hardened Clay (Light Gray Terracotta)
tile.chisel.hardened_clay_lightgray.name=Light Gray Terracotta
tile.chisel.hardened_clay_lightgray2.name=Light Gray Terracotta
tile.hardened_clay_lightgray.0.desc=Braid Light Gray Terracotta Bricks
tile.hardened_clay_lightgray.1.desc=Cracked Light Gray Terracotta Bricks
tile.hardened_clay_lightgray.2.desc=Small Light Gray Terracotta Brick Tiles
tile.hardened_clay_lightgray.3.desc=Small Light Gray Terracotta Bricks
tile.hardened_clay_lightgray.4.desc=Aligned Light Gray Terracotta Bricks
tile.hardened_clay_lightgray.5.desc=Detailed Light Gray Terracotta Bricks
tile.hardened_clay_lightgray.6.desc=Wide Light Gray Terracotta Bricks
tile.hardened_clay_lightgray.7.desc=Chaotic Small Light Gray Terracotta Bricks
tile.hardened_clay_lightgray.8.desc=Small Disordered Light Gray Terracotta Bricks
tile.hardened_clay_lightgray.9.desc=Ornate Light Gray Terracotta
tile.hardened_clay_lightgray.10.desc=Cracked Light Gray Terracotta
tile.hardened_clay_lightgray.11.desc=Sunken Light Gray Terracotta Panel
tile.hardened_clay_lightgray.12.desc=Fancy Light Gray Terracotta Bricks
tile.hardened_clay_lightgray.13.desc=Fancy Light Gray Terracotta Tiles
tile.hardened_clay_lightgray.14.desc=Light Gray Terracotta Layers
tile.hardened_clay_lightgray.15.desc=Light Gray Terracotta Mosaic
tile.hardened_clay_lightgray.16.desc=Small Ornate Light Gray Terracotta
tile.hardened_clay_lightgray.17.desc=Light Gray Terracotta Large Tile
tile.hardened_clay_lightgray.18.desc=Light Gray Terracotta Pillar
tile.hardened_clay_lightgray.19.desc=Prismatic Light Gray Terracotta
tile.hardened_clay_lightgray.20.desc=Light Gray Terracotta Bricks in a Fancy Arrangement
tile.hardened_clay_lightgray.21.desc=Light Gray Terracotta Panel
tile.hardened_clay_lightgray.22.desc=Small Light Gray Terracotta Blocks
tile.hardened_clay_lightgray.23.desc=Small Light Gray Terracotta Tiles
tile.hardened_clay_lightgray.24.desc=Radial Carved Light Gray Terracotta
tile.hardened_clay_lightgray.25.desc=Engraved Light Gray Terracotta Block
#Hardened Clay (Lime Terracotta)
tile.chisel.hardened_clay_lime.name=Lime Terracotta
tile.chisel.hardened_clay_lime2.name=Lime Terracotta
tile.hardened_clay_lime.0.desc=Braid Lime Terracotta Bricks
tile.hardened_clay_lime.1.desc=Cracked Lime Terracotta Bricks
tile.hardened_clay_lime.2.desc=Small Lime Terracotta Brick Tiles
tile.hardened_clay_lime.3.desc=Small Lime Terracotta Bricks
tile.hardened_clay_lime.4.desc=Aligned Lime Terracotta Bricks
tile.hardened_clay_lime.5.desc=Detailed Lime Terracotta Bricks
tile.hardened_clay_lime.6.desc=Wide Lime Terracotta Bricks
tile.hardened_clay_lime.7.desc=Chaotic Small Lime Terracotta Bricks
tile.hardened_clay_lime.8.desc=Small Disordered Lime Terracotta Bricks
tile.hardened_clay_lime.9.desc=Ornate Lime Terracotta
tile.hardened_clay_lime.10.desc=Cracked Lime Terracotta
tile.hardened_clay_lime.11.desc=Sunken Lime Terracotta Panel
tile.hardened_clay_lime.12.desc=Fancy Lime Terracotta Bricks
tile.hardened_clay_lime.13.desc=Fancy Lime Terracotta Tiles
tile.hardened_clay_lime.14.desc=Lime Terracotta Layers
tile.hardened_clay_lime.15.desc=Lime Terracotta Mosaic
tile.hardened_clay_lime.16.desc=Small Ornate Lime Terracotta
tile.hardened_clay_lime.17.desc=Lime Terracotta Large Tile
tile.hardened_clay_lime.18.desc=Lime Terracotta Pillar
tile.hardened_clay_lime.19.desc=Prismatic Lime Terracotta
tile.hardened_clay_lime.20.desc=Lime Terracotta Bricks in a Fancy Arrangement
tile.hardened_clay_lime.21.desc=Lime Terracotta Panel
tile.hardened_clay_lime.22.desc=Small Lime Terracotta Blocks
tile.hardened_clay_lime.23.desc=Small Lime Terracotta Tiles
tile.hardened_clay_lime.24.desc=Radial Carved Lime Terracotta
tile.hardened_clay_lime.25.desc=Engraved Lime Terracotta Block
#Hardened Clay (Magenta Terracotta)
tile.chisel.hardened_clay_magenta.name=Magenta Terracotta
tile.chisel.hardened_clay_magenta2.name=Magenta Terracotta
tile.hardened_clay_magenta.0.desc=Braid Magenta Terracotta Bricks
tile.hardened_clay_magenta.1.desc=Cracked Magenta Terracotta Bricks
tile.hardened_clay_magenta.2.desc=Small Magenta Terracotta Brick Tiles
tile.hardened_clay_magenta.3.desc=Small Magenta Terracotta Bricks
tile.hardened_clay_magenta.4.desc=Aligned Magenta Terracotta Bricks
tile.hardened_clay_magenta.5.desc=Detailed Magenta Terracotta Bricks
tile.hardened_clay_magenta.6.desc=Wide Magenta Terracotta Bricks
tile.hardened_clay_magenta.7.desc=Chaotic Small Magenta Terracotta Bricks
tile.hardened_clay_magenta.8.desc=Small Disordered Magenta Terracotta Bricks
tile.hardened_clay_magenta.9.desc=Ornate Magenta Terracotta
tile.hardened_clay_magenta.10.desc=Cracked Magenta Terracotta
tile.hardened_clay_magenta.11.desc=Sunken Magenta Terracotta Panel
tile.hardened_clay_magenta.12.desc=Fancy Magenta Terracotta Bricks
tile.hardened_clay_magenta.13.desc=Fancy Magenta Terracotta Tiles
tile.hardened_clay_magenta.14.desc=Magenta Terracotta Layers
tile.hardened_clay_magenta.15.desc=Magenta Terracotta Mosaic
tile.hardened_clay_magenta.16.desc=Small Ornate Magenta Terracotta
tile.hardened_clay_magenta.17.desc=Magenta Terracotta Large Tile
tile.hardened_clay_magenta.18.desc=Magenta Terracotta Pillar
tile.hardened_clay_magenta.19.desc=Prismatic Magenta Terracotta
tile.hardened_clay_magenta.20.desc=Magenta Terracotta Bricks in a Fancy Arrangement
tile.hardened_clay_magenta.21.desc=Magenta Terracotta Panel
tile.hardened_clay_magenta.22.desc=Small Magenta Terracotta Blocks
tile.hardened_clay_magenta.23.desc=Small Magenta Terracotta Tiles
tile.hardened_clay_magenta.24.desc=Radial Carved Magenta Terracotta
tile.hardened_clay_magenta.25.desc=Engraved Magenta Terracotta Block
#Hardened Clay (Orange Terracotta)
tile.chisel.hardened_clay_orange.name=Orange Terracotta
tile.chisel.hardened_clay_orange2.name=Orange Terracotta
tile.hardened_clay_orange.0.desc=Braid Orange Terracotta Bricks
tile.hardened_clay_orange.1.desc=Cracked Orange Terracotta Bricks
tile.hardened_clay_orange.2.desc=Small Orange Terracotta Brick Tiles
tile.hardened_clay_orange.3.desc=Small Orange Terracotta Bricks
tile.hardened_clay_orange.4.desc=Aligned Orange Terracotta Bricks
tile.hardened_clay_orange.5.desc=Detailed Orange Terracotta Bricks
tile.hardened_clay_orange.6.desc=Wide Orange Terracotta Bricks
tile.hardened_clay_orange.7.desc=Chaotic Small Orange Terracotta Bricks
tile.hardened_clay_orange.8.desc=Small Disordered Orange Terracotta Bricks
tile.hardened_clay_orange.9.desc=Ornate Orange Terracotta
tile.hardened_clay_orange.10.desc=Cracked Orange Terracotta
tile.hardened_clay_orange.11.desc=Sunken Orange Terracotta Panel
tile.hardened_clay_orange.12.desc=Fancy Orange Terracotta Bricks
tile.hardened_clay_orange.13.desc=Fancy Orange Terracotta Tiles
tile.hardened_clay_orange.14.desc=Orange Terracotta Layers
tile.hardened_clay_orange.15.desc=Orange Terracotta Mosaic
tile.hardened_clay_orange.16.desc=Small Ornate Orange Terracotta
tile.hardened_clay_orange.17.desc=Orange Terracotta Large Tile
tile.hardened_clay_orange.18.desc=Orange Terracotta Pillar
tile.hardened_clay_orange.19.desc=Prismatic Orange Terracotta
tile.hardened_clay_orange.20.desc=Orange Terracotta Bricks in a Fancy Arrangement
tile.hardened_clay_orange.21.desc=Orange Terracotta Panel
tile.hardened_clay_orange.22.desc=Small Orange Terracotta Blocks
tile.hardened_clay_orange.23.desc=Small Orange Terracotta Tiles
tile.hardened_clay_orange.24.desc=Radial Carved Orange Terracotta
tile.hardened_clay_orange.25.desc=Engraved Orange Terracotta Block
#Hardened Clay (Pink Terracotta)
tile.chisel.hardened_clay_pink.name=Pink Terracotta
tile.chisel.hardened_clay_pink2.name=Pink Terracotta
tile.hardened_clay_pink.0.desc=Braid Pink Terracotta Bricks
tile.hardened_clay_pink.1.desc=Cracked Pink Terracotta Bricks
tile.hardened_clay_pink.2.desc=Small Pink Terracotta Brick Tiles
tile.hardened_clay_pink.3.desc=Small Pink Terracotta Bricks
tile.hardened_clay_pink.4.desc=Aligned Pink Terracotta Bricks
tile.hardened_clay_pink.5.desc=Detailed Pink Terracotta Bricks
tile.hardened_clay_pink.6.desc=Wide Pink Terracotta Bricks
tile.hardened_clay_pink.7.desc=Chaotic Small Pink Terracotta Bricks
tile.hardened_clay_pink.8.desc=Small Disordered Pink Terracotta Bricks
tile.hardened_clay_pink.9.desc=Ornate Pink Terracotta
tile.hardened_clay_pink.10.desc=Cracked Pink Terracotta
tile.hardened_clay_pink.11.desc=Sunken Pink Terracotta Panel
tile.hardened_clay_pink.12.desc=Fancy Pink Terracotta Bricks
tile.hardened_clay_pink.13.desc=Fancy Pink Terracotta Tiles
tile.hardened_clay_pink.14.desc=Pink Terracotta Layers
tile.hardened_clay_pink.15.desc=Pink Terracotta Mosaic
tile.hardened_clay_pink.16.desc=Small Ornate Pink Terracotta
tile.hardened_clay_pink.17.desc=Pink Terracotta Large Tile
tile.hardened_clay_pink.18.desc=Pink Terracotta Pillar
tile.hardened_clay_pink.19.desc=Prismatic Pink Terracotta
tile.hardened_clay_pink.20.desc=Pink Terracotta Bricks in a Fancy Arrangement
tile.hardened_clay_pink.21.desc=Pink Terracotta Panel
tile.hardened_clay_pink.22.desc=Small Pink Terracotta Blocks
tile.hardened_clay_pink.23.desc=Small Pink Terracotta Tiles
tile.hardened_clay_pink.24.desc=Radial Carved Pink Terracotta
tile.hardened_clay_pink.25.desc=Engraved Pink Terracotta Block
#Hardened Clay (Purple Terracotta)
tile.chisel.hardened_clay_purple.name=Purple Terracotta
tile.chisel.hardened_clay_purple2.name=Purple Terracotta
tile.hardened_clay_purple.0.desc=Braid Purple Terracotta Bricks
tile.hardened_clay_purple.1.desc=Cracked Purple Terracotta Bricks
tile.hardened_clay_purple.2.desc=Small Purple Terracotta Brick Tiles
tile.hardened_clay_purple.3.desc=Small Purple Terracotta Bricks
tile.hardened_clay_purple.4.desc=Aligned Purple Terracotta Bricks
tile.hardened_clay_purple.5.desc=Detailed Purple Terracotta Bricks
tile.hardened_clay_purple.6.desc=Wide Purple Terracotta Bricks
tile.hardened_clay_purple.7.desc=Chaotic Small Purple Terracotta Bricks
tile.hardened_clay_purple.8.desc=Small Disordered Purple Terracotta Bricks
tile.hardened_clay_purple.9.desc=Ornate Purple Terracotta
tile.hardened_clay_purple.10.desc=Cracked Purple Terracotta
tile.hardened_clay_purple.11.desc=Sunken Purple Terracotta Panel
tile.hardened_clay_purple.12.desc=Fancy Purple Terracotta Bricks
tile.hardened_clay_purple.13.desc=Fancy Purple Terracotta Tiles
tile.hardened_clay_purple.14.desc=Purple Terracotta Layers
tile.hardened_clay_purple.15.desc=Purple Terracotta Mosaic
tile.hardened_clay_purple.16.desc=Small Ornate Purple Terracotta
tile.hardened_clay_purple.17.desc=Purple Terracotta Large Tile
tile.hardened_clay_purple.18.desc=Purple Terracotta Pillar
tile.hardened_clay_purple.19.desc=Prismatic Purple Terracotta
tile.hardened_clay_purple.20.desc=Purple Terracotta Bricks in a Fancy Arrangement
tile.hardened_clay_purple.21.desc=Purple Terracotta Panel
tile.hardened_clay_purple.22.desc=Small Purple Terracotta Blocks
tile.hardened_clay_purple.23.desc=Small Purple Terracotta Tiles
tile.hardened_clay_purple.24.desc=Radial Carved Purple Terracotta
tile.hardened_clay_purple.25.desc=Engraved Purple Terracotta Block
#Hardened Clay (Red Terracotta)
tile.chisel.hardened_clay_red.name=Red Terracotta
tile.chisel.hardened_clay_red2.name=Red Terracotta
tile.hardened_clay_red.0.desc=Braid Red Terracotta Bricks
tile.hardened_clay_red.1.desc=Cracked Red Terracotta Bricks
tile.hardened_clay_red.2.desc=Small Red Terracotta Brick Tiles
tile.hardened_clay_red.3.desc=Small Red Terracotta Bricks
tile.hardened_clay_red.4.desc=Aligned Red Terracotta Bricks
tile.hardened_clay_red.5.desc=Detailed Red Terracotta Bricks
tile.hardened_clay_red.6.desc=Wide Red Terracotta Bricks
tile.hardened_clay_red.7.desc=Chaotic Small Red Terracotta Bricks
tile.hardened_clay_red.8.desc=Small Disordered Red Terracotta Bricks
tile.hardened_clay_red.9.desc=Ornate Red Terracotta
tile.hardened_clay_red.10.desc=Cracked Red Terracotta
tile.hardened_clay_red.11.desc=Sunken Red Terracotta Panel
tile.hardened_clay_red.12.desc=Fancy Red Terracotta Bricks
tile.hardened_clay_red.13.desc=Fancy Red Terracotta Tiles
tile.hardened_clay_red.14.desc=Red Terracotta Layers
tile.hardened_clay_red.15.desc=Red Terracotta Mosaic
tile.hardened_clay_red.16.desc=Small Ornate Red Terracotta
tile.hardened_clay_red.17.desc=Red Terracotta Large Tile
tile.hardened_clay_red.18.desc=Red Terracotta Pillar
tile.hardened_clay_red.19.desc=Prismatic Red Terracotta
tile.hardened_clay_red.20.desc=Red Terracotta Bricks in a Fancy Arrangement
tile.hardened_clay_red.21.desc=Red Terracotta Panel
tile.hardened_clay_red.22.desc=Small Red Terracotta Blocks
tile.hardened_clay_red.23.desc=Small Red Terracotta Tiles
tile.hardened_clay_red.24.desc=Radial Carved Red Terracotta
tile.hardened_clay_red.25.desc=Engraved Red Terracotta Block
#Hardened Clay (White Terracotta)
tile.chisel.hardened_clay_white.name=White Terracotta
tile.chisel.hardened_clay_white2.name=White Terracotta
tile.hardened_clay_white.0.desc=Braid White Terracotta Bricks
tile.hardened_clay_white.1.desc=Cracked White Terracotta Bricks
tile.hardened_clay_white.2.desc=Small White Terracotta Brick Tiles
tile.hardened_clay_white.3.desc=Small White Terracotta Bricks
tile.hardened_clay_white.4.desc=Aligned White Terracotta Bricks
tile.hardened_clay_white.5.desc=Detailed White Terracotta Bricks
tile.hardened_clay_white.6.desc=Wide White Terracotta Bricks
tile.hardened_clay_white.7.desc=Chaotic Small White Terracotta Bricks
tile.hardened_clay_white.8.desc=Small Disordered White Terracotta Bricks
tile.hardened_clay_white.9.desc=Ornate White Terracotta
tile.hardened_clay_white.10.desc=Cracked White Terracotta
tile.hardened_clay_white.11.desc=Sunken White Terracotta Panel
tile.hardened_clay_white.12.desc=Fancy White Terracotta Bricks
tile.hardened_clay_white.13.desc=Fancy White Terracotta Tiles
tile.hardened_clay_white.14.desc=White Terracotta Layers
tile.hardened_clay_white.15.desc=White Terracotta Mosaic
tile.hardened_clay_white.16.desc=Small Ornate White Terracotta
tile.hardened_clay_white.17.desc=White Terracotta Large Tile
tile.hardened_clay_white.18.desc=White Terracotta Pillar
tile.hardened_clay_white.19.desc=Prismatic White Terracotta
tile.hardened_clay_white.20.desc=White Terracotta Bricks in a Fancy Arrangement
tile.hardened_clay_white.21.desc=White Terracotta Panel
tile.hardened_clay_white.22.desc=Small White Terracotta Blocks
tile.hardened_clay_white.23.desc=Small White Terracotta Tiles
tile.hardened_clay_white.24.desc=Radial Carved White Terracotta
tile.hardened_clay_white.25.desc=Engraved White Terracotta Block
#Hardened Clay (Yellow Terracotta)
tile.chisel.hardened_clay_yellow.name=Yellow Terracotta
tile.chisel.hardened_clay_yellow2.name=Yellow Terracotta
tile.hardened_clay_yellow.0.desc=Braid Yellow Terracotta Bricks
tile.hardened_clay_yellow.1.desc=Cracked Yellow Terracotta Bricks
tile.hardened_clay_yellow.2.desc=Small Yellow Terracotta Brick Tiles
tile.hardened_clay_yellow.3.desc=Small Yellow Terracotta Bricks
tile.hardened_clay_yellow.4.desc=Aligned Yellow Terracotta Bricks
tile.hardened_clay_yellow.5.desc=Detailed Yellow Terracotta Bricks
tile.hardened_clay_yellow.6.desc=Wide Yellow Terracotta Bricks
tile.hardened_clay_yellow.7.desc=Chaotic Small Yellow Terracotta Bricks
tile.hardened_clay_yellow.8.desc=Small Disordered Yellow Terracotta Bricks
tile.hardened_clay_yellow.9.desc=Ornate Yellow Terracotta
tile.hardened_clay_yellow.10.desc=Cracked Yellow Terracotta
tile.hardened_clay_yellow.11.desc=Sunken Yellow Terracotta Panel
tile.hardened_clay_yellow.12.desc=Fancy Yellow Terracotta Bricks
tile.hardened_clay_yellow.13.desc=Fancy Yellow Terracotta Tiles
tile.hardened_clay_yellow.14.desc=Yellow Terracotta Layers
tile.hardened_clay_yellow.15.desc=Yellow Terracotta Mosaic
tile.hardened_clay_yellow.16.desc=Small Ornate Yellow Terracotta
tile.hardened_clay_yellow.17.desc=Yellow Terracotta Large Tile
tile.hardened_clay_yellow.18.desc=Yellow Terracotta Pillar
tile.hardened_clay_yellow.19.desc=Prismatic Yellow Terracotta
tile.hardened_clay_yellow.20.desc=Yellow Terracotta Bricks in a Fancy Arrangement
tile.hardened_clay_yellow.21.desc=Yellow Terracotta Panel
tile.hardened_clay_yellow.22.desc=Small Yellow Terracotta Blocks
tile.hardened_clay_yellow.23.desc=Small Yellow Terracotta Tiles
tile.hardened_clay_yellow.24.desc=Radial Carved Yellow Terracotta
tile.hardened_clay_yellow.25.desc=Engraved Yellow Terracotta Block
#Technical Block
tile.chisel.technical.name=Technical Block
tile.chisel.technical2.name=Transparent Technical Block
@@ -1460,9 +949,6 @@ tile.dirt.9.desc=Horizontal Dirt
tile.dirt.10.desc=Vertical Dirt
tile.dirt.11.desc=Dirt Layers
tile.dirt.12.desc=Crumbling Dirt
tile.dirt.13.desc=Jumbled Dirt
tile.dirt.14.desc=Tilled Dirt
tile.dirt.15.desc=Large Dirt Tile
#Ice
tile.chisel.ice.name=Ice
@@ -1600,26 +1086,6 @@ tile.chisel.jungle_planks.name=Jungle Wood Planks
tile.chisel.dark_oak_planks.name=Dark Oak Wood Planks
tile.chisel.acacia_planks.name=Acacia Wood Planks
#BOP Wood
tile.chisel.sacredoak_planks.name=Sacred Oak Wood Planks
tile.chisel.cherry_planks.name=Cherry Wood Planks
tile.chisel.dark_planks.name=Dark Wood Planks
tile.chisel.fir_planks.name=Fir Wood Planks
tile.chisel.ethereal_planks.name=Ethereal Wood Planks
tile.chisel.magic_planks.name=Magic Wood Planks
tile.chisel.mangrove_planks.name=Mangrove Wood Planks
tile.chisel.palm_planks.name=Palm Wood Planks
tile.chisel.redwood_planks.name=Redwood Wood Planks
tile.chisel.willow_planks.name=Willow Wood Planks
tile.chisel.pine_planks.name=Pine Wood Planks
tile.chisel.hellbark_planks.name=Hellbark Wood Planks
tile.chisel.jacaranda_planks.name=Jacaranda Wood Planks
tile.chisel.mahogany_planks.name=Mahogany Wood Planks
#Thaumcraft Wood
tile.chisel.greatwood_planks.name=Greatwood Wood Planks
tile.chisel.silverwood_planks.name=Silverwood Wood Planks
#Iron Fence
tile.chisel.iron_bars.name=Iron Bars
tile.iron_bars.1.desc=Iron Bars without Frame
@@ -2051,278 +1517,6 @@ tile.dark-oak.planks.12.desc=Dark Oak Wood Scaffold
tile.dark-oak.planks.14.desc=Dark Oak Wood Planks in Disarray
tile.dark-oak.planks.15.desc=Vertical Dark Oak Wood Planks in Disarray
#Sacred Oak
tile.sacredoak.planks.1.desc=Smooth Sacred Oak Wood Planks
tile.sacredoak.planks.2.desc=Short Sacred Oak Wood Planks
tile.sacredoak.planks.6.desc=Fancy Sacred Oak Wood Plank Arrangement
tile.sacredoak.planks.8.desc=Sacred Oak Wood Panel
tile.sacredoak.planks.9.desc=Sacred Oak Wood Double Slab
tile.sacredoak.planks.10.desc=Sacred Oak Wood Crate
tile.sacredoak.planks.11.desc=Fancy Sacred Oak Wood Crate
tile.sacredoak.planks.13.desc=Large Long Sacred Oak Wood Planks
tile.sacredoak.planks.3.desc=Vertical Sacred Oak Wood Planks
tile.sacredoak.planks.4.desc=Vertical Uneven Sacred Oak Wood Planks
tile.sacredoak.planks.5.desc=Sacred Oak Wood Parquet
tile.sacredoak.planks.7.desc=Sacred Oak Wood Plank Blinds
tile.sacredoak.planks.12.desc=Sacred Oak Wood Scaffold
tile.sacredoak.planks.14.desc=Sacred Oak Wood Planks in Disarray
tile.sacredoak.planks.15.desc=Vertical Sacred Oak Wood Planks in Disarray
#Cherry
tile.cherry.planks.1.desc=Smooth Cherry Wood Planks
tile.cherry.planks.2.desc=Short Cherry Wood Planks
tile.cherry.planks.6.desc=Fancy Cherry Wood Plank Arrangement
tile.cherry.planks.8.desc=Cherry Wood Panel
tile.cherry.planks.9.desc=Cherry Wood Double Slab
tile.cherry.planks.10.desc=Cherry Wood Crate
tile.cherry.planks.11.desc=Fancy Cherry Wood Crate
tile.cherry.planks.13.desc=Large Long Cherry Wood Planks
tile.cherry.planks.3.desc=Vertical Cherry Wood Planks
tile.cherry.planks.4.desc=Vertical Uneven Cherry Wood Planks
tile.cherry.planks.5.desc=Cherry Wood Parquet
tile.cherry.planks.7.desc=Cherry Wood Plank Blinds
tile.cherry.planks.12.desc=Cherry Wood Scaffold
tile.cherry.planks.14.desc=Cherry Wood Planks in Disarray
tile.cherry.planks.15.desc=Vertical Cherry Wood Planks in Disarray
#Dark
tile.dark.planks.1.desc=Smooth Dark Wood Planks
tile.dark.planks.2.desc=Short Dark Wood Planks
tile.dark.planks.6.desc=Fancy Dark Wood Plank Arrangement
tile.dark.planks.8.desc=Dark Wood Panel
tile.dark.planks.9.desc=Dark Wood Double Slab
tile.dark.planks.10.desc=Dark Wood Crate
tile.dark.planks.11.desc=Fancy Dark Wood Crate
tile.dark.planks.13.desc=Large Long Dark Wood Planks
tile.dark.planks.3.desc=Vertical Dark Wood Planks
tile.dark.planks.4.desc=Vertical Uneven Dark Wood Planks
tile.dark.planks.5.desc=Dark Wood Parquet
tile.dark.planks.7.desc=Dark Wood Plank Blinds
tile.dark.planks.12.desc=Dark Wood Scaffold
tile.dark.planks.14.desc=Dark Wood Planks in Disarray
tile.dark.planks.15.desc=Vertical Dark Wood Planks in Disarray
#Fir
tile.fir.planks.1.desc=Smooth Fir Wood Planks
tile.fir.planks.2.desc=Short Fir Wood Planks
tile.fir.planks.6.desc=Fancy Fir Wood Plank Arrangement
tile.fir.planks.8.desc=Fir Wood Panel
tile.fir.planks.9.desc=Fir Wood Double Slab
tile.fir.planks.10.desc=Fir Wood Crate
tile.fir.planks.11.desc=Fancy Fir Wood Crate
tile.fir.planks.13.desc=Large Long Fir Wood Planks
tile.fir.planks.3.desc=Vertical Fir Wood Planks
tile.fir.planks.4.desc=Vertical Uneven Fir Wood Planks
tile.fir.planks.5.desc=Fir Wood Parquet
tile.fir.planks.7.desc=Fir Wood Plank Blinds
tile.fir.planks.12.desc=Fir Wood Scaffold
tile.fir.planks.14.desc=Fir Wood Planks in Disarray
tile.fir.planks.15.desc=Vertical Fir Wood Planks in Disarray
#Ethereal
tile.ethereal.planks.1.desc=Smooth Ethereal Wood Planks
tile.ethereal.planks.2.desc=Short Ethereal Wood Planks
tile.ethereal.planks.6.desc=Fancy Ethereal Wood Plank Arrangement
tile.ethereal.planks.8.desc=Ethereal Wood Panel
tile.ethereal.planks.9.desc=Ethereal Wood Double Slab
tile.ethereal.planks.10.desc=Ethereal Wood Crate
tile.ethereal.planks.11.desc=Fancy Ethereal Wood Crate
tile.ethereal.planks.13.desc=Large Long Ethereal Wood Planks
tile.ethereal.planks.3.desc=Vertical Ethereal Wood Planks
tile.ethereal.planks.4.desc=Vertical Uneven Ethereal Wood Planks
tile.ethereal.planks.5.desc=Ethereal Wood Parquet
tile.ethereal.planks.7.desc=Ethereal Wood Plank Blinds
tile.ethereal.planks.12.desc=Ethereal Wood Scaffold
tile.ethereal.planks.14.desc=Ethereal Wood Planks in Disarray
tile.ethereal.planks.15.desc=Vertical Ethereal Wood Planks in Disarray
#Magic
tile.magic.planks.1.desc=Smooth Magic Wood Planks
tile.magic.planks.2.desc=Short Magic Wood Planks
tile.magic.planks.6.desc=Fancy Magic Wood Plank Arrangement
tile.magic.planks.8.desc=Magic Wood Panel
tile.magic.planks.9.desc=Magic Wood Double Slab
tile.magic.planks.10.desc=Magic Wood Crate
tile.magic.planks.11.desc=Fancy Magic Wood Crate
tile.magic.planks.13.desc=Large Long Magic Wood Planks
tile.magic.planks.3.desc=Vertical Magic Wood Planks
tile.magic.planks.4.desc=Vertical Uneven Magic Wood Planks
tile.magic.planks.5.desc=Magic Wood Parquet
tile.magic.planks.7.desc=Magic Wood Plank Blinds
tile.magic.planks.12.desc=Magic Wood Scaffold
tile.magic.planks.14.desc=Magic Wood Planks in Disarray
tile.magic.planks.15.desc=Vertical Magic Wood Planks in Disarray
#Mangrove
tile.mangrove.planks.1.desc=Smooth Mangrove Wood Planks
tile.mangrove.planks.2.desc=Short Mangrove Wood Planks
tile.mangrove.planks.6.desc=Fancy Mangrove Wood Plank Arrangement
tile.mangrove.planks.8.desc=Mangrove Wood Panel
tile.mangrove.planks.9.desc=Mangrove Wood Double Slab
tile.mangrove.planks.10.desc=Mangrove Wood Crate
tile.mangrove.planks.11.desc=Fancy Mangrove Wood Crate
tile.mangrove.planks.13.desc=Large Long Mangrove Wood Planks
tile.mangrove.planks.3.desc=Vertical Mangrove Wood Planks
tile.mangrove.planks.4.desc=Vertical Uneven Mangrove Wood Planks
tile.mangrove.planks.5.desc=Mangrove Wood Parquet
tile.mangrove.planks.7.desc=Mangrove Wood Plank Blinds
tile.mangrove.planks.12.desc=Mangrove Wood Scaffold
tile.mangrove.planks.14.desc=Mangrove Wood Planks in Disarray
tile.mangrove.planks.15.desc=Vertical Mangrove Wood Planks in Disarray
#Palm
tile.palm.planks.1.desc=Smooth Palm Wood Planks
tile.palm.planks.2.desc=Short Palm Wood Planks
tile.palm.planks.6.desc=Fancy Palm Wood Plank Arrangement
tile.palm.planks.8.desc=Palm Wood Panel
tile.palm.planks.9.desc=Palm Wood Double Slab
tile.palm.planks.10.desc=Palm Wood Crate
tile.palm.planks.11.desc=Fancy Palm Wood Crate
tile.palm.planks.13.desc=Large Long Palm Wood Planks
tile.palm.planks.3.desc=Vertical Palm Wood Planks
tile.palm.planks.4.desc=Vertical Uneven Palm Wood Planks
tile.palm.planks.5.desc=Palm Wood Parquet
tile.palm.planks.7.desc=Palm Wood Plank Blinds
tile.palm.planks.12.desc=Palm Wood Scaffold
tile.palm.planks.14.desc=Palm Wood Planks in Disarray
tile.palm.planks.15.desc=Vertical Palm Wood Planks in Disarray
#Redwood
tile.redwood.planks.1.desc=Smooth Redwood Wood Planks
tile.redwood.planks.2.desc=Short Redwood Wood Planks
tile.redwood.planks.6.desc=Fancy Redwood Wood Plank Arrangement
tile.redwood.planks.8.desc=Redwood Wood Panel
tile.redwood.planks.9.desc=Redwood Wood Double Slab
tile.redwood.planks.10.desc=Redwood Wood Crate
tile.redwood.planks.11.desc=Fancy Redwood Wood Crate
tile.redwood.planks.13.desc=Large Long Redwood Wood Planks
tile.redwood.planks.3.desc=Vertical Redwood Wood Planks
tile.redwood.planks.4.desc=Vertical Uneven Redwood Wood Planks
tile.redwood.planks.5.desc=Redwood Wood Parquet
tile.redwood.planks.7.desc=Redwood Wood Plank Blinds
tile.redwood.planks.12.desc=Redwood Wood Scaffold
tile.redwood.planks.14.desc=Redwood Wood Planks in Disarray
tile.redwood.planks.15.desc=Vertical Redwood Wood Planks in Disarray
#Willow
tile.willow.planks.1.desc=Smooth Willow Wood Planks
tile.willow.planks.2.desc=Short Willow Wood Planks
tile.willow.planks.6.desc=Fancy Willow Wood Plank Arrangement
tile.willow.planks.8.desc=Willow Wood Panel
tile.willow.planks.9.desc=Willow Wood Double Slab
tile.willow.planks.10.desc=Willow Wood Crate
tile.willow.planks.11.desc=Fancy Willow Wood Crate
tile.willow.planks.13.desc=Large Long Willow Wood Planks
tile.willow.planks.3.desc=Vertical Willow Wood Planks
tile.willow.planks.4.desc=Vertical Uneven Willow Wood Planks
tile.willow.planks.5.desc=Willow Wood Parquet
tile.willow.planks.7.desc=Willow Wood Plank Blinds
tile.willow.planks.12.desc=Willow Wood Scaffold
tile.willow.planks.14.desc=Willow Wood Planks in Disarray
tile.willow.planks.15.desc=Vertical Willow Wood Planks in Disarray
#Pine
tile.pine.planks.1.desc=Smooth Pine Wood Planks
tile.pine.planks.2.desc=Short Pine Wood Planks
tile.pine.planks.6.desc=Fancy Pine Wood Plank Arrangement
tile.pine.planks.8.desc=Pine Wood Panel
tile.pine.planks.9.desc=Pine Wood Double Slab
tile.pine.planks.10.desc=Pine Wood Crate
tile.pine.planks.11.desc=Fancy Pine Wood Crate
tile.pine.planks.13.desc=Large Long Pine Wood Planks
tile.pine.planks.3.desc=Vertical Pine Wood Planks
tile.pine.planks.4.desc=Vertical Uneven Pine Wood Planks
tile.pine.planks.5.desc=Pine Wood Parquet
tile.pine.planks.7.desc=Pine Wood Plank Blinds
tile.pine.planks.12.desc=Pine Wood Scaffold
tile.pine.planks.14.desc=Pine Wood Planks in Disarray
tile.pine.planks.15.desc=Vertical Pine Wood Planks in Disarray
#Hellbark
tile.hellbark.planks.1.desc=Smooth Hellbark Wood Planks
tile.hellbark.planks.2.desc=Short Hellbark Wood Planks
tile.hellbark.planks.6.desc=Fancy Hellbark Wood Plank Arrangement
tile.hellbark.planks.8.desc=Hellbark Wood Panel
tile.hellbark.planks.9.desc=Hellbark Wood Double Slab
tile.hellbark.planks.10.desc=Hellbark Wood Crate
tile.hellbark.planks.11.desc=Fancy Hellbark Wood Crate
tile.hellbark.planks.13.desc=Large Long Hellbark Wood Planks
tile.hellbark.planks.3.desc=Vertical Hellbark Wood Planks
tile.hellbark.planks.4.desc=Vertical Uneven Hellbark Wood Planks
tile.hellbark.planks.5.desc=Hellbark Wood Parquet
tile.hellbark.planks.7.desc=Hellbark Wood Plank Blinds
tile.hellbark.planks.12.desc=Hellbark Wood Scaffold
tile.hellbark.planks.14.desc=Hellbark Wood Planks in Disarray
tile.hellbark.planks.15.desc=Vertical Hellbark Wood Planks in Disarray
#Jacaranda
tile.jacaranda.planks.1.desc=Smooth Jacaranda Wood Planks
tile.jacaranda.planks.2.desc=Short Jacaranda Wood Planks
tile.jacaranda.planks.6.desc=Fancy Jacaranda Wood Plank Arrangement
tile.jacaranda.planks.8.desc=Jacaranda Wood Panel
tile.jacaranda.planks.9.desc=Jacaranda Wood Double Slab
tile.jacaranda.planks.10.desc=Jacaranda Wood Crate
tile.jacaranda.planks.11.desc=Fancy Jacaranda Wood Crate
tile.jacaranda.planks.13.desc=Large Long Jacaranda Wood Planks
tile.jacaranda.planks.3.desc=Vertical Jacaranda Wood Planks
tile.jacaranda.planks.4.desc=Vertical Uneven Jacaranda Wood Planks
tile.jacaranda.planks.5.desc=Jacaranda Wood Parquet
tile.jacaranda.planks.7.desc=Jacaranda Wood Plank Blinds
tile.jacaranda.planks.12.desc=Jacaranda Wood Scaffold
tile.jacaranda.planks.14.desc=Jacaranda Wood Planks in Disarray
tile.jacaranda.planks.15.desc=Vertical Jacaranda Wood Planks in Disarray
#Mahogany
tile.mahogany.planks.1.desc=Smooth Mahogany Wood Planks
tile.mahogany.planks.2.desc=Short Mahogany Wood Planks
tile.mahogany.planks.6.desc=Fancy Mahogany Wood Plank Arrangement
tile.mahogany.planks.8.desc=Mahogany Wood Panel
tile.mahogany.planks.9.desc=Mahogany Wood Double Slab
tile.mahogany.planks.10.desc=Mahogany Wood Crate
tile.mahogany.planks.11.desc=Fancy Mahogany Wood Crate
tile.mahogany.planks.13.desc=Large Long Mahogany Wood Planks
tile.mahogany.planks.3.desc=Vertical Mahogany Wood Planks
tile.mahogany.planks.4.desc=Vertical Uneven Mahogany Wood Planks
tile.mahogany.planks.5.desc=Mahogany Wood Parquet
tile.mahogany.planks.7.desc=Mahogany Wood Plank Blinds
tile.mahogany.planks.12.desc=Mahogany Wood Scaffold
tile.mahogany.planks.14.desc=Mahogany Wood Planks in Disarray
tile.mahogany.planks.15.desc=Vertical Mahogany Wood Planks in Disarray
#Greatwood
tile.greatwood.planks.1.desc=Smooth Greatwood Wood Planks
tile.greatwood.planks.2.desc=Short Greatwood Wood Planks
tile.greatwood.planks.6.desc=Fancy Greatwood Wood Plank Arrangement
tile.greatwood.planks.8.desc=Greatwood Wood Panel
tile.greatwood.planks.9.desc=Greatwood Wood Double Slab
tile.greatwood.planks.10.desc=Greatwood Wood Crate
tile.greatwood.planks.11.desc=Fancy Greatwood Wood Crate
tile.greatwood.planks.13.desc=Large Long Greatwood Wood Planks
tile.greatwood.planks.3.desc=Vertical Greatwood Wood Planks
tile.greatwood.planks.4.desc=Vertical Uneven Greatwood Wood Planks
tile.greatwood.planks.5.desc=Greatwood Wood Parquet
tile.greatwood.planks.7.desc=Greatwood Wood Plank Blinds
tile.greatwood.planks.12.desc=Greatwood Wood Scaffold
tile.greatwood.planks.14.desc=Greatwood Wood Planks in Disarray
tile.greatwood.planks.15.desc=Vertical Greatwood Wood Planks in Disarray
#Silverwood
tile.silverwood.planks.1.desc=Smooth Silverwood Wood Planks
tile.silverwood.planks.2.desc=Short Silverwood Wood Planks
tile.silverwood.planks.6.desc=Fancy Silverwood Wood Plank Arrangement
tile.silverwood.planks.8.desc=Silverwood Wood Panel
tile.silverwood.planks.9.desc=Silverwood Wood Double Slab
tile.silverwood.planks.10.desc=Silverwood Wood Crate
tile.silverwood.planks.11.desc=Fancy Silverwood Wood Crate
tile.silverwood.planks.13.desc=Large Long Silverwood Wood Planks
tile.silverwood.planks.3.desc=Vertical Silverwood Wood Planks
tile.silverwood.planks.4.desc=Vertical Uneven Silverwood Wood Planks
tile.silverwood.planks.5.desc=Silverwood Wood Parquet
tile.silverwood.planks.7.desc=Silverwood Wood Plank Blinds
tile.silverwood.planks.12.desc=Silverwood Wood Scaffold
tile.silverwood.planks.14.desc=Silverwood Wood Planks in Disarray
tile.silverwood.planks.15.desc=Vertical Silverwood Wood Planks in Disarray
#Stained Glass
white.bubble.desc=White Bubble Glass
white.glass.desc=White Glass Panel
@@ -2684,19 +1878,3 @@ tile.glotek.12.desc=Cranberry
tile.glotek.13.desc=Brink Pink
tile.glotek.14.desc=Dark Salmon
tile.glotek.15.desc=Harvest Gold
#Froglight
tile.chisel.froglight.name=Froglight
tile.froglight.0.desc=Aluminium
tile.froglight.1.desc=Titanium
tile.froglight.2.desc=Tungstensteel
tile.froglight.3.desc=Osmium
tile.froglight.4.desc=Fluxed
tile.froglight.5.desc=Uranium
tile.froglight.6.desc=Girisium
tile.froglight.7.desc=Orundum
tile.froglight.8.desc=Blood-Stained
tile.froglight.9.desc=Ichor
tile.chisel.amber.name=Block of Amber
tile.chisel.bloodBrick.name=Bloodstone Brick
@@ -126,7 +126,7 @@ tile.beacon.blue.desc=Blue Beamed Beacon
tile.beacon.brown.desc=Brown Beamed Beacon
tile.beacon.cyan.desc=Cyan Beamed Beacon
tile.beacon.green.desc=Green Beamed Beacon
tile.beacon.lightBlue.desc=Light Blue Beamed Beacon
tile.beacon.lightblue.desc=Light Blue Beamed Beacon
tile.beacon.silver.desc=Light Gray Beamed Beacon
tile.beacon.lime.desc=Lime Beamed Beacon
tile.beacon.magenta.desc=Magenta Beamed Beacon
@@ -125,7 +125,7 @@ tile.beacon.blue.desc=Blue Beamed Beacon
tile.beacon.brown.desc=Brown Beamed Beacon
tile.beacon.cyan.desc=Cyan Beamed Beacon
tile.beacon.green.desc=Green Beamed Beacon
tile.beacon.lightBlue.desc=Light Blue Beamed Beacon
tile.beacon.lightblue.desc=Light Blue Beamed Beacon
tile.beacon.silver.desc=Light Gray Beamed Beacon
tile.beacon.lime.desc=Lime Beamed Beacon
tile.beacon.magenta.desc=Magenta Beamed Beacon
@@ -138,7 +138,7 @@ tile.beacon.blue.desc=Маяк с синем лучом
tile.beacon.brown.desc=Маяк с коричневым лучом
tile.beacon.cyan.desc=Маяк с бирюзовым лучом
tile.beacon.green.desc=Маяк с зелёным лучом
tile.beacon.lightBlue.desc=Маяк со голубым лучом
tile.beacon.lightblue.desc=Маяк со голубым лучом
tile.beacon.silver.desc=Маяк со светло-серым лучом
tile.beacon.lime.desc=Маяк с лаймовым лучом
tile.beacon.magenta.desc=Маяк с сиреневым лучом
@@ -136,7 +136,7 @@ tile.beacon.blue.desc=蓝色定向信标
tile.beacon.brown.desc=棕色定向信标
tile.beacon.cyan.desc=青色定向信标
tile.beacon.green.desc=绿色定向信标
tile.beacon.lightBlue.desc=淡蓝定向信标
tile.beacon.lightblue.desc=淡蓝定向信标
tile.beacon.silver.desc=淡灰定向信标
tile.beacon.lime.desc=黄绿定向信标
tile.beacon.magenta.desc=品红定向信标
@@ -1741,4 +1741,4 @@ container.chisel.mode=模式:
container.chisel.mode.single=单个雕刻
container.chisel.mode.panel=范围雕刻
container.chisel.mode.column=竖向雕刻
container.chisel.mode.row=横向雕刻
container.chisel.mode.row=横向雕刻
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1005 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 956 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 960 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 952 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 982 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 943 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 886 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 904 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 901 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 899 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 926 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 963 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 902 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 938 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 930 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 842 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 933 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 888 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 930 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 965 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 966 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 960 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 910 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 932 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 915 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 913 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 936 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 934 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Loaded 100 of 1002 files, more files were not shown because too many files have changed in this diff. Show more