Compare commits

...
Author SHA1 Message Date
Connor deHaasandMartin Robertz 3a3c7035fe Add concrete slabs and stairs (#90)
* Add concrete slabs, fully functional. Missing entries for other langs, and not tested with GTNH.

* Fix concrete top slabs

* Clean up commented out testing code

* Add full set of concrete stairs

* Fixes concrete slab texture reference to remove duplicated texture folder

---------

Co-authored-by: Martin Robertz <[email protected]>
2026-04-23 04:50:28 -04:00
flamingowrangler2869andUltraProdigy c943d0c35a Woolen clay must be mined with pickaxe (#82)
Woolen clay was not able to be insta-mined without an effective tool

Co-authored-by: UltraProdigy <[email protected]>
2026-04-21 03:54:15 +00:00
Alexdoru ec610dc876 Fix world client memory leaks caused by block renderers (#88)
* make threadlocals final

* minor code fixes

* fix custom block renderers leaking world

* remove now useless threadlocal cleaning

* fix memory leak from rendererOld by just deleting the field

* fix ThreadLocals to work on dedicated server
2026-04-20 11:45:05 +02:00
tiffit 2ae1f8ba93 ItemChisel: Set max damage field instead of overriding getMaxDamage(ItemStack) (#89) 2026-04-20 01:35:11 -04:00
Martin Robertz 7b9537571e update+gradle+deps+bs 2026-04-03 22:11:57 +02:00
Dream Master b031b59002 update 2026-03-05 11:00:38 +01:00
UltraProdigy 4073a4c04c opti & wflow (#81) 2026-03-05 10:52:13 +01:00
seventh-june 643d9b72ba fix typo (#80) 2026-03-01 00:08:56 +00:00
Martin Robertz fa3b49a673 backdate Angelica 2026-02-21 23:08:52 +01:00
Martin Robertz 165e5db275 update 2026-02-21 23:00:46 +01:00
openblocki 4fcfaffa63 Replace Side Texture with Top Texture (#79) 2026-02-21 22:59:19 +01:00
UltraProdigy 21690ddb09 Merge pull request #77 from seventh-june/master
Add new Metals and a new Moss blockset
2026-01-26 04:20:07 -05:00
seventh-june 1cb9a96d4f fix moss recipe 2026-01-25 21:56:36 -05:00
seventh-june 12460a6e02 fix iridium shipping crate ctm 2026-01-25 20:37:14 -05:00
seventh-june 20d2fc8c3f Many More Metals 2026-01-25 20:06:42 -05:00
seventh-june 3f395fef1d applied spotless oops
canon dev event
2026-01-25 15:05:46 -05:00
seventh-june 2593b14c53 Fix moss block recipe 2026-01-25 14:44:19 -05:00
seventh-june 72341f1633 Merge branch 'GTNewHorizons:master' into master 2026-01-25 13:39:52 -05:00
seventh-june 8a7a4a79f0 Added a moss-themed tileset 2026-01-25 13:35:55 -05:00
Léa Gris 2e1a20d829 Merge pull request #76 from GTNewHorizons/FixBottomFaceUV
fix(render): adapt hodgepodge fixBottomFaceUV
2026-01-16 02:26:07 +01:00
Léa Gris 39e860974a fix(render): adapt hodgepodge fixBottomFaceUV
HodgePodge mixin fixBottomFaceUV options fixes the bottom face texture UV.
See: GTNewHorizons/Hodgepodge#676

When unflipped, the bottom face of v-type connected textures blocks like the
large hexplating or the Industrial Technical Block's massive big fan, needs
a new unflipped order to correctly connect.
Consequently, when `fixBottomFaceUV=true`, the bottom fan animation rotates
the same way as other faces, instead of backward without the hodgepodge fix.
2026-01-14 15:09:18 +01:00
seventh-june 1464929264 moss
moss
2026-01-07 12:19:56 -05:00
Martin Robertz c4c1953ae1 update bs+deps+gradle 2026-01-02 08:48:27 +01:00
danyadevandMartin Robertz 6efa21100b Fix z-fighting for voidstone blocks (#71)
Co-authored-by: Martin Robertz <[email protected]>
2025-12-29 23:37:43 +00:00
PLASMAchicken c3e1675ac8 RoadLine drop correct metadata when destroyed via onNeighborBlockChange (#75) 2025-12-12 01:22:02 +01:00
UltraProdigy cc9b8ab774 Merge pull request #74 from PLASMAchicken/patch-stairs
Fix Stair Variant Drops
2025-12-08 19:23:09 -05:00
PLASMAchicken 674d2b389b Fix Stair Variant Drops
Seems to have been broken in https://github.com/GTNewHorizons/Chisel/commit/f0e11d8eeea751a60c0ecf2d3a40643017e11f1b
2025-12-09 01:00:14 +01:00
FourIsTheNumber 78dbb36fec 'Dustrial Decor backports (#70) 2025-11-30 12:28:19 +01:00
agreeable frogandMartin Robertz 6385002193 Fix terracotta variants from group 1 not being chiselable (#72)
Co-authored-by: Martin Robertz <[email protected]>
2025-11-30 12:12:47 +01:00
SuperSouprandMaya e969289b22 Fix shift-click from Chisel into full inventory (#69)
Co-authored-by: Maya <[email protected]>
2025-11-09 20:34:10 +00:00
Martin Robertz f95fa2752f update 2025-10-29 13:01:09 +01:00
agreeable frogandMartin Robertz e963872d9e Terracotta variations (#68)
Co-authored-by: Martin Robertz <[email protected]>
2025-10-29 11:17:44 +00:00
Martin Robertz 7a6076d9cd update 2025-10-25 14:29:19 +02:00
sisyphussy 39b96c5ec0 Merge pull request #67 from cambech/master
Fix issue 21220
2025-10-20 14:20:58 +02:00
cambech d81198fa0a Fix: corrected textures and removed flickering 2025-10-18 21:13:21 +02:00
cambech 5b169882bc Fix: corrected textures and removed flickering 2025-10-18 12:44:32 +02:00
cambech 30ad41cc57 Merge remote-tracking branch 'upstream/master' 2025-10-04 11:19:48 +02:00
Martin Robertz 4588690780 update 2025-10-01 18:15:53 +02:00
cambech a00cd59d4c Update description key (#66) 2025-09-30 16:59:11 +00:00
cambech e5f830ebb1 Update description key 2
Update description key from tile.voidstone.0.desc to tile.voidstone2.0.desc for voidstone2 variation
2025-09-30 11:54:54 +02:00
cambech 6fc3505ae7 Update description key
Update description key from tile.voidstone.0.desc to tile.voidstone2.0.desc for voidstone2 variation
2025-09-28 22:25:03 +02:00
Martin Robertz 51883263d7 update 2025-09-20 15:47:40 +02:00
JohnButlerThird 97fd3003e3 Add Thaumcraft and Biomes O' Plenty planks and slightly adjust planks for vanilla woods (#61) 2025-09-20 15:46:19 +02:00
Dream Master 14f6a09b9a update 2025-09-05 16:03:57 +02:00
DarkShadow44 40144a0fa5 Make rendering blocks thread safe with Angelica (#65) 2025-09-05 09:48:11 +02:00
Dream Master 4ce0134bed update 2025-08-04 10:00:48 +07:00
Pedro Ortiz Bledow 21caa10d34 Move Snakestone head and body blocks into the Smooth Stone chisel group (#64) 2025-08-04 00:05:30 +00:00
boubou19 4001d105a8 Speed up forge event registration (#62) 2025-07-17 19:17:22 +02:00
Martin Robertz b5514a9aa0 update 2025-06-21 00:12:10 +02:00
koolkrafter5 c1f3c93bc3 Update dev username (#60) 2025-06-19 11:03:04 +02:00
DarkShadow44andMaya 5a2852532b Fix rendering with LittleTiles (#58)
Co-authored-by: Maya <[email protected]>
2025-05-10 16:10:05 +00:00
Maya 189b3bc95c Fix CCRenderState reference (#59) 2025-05-10 11:05:52 -05:00
Martin Robertz 126ca91eeb update 2025-05-10 13:17:43 +02:00
Maya 477b6e354c Fix chisel slot voiding in some conditions (#57) 2025-05-09 20:31:18 +02:00
Dream Master c312d2c311 update 2025-01-15 12:50:05 +01:00
chochem 4c0218c708 fix endstone oredict (#56) 2025-01-12 16:08:50 -06:00
Martin Robertz 3568223fc6 update 2024-12-31 14:48:57 +01:00
glowredman 019f9a670a Add Localizations (#55) 2024-12-30 17:41:13 -06:00
Martin Robertz 29be0033d7 update 2024-12-17 19:37:10 +01:00
Yannick Marcotte-Gourde 2165ec04ea Tooltip fix (#54) 2024-12-16 19:04:00 +01:00
Martin Robertz 3da974b1cf update 2024-10-21 21:55:35 +02:00
slprimeandslprime 637001538c Fix Waila for Torch & Pumpkin (#53)
Co-authored-by: slprime <[email protected]>
2024-10-21 21:18:36 +02:00
Dr-Nye 95c8c72db5 Update en_GB.lang (#52)
Consistency of chisel block names with regular block names
2024-10-21 21:18:15 +02:00
Dream Master 2415e17583 update 2024-08-04 19:47:45 +07:00
Lyft 0cabe335dd fix aiob when opening chisel in some slots (#51) 2024-08-01 07:41:25 +07:00
Dream Master 568e405e25 update 2024-07-08 12:17:56 +07:00
DrParadox7 e851556159 Fix Glotek and Neonite being only obtainable with allowChiselCrossColors (#49)
Remove Glotek and Neonite from being affected by:
```
# Should someone be able to chisel something into a different color.
    B:allowChiselCrossColors=false
```
They do not have recipes for each color variation, making them unobtainable should `allowChiselCrossColors` be false.
2024-07-08 12:12:57 +07:00
DrParadox7 b610b590a2 Fix Transparent Technical Blocks requiring Silk Touch (#50)
No other of the 30 Technical Block Chisel block set have this requirement.
2024-07-08 08:38:23 +07:00
Martin Robertz 6788f10a3e update 2024-05-13 20:22:48 +02:00
GirixK 691d3a2962 spotlessApply 2024-05-13 20:21:05 +02:00
GirixK a99686e3a8 Change former assets to comply with minecraft's EULA
- Removed assets for variations 0-8
- Replaced 0-8 with different themed assets
- Added variation 9
2024-05-13 20:21:05 +02:00
GirixK 6064b7bc3d Fix typo in en_US 2024-05-13 20:21:05 +02:00
GirixK 3b8a85a20d Backport Froglights
Backported 3 froglights and added 6 more

Pearlescent, Ochre, Veridium, and the 6 custom ones meant to look like Osmium, Tungstensteel, Iron, Titanium, Aluminium, and Grisium
2024-05-13 20:21:05 +02:00
Jason Mitchell 772987a4f2 Fixes an NPE thrown with NEI 2024-02-20 09:28:57 -08:00
Jason Mitchell 33f240c73a Null saftey (#45) 2024-02-20 18:18:12 +01:00
2835 changed files with 2417 additions and 494 deletions

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
name: Optimize images
on:
pull_request:
branches: [ master, main, release/** ]
paths:
- "**/*.png"
push:
branches: [ master, main, release/** ]
paths:
- "**/*.png"
jobs:
optimize-images:
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/optimize-images.yml@master
secrets: inherit
+2
View File
@@ -27,3 +27,5 @@ whitelist.json
*.iws
src/main/resources/mixins.*.json
*.bat
layout.json
.DS_Store
+6 -7
View File
@@ -1,24 +1,23 @@
// Add your dependencies here
dependencies {
implementation("com.github.GTNewHorizons:CodeChickenCore:1.2.0:dev")
implementation("com.github.GTNewHorizons:CodeChickenLib:1.2.0:dev")
implementation("com.github.GTNewHorizons:NotEnoughItems:2.5.4-GTNH:dev")
implementation("com.github.GTNewHorizons:ForgeMultipart:1.4.7:dev")
implementation("com.github.GTNewHorizons:CodeChickenCore:1.4.12:dev")
implementation("com.github.GTNewHorizons:NotEnoughItems:2.8.84-GTNH:dev")
implementation("com.github.GTNewHorizons:ForgeMultipart:1.7.3:dev")
compileOnly("org.projectlombok:lombok:1.18.24")
annotationProcessor("org.projectlombok:lombok:1.18.24")
devOnlyNonPublishable("com.github.GTNewHorizons:waila:1.6.5:dev") {
devOnlyNonPublishable("com.github.GTNewHorizons:waila:1.19.22:dev") {
transitive = false
}
devOnlyNonPublishable("com.github.GTNewHorizons:WailaHarvestability:1.2.0-GTNH:dev")
devOnlyNonPublishable("com.github.GTNewHorizons:WailaHarvestability:1.3.4-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-alpha28:api") {
compileOnly("com.github.GTNewHorizons:Angelica:2.1.15:api") {
transitive = false
}
}
+54 -8
View File
@@ -14,7 +14,7 @@ modId = chisel
modGroup = com.cricketcraft.chisel
# Whether to use modGroup as the maven publishing group.
# Due to a history of using JitPack, the default is com.github.GTNewHorizons for all mods.
# When false, com.github.GTNewHorizons is used.
useModGroupForPublishing = false
# Updates your build.gradle and settings.gradle automatically whenever an update is available.
@@ -37,11 +37,35 @@ remoteMappings = https\://raw.githubusercontent.com/MinecraftForge/FML/1.7.10/co
# 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"
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 modern Java syntax support. Valid values:
# - false: No modern syntax, Java 8 only
# - jabel: Jabel syntax-only support, compiles to J8 bytecode
# - jvmDowngrader: Full modern Java via JVM Downgrader (syntax + stdlib APIs)
# - modern: Native modern Java bytecode, no downgrading
enableModernJavaSyntax = jabel
# If set, ignores the above setting and compiles with the given toolchain. This may cause unexpected issues,
# and should *not* be used in most situations. -1 disables this.
# forceToolchainVersion = -1
# Target JVM version for JVM Downgrader bytecode downgrading.
# Only used when enableModernJavaSyntax = jvmDowngrader
# downgradeTargetVersion = 8
# Comma-separated list of Java versions for multi-release jar support (JVM Downgrader only).
# Classes will be available in META-INF/versions/N/ for each version N in this list.
# Default: "21,25" (J25+ gets native classes, J21-24 gets partial downgrade, J8-20 gets full downgrade).
# jvmDowngraderMultiReleaseVersions = 21,25
# Specifies how JVM Downgrader API stubs are provided. Options:
# - shade: Shade minimized stubs into the jar
# - gtnhlib: GTNHLib provides stubs at runtime (adds version constraint)
# - external: Another dependency provides stubs (no constraint, no warning)
# - (empty): Warning reminding you to configure stubs
# Note: 'shade' option requires you to verify license compliance, see: https://github.com/unimined/JvmDowngrader/blob/main/LICENSE.md
# jvmDowngraderStubsProvider =
# 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.
@@ -85,13 +109,20 @@ 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. You may only place Mixins in this package or the build will fail!
# 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.
mixinsPackage =
# Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin!
@@ -117,9 +148,15 @@ minimizeShadowedDependencies = true
# If disabled, won't rename the shadowed classes.
relocateShadowedDependencies = false
# Adds the GTNH maven, CurseMaven, IC2/Player maven, and some more well-known 1.7.10 repositories.
# 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.
@@ -140,7 +177,7 @@ modrinthProjectId =
# 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: GTNH Mixins is automatically set as a required dependency if usesMixins = true
# 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.
@@ -161,6 +198,12 @@ curseForgeRelations =
# projects. New projects should not use this parameter.
# customArchiveBaseName =
# Optional parameter to customize the default working directory used by the runClient* tasks. Relative to the project directory.
# runClientWorkingDirectory = run/client
# Optional parameter to customize the default working directory used by the runServer* tasks. Relative to the project directory.
# runServerWorkingDirectory = run/server
# 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.
@@ -190,3 +233,6 @@ curseForgeRelations =
# This is meant to be set in $HOME/.gradle/gradle.properties.
# ideaCheckSpotlessOnBuild = true
# Non-GTNH properties
org.gradle.configuration-cache = true
org.gradle.parallel = true
+12
View File
@@ -0,0 +1,12 @@
#This file is generated by updateDaemonJvm
toolchainUrl.FREE_BSD.AARCH64=https\://api.foojay.io/disco/v3.0/ids/1630f7ebef05444cb27a2709ea0249b3/redirect
toolchainUrl.FREE_BSD.X86_64=https\://api.foojay.io/disco/v3.0/ids/cd495626d2ee49a75447e3fdc6afb287/redirect
toolchainUrl.LINUX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/1630f7ebef05444cb27a2709ea0249b3/redirect
toolchainUrl.LINUX.X86_64=https\://api.foojay.io/disco/v3.0/ids/cd495626d2ee49a75447e3fdc6afb287/redirect
toolchainUrl.MAC_OS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/d4fd992c9557644e637ebe98263e0ae7/redirect
toolchainUrl.MAC_OS.X86_64=https\://api.foojay.io/disco/v3.0/ids/faa12903720d410b387cc69ccafb1a74/redirect
toolchainUrl.UNIX.AARCH64=https\://api.foojay.io/disco/v3.0/ids/1630f7ebef05444cb27a2709ea0249b3/redirect
toolchainUrl.UNIX.X86_64=https\://api.foojay.io/disco/v3.0/ids/cd495626d2ee49a75447e3fdc6afb287/redirect
toolchainUrl.WINDOWS.AARCH64=https\://api.foojay.io/disco/v3.0/ids/a4c09dd2e2d7079373d30e524bbc2829/redirect
toolchainUrl.WINDOWS.X86_64=https\://api.foojay.io/disco/v3.0/ids/8e1d9ee5d0f13e442218f6884a306da1/redirect
toolchainVersion=25
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.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Vendored
+7 -8
View File
@@ -1,7 +1,7 @@
#!/bin/sh
#
# Copyright © 2015-2021 the original authors.
# Copyright © 2015 the original authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#
##############################################################################
#
@@ -55,7 +57,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/b631911858264c0b6e4d6603d677ff5218766cee/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,7 @@ done
# 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 "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
@@ -112,7 +114,6 @@ case "$( uname )" in #(
NONSTOP* ) nonstop=true ;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
@@ -170,7 +171,6 @@ fi
# For Cygwin or MSYS, switch paths to Windows format before running java
if "$cygwin" || "$msys" ; then
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
JAVACMD=$( cygpath --unix "$JAVACMD" )
@@ -203,15 +203,14 @@ fi
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# * 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.
set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
-classpath "$CLASSPATH" \
org.gradle.wrapper.GradleWrapperMain \
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
"$@"
# Stop when "xargs" is not available.
Vendored
+3 -2
View File
@@ -13,6 +13,8 @@
@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 ##########################################################################
@@ -68,11 +70,10 @@ goto fail
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
:end
@rem End local scope for the variables with windows NT shell
+1 -1
View File
@@ -17,7 +17,7 @@ pluginManagement {
}
plugins {
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.14'
id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.24'
}
@@ -14,10 +14,10 @@ import team.chisel.ctmlib.ISubmapManager;
public class VariationInfoBase implements IVariationInfo {
private ICarvingVariation variation;
private String unlocDesc;
private ISubmapManager manager;
private TextureType type;
private final ICarvingVariation variation;
private final String unlocDesc;
private final ISubmapManager manager;
private final TextureType type;
public VariationInfoBase(ICarvingVariation variation, String unlocDesc, ISubmapManager manager) {
this(variation, unlocDesc, manager, TextureType.CUSTOM);
@@ -6,6 +6,7 @@ import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.launchwrapper.Launch;
import net.minecraft.util.IIcon;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.IBlockAccess;
@@ -18,6 +19,7 @@ import org.apache.commons.lang3.tuple.Triple;
import com.cricketcraft.chisel.api.carving.CarvableHelper;
import com.cricketcraft.chisel.api.carving.ICarvingVariation;
import cpw.mods.fml.relauncher.FMLLaunchHandler;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import team.chisel.ctmlib.CTM;
@@ -90,9 +92,9 @@ public enum TextureType {
TextureSubmap map = data.getLeft();
if (topConnected && botConnected)
return map.getSubIcon(0, 1);
if (topConnected && !botConnected)
if (topConnected)
return map.getSubIcon(1, 1);
if (!topConnected && botConnected)
if (botConnected)
return map.getSubIcon(1, 0);
return map.getSubIcon(0, 0);
}
@@ -100,11 +102,9 @@ public enum TextureType {
@Override
@SideOnly(Side.CLIENT)
protected RenderBlocks createRenderContext(RenderBlocks rendererOld, IBlockAccess world, Object cachedObject) {
TextureType.initStatics();
RenderBlocksColumn ret = theRenderBlocksColumn.get();
Pair<TextureSubmap, IIcon> data = (Pair<TextureSubmap, IIcon>) cachedObject;
ret.blockAccess = world;
ret.renderMaxX = 1.0;
ret.renderMaxY = 1.0;
ret.renderMaxZ = 1.0;
@@ -208,12 +208,10 @@ public enum TextureType {
protected RenderBlocks createRenderContext(RenderBlocks rendererOld, IBlockAccess world, Object cachedObject) {
RenderBlocksCTM ret = theRenderBlocksCTM.get();
Triple<?, TextureSubmap, TextureSubmap> data = (Triple<?, TextureSubmap, TextureSubmap>) cachedObject;
ret.blockAccess = world;
ret.submap = data.getMiddle();
ret.submapSmall = data.getRight();
ret.rendererOld = rendererOld;
return ret;
}
},
@@ -270,6 +268,8 @@ public enum TextureType {
CUSTOM;
/* Some util stuff for shared code between v* and r* */
public static final boolean fixedBottomFaceUV = (boolean) Launch.blackboard
.getOrDefault("hodgepodge.FixesConfig.fixBottomFaceUV", Boolean.FALSE);
public static IIcon getVIcon(TextureType type, TextureSubmap map, int x, int y, int z, int side) {
int variationSize = (type == TextureType.V9) ? 3 : 2;
@@ -290,6 +290,9 @@ public enum TextureType {
//For DOWN, reverse the indexes for only Z
textureZ = (variationSize - textureZ - 1);
}*/
else if (side == 0 && fixedBottomFaceUV) {
textureX = variationSize - textureX - 1;
}
int index;
if (side == 0 || side == 1) {
@@ -325,33 +328,18 @@ public enum TextureType {
private static final TextureType[] VALUES;
private static final CTM ctm = CTM.getInstance();
private static final Random rand = new Random();
@SideOnly(Side.CLIENT)
private static ThreadLocal<RenderBlocksCTM> theRenderBlocksCTM;
@SideOnly(Side.CLIENT)
private static ThreadLocal<RenderBlocksColumn> theRenderBlocksColumn;
private static final ThreadLocal<RenderBlocksCTM> theRenderBlocksCTM = FMLLaunchHandler.side().isClient() ? ThreadLocal.withInitial(RenderBlocksCTM::new) : null;
private static final ThreadLocal<RenderBlocksColumn> theRenderBlocksColumn = FMLLaunchHandler.side().isClient() ? ThreadLocal.withInitial(RenderBlocksColumn::new) : null;
private String[] suffixes;
private final String[] suffixes;
static {
VALUES = ArrayUtils.subarray(values(), 0, values().length - 1);
}
private TextureType(String... suffixes) {
TextureType(String... suffixes) {
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);
}
}
@SideOnly(Side.CLIENT)
public static void clearStatics() {
theRenderBlocksCTM.remove();
theRenderBlocksColumn.remove();
}
public ISubmapManager createManagerFor(ICarvingVariation variation, String texturePath) {
return new SubmapManagerDefault(this, variation, texturePath);
}
+1 -1
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")
dependencies = "after:EE3;after:ForgeMultipart;after:Thaumcraft;after:appliedenergistics2;after:Railcraft;after:AWWayofTime;after:TwilightForest;after:BiomesOPlenty")
public class Chisel {
public static final String MOD_ID = "chisel";
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,67 @@
package team.chisel.block;
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.EntityPlayerSP;
import net.minecraft.util.MathHelper;
import net.minecraft.util.MovementInput;
import net.minecraft.util.MovementInputFromOptions;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.TickEvent.Phase;
import cpw.mods.fml.common.gameevent.TickEvent.PlayerTickEvent;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import team.chisel.config.Configurations;
public class BlockCarvableConcreteSlab extends BlockCarvableSlab {
public BlockCarvableConcreteSlab(BlockCarvable block) {
super(block);
top = new BlockCarvableConcreteSlab(this);
FMLCommonHandler.instance()
.bus()
.register(new EventHandler());
}
// Constructor to get concrete top slabs to work
public BlockCarvableConcreteSlab(BlockCarvableSlab bottomBlock) {
super(bottomBlock);
FMLCommonHandler.instance()
.bus()
.register(new EventHandler());
}
@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 == BlockCarvableConcreteSlab.this) {
manualInputCheck.updatePlayerMoveState();
if (manualInputCheck.moveForward != 0 || manualInputCheck.moveStrafe != 0) {
player.motionX *= Configurations.concreteVelocityMult + 0.05;
player.motionZ *= Configurations.concreteVelocityMult + 0.05;
}
}
}
}
}
}
@@ -0,0 +1,79 @@
package team.chisel.block;
import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.EntityPlayerSP;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.MathHelper;
import net.minecraft.util.MovementInput;
import net.minecraft.util.MovementInputFromOptions;
import com.cricketcraft.chisel.api.carving.CarvableHelper;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.TickEvent;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import team.chisel.config.Configurations;
public class BlockCarvableConcreteStairs extends BlockCarvableStairs {
public BlockCarvableConcreteStairs(Block block, int meta, CarvableHelper helper) {
super(block, meta, helper);
FMLCommonHandler.instance()
.bus()
.register(new EventHandler());
}
// Override super's getSubBlocks to allow concrete's 11 variants
// Stairs are added to the list in pairs, so odd-numbered variant counts create
// a block that shouldn't exist. This modification makes the block unreachable by normal
// means (NEI, creative menu), but still technically exists in-game
@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public void getSubBlocks(Item block, CreativeTabs tabs, List list) {
list.add(new ItemStack(block, 1, 0));
// If odd# of variations && meta for the current block == variation.size - 1, exit
// Second check checks if the current block is at the end of the variation list
if (carverHelper.infoList.size() % 2 == 1 && this.blockMeta == carverHelper.infoList.size() - 1) return;
list.add(new ItemStack(block, 1, 8));
}
@SideOnly(Side.CLIENT)
private static MovementInput manualInputCheck;
public class EventHandler {
@SubscribeEvent
@SideOnly(Side.CLIENT)
public void speedupPlayer(TickEvent.PlayerTickEvent event) {
if (event.phase == TickEvent.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 == BlockCarvableConcreteStairs.this) {
manualInputCheck.updatePlayerMoveState();
if (manualInputCheck.moveForward != 0 || manualInputCheck.moveStrafe != 0) {
player.motionX *= Configurations.concreteVelocityMult + 0.05;
player.motionZ *= Configurations.concreteVelocityMult + 0.05;
}
}
}
}
}
}
@@ -1,6 +1,8 @@
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;
@@ -105,4 +107,9 @@ 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,21 +7,14 @@ 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 implements ICarvable {
public CarvableHelper carverHelper;
public class BlockCarvablePumpkin extends BlockPumpkin {
@SideOnly(Side.CLIENT)
private IIcon top, face;
@@ -32,7 +25,6 @@ public class BlockCarvablePumpkin extends BlockPumpkin implements ICarvable {
super(isOn);
this.setStepSound(Block.soundTypeWood);
if (isOn) setLightLevel(10.0F);
carverHelper = new CarvableHelper(this);
}
@Override
@@ -122,16 +114,6 @@ public class BlockCarvablePumpkin extends BlockPumpkin implements ICarvable {
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;
}
@@ -40,7 +40,7 @@ public class BlockCarvableStairs extends BlockStairs implements ICarvable {
@Override
public int damageDropped(int i) {
return i / 8;
return i & 0x8;
}
@Override
@@ -4,28 +4,22 @@ 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 implements ICarvable {
public class BlockCarvableTorch extends BlockTorch {
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");
@@ -33,16 +27,6 @@ public class BlockCarvableTorch extends BlockTorch implements ICarvable {
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,31 +21,34 @@ public class BlockConcrete extends BlockCarvable {
super();
FMLCommonHandler.instance()
.bus()
.register(this);
.register(new EventHandler());
}
@SideOnly(Side.CLIENT)
private static MovementInput manualInputCheck;
@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;
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;
}
}
}
}
@@ -62,7 +62,7 @@ public class BlockRoadLine extends BlockCarvable {
if (par1World.isRemote) return;
if (!this.canPlaceBlockAt(par1World, par2, par3, par4)) {
this.dropBlockAsItem(par1World, par2, par3, par4, 0, 0);
this.dropBlockAsItem(par1World, par2, par3, par4, par1World.getBlockMetadata(par2, par3, par4), 0);
par1World.setBlockToAir(par2, par3, par4);
}
@@ -13,8 +13,8 @@ public class FullBrightLighting implements CCRenderState.IVertexOperation {
if (!state.computeLighting) {
return false;
}
state.pipeline.addDependency(CCRenderState.colourAttrib);
state.pipeline.addDependency(CCRenderState.lightCoordAttrib);
state.pipeline.addDependency(CCRenderState.instance().colourAttrib);
state.pipeline.addDependency(CCRenderState.instance().lightCoordAttrib);
return true;
}
@@ -19,11 +19,7 @@ import team.chisel.ctmlib.Drawing;
@ThreadSafeISBRH(perThread = false)
public class RendererCTMPane implements ISimpleBlockRenderingHandler {
public static int id;
public RendererCTMPane() {
id = RenderingRegistry.getNextAvailableRenderId();
}
public static final int id = RenderingRegistry.getNextAvailableRenderId();
@Override
public void renderInventoryBlock(Block block, int meta, int modelID, RenderBlocks renderer) {
@@ -33,7 +29,7 @@ public class RendererCTMPane implements ISimpleBlockRenderingHandler {
Drawing.drawBlock(block, meta, renderer);
}
class PaneRenderer {
static class PaneRenderer {
double i0u0;
double i0uh;
@@ -27,7 +27,8 @@ public class RendererEldritch implements ISimpleBlockRenderingHandler {
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
}
ThreadLocal<RenderBlocksEldritch> rendererThreadLocal = ThreadLocal.withInitial(RenderBlocksEldritch::new);
private static final ThreadLocal<RenderBlocksEldritch> rendererThreadLocal = ThreadLocal
.withInitial(RenderBlocksEldritch::new);
@Override
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId,
@@ -59,7 +60,11 @@ public class RendererEldritch implements ISimpleBlockRenderingHandler {
renderer.renderMaxX = 1.0;
renderer.renderMaxY = 1.0;
renderer.renderMaxZ = 1.0;
renderer.renderStandardBlock(block, x, y, z);
try {
renderer.renderStandardBlock(block, x, y, z);
} finally {
renderer.blockAccess = null;
}
return true;
/*
@@ -28,17 +28,11 @@ public class RendererMultiLayer implements ISimpleBlockRenderingHandler {
final static float bot = -0.001f;
final static float top = 1.0f - bot;
public static int id;
public RendererMultiLayer() {
id = RenderingRegistry.getNextAvailableRenderId();
}
public static final int id = RenderingRegistry.getNextAvailableRenderId();
@Override
public void renderInventoryBlock(Block blck, int meta, int modelID, RenderBlocks renderer) {
if (blck == null || !(blck instanceof BlockMultiLayerBase)) return;
BlockMultiLayerBase block = (BlockMultiLayerBase) blck;
if (!(blck instanceof BlockMultiLayerBase block)) return;
if (block.icon != null) {
renderer.overrideBlockTexture = block.icon;
@@ -61,8 +55,7 @@ public class RendererMultiLayer implements ISimpleBlockRenderingHandler {
@Override
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block blck, int modelId,
RenderBlocks renderer) {
if (blck == null || !(blck instanceof BlockMultiLayerBase)) return false;
BlockMultiLayerBase block = (BlockMultiLayerBase) blck;
if (!(blck instanceof BlockMultiLayerBase block)) return false;
if (MinecraftForgeClient.getRenderPass() == 0) {
if (block.icon != null) {
@@ -16,11 +16,7 @@ import team.chisel.ctmlib.Drawing;
@ThreadSafeISBRH(perThread = false)
public class RendererStairs implements ISimpleBlockRenderingHandler {
public static int id;
public RendererStairs() {
id = RenderingRegistry.getNextAvailableRenderId();
}
public static final int id = RenderingRegistry.getNextAvailableRenderId();
@Override
public void renderInventoryBlock(Block block, int meta, int modelID, RenderBlocks renderer) {
@@ -34,8 +30,7 @@ public class RendererStairs implements ISimpleBlockRenderingHandler {
@Override
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block blck, int modelId,
RenderBlocks renderer) {
if (blck == null || !(blck instanceof BlockCarvableStairs)) return false;
BlockCarvableStairs block = (BlockCarvableStairs) blck;
if (!(blck instanceof BlockCarvableStairs block)) return false;
renderer.renderBlockStairs(block, x, y, z);
@@ -10,6 +10,7 @@ import net.minecraftforge.client.IItemRenderer;
import org.lwjgl.opengl.GL11;
import cpw.mods.fml.relauncher.FMLLaunchHandler;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import team.chisel.ctmlib.Drawing;
@@ -74,10 +75,10 @@ public class SubmapManagerAntiblock extends SubmapManagerBase {
}
};
@SideOnly(Side.CLIENT)
private RenderBlocksCTMFullbright rb;
private static final ThreadLocal<RenderBlocksCTMFullbright> renderBlocksThreadLocal = FMLLaunchHandler.side()
.isClient() ? ThreadLocal.withInitial(RenderBlocksCTMFullbright::new) : null;
private String color;
private final String color;
private TextureSubmap submap, submapSmall;
public SubmapManagerAntiblock(String color) {
@@ -99,9 +100,7 @@ public class SubmapManagerAntiblock extends SubmapManagerBase {
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
if (rb == null) {
rb = new RenderBlocksCTMFullbright();
}
RenderBlocksCTMFullbright rb = renderBlocksThreadLocal.get();
rb.setRenderBoundsFromBlock(block);
rb.submap = submap;
rb.submapSmall = submapSmall;
@@ -6,6 +6,7 @@ import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import cpw.mods.fml.relauncher.FMLLaunchHandler;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import team.chisel.ctmlib.RenderBlocksCTM;
@@ -13,12 +14,12 @@ import team.chisel.ctmlib.TextureSubmap;
public class SubmapManagerCarpetFloor extends SubmapManagerBase {
@SideOnly(Side.CLIENT)
private RenderBlocksCTM rb;
private static final ThreadLocal<RenderBlocksCTM> renderBlocksThreadLocal = FMLLaunchHandler.side()
.isClient() ? ThreadLocal.withInitial(RenderBlocksCTM::new) : null;
private TextureSubmap submap;
private TextureSubmap submapSmall;
private String color;
private final String color;
public SubmapManagerCarpetFloor(String color) {
this.color = color;
@@ -45,9 +46,7 @@ public class SubmapManagerCarpetFloor extends SubmapManagerBase {
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
if (rb == null) {
rb = new RenderBlocksCTM();
}
RenderBlocksCTM rb = renderBlocksThreadLocal.get();
rb.setRenderBoundsFromBlock(block);
rb.submap = submap;
rb.submapSmall = submapSmall;
@@ -14,6 +14,7 @@ import com.cricketcraft.chisel.api.carving.CarvingUtils;
import com.cricketcraft.chisel.api.rendering.TextureType;
import com.cricketcraft.chisel.api.rendering.TextureType.AbstractSubmapManager;
import cpw.mods.fml.relauncher.FMLLaunchHandler;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import team.chisel.ctmlib.RenderBlocksCTM;
@@ -78,9 +79,9 @@ public class SubmapManagerCombinedCTM extends SubmapManagerBase {
}
}
private class Submap extends TextureSubmap {
private static class Submap extends TextureSubmap {
private TextureSubmap[][] submap;
private final TextureSubmap[][] submap;
public Submap(IIcon base, int wh, TextureSubmap[][] submap) {
super(base, wh, wh);
@@ -98,15 +99,15 @@ public class SubmapManagerCombinedCTM extends SubmapManagerBase {
}
}
@SideOnly(Side.CLIENT)
private RenderBlocksCTM rb;
private final ThreadLocal<RenderBlocksCombinedCTM> renderBlocksThreadLocal = FMLLaunchHandler.side()
.isClient() ? ThreadLocal.withInitial(RenderBlocksCombinedCTM::new) : null;
private TextureSubmap submap, smallSubmap;
private int size;
private String texturePath;
private int meta;
private final int size;
private final String texturePath;
private final int meta;
private IIcon defaultIcon;
private TextureType rType;
private final TextureType rType;
public SubmapManagerCombinedCTM(int meta, String texturePath, TextureType rType) {
assert rType == TextureType.R16 || rType == TextureType.R9
@@ -118,10 +119,7 @@ public class SubmapManagerCombinedCTM extends SubmapManagerBase {
this.texturePath = texturePath;
this.size = Integer.parseInt(
rType.name()
.substring(
1,
rType.name()
.length())); // >.>
.substring(1)); // >.>
this.rType = rType;
}
@@ -133,9 +131,7 @@ public class SubmapManagerCombinedCTM extends SubmapManagerBase {
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
if (rb == null) {
rb = new RenderBlocksCombinedCTM();
}
RenderBlocksCombinedCTM rb = renderBlocksThreadLocal.get();
rb.setRenderBoundsFromBlock(block);
return rb;
}
@@ -7,6 +7,7 @@ import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import net.minecraftforge.common.util.ForgeDirection;
import cpw.mods.fml.relauncher.FMLLaunchHandler;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import team.chisel.ctmlib.ISubmapManager;
@@ -15,13 +16,13 @@ import team.chisel.ctmlib.TextureSubmap;
public class SubmapManagerSlab implements ISubmapManager {
@SideOnly(Side.CLIENT)
private RenderBlocksCTM rb;
private static final ThreadLocal<RenderBlocksCTM> renderBlocksThreadLocal = FMLLaunchHandler.side()
.isClient() ? ThreadLocal.withInitial(RenderBlocksCTM::new) : null;
private TextureSubmap submap;
private TextureSubmap submapSmall;
private IIcon sideTexture;
private String texture;
private final String texture;
public SubmapManagerSlab(String texture) {
this.texture = texture;
@@ -49,34 +50,18 @@ public class SubmapManagerSlab implements ISubmapManager {
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
if (rb == null) {
rb = new RenderBlocksCTM();
}
RenderBlocksCTM rb = renderBlocksThreadLocal.get();
rb.setRenderBoundsFromBlock(block);
rb.submap = submap;
rb.submapSmall = submapSmall;
return rb;
}
private boolean hadOverride = false;
@Override
@SideOnly(Side.CLIENT)
public void preRenderSide(RenderBlocks renderer, IBlockAccess world, int x, int y, int z, ForgeDirection side) {}
@Override
@SideOnly(Side.CLIENT)
public void preRenderSide(RenderBlocks renderer, IBlockAccess world, int x, int y, int z, ForgeDirection side) {
RenderBlocksCTM rbctm = (RenderBlocksCTM) renderer;
if (side.ordinal() < 2 && !rbctm.rendererOld.hasOverrideBlockTexture()) {
rbctm.rendererOld.setOverrideBlockTexture(sideTexture);
hadOverride = false;
} else {
hadOverride = true;
}
}
@Override
@SideOnly(Side.CLIENT)
public void postRenderSide(RenderBlocks renderer, IBlockAccess world, int x, int y, int z, ForgeDirection side) {
if (!hadOverride) {
((RenderBlocksCTM) renderer).rendererOld.clearOverrideBlockTexture();
}
}
public void postRenderSide(RenderBlocks renderer, IBlockAccess world, int x, int y, int z, ForgeDirection side) {}
}
@@ -6,6 +6,7 @@ import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import cpw.mods.fml.relauncher.FMLLaunchHandler;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import team.chisel.ctmlib.RenderBlocksCTM;
@@ -48,10 +49,11 @@ public class SubmapManagerSpecialMaterial extends SubmapManagerBase {
}
};
private RenderBlocksCTMFullbright renderBlocksFullbright;
private static final ThreadLocal<RenderBlocksCTMFullbright> renderBlocksThreadLocal = FMLLaunchHandler.side()
.isClient() ? ThreadLocal.withInitial(RenderBlocksCTMFullbright::new) : null;
private String color;
private MaterialType materialType;
private final String color;
private final MaterialType materialType;
private TextureSubmap submap, submapSmall;
public SubmapManagerSpecialMaterial(String color, MaterialType materialType) {
@@ -76,9 +78,7 @@ public class SubmapManagerSpecialMaterial extends SubmapManagerBase {
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
if (renderBlocksFullbright == null) {
renderBlocksFullbright = new RenderBlocksCTMFullbright();
}
RenderBlocksCTMFullbright renderBlocksFullbright = renderBlocksThreadLocal.get();
renderBlocksFullbright.setRenderBoundsFromBlock(block);
renderBlocksFullbright.submap = submap;
renderBlocksFullbright.submapSmall = submapSmall;
@@ -11,6 +11,7 @@ import net.minecraftforge.common.util.ForgeDirection;
import com.cricketcraft.chisel.api.carving.CarvingUtils;
import com.cricketcraft.chisel.api.rendering.TextureType;
import cpw.mods.fml.relauncher.FMLLaunchHandler;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import team.chisel.ctmlib.ISubmapManager;
@@ -21,81 +22,81 @@ public class SubmapManagerVoidstone extends SubmapManagerBase {
// TODO there must be a better more generic way to do this...
@SideOnly(Side.CLIENT)
private class RenderBlocksVoidstone extends RenderBlocksCTM {
private static class RenderBlocksVoidstone extends RenderBlocksCTM {
@Override
public void renderFaceXNeg(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceXNeg(block, x, y, z, icon);
renderMinX += 0.001;
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.WEST.ordinal()));
super.renderFaceXNeg(block, x, y, z, null);
clearOverrideBlockTexture();
super.renderFaceXNeg(block, x, y, z, icon);
}
@Override
public void renderFaceXPos(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceXPos(block, x, y, z, icon);
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.EAST.ordinal()));
renderMaxX -= 0.001;
super.renderFaceXPos(block, x, y, z, null);
clearOverrideBlockTexture();
super.renderFaceXPos(block, x, y, z, icon);
}
@Override
public void renderFaceYNeg(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceYNeg(block, x, y, z, icon);
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.DOWN.ordinal()));
renderMinY += 0.001;
super.renderFaceYNeg(block, x, y, z, null);
clearOverrideBlockTexture();
super.renderFaceYNeg(block, x, y, z, icon);
}
@Override
public void renderFaceYPos(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceYPos(block, x, y, z, icon);
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.UP.ordinal()));
renderMaxY -= 0.001;
super.renderFaceYPos(block, x, y, z, null);
clearOverrideBlockTexture();
super.renderFaceYPos(block, x, y, z, icon);
}
@Override
public void renderFaceZNeg(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceZNeg(block, x, y, z, icon);
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.NORTH.ordinal()));
renderMinZ += 0.001;
super.renderFaceZNeg(block, x, y, z, null);
clearOverrideBlockTexture();
super.renderFaceZNeg(block, x, y, z, icon);
}
@Override
public void renderFaceZPos(Block block, double x, double y, double z, IIcon icon) {
super.renderFaceZPos(block, x, y, z, icon);
setOverrideBlockTexture(getBase(x, y, z, ForgeDirection.SOUTH.ordinal()));
renderMaxZ -= 0.001;
super.renderFaceZPos(block, x, y, z, null);
clearOverrideBlockTexture();
super.renderFaceZPos(block, x, y, z, icon);
}
private IIcon getBase(double x, double y, double z, int side) {
return TextureType.getVIcon(
TextureType.V4,
base,
MathHelper.floor_double(x),
MathHelper.floor_double(y),
MathHelper.floor_double(z),
side);
}
}
@SideOnly(Side.CLIENT)
private RenderBlocksVoidstone rb;
private static final ThreadLocal<RenderBlocksVoidstone> renderBlocksThreadLocal = FMLLaunchHandler.side()
.isClient() ? ThreadLocal.withInitial(RenderBlocksVoidstone::new) : null;
private ISubmapManager overlay;
private TextureSubmap base;
private static TextureSubmap base;
private IIcon getBase(double x, double y, double z, int side) {
return TextureType.getVIcon(
TextureType.V4,
base,
MathHelper.floor_double(x),
MathHelper.floor_double(y),
MathHelper.floor_double(z),
side);
}
private String texture;
private int meta;
private final String texture;
private final int meta;
public SubmapManagerVoidstone(String texture, int meta) {
this.texture = texture;
@@ -123,15 +124,18 @@ public class SubmapManagerVoidstone extends SubmapManagerBase {
@Override
@SideOnly(Side.CLIENT)
public RenderBlocks createRenderContext(RenderBlocks rendererOld, Block block, IBlockAccess world) {
if (rb == null) {
rb = new RenderBlocksVoidstone();
}
RenderBlocksVoidstone rb = renderBlocksThreadLocal.get();
RenderBlocks ctx = overlay.createRenderContext(rendererOld, block, world);
rb.setRenderBoundsFromBlock(block);
if (ctx instanceof RenderBlocksCTM) {
rb.submap = ((RenderBlocksCTM) ctx).submap;
rb.submapSmall = ((RenderBlocksCTM) ctx).submapSmall;
} else {
rb.submap = null;
rb.submapSmall = null;
}
return rb;
}
}
@@ -26,7 +26,7 @@ public class RenderCarvableBeacon extends TileEntityBeaconRenderer implements IS
private static final ResourceLocation texture = new ResourceLocation("textures/entity/beacon_beam.png");
private int renderId;
private final int renderId;
public RenderCarvableBeacon() {
this.renderId = RenderingRegistry.getNextAvailableRenderId();
@@ -25,6 +25,7 @@ public class NEIChiselConfig implements IConfigureNEI {
API.hideItem(new ItemStack(GameRegistry.findBlock("chisel", "limestone_slab_top")));
API.hideItem(new ItemStack(GameRegistry.findBlock("chisel", "marble_slab_top")));
API.hideItem(new ItemStack(GameRegistry.findBlock("chisel", "marble_pillar_slab_top")));
API.hideItem(new ItemStack(GameRegistry.findBlock("chisel", "concrete_slab_top")));
RecipeHandlerChisel handler = new RecipeHandlerChisel();
API.registerRecipeHandler(handler);
@@ -2,6 +2,7 @@ package team.chisel.ctmlib;
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.multiplayer.WorldClient;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.crash.CrashReport;
import net.minecraft.crash.CrashReportCategory;
@@ -27,30 +28,41 @@ public class CTMRenderer implements ISimpleBlockRenderingHandler {
@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();
final WorldClient world = Minecraft.getMinecraft().theWorld;
final RenderBlocks rb = getContext(renderer, block, world, ((ICTMBlock<?>) block).getManager(metadata));
boolean clean = false;
if (rb.blockAccess == null) {
rb.blockAccess = world;
clean = true;
}
try {
Drawing.drawBlock(block, metadata, rb);
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
rb.unlockBlockBounds();
} finally {
if (clean) rb.blockAccess = null;
}
}
@Override
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId,
RenderBlocks rendererOld) {
RenderBlocks renderer) {
final int meta = world.getBlockMetadata(x, y, z);
final RenderBlocks rb = getContext(
renderer,
block,
world,
((ICTMBlock<?>) block).getManager(world, x, y, z, meta));
boolean clean = false;
if (rb.blockAccess == null) {
rb.blockAccess = world;
clean = true;
}
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 = renderer.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");
@@ -58,15 +70,15 @@ public class CTMRenderer implements ISimpleBlockRenderingHandler {
crashreportcategory.addCrashSection("Block name", GameRegistry.findUniqueIdentifierFor(block));
crashreportcategory.addCrashSection("Block metadata", world.getBlockMetadata(x, y, z));
throw new ReportedException(crashreport);
} finally {
if (clean) rb.blockAccess = null;
}
}
protected RenderBlocks getContext(RenderBlocks rendererOld, Block block, IBlockAccess world, ISubmapManager manager,
int meta) {
private RenderBlocks getContext(RenderBlocks rendererOld, Block block, IBlockAccess world, ISubmapManager manager) {
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,
@@ -76,10 +88,8 @@ public class CTMRenderer implements ISimpleBlockRenderingHandler {
rendererOld.renderMaxY,
rendererOld.renderMaxZ);
}
if (rb instanceof RenderBlocksCTM) {
RenderBlocksCTM rbctm = (RenderBlocksCTM) rb;
if (rb instanceof RenderBlocksCTM rbctm) {
rbctm.manager = rbctm.manager == null ? manager : rbctm.manager;
rbctm.rendererOld = rbctm.rendererOld == null ? rendererOld : rbctm.rendererOld;
}
return rb;
}
@@ -102,16 +102,14 @@ public class RenderBlocksCTM extends RenderBlocks {
XZ_HALF_Y(0.5, 1, 0.5);
// @formatter:on
private double x, y, z;
private final double x, y, z;
private Vert(double x, double y, double z) {
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;
@@ -120,12 +118,15 @@ public class RenderBlocksCTM extends RenderBlocks {
tessellator.setBrightness(inst.lightingCache[cacheID]);
}
u = cacheID == 1 || cacheID == 2 ? inst.maxU : inst.minU;
v = cacheID < 2 ? inst.maxV : inst.minV;
double u = cacheID == 1 || cacheID == 2 ? inst.maxU : inst.minU;
double v = cacheID < 2 ? inst.maxV : inst.minV;
uDiff = inst.maxU - inst.minU;
vDiff = inst.maxV - inst.minV;
double uDiff = inst.maxU - inst.minU;
double vDiff = inst.maxV - inst.minV;
double xDiff;
double yDiff;
double zDiff;
if (inst.renderMinX + inst.renderMinY + inst.renderMinZ != 0
|| inst.renderMaxX + inst.renderMaxY + inst.renderMaxZ != 3) {
boolean uMin = u == inst.minU;
@@ -178,8 +179,8 @@ public class RenderBlocksCTM extends RenderBlocks {
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;
private final Vert xmin, xmax, ymin, ymax;
private final ForgeDirection normal;
SubSide(Vert xmin, Vert ymin, Vert ymax, Vert xmax) {
this.xmin = xmin;
@@ -234,7 +235,6 @@ public class RenderBlocksCTM extends RenderBlocks {
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];
@@ -257,9 +257,6 @@ public class RenderBlocksCTM extends RenderBlocks {
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;
@@ -361,6 +358,61 @@ public class RenderBlocksCTM extends RenderBlocks {
protected void side(Block block, SubSide side, int iconIndex) {
// If we have an overridden texture when we're supposed to render a CTM texture,
// we'll treat it as a normal block texture but still render it the CTM way: quarter of a texture at a time.
// This way has one benefit: if an overridden texture is a base block texture and a CTM texture (that is being
// rendered next) is an overlay texture above the base, we're avoiding any z-fighting issues because we
// create identical vertices and now only order of rendering dictates which texture will be rendered above
if (hasOverrideBlockTexture()) {
IIcon icon = overrideBlockTexture;
double u0 = icon.getMinU();
double u1 = icon.getMaxU();
double v0 = icon.getMinV();
double v1 = icon.getMaxV();
double uMid = (u0 + u1) / 2;
double vMid = (v0 + v1) / 2;
// Map all LB-style subsides to bottom-left quarter, RB to bottom-right, RT to top-right, LT to top-left
switch (side) {
// bottom-left quarter
case XNEG_LB, XPOS_LB, YNEG_LB, YPOS_LB, ZNEG_LB, ZPOS_LB -> {
minU = u0;
maxU = uMid;
minV = vMid;
maxV = v1;
}
// bottom-right quarter
case XNEG_RB, XPOS_RB, YNEG_RB, YPOS_RB, ZNEG_RB, ZPOS_RB -> {
minU = uMid;
maxU = u1;
minV = vMid;
maxV = v1;
}
// top-right quarter
case XNEG_RT, XPOS_RT, YNEG_RT, YPOS_RT, ZNEG_RT, ZPOS_RT -> {
minU = uMid;
maxU = u1;
minV = v0;
maxV = vMid;
}
// top-left quarter
case XNEG_LT, XPOS_LT, YNEG_LT, YPOS_LT, ZNEG_LT, ZPOS_LT -> {
minU = u0;
maxU = uMid;
minV = v0;
maxV = vMid;
}
}
side.render(this);
return;
}
IIcon icon;
TextureSubmap map;
if (iconIndex >= 16) {
@@ -378,25 +430,10 @@ public class RenderBlocksCTM extends RenderBlocks {
icon = map.getSubIcon(x, y);
}
double umax = icon.getMaxU();
double umin = icon.getMinU();
double vmax = icon.getMaxV();
double vmin = icon.getMinV();
minU = umin;
maxU = umax;
minV = vmin;
maxV = vmax;
// uCache[0] = umin;
// uCache[1] = umax;
// uCache[2] = umax;
// uCache[3] = umin;
//
// vCache[0] = vmax;
// vCache[1] = vmax;
// vCache[2] = vmin;
// vCache[3] = vmin;
minU = icon.getMinU();
maxU = icon.getMaxU();
minV = icon.getMinV();
maxV = icon.getMaxV();
side.render(this);
}
@@ -404,10 +441,10 @@ public class RenderBlocksCTM extends RenderBlocks {
@Override
public void renderFaceXNeg(Block block, double x, double y, double z, IIcon icon) {
pre(ForgeDirection.WEST);
if (!inWorld || hasOverrideBlockTexture() || submap == null) {
if (!inWorld || submap == null) {
super.renderFaceXNeg(block, 0, 0, 0, icon);
} else {
int tex[] = ctm.getSubmapIndices(blockAccess, bx, by, bz, 4);
int[] tex = ctm.getSubmapIndices(blockAccess, bx, by, bz, 4);
fillLightmap(brightnessBottomRight, brightnessTopRight, brightnessTopLeft, brightnessBottomLeft);
fillColormap(colorRedBottomRight, colorRedTopRight, colorRedTopLeft, colorRedBottomLeft, redmap);
@@ -429,10 +466,10 @@ public class RenderBlocksCTM extends RenderBlocks {
@Override
public void renderFaceXPos(Block block, double x, double y, double z, IIcon icon) {
pre(ForgeDirection.EAST);
if (!inWorld || hasOverrideBlockTexture() || submap == null) {
if (!inWorld || submap == null) {
super.renderFaceXPos(block, 0, 0, 0, icon);
} else {
int tex[] = ctm.getSubmapIndices(blockAccess, bx, by, bz, 5);
int[] tex = ctm.getSubmapIndices(blockAccess, bx, by, bz, 5);
fillLightmap(brightnessTopLeft, brightnessBottomLeft, brightnessBottomRight, brightnessTopRight);
fillColormap(colorRedTopLeft, colorRedBottomLeft, colorRedBottomRight, colorRedTopRight, redmap);
@@ -454,10 +491,10 @@ public class RenderBlocksCTM extends RenderBlocks {
@Override
public void renderFaceZNeg(Block block, double x, double y, double z, IIcon icon) {
pre(ForgeDirection.NORTH);
if (!inWorld || hasOverrideBlockTexture() || submap == null) {
if (!inWorld || submap == null) {
super.renderFaceZNeg(block, 0, 0, 0, icon);
} else {
int tex[] = ctm.getSubmapIndices(blockAccess, bx, by, bz, 2);
int[] tex = ctm.getSubmapIndices(blockAccess, bx, by, bz, 2);
fillLightmap(brightnessBottomRight, brightnessTopRight, brightnessTopLeft, brightnessBottomLeft);
fillColormap(colorRedBottomRight, colorRedTopRight, colorRedTopLeft, colorRedBottomLeft, redmap);
@@ -479,10 +516,10 @@ public class RenderBlocksCTM extends RenderBlocks {
@Override
public void renderFaceZPos(Block block, double x, double y, double z, IIcon icon) {
pre(ForgeDirection.SOUTH);
if (!inWorld || hasOverrideBlockTexture() || submap == null) {
if (!inWorld || submap == null) {
super.renderFaceZPos(block, 0, 0, 0, icon);
} else {
int tex[] = ctm.getSubmapIndices(blockAccess, bx, by, bz, 3);
int[] tex = ctm.getSubmapIndices(blockAccess, bx, by, bz, 3);
fillLightmap(brightnessBottomLeft, brightnessBottomRight, brightnessTopRight, brightnessTopLeft);
fillColormap(colorRedBottomLeft, colorRedBottomRight, colorRedTopRight, colorRedTopLeft, redmap);
@@ -504,10 +541,10 @@ public class RenderBlocksCTM extends RenderBlocks {
@Override
public void renderFaceYNeg(Block block, double x, double y, double z, IIcon icon) {
pre(ForgeDirection.DOWN);
if (!inWorld || hasOverrideBlockTexture() || submap == null) {
if (!inWorld || submap == null) {
super.renderFaceYNeg(block, 0, 0, 0, icon);
} else {
int tex[] = ctm.getSubmapIndices(blockAccess, bx, by, bz, 0);
int[] tex = ctm.getSubmapIndices(blockAccess, bx, by, bz, 0);
fillLightmap(brightnessBottomLeft, brightnessBottomRight, brightnessTopRight, brightnessTopLeft);
fillColormap(colorRedBottomLeft, colorRedBottomRight, colorRedTopRight, colorRedTopLeft, redmap);
@@ -529,10 +566,10 @@ public class RenderBlocksCTM extends RenderBlocks {
@Override
public void renderFaceYPos(Block block, double x, double y, double z, IIcon icon) {
pre(ForgeDirection.UP);
if (!inWorld || hasOverrideBlockTexture() || submap == null) {
if (!inWorld || submap == null) {
super.renderFaceYPos(block, 0, 0, 0, icon);
} else {
int tex[] = ctm.getSubmapIndices(blockAccess, bx, by, bz, 1);
int[] tex = ctm.getSubmapIndices(blockAccess, bx, by, bz, 1);
fillLightmap(brightnessTopRight, brightnessTopLeft, brightnessBottomLeft, brightnessBottomRight);
fillColormap(colorRedTopRight, colorRedTopLeft, colorRedBottomLeft, colorRedBottomRight, redmap);
@@ -16,8 +16,8 @@ public class RenderBlocksColumn extends RenderBlocks {
public IIcon iconTop;
private boolean inWorld;
private IIcon sides[] = new IIcon[6];
private CTM ctm = CTM.getInstance();
private final IIcon[] sides = new IIcon[6];
private final CTM ctm = CTM.getInstance();
public RenderBlocksColumn() {
super();
@@ -7,6 +7,8 @@ import team.chisel.Chisel;
import team.chisel.block.BlockCarvable;
import team.chisel.block.BlockCarvableBeacon;
import team.chisel.block.BlockCarvableCarpet;
import team.chisel.block.BlockCarvableConcreteSlab;
import team.chisel.block.BlockCarvableConcreteStairs;
import team.chisel.block.BlockCarvableGlass;
import team.chisel.block.BlockCarvableGlowstone;
import team.chisel.block.BlockCarvableIce;
@@ -53,6 +55,7 @@ public final class ChiselBlocks {
public static final BlockCarvable sandstone = null;
public static final BlockCarvable sandstone_scribbles = null;
public static final BlockConcrete concrete = null;
public static final BlockCarvableConcreteSlab concrete_slab = null;
public static final BlockRoadLine road_line = null;
public static final BlockCarvable iron_block = null;
public static final BlockCarvable gold_block = null;
@@ -65,6 +68,7 @@ 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;
@@ -146,10 +150,13 @@ public final class ChiselBlocks {
public static BlockCarvableStairs[] limestoneStairs = new BlockCarvableStairs[8];
public static BlockCarvableIceStairs[] iceStairs = new BlockCarvableIceStairs[8];
public static BlockCarvablePackedIceStairs[] packediceStairs = new BlockCarvablePackedIceStairs[8];
public static BlockCarvableConcreteStairs[] concreteStairs = new BlockCarvableConcreteStairs[6];
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];
@@ -167,5 +174,28 @@ 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;
// Backports from Dustrial Decor. Original artists are WDSPC and Evo_94!
public static final BlockCarvable lantern = null;
public static final BlockCarvable sheetmetal = null;
// June Additions
public static final BlockCarvable moss = null;
public static final BlockCarvableCarpet moss_carpet = null;
public static final BlockCarvable cobalt = null;
public static final BlockCarvable electrum = null;
public static final BlockCarvable invar = null;
public static final BlockCarvable nickel = null;
public static final BlockCarvable platinum = null;
public static final BlockCarvable wrought_iron = null;
public static final BlockCarvable stainless_steel = null;
public static final BlockCarvable titanium = null;
public static final BlockCarvable tungstensteel = null;
public static final BlockCarvable rpp = null;
public static final BlockCarvable iridium = null;
public static final BlockCarvable osmium = null;
private ChiselBlocks() {}
}
@@ -96,6 +96,7 @@ public class ContainerChisel extends Container {
itemstack = itemstack1.copy();
if (slotIdx > InventoryChiselSelection.normalSlots) {
// clicked in player inventory
if (!this.mergeItemStack(
itemstack1,
InventoryChiselSelection.normalSlots,
@@ -104,10 +105,13 @@ public class ContainerChisel extends Container {
return null;
}
} else {
entity.inventory.setItemStack(itemstack1.copy());
slot.onPickupFromSlot(entity, itemstack1);
itemstack1 = entity.inventory.getItemStack();
entity.inventory.setItemStack(null);
// 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);
}
if (!this.mergeItemStack(
itemstack1,
@@ -115,6 +119,10 @@ public class ContainerChisel extends Container {
InventoryChiselSelection.normalSlots + 1 + 36,
false)) {
entity.inventory.setItemStack(itemstack1);
if (slotIdx == InventoryChiselSelection.normalSlots) {
slot.onPickupFromSlot(entity, itemstack1);
slot.putStack(null);
}
return null;
}
}
@@ -152,13 +160,13 @@ public class ContainerChisel extends Container {
}
public void onChiselSlotChanged() {
ItemStack stack = playerInventory.mainInventory[chiselSlot];
ItemStack stack = playerInventory.getStackInSlot(chiselSlot);
if (stack == null || !stack.isItemEqual(chisel)) finished = true;
if (finished) return;
General.setChiselTarget(chisel, inventory.getStackInSpecialSlot());
playerInventory.mainInventory[chiselSlot] = chisel;
playerInventory.setInventorySlotContents(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.inventory.mainInventory[player.inventory.currentItem] = null;
player.setCurrentItemOrArmor(0, null);
}
}
@@ -11,14 +11,12 @@ import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.common.util.ForgeDirection;
import net.minecraftforge.event.entity.player.PlayerInteractEvent;
import net.minecraftforge.event.world.BlockEvent;
import net.minecraftforge.event.world.WorldEvent;
import net.minecraftforge.oredict.OreDictionary;
import com.cricketcraft.chisel.api.IChiselItem;
import com.cricketcraft.chisel.api.carving.ICarvingGroup;
import com.cricketcraft.chisel.api.carving.ICarvingVariation;
import com.cricketcraft.chisel.api.carving.IChiselMode;
import com.cricketcraft.chisel.api.rendering.TextureType;
import com.google.common.collect.Queues;
import cpw.mods.fml.common.FMLCommonHandler;
@@ -33,11 +31,10 @@ public final class ChiselController {
protected static class GuiOpen implements Runnable {
private EntityPlayer player;
private ItemStack stack;
private final EntityPlayer player;
private final ItemStack stack;
public GuiOpen(EntityPlayer player, ItemStack stack) {
super();
this.player = player;
this.stack = stack;
}
@@ -55,7 +52,7 @@ public final class ChiselController {
public static final ChiselController INSTANCE = new ChiselController();
Queue<GuiOpen> openQueue = Queues.newArrayDeque();
final Queue<GuiOpen> openQueue = Queues.newArrayDeque();
private ChiselController() {}
@@ -163,11 +160,4 @@ public final class ChiselController {
}
}
@SubscribeEvent
public void onWorldUnload(WorldEvent.Unload event) {
if (event.world.isRemote) {
TextureType.clearStatics();
}
}
}
@@ -121,7 +121,7 @@ public enum ChiselMode implements IChiselMode {
player.getCurrentEquippedItem()
.damageItem(1, player);
if (player.getCurrentEquippedItem().stackSize <= 0) {
player.inventory.mainInventory[player.inventory.currentItem] = null;
player.setCurrentItemOrArmor(0, null);
breakChisel = true;
}
}
@@ -14,7 +14,6 @@ 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;
@@ -52,6 +51,7 @@ public class ItemChisel extends Item implements IChiselItem {
super();
this.type = type;
setMaxStackSize(1);
setMaxDamage(Configurations.allowChiselDamage ? type.maxDamage : 0);
setTextureName(
Chisel.MOD_ID + ":chisel_"
+ type.name()
@@ -68,13 +68,6 @@ public class ItemChisel extends Item implements IChiselItem {
+ type.name()
.toLowerCase());
}
MinecraftForge.EVENT_BUS.register(this);
}
@Override
public int getMaxDamage(ItemStack stack) {
if (Configurations.allowChiselDamage) return type.maxDamage;
return 0;
}
@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=Thaumium Block
tile.chisel.thaumium.name=Block of Thaumium
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=Diamond Block
tile.chisel.diamond_block.name=Block of Diamond
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=Iron Block
tile.chisel.iron_block.name=Block of Iron
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=Gold Block
tile.chisel.gold_block.name=Block of Gold
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 Block
tile.chisel.lapis_block.name=Lapis Lazuli 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=Emerald Block
tile.chisel.emerald_block.name=Block of Emerald
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=Redstone Block
tile.chisel.redstone_block.name=Block of Redstone
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
File diff suppressed because it is too large. Load diff
@@ -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.0 MiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 869 B

After

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 834 B

After

Width:  |  Height:  |  Size: 775 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 904 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 566 B

After

Width:  |  Height:  |  Size: 562 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 682 B

After

Width:  |  Height:  |  Size: 680 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 850 B

After

Width:  |  Height:  |  Size: 842 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 KiB

After

Width:  |  Height:  |  Size: 244 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 B

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

After

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 B

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

After

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

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