mirror of
https://github.com/GTNewHorizons/ForgeRelocation.git
synced 2026-11-13 17:04:06 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b34a69e2b | ||
|
|
582ed32314 | ||
|
|
f1324c86be |
No files matched your search
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
dependencies {
|
dependencies {
|
||||||
api 'com.github.GTNewHorizons:MrTJPCore:1.2.0:dev'
|
api 'com.github.GTNewHorizons:MrTJPCore:1.3.0:dev'
|
||||||
}
|
}
|
||||||
+12
-1
@@ -85,6 +85,11 @@ accessTransformersFile =
|
|||||||
# Provides setup for Mixins if enabled. If you don't know what mixins are: Keep it disabled!
|
# Provides setup for Mixins if enabled. If you don't know what mixins are: Keep it disabled!
|
||||||
usesMixins = false
|
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.
|
# Adds some debug arguments like verbose output and class export.
|
||||||
usesMixinDebug = false
|
usesMixinDebug = false
|
||||||
|
|
||||||
@@ -117,9 +122,15 @@ minimizeShadowedDependencies = true
|
|||||||
# If disabled, won't rename the shadowed classes.
|
# If disabled, won't rename the shadowed classes.
|
||||||
relocateShadowedDependencies = true
|
relocateShadowedDependencies = true
|
||||||
|
|
||||||
# Adds the GTNH maven, CurseMaven, Modrinth, and some more well-known 1.7.10 repositories.
|
# Adds CurseMaven, Modrinth, and some more well-known 1.7.10 repositories.
|
||||||
includeWellKnownRepositories = true
|
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.
|
# 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.
|
# 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.
|
# If you need a more complex setup disable maven publishing here and add a publishing repository to addon.gradle.
|
||||||
|
|||||||
Vendored
BIN
Binary file not shown.
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|||||||
@@ -15,6 +15,8 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
#
|
#
|
||||||
@@ -84,7 +86,8 @@ done
|
|||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
APP_BASE_NAME=${0##*/}
|
APP_BASE_NAME=${0##*/}
|
||||||
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
# 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
|
||||||
|
' "$PWD" ) || exit
|
||||||
|
|
||||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||||
MAX_FD=maximum
|
MAX_FD=maximum
|
||||||
|
|||||||
Vendored
+2
@@ -13,6 +13,8 @@
|
|||||||
@rem See the License for the specific language governing permissions and
|
@rem See the License for the specific language governing permissions and
|
||||||
@rem limitations under the License.
|
@rem limitations under the License.
|
||||||
@rem
|
@rem
|
||||||
|
@rem SPDX-License-Identifier: Apache-2.0
|
||||||
|
@rem
|
||||||
|
|
||||||
@if "%DEBUG%"=="" @echo off
|
@if "%DEBUG%"=="" @echo off
|
||||||
@rem ##########################################################################
|
@rem ##########################################################################
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@ pluginManagement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.23'
|
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.30'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -191,9 +191,9 @@ object RenderFrame extends ISimpleBlockRenderingHandler {
|
|||||||
) {
|
) {
|
||||||
TextureUtils.bindAtlas(0)
|
TextureUtils.bindAtlas(0)
|
||||||
val state = CCRenderState.instance
|
val state = CCRenderState.instance
|
||||||
state.reset()
|
state.resetInstance()
|
||||||
state.lightMatrix.locate(w, x, y, z)
|
state.lightMatrix.locate(w, x, y, z)
|
||||||
state.setBrightness(w, x, y, z)
|
state.setBrightnessInstance(w, x, y, z)
|
||||||
|
|
||||||
if (r.hasOverrideBlockTexture) {
|
if (r.hasOverrideBlockTexture) {
|
||||||
getOrGenerateModel(0).render(
|
getOrGenerateModel(0).render(
|
||||||
@@ -206,15 +206,15 @@ object RenderFrame extends ISimpleBlockRenderingHandler {
|
|||||||
def renderInvBlock(r: RenderBlocks, meta: Int) {
|
def renderInvBlock(r: RenderBlocks, meta: Int) {
|
||||||
TextureUtils.bindAtlas(0)
|
TextureUtils.bindAtlas(0)
|
||||||
val state = CCRenderState.instance
|
val state = CCRenderState.instance
|
||||||
state.reset()
|
state.resetInstance()
|
||||||
state.setDynamic()
|
state.setDynamicInstance()
|
||||||
state.pullLightmap()
|
state.pullLightmapInstance()
|
||||||
|
|
||||||
state.startDrawing()
|
state.startDrawingInstance()
|
||||||
RenderFrame.render(new Vector3(-0.5, -0.5, -0.5), 0)
|
RenderFrame.render(new Vector3(-0.5, -0.5, -0.5), 0)
|
||||||
|
|
||||||
state.render()
|
state.renderInstance()
|
||||||
state.draw()
|
state.drawInstance()
|
||||||
}
|
}
|
||||||
|
|
||||||
def registerIcons(reg: IIconRegister) {
|
def registerIcons(reg: IIconRegister) {
|
||||||
|
|||||||
Reference in new issue
Block a user