straight track + initial commit
This commit is contained in:
5
.gitattributes
vendored
Normal file
5
.gitattributes
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# Disable autocrlf on generated files, they always generate with LF
|
||||
# Add any extra files or paths here to make git stop saying they
|
||||
# are changed when only line endings change.
|
||||
src/generated/**/.cache/cache text eol=lf
|
||||
src/generated/**/*.json text eol=lf
|
||||
22
.gitignore
vendored
22
.gitignore
vendored
@@ -41,6 +41,28 @@
|
||||
# *.iml
|
||||
# *.ipr
|
||||
|
||||
bin
|
||||
*.launch
|
||||
.settings
|
||||
.metadata
|
||||
.classpath
|
||||
.project
|
||||
|
||||
# idea
|
||||
out
|
||||
*.ipr
|
||||
*.iws
|
||||
*.iml
|
||||
.idea
|
||||
|
||||
# gradle
|
||||
build
|
||||
.gradle
|
||||
|
||||
# other
|
||||
eclipse
|
||||
run
|
||||
|
||||
# CMake
|
||||
cmake-build-*/
|
||||
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
# Steampowered
|
||||
|
||||
Minecraft Train Mod
|
||||
Steampowered is a Mod for Minecraft Forge 1.16.5+ about steam powered vehicles\
|
||||
Developed by Halbear1
|
||||
|
||||
### Usage in modpacks
|
||||
This mod is free to use in Halbear.net, Modrinth or Curseforge hosted modpacks and servers as long as has appropriate content and follows mojangs EULA and guidelines
|
||||
### Re-uploading
|
||||
the mod is not permitted to be reuploaded unless explicitly part of a Halbear.net, Modrinth or Curseforge hosted modpack, if you want to modify the mod and publish a branch please request permission to do so
|
||||
### do NOT download this mod from 9Minecraft.net or planet minecraft if you see it hosted there, it is not an official version and may contain malware, this mod will exclusively be available on Halbear.net, Modrinth and curseforge
|
||||
195
build.gradle
Normal file
195
build.gradle
Normal file
@@ -0,0 +1,195 @@
|
||||
plugins {
|
||||
id 'eclipse'
|
||||
id 'idea'
|
||||
id 'maven-publish'
|
||||
id 'net.minecraftforge.gradle' version '[6.0,6.2)'
|
||||
}
|
||||
|
||||
version = mod_version
|
||||
group = mod_group_id
|
||||
|
||||
base {
|
||||
archivesName = mod_id
|
||||
}
|
||||
|
||||
// Mojang ships Java 17 to end users in 1.18+, so your mod should target Java 17.
|
||||
java.toolchain.languageVersion = JavaLanguageVersion.of(8)
|
||||
|
||||
println "Java: ${System.getProperty 'java.version'}, JVM: ${System.getProperty 'java.vm.version'} (${System.getProperty 'java.vendor'}), Arch: ${System.getProperty 'os.arch'}"
|
||||
minecraft {
|
||||
// The mappings can be changed at any time and must be in the following format.
|
||||
// Channel: Version:
|
||||
// official MCVersion Official field/method names from Mojang mapping files
|
||||
// parchment YYYY.MM.DD-MCVersion Open community-sourced parameter names and javadocs layered on top of official
|
||||
//
|
||||
// You must be aware of the Mojang license when using the 'official' or 'parchment' mappings.
|
||||
// See more information here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md
|
||||
//
|
||||
// Parchment is an unofficial project maintained by ParchmentMC, separate from MinecraftForge
|
||||
// Additional setup is needed to use their mappings: https://github.com/ParchmentMC/Parchment/wiki/Getting-Started
|
||||
//
|
||||
// Use non-default mappings at your own risk. They may not always work.
|
||||
// Simply re-run your setup task after changing the mappings to update your workspace.
|
||||
mappings channel: mapping_channel, version: mapping_version
|
||||
|
||||
// When true, this property will have all Eclipse/IntelliJ IDEA run configurations run the "prepareX" task for the given run configuration before launching the game.
|
||||
// In most cases, it is not necessary to enable.
|
||||
// enableEclipsePrepareRuns = true
|
||||
// enableIdeaPrepareRuns = true
|
||||
|
||||
// This property allows configuring Gradle's ProcessResources task(s) to run on IDE output locations before launching the game.
|
||||
// It is REQUIRED to be set to true for this template to function.
|
||||
// See https://docs.gradle.org/current/dsl/org.gradle.language.jvm.tasks.ProcessResources.html
|
||||
copyIdeResources = true
|
||||
|
||||
// When true, this property will add the folder name of all declared run configurations to generated IDE run configurations.
|
||||
// The folder name can be set on a run configuration using the "folderName" property.
|
||||
// By default, the folder name of a run configuration is the name of the Gradle project containing it.
|
||||
// generateRunFolders = true
|
||||
|
||||
// This property enables access transformers for use in development.
|
||||
// They will be applied to the Minecraft artifact.
|
||||
// The access transformer file can be anywhere in the project.
|
||||
// However, it must be at "META-INF/accesstransformer.cfg" in the final mod jar to be loaded by Forge.
|
||||
// This default location is a best practice to automatically put the file in the right place in the final jar.
|
||||
// See https://docs.minecraftforge.net/en/latest/advanced/accesstransformers/ for more information.
|
||||
// accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
|
||||
|
||||
// Default run configurations.
|
||||
// These can be tweaked, removed, or duplicated as needed.
|
||||
runs {
|
||||
// applies to all the run configs below
|
||||
configureEach {
|
||||
workingDirectory project.file('run')
|
||||
|
||||
// Recommended logging data for a userdev environment
|
||||
// The markers can be added/remove as needed separated by commas.
|
||||
// "SCAN": For mods scan.
|
||||
// "REGISTRIES": For firing of registry events.
|
||||
// "REGISTRYDUMP": For getting the contents of all registries.
|
||||
property 'forge.logging.markers', 'REGISTRIES'
|
||||
|
||||
// Recommended logging level for the console
|
||||
// You can set various levels here.
|
||||
// Please read: https://stackoverflow.com/questions/2031163/when-to-use-the-different-log-levels
|
||||
property 'forge.logging.console.level', 'debug'
|
||||
|
||||
mods {
|
||||
"${mod_id}" {
|
||||
source sourceSets.main
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
client {
|
||||
// this block needs to be here for runClient to exist
|
||||
}
|
||||
|
||||
server {
|
||||
args '--nogui'
|
||||
}
|
||||
|
||||
data {
|
||||
// example of overriding the workingDirectory set in configureEach above
|
||||
workingDirectory project.file('run-data')
|
||||
|
||||
// Specify the modid for data generation, where to output the resulting resource, and where to look for existing resources.
|
||||
args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Include resources generated by data generators.
|
||||
sourceSets.main.resources { srcDir 'src/generated/resources' }
|
||||
|
||||
repositories {
|
||||
// Put repositories for dependencies here
|
||||
// ForgeGradle automatically adds the Forge maven and Maven Central for you
|
||||
|
||||
// If you have mod jar dependencies in ./libs, you can declare them as a repository like so:
|
||||
// flatDir {
|
||||
// dir 'libs'
|
||||
// }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// Specify the version of Minecraft to use.
|
||||
// Any artifact can be supplied so long as it has a "userdev" classifier artifact and is a compatible patcher artifact.
|
||||
// The "userdev" classifier will be requested and setup by ForgeGradle.
|
||||
// If the group id is "net.minecraft" and the artifact id is one of ["client", "server", "joined"],
|
||||
// then special handling is done to allow a setup of a vanilla dependency without the use of an external repository.
|
||||
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
|
||||
|
||||
// Real mod deobf dependency examples - these get remapped to your current mappings
|
||||
// compileOnly fg.deobf("mezz.jei:jei-${mc_version}:${jei_version}:api") // Adds JEI API as a compile dependency
|
||||
// runtimeOnly fg.deobf("mezz.jei:jei-${mc_version}:${jei_version}") // Adds the full JEI mod as a runtime dependency
|
||||
// implementation fg.deobf("com.tterrag.registrate:Registrate:MC${mc_version}-${registrate_version}") // Adds registrate as a dependency
|
||||
|
||||
// Example mod dependency using a mod jar from ./libs with a flat dir repository
|
||||
// This maps to ./libs/coolmod-${mc_version}-${coolmod_version}.jar
|
||||
// The group id is ignored when searching -- in this case, it is "blank"
|
||||
// implementation fg.deobf("blank:coolmod-${mc_version}:${coolmod_version}")
|
||||
|
||||
// For more info:
|
||||
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
|
||||
// http://www.gradle.org/docs/current/userguide/dependency_management.html
|
||||
}
|
||||
|
||||
// This block of code expands all declared replace properties in the specified resource targets.
|
||||
// A missing property will result in an error. Properties are expanded using ${} Groovy notation.
|
||||
// When "copyIdeResources" is enabled, this will also run before the game launches in IDE environments.
|
||||
// See https://docs.gradle.org/current/dsl/org.gradle.language.jvm.tasks.ProcessResources.html
|
||||
tasks.named('processResources', ProcessResources).configure {
|
||||
var replaceProperties = [
|
||||
minecraft_version: minecraft_version, minecraft_version_range: minecraft_version_range,
|
||||
forge_version: forge_version, forge_version_range: forge_version_range,
|
||||
loader_version_range: loader_version_range,
|
||||
mod_id: mod_id, mod_name: mod_name, mod_license: mod_license, mod_version: mod_version,
|
||||
mod_authors: mod_authors, mod_description: mod_description,
|
||||
]
|
||||
inputs.properties replaceProperties
|
||||
|
||||
filesMatching(['META-INF/mods.toml', 'pack.mcmeta']) {
|
||||
expand replaceProperties + [project: project]
|
||||
}
|
||||
}
|
||||
|
||||
// Example for how to get properties into the manifest for reading at runtime.
|
||||
tasks.named('jar', Jar).configure {
|
||||
manifest {
|
||||
attributes([
|
||||
'Specification-Title' : mod_id,
|
||||
'Specification-Vendor' : mod_authors,
|
||||
'Specification-Version' : '1', // We are version 1 of ourselves
|
||||
'Implementation-Title' : project.name,
|
||||
'Implementation-Version' : project.jar.archiveVersion,
|
||||
'Implementation-Vendor' : mod_authors,
|
||||
'Implementation-Timestamp': new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
|
||||
])
|
||||
}
|
||||
|
||||
// This is the preferred method to reobfuscate your jar file
|
||||
finalizedBy 'reobfJar'
|
||||
}
|
||||
|
||||
// However if you are in a multi-project build, dev time needs unobfed jar files, so you can delay the obfuscation until publishing by doing:
|
||||
// tasks.named('publish').configure {
|
||||
// dependsOn 'reobfJar'
|
||||
// }
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
register('mavenJava', MavenPublication) {
|
||||
artifact jar
|
||||
}
|
||||
}
|
||||
repositories {
|
||||
maven {
|
||||
url "file://${project.projectDir}/mcmodsrepo"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
|
||||
}
|
||||
59
gradle.properties
Normal file
59
gradle.properties
Normal file
@@ -0,0 +1,59 @@
|
||||
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
|
||||
# This is required to provide enough memory for the Minecraft decompilation process.
|
||||
org.gradle.jvmargs=-Xmx3G
|
||||
org.gradle.daemon=false
|
||||
|
||||
|
||||
## Environment Properties
|
||||
|
||||
# The Minecraft version must agree with the Forge version to get a valid artifact
|
||||
minecraft_version=1.16.5
|
||||
# The Minecraft version range can use any release version of Minecraft as bounds.
|
||||
# Snapshots, pre-releases, and release candidates are not guaranteed to sort properly
|
||||
# as they do not follow standard versioning conventions.
|
||||
minecraft_version_range=[1.16.5,1.17)
|
||||
# The Forge version must agree with the Minecraft version to get a valid artifact
|
||||
forge_version=36.2.42
|
||||
# The Forge version range can use any version of Forge as bounds or match the loader version range
|
||||
forge_version_range=[36,)
|
||||
# The loader version range can only use the major version of Forge/FML as bounds
|
||||
loader_version_range=[36,)
|
||||
# The mapping channel to use for mappings.
|
||||
# The default set of supported mapping channels are ["official", "snapshot", "snapshot_nodoc", "stable", "stable_nodoc"].
|
||||
# Additional mapping channels can be registered through the "channelProviders" extension in a Gradle plugin.
|
||||
#
|
||||
# | Channel | Version | |
|
||||
# |-----------|----------------------|--------------------------------------------------------------------------------|
|
||||
# | official | MCVersion | Official field/method names from Mojang mapping files |
|
||||
# | parchment | YYYY.MM.DD-MCVersion | Open community-sourced parameter names and javadocs layered on top of official |
|
||||
#
|
||||
# You must be aware of the Mojang license when using the 'official' or 'parchment' mappings.
|
||||
# See more information here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md
|
||||
#
|
||||
# Parchment is an unofficial project maintained by ParchmentMC, separate from Minecraft Forge.
|
||||
# Additional setup is needed to use their mappings, see https://parchmentmc.org/docs/getting-started
|
||||
mapping_channel=official
|
||||
# The mapping version to query from the mapping channel.
|
||||
# This must match the format required by the mapping channel.
|
||||
mapping_version=1.16.5
|
||||
|
||||
|
||||
## Mod Properties
|
||||
|
||||
# The unique mod identifier for the mod. Must be lowercase in English locale. Must fit the regex [a-z][a-z0-9_]{1,63}
|
||||
# Must match the String constant located in the main mod class annotated with @Mod.
|
||||
mod_id=examplemod
|
||||
# The human-readable display name for the mod.
|
||||
mod_name=Example Mod
|
||||
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
||||
mod_license=All Rights Reserved
|
||||
# The mod version. See https://semver.org/
|
||||
mod_version=1.0.0
|
||||
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
||||
# This should match the base package used for the mod sources.
|
||||
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
mod_group_id=com.example.examplemod
|
||||
# The authors of the mod. This is a simple text string that is used for display purposes in the mod list.
|
||||
mod_authors=YourNameHere, OtherNameHere
|
||||
# The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list.
|
||||
mod_description=Example mod description.\nNewline characters can be used and will be replaced properly.
|
||||
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Normal file
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Normal file
Binary file not shown.
7
gradle/wrapper/gradle-wrapper.properties
vendored
Normal file
7
gradle/wrapper/gradle-wrapper.properties
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
249
gradlew
vendored
Normal file
249
gradlew
vendored
Normal file
@@ -0,0 +1,249 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Copyright © 2015-2021 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# https://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# Gradle start up script for POSIX generated by Gradle.
|
||||
#
|
||||
# Important for running:
|
||||
#
|
||||
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
|
||||
# noncompliant, but you have some other compliant shell such as ksh or
|
||||
# bash, then to run this script, type that shell name before the whole
|
||||
# command line, like:
|
||||
#
|
||||
# ksh Gradle
|
||||
#
|
||||
# Busybox and similar reduced shells will NOT work, because this script
|
||||
# requires all of these POSIX shell features:
|
||||
# * functions;
|
||||
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
||||
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
||||
# * compound commands having a testable exit status, especially «case»;
|
||||
# * various built-in commands including «command», «set», and «ulimit».
|
||||
#
|
||||
# Important for patching:
|
||||
#
|
||||
# (2) This script targets any POSIX shell, so it avoids extensions provided
|
||||
# by Bash, Ksh, etc; in particular arrays are avoided.
|
||||
#
|
||||
# The "traditional" practice of packing multiple parameters into a
|
||||
# space-separated string is a well documented source of bugs and security
|
||||
# problems, so this is (mostly) avoided, by progressively accumulating
|
||||
# options in "$@", and eventually passing that to Java.
|
||||
#
|
||||
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
|
||||
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
|
||||
# see the in-line comments for details.
|
||||
#
|
||||
# There are tweaks for specific operating systems such as AIX, CygWin,
|
||||
# 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
|
||||
# within the Gradle project.
|
||||
#
|
||||
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
# Attempt to set APP_HOME
|
||||
|
||||
# Resolve links: $0 may be a link
|
||||
app_path=$0
|
||||
|
||||
# Need this for daisy-chained symlinks.
|
||||
while
|
||||
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
|
||||
[ -h "$app_path" ]
|
||||
do
|
||||
ls=$( ls -ld "$app_path" )
|
||||
link=${ls#*' -> '}
|
||||
case $link in #(
|
||||
/*) app_path=$link ;; #(
|
||||
*) app_path=$APP_HOME$link ;;
|
||||
esac
|
||||
done
|
||||
|
||||
# This is normally unused
|
||||
# shellcheck disable=SC2034
|
||||
APP_BASE_NAME=${0##*/}
|
||||
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
||||
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD=maximum
|
||||
|
||||
warn () {
|
||||
echo "$*"
|
||||
} >&2
|
||||
|
||||
die () {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
} >&2
|
||||
|
||||
# OS specific support (must be 'true' or 'false').
|
||||
cygwin=false
|
||||
msys=false
|
||||
darwin=false
|
||||
nonstop=false
|
||||
case "$( uname )" in #(
|
||||
CYGWIN* ) cygwin=true ;; #(
|
||||
Darwin* ) darwin=true ;; #(
|
||||
MSYS* | MINGW* ) msys=true ;; #(
|
||||
NONSTOP* ) nonstop=true ;;
|
||||
esac
|
||||
|
||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
# IBM's JDK on AIX uses strange locations for the executables
|
||||
JAVACMD=$JAVA_HOME/jre/sh/java
|
||||
else
|
||||
JAVACMD=$JAVA_HOME/bin/java
|
||||
fi
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
else
|
||||
JAVACMD=java
|
||||
if ! command -v java >/dev/null 2>&1
|
||||
then
|
||||
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
fi
|
||||
|
||||
# Increase the maximum file descriptors if we can.
|
||||
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
||||
case $MAX_FD in #(
|
||||
max*)
|
||||
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
|
||||
# shellcheck disable=SC2039,SC3045
|
||||
MAX_FD=$( ulimit -H -n ) ||
|
||||
warn "Could not query maximum file descriptor limit"
|
||||
esac
|
||||
case $MAX_FD in #(
|
||||
'' | soft) :;; #(
|
||||
*)
|
||||
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
|
||||
# shellcheck disable=SC2039,SC3045
|
||||
ulimit -n "$MAX_FD" ||
|
||||
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
||||
esac
|
||||
fi
|
||||
|
||||
# Collect all arguments for the java command, stacking in reverse order:
|
||||
# * args from the command line
|
||||
# * the main class name
|
||||
# * -classpath
|
||||
# * -D...appname settings
|
||||
# * --module-path (only if needed)
|
||||
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
|
||||
|
||||
# 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" )
|
||||
|
||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||
for arg do
|
||||
if
|
||||
case $arg in #(
|
||||
-*) false ;; # don't mess with options #(
|
||||
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
|
||||
[ -e "$t" ] ;; #(
|
||||
*) false ;;
|
||||
esac
|
||||
then
|
||||
arg=$( cygpath --path --ignore --mixed "$arg" )
|
||||
fi
|
||||
# Roll the args list around exactly as many times as the number of
|
||||
# args, so each arg winds up back in the position where it started, but
|
||||
# possibly modified.
|
||||
#
|
||||
# NB: a `for` loop captures its iteration list before it begins, so
|
||||
# changing the positional parameters here affects neither the number of
|
||||
# iterations, nor the values presented in `arg`.
|
||||
shift # remove old arg
|
||||
set -- "$@" "$arg" # push replacement arg
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||
|
||||
# Collect all arguments for the java command:
|
||||
# * DEFAULT_JVM_OPTS, JAVA_OPTS, 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 \
|
||||
"$@"
|
||||
|
||||
# Stop when "xargs" is not available.
|
||||
if ! command -v xargs >/dev/null 2>&1
|
||||
then
|
||||
die "xargs is not available"
|
||||
fi
|
||||
|
||||
# Use "xargs" to parse quoted args.
|
||||
#
|
||||
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
||||
#
|
||||
# In Bash we could simply go:
|
||||
#
|
||||
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
|
||||
# set -- "${ARGS[@]}" "$@"
|
||||
#
|
||||
# but POSIX shell has neither arrays nor command substitution, so instead we
|
||||
# post-process each arg (as a line of input to sed) to backslash-escape any
|
||||
# character that might be a shell metacharacter, then use eval to reverse
|
||||
# that process (while maintaining the separation between arguments), and wrap
|
||||
# the whole thing up as a single "set" statement.
|
||||
#
|
||||
# This will of course break if any of these variables contains a newline or
|
||||
# an unmatched quote.
|
||||
#
|
||||
|
||||
eval "set -- $(
|
||||
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
|
||||
xargs -n1 |
|
||||
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
|
||||
tr '\n' ' '
|
||||
)" '"$@"'
|
||||
|
||||
exec "$JAVACMD" "$@"
|
||||
92
gradlew.bat
vendored
Normal file
92
gradlew.bat
vendored
Normal file
@@ -0,0 +1,92 @@
|
||||
@rem
|
||||
@rem Copyright 2015 the original author or authors.
|
||||
@rem
|
||||
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@rem you may not use this file except in compliance with the License.
|
||||
@rem You may obtain a copy of the License at
|
||||
@rem
|
||||
@rem https://www.apache.org/licenses/LICENSE-2.0
|
||||
@rem
|
||||
@rem Unless required by applicable law or agreed to in writing, software
|
||||
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
@rem See the License for the specific language governing permissions and
|
||||
@rem limitations under the License.
|
||||
@rem
|
||||
|
||||
@if "%DEBUG%"=="" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%"=="" set DIRNAME=.
|
||||
@rem This is normally unused
|
||||
set APP_BASE_NAME=%~n0
|
||||
set APP_HOME=%DIRNAME%
|
||||
|
||||
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
|
||||
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
||||
|
||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if %ERRORLEVEL% equ 0 goto execute
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||
|
||||
if exist "%JAVA_EXE%" goto execute
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
: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 %*
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if %ERRORLEVEL% equ 0 goto mainEnd
|
||||
|
||||
:fail
|
||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||
rem the _cmd.exe /c_ return code!
|
||||
set EXIT_CODE=%ERRORLEVEL%
|
||||
if %EXIT_CODE% equ 0 set EXIT_CODE=1
|
||||
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
|
||||
exit /b %EXIT_CODE%
|
||||
|
||||
:mainEnd
|
||||
if "%OS%"=="Windows_NT" endlocal
|
||||
|
||||
:omega
|
||||
14
settings.gradle
Normal file
14
settings.gradle
Normal file
@@ -0,0 +1,14 @@
|
||||
pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
maven { url = 'https://maven.minecraftforge.net/' }
|
||||
maven {
|
||||
name = 'MinecraftForge'
|
||||
url = 'https://maven.minecraftforge.net/'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0'
|
||||
}
|
||||
84
src/main/java/net/halbear/steampowered/HalsSteampowered.java
Normal file
84
src/main/java/net/halbear/steampowered/HalsSteampowered.java
Normal file
@@ -0,0 +1,84 @@
|
||||
package net.halbear.steampowered;
|
||||
|
||||
import net.halbear.steampowered.registry.blocks.ModBlocks;
|
||||
import net.halbear.steampowered.registry.items.ModItems;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.Blocks;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import net.minecraftforge.event.RegistryEvent;
|
||||
import net.minecraftforge.eventbus.api.IEventBus;
|
||||
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
||||
import net.minecraftforge.fml.InterModComms;
|
||||
import net.minecraftforge.fml.common.Mod;
|
||||
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;
|
||||
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
|
||||
import net.minecraftforge.fml.event.lifecycle.InterModEnqueueEvent;
|
||||
import net.minecraftforge.fml.event.lifecycle.InterModProcessEvent;
|
||||
import net.minecraftforge.fml.event.server.FMLServerStartingEvent;
|
||||
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
// The value here should match an entry in the META-INF/mods.toml file
|
||||
@Mod("hals_steampowered")
|
||||
public class HalsSteampowered
|
||||
{
|
||||
public static final String MODID = "hals_steampowered";
|
||||
// Directly reference a log4j logger.
|
||||
private static final Logger LOGGER = LogManager.getLogger();
|
||||
|
||||
public HalsSteampowered() {
|
||||
IEventBus bus = FMLJavaModLoadingContext.get().getModEventBus();
|
||||
ModBlocks.BLOCKS.register(bus);
|
||||
ModItems.ITEMS.register(bus);
|
||||
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup);
|
||||
// Register the enqueueIMC method for modloading
|
||||
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::enqueueIMC);
|
||||
// Register the processIMC method for modloading
|
||||
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::processIMC);
|
||||
// Register the doClientStuff method for modloading
|
||||
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::doClientStuff);
|
||||
|
||||
// Register ourselves for server and other game events we are interested in
|
||||
MinecraftForge.EVENT_BUS.register(this);
|
||||
}
|
||||
|
||||
private void setup(final FMLCommonSetupEvent event)
|
||||
{
|
||||
LOGGER.info("HELLO FROM PREINIT");
|
||||
LOGGER.info("DIRT BLOCK >> {}", Blocks.DIRT.getRegistryName());
|
||||
}
|
||||
|
||||
private void doClientStuff(final FMLClientSetupEvent event) {
|
||||
LOGGER.info("Got game settings {}", event.getMinecraftSupplier().get().options);
|
||||
}
|
||||
|
||||
private void enqueueIMC(final InterModEnqueueEvent event)
|
||||
{
|
||||
// some example code to dispatch IMC to another mod
|
||||
InterModComms.sendTo("hals_steampowered", "helloworld", () -> { LOGGER.info("Hello world from the MDK"); return "Hello world";});
|
||||
}
|
||||
|
||||
private void processIMC(final InterModProcessEvent event)
|
||||
{
|
||||
// some example code to receive and process InterModComms from other mods
|
||||
LOGGER.info("Got IMC {}", event.getIMCStream().
|
||||
map(m->m.getMessageSupplier().get()).
|
||||
collect(Collectors.toList()));
|
||||
}
|
||||
// You can use SubscribeEvent and let the Event Bus discover methods to call
|
||||
@SubscribeEvent
|
||||
public void onServerStarting(FMLServerStartingEvent event) {
|
||||
LOGGER.info("HELLO from server starting");
|
||||
}
|
||||
|
||||
@Mod.EventBusSubscriber(bus=Mod.EventBusSubscriber.Bus.MOD)
|
||||
public static class RegistryEvents {
|
||||
@SubscribeEvent
|
||||
public static void onBlocksRegistry(final RegistryEvent.Register<Block> blockRegistryEvent) {
|
||||
LOGGER.info("HELLO from Register Block");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
package net.halbear.steampowered.Track.Blocks;
|
||||
|
||||
import net.halbear.steampowered.registry.blocks.ModBlocks;
|
||||
import net.halbear.steampowered.registry.blocks.TrackEnvironment;
|
||||
import net.minecraft.block.*;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.LivingEntity;
|
||||
import net.minecraft.item.BlockItemUseContext;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.state.DirectionProperty;
|
||||
import net.minecraft.state.EnumProperty;
|
||||
import net.minecraft.state.Property;
|
||||
import net.minecraft.state.StateContainer;
|
||||
import net.minecraft.state.properties.BlockStateProperties;
|
||||
import net.minecraft.tags.Tag;
|
||||
import net.minecraft.util.Direction;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.util.math.shapes.ISelectionContext;
|
||||
import net.minecraft.util.math.shapes.VoxelShape;
|
||||
import net.minecraft.world.IBlockReader;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.Tags;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
import static net.halbear.steampowered.registry.blocks.SteampoweredBlockstates.DESERT;
|
||||
import static net.halbear.steampowered.registry.blocks.SteampoweredBlockstates.PLAINS;
|
||||
import static net.minecraft.util.Direction.*;
|
||||
|
||||
public class StraightTrack extends DirectionalBlock {
|
||||
public static final DirectionProperty FACING = BlockStateProperties.FACING;
|
||||
private static final EnumProperty<TrackEnvironment> ENVIRONMENT = EnumProperty.create("environment", TrackEnvironment.class);
|
||||
|
||||
private static final VoxelShape NORTHBOX = Block.box(0, 0, 0, 16, 2, 16);
|
||||
|
||||
public StraightTrack(AbstractBlock.Properties builder){super (builder);}
|
||||
|
||||
@Override
|
||||
public VoxelShape getShape(BlockState state, IBlockReader worldIn, BlockPos position, ISelectionContext context){
|
||||
switch (state.getValue(FACING)){
|
||||
case NORTH:
|
||||
return NORTHBOX;
|
||||
case SOUTH:
|
||||
return NORTHBOX;
|
||||
default:
|
||||
return NORTHBOX;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void createBlockStateDefinition (StateContainer.Builder<Block, BlockState> builder){
|
||||
builder.add(FACING,ENVIRONMENT);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public BlockState getStateForPlacement(BlockItemUseContext context) {
|
||||
BlockPos placementPos = context.getClickedPos();
|
||||
World world = context.getLevel();
|
||||
Direction facing = context.getHorizontalDirection();
|
||||
if (world.getBlockState(placementPos.below()).getBlock() == Blocks.SAND ||
|
||||
world.getBlockState(placementPos.below()).getBlock() == Blocks.SANDSTONE){
|
||||
return this.defaultBlockState()
|
||||
.setValue(FACING, facing)
|
||||
.setValue(ENVIRONMENT, TrackEnvironment.DESERT);
|
||||
} else if (world.getBlockState(placementPos.below()).getBlock() == Blocks.GRASS_BLOCK ||
|
||||
world.getBlockState(placementPos.below()).getBlock() == Blocks.MOSSY_COBBLESTONE) {
|
||||
return this.defaultBlockState()
|
||||
.setValue(FACING, facing)
|
||||
.setValue(ENVIRONMENT, TrackEnvironment.PLAINS);
|
||||
}
|
||||
return this.defaultBlockState()
|
||||
.setValue(FACING, facing)
|
||||
.setValue(ENVIRONMENT, TrackEnvironment.STANDARD);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
package net.halbear.steampowered.registry.blocks;
|
||||
|
||||
import net.halbear.steampowered.HalsSteampowered;
|
||||
import net.halbear.steampowered.Track.Blocks.StraightTrack;
|
||||
import net.halbear.steampowered.registry.items.ItemGroups;
|
||||
import net.halbear.steampowered.registry.items.ModItems;
|
||||
import net.minecraft.block.AbstractBlock;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.SoundType;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.BlockItem;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraftforge.common.ToolType;
|
||||
import net.minecraftforge.fml.RegistryObject;
|
||||
import net.minecraftforge.registries.DeferredRegister;
|
||||
import net.minecraftforge.registries.ForgeRegistries;
|
||||
|
||||
import java.util.function.Supplier;
|
||||
|
||||
public class ModBlocks {
|
||||
public static final DeferredRegister<Block> BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, HalsSteampowered.MODID);
|
||||
|
||||
public static final RegistryObject<Block> STRAIGHT_TRAIN_TRACK =
|
||||
registerBlock("straight_train_track",()-> new StraightTrack(AbstractBlock.Properties
|
||||
.of(Material.METAL)
|
||||
.strength(3.0f,3.0f)
|
||||
.harvestTool(ToolType.PICKAXE)
|
||||
.sound(SoundType.METAL)
|
||||
.requiresCorrectToolForDrops()
|
||||
.noOcclusion()
|
||||
));
|
||||
|
||||
private static <T extends Block> RegistryObject<T> registerBlock(String name, Supplier<T> block){
|
||||
RegistryObject<T> toReturn = ModBlocks.BLOCKS.register(name, block);
|
||||
registerBlockItem(name, toReturn);
|
||||
return toReturn;
|
||||
}
|
||||
|
||||
private static <T extends Block> void registerBlockItem(String name, RegistryObject<T> block) {
|
||||
ModItems.ITEMS.register(name, () -> new BlockItem(block.get(),
|
||||
new Item.Properties().tab(ItemGroups.STEAMPOWERED_BLOCKS_TAB)));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package net.halbear.steampowered.registry.blocks;
|
||||
|
||||
import net.minecraft.state.EnumProperty;
|
||||
|
||||
public class SteampoweredBlockstates {
|
||||
public static final EnumProperty<TrackEnvironment> DESERT;
|
||||
public static final EnumProperty<TrackEnvironment> PLAINS;
|
||||
public static final EnumProperty<TrackEnvironment> STANDARD;
|
||||
static {
|
||||
DESERT = EnumProperty.create("desert", TrackEnvironment.class);
|
||||
PLAINS = EnumProperty.create("plains", TrackEnvironment.class);
|
||||
STANDARD = EnumProperty.create("standard", TrackEnvironment.class);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package net.halbear.steampowered.registry.blocks;
|
||||
|
||||
import net.minecraft.util.IStringSerializable;
|
||||
|
||||
public enum TrackEnvironment implements IStringSerializable {
|
||||
PLAINS("plains"),
|
||||
DESERT("desert"),
|
||||
STANDARD("standard");
|
||||
private final String name;
|
||||
|
||||
private TrackEnvironment(String Name) {
|
||||
this.name = Name;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getSerializedName() {
|
||||
return this.name;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package net.halbear.steampowered.registry.items;
|
||||
|
||||
import net.halbear.steampowered.registry.blocks.ModBlocks;
|
||||
import net.minecraft.item.ItemGroup;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class ItemGroups {
|
||||
|
||||
public static final ItemGroup STEAMPOWERED_BLOCKS_TAB = new ItemGroup("steampoweredBlocksTab") {
|
||||
@Override
|
||||
public ItemStack makeIcon() {
|
||||
return new ItemStack(ModBlocks.STRAIGHT_TRAIN_TRACK.get());
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package net.halbear.steampowered.registry.items;
|
||||
|
||||
import net.halbear.steampowered.HalsSteampowered;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraftforge.registries.DeferredRegister;
|
||||
import net.minecraftforge.registries.ForgeRegistries;
|
||||
|
||||
public class ModItems {
|
||||
public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, HalsSteampowered.MODID);
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package net.halbear.steampowered.registry.utility;
|
||||
|
||||
import net.halbear.steampowered.HalsSteampowered;
|
||||
import net.halbear.steampowered.registry.blocks.ModBlocks;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.client.renderer.RenderType;
|
||||
import net.minecraft.client.renderer.RenderTypeLookup;
|
||||
import net.minecraftforge.api.distmarker.Dist;
|
||||
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
||||
import net.minecraftforge.fml.RegistryObject;
|
||||
import net.minecraftforge.fml.common.Mod;
|
||||
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;
|
||||
|
||||
@Mod.EventBusSubscriber(modid = HalsSteampowered.MODID, bus = Mod.EventBusSubscriber.Bus.MOD, value = Dist.CLIENT)
|
||||
public class ClientEventHandler {
|
||||
@SafeVarargs
|
||||
public static void SetCollectionRenderType(RenderType type, RegistryObject<Block>... blocks_list) {
|
||||
for (RegistryObject<Block> blockRegistryObject : blocks_list) {
|
||||
RenderTypeLookup.setRenderLayer(blockRegistryObject.get(), type);
|
||||
}
|
||||
}
|
||||
@SubscribeEvent
|
||||
public static void init(final FMLClientSetupEvent event) {
|
||||
SetCollectionRenderType(RenderType.solid()
|
||||
);
|
||||
SetCollectionRenderType(RenderType.cutoutMipped(),
|
||||
ModBlocks.STRAIGHT_TRAIN_TRACK
|
||||
);
|
||||
}
|
||||
}
|
||||
48
src/main/resources/META-INF/mods.toml
Normal file
48
src/main/resources/META-INF/mods.toml
Normal file
@@ -0,0 +1,48 @@
|
||||
# This is an example mods.toml file. It contains the data relating to the loading mods.
|
||||
# There are several mandatory fields (#mandatory), and many more that are optional (#optional).
|
||||
# The overall format is standard TOML format, v0.5.0.
|
||||
# Note that there are a couple of TOML lists in this file.
|
||||
# Find more information on toml format here: https://github.com/toml-lang/toml
|
||||
# The name of the mod loader type to load - for regular FML @Mod mods it should be javafml
|
||||
modLoader="javafml" #mandatory
|
||||
# A version range to match for said mod loader - for regular FML @Mod it will be the forge version
|
||||
loaderVersion="[36.0.0,)" #mandatory This is typically bumped every Minecraft version by Forge. See our download page for lists of versions.
|
||||
# The license for you mod. This is mandatory metadata and allows for easier comprehension of your redistributive properties.
|
||||
# Review your options at https://choosealicense.com/. All rights reserved is the default copyright stance, and is thus the default here.
|
||||
license="ARR"
|
||||
# A URL to refer people to when problems occur with this mod
|
||||
#issueTrackerURL="https://change.me.to.your.issue.tracker.example.invalid/" #optional
|
||||
# A list of mods - how many allowed here is determined by the individual mod loader
|
||||
[[mods]]
|
||||
modId="hals_steampowered"
|
||||
logoFile="hTmlogo.png"
|
||||
version="0.1.0EX"
|
||||
displayName="Steampowered"
|
||||
#updateJSONURL="https://change.me.example.invalid/updates.json" #optional
|
||||
displayURL="https://halbear.net/" #optional
|
||||
authors="halbear1" #optional
|
||||
|
||||
# The description text for the mod (multi line!) (#mandatory)
|
||||
description='''Steampowered is a complex steam vehicle mod mainly focusing around rail travel!'''
|
||||
# A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional.
|
||||
[[dependencies."hals_steampowered"]] #optional
|
||||
# the modid of the dependency
|
||||
modId="forge" #mandatory
|
||||
# Does this dependency have to exist - if not, ordering below must be specified
|
||||
mandatory=true #mandatory
|
||||
# The version range of the dependency
|
||||
versionRange="${forge_version_range}" #mandatory
|
||||
# An ordering relationship for the dependency - BEFORE or AFTER required if the dependency is not mandatory
|
||||
# BEFORE - This mod is loaded BEFORE the dependency
|
||||
# AFTER - This mod is loaded AFTER the dependency
|
||||
ordering="NONE"
|
||||
# Side this dependency is applied on - BOTH, CLIENT, or SERVER
|
||||
side="BOTH"
|
||||
# Here's another dependency
|
||||
[[dependencies."hals_steampowered"]]
|
||||
modId="minecraft"
|
||||
mandatory=true
|
||||
# This version range declares a minimum of the current minecraft version up to but not including the next major version
|
||||
versionRange="1.16.5"
|
||||
ordering="NONE"
|
||||
side="BOTH"
|
||||
@@ -0,0 +1,94 @@
|
||||
{ "multipart": [
|
||||
{
|
||||
"when": {"environment": "plains", "facing":"north"},
|
||||
"apply": [
|
||||
{"model": "hals_steampowered:block/straight_track/traintrack","weight": 5, "y": 0},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdamaged","weight": 5, "y": 0},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdesert2","weight": 1, "y": 0}
|
||||
]
|
||||
},
|
||||
{
|
||||
"when": {"environment": "desert", "facing":"north"},
|
||||
"apply": [
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdesert","weight": 5, "y": 0},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdesert2","weight": 5, "y": 0},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrack","weight": 1, "y": 0}
|
||||
]
|
||||
},
|
||||
{
|
||||
"when": {"environment": "standard", "facing":"north"},
|
||||
"apply": [
|
||||
{"model": "hals_steampowered:block/straight_track/traintrack","weight": 7, "y": 0},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdesert2","weight": 1, "y": 0}
|
||||
]
|
||||
},
|
||||
{"when": {"environment": "plains", "facing":"south"},
|
||||
"apply": [
|
||||
{"model": "hals_steampowered:block/straight_track/traintrack","weight": 5, "y": 180},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdamaged","weight": 5, "y": 180},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdesert2","weight": 1, "y": 180}
|
||||
]
|
||||
},
|
||||
{
|
||||
"when": {"environment": "desert", "facing":"south"},
|
||||
"apply": [
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdesert","weight": 5, "y": 180},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdesert2","weight": 5, "y": 180},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrack","weight": 1, "y": 180}
|
||||
]
|
||||
},
|
||||
{
|
||||
"when": {"environment": "standard", "facing":"south"},
|
||||
"apply": [
|
||||
{"model": "hals_steampowered:block/straight_track/traintrack","weight": 7, "y": 180},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdesert2","weight": 1, "y": 180}
|
||||
]
|
||||
},
|
||||
{
|
||||
"when": {"environment": "plains", "facing":"east"},
|
||||
"apply": [
|
||||
{"model": "hals_steampowered:block/straight_track/traintrack","weight": 5, "y": 90},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdamaged","weight": 5, "y": 90},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdesert2","weight": 1, "y": 90}
|
||||
]
|
||||
},
|
||||
{
|
||||
"when": {"environment": "desert", "facing":"east"},
|
||||
"apply": [
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdesert","weight": 5, "y": 90},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdesert2","weight": 5, "y": 90},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrack","weight": 1, "y": 90}
|
||||
]
|
||||
},
|
||||
{
|
||||
"when": {"environment": "standard", "facing":"east"},
|
||||
"apply": [
|
||||
{"model": "hals_steampowered:block/straight_track/traintrack","weight": 7, "y": 90},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdesert2","weight": 1, "y": 90}
|
||||
]
|
||||
},
|
||||
{"when": {"environment": "plains", "facing":"west"},
|
||||
"apply": [
|
||||
{"model": "hals_steampowered:block/straight_track/traintrack","weight": 5, "y": 270},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdamaged","weight": 5, "y": 270},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdesert2","weight": 1, "y": 270}
|
||||
]
|
||||
},
|
||||
{
|
||||
"when": {"environment": "desert", "facing":"west"},
|
||||
"apply": [
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdesert","weight": 5, "y": 270},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdesert2","weight": 5, "y": 270},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrack","weight": 1, "y": 270}
|
||||
]
|
||||
},
|
||||
{
|
||||
"when": {"environment": "standard", "facing":"west"},
|
||||
"apply": [
|
||||
{"model": "hals_steampowered:block/straight_track/traintrack","weight": 7, "y": 270},
|
||||
{"model": "hals_steampowered:block/straight_track/traintrackdesert2","weight": 1, "y": 270}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
@@ -0,0 +1,142 @@
|
||||
{
|
||||
"format_version": "1.21.11",
|
||||
"credit": "Made with Blockbench",
|
||||
"texture_size": [64, 64],
|
||||
"textures": {
|
||||
"1": "hals_steampowered:block/railfern"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [2, 0.1, 0],
|
||||
"to": [3, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [7, 0, 7.25, 0.5], "texture": "#1"},
|
||||
"east": {"uv": [3, 0, 7, 0.5], "texture": "#1"},
|
||||
"south": {"uv": [7, 0.5, 7.25, 1], "texture": "#1"},
|
||||
"west": {"uv": [3, 0.5, 7, 1], "texture": "#1"},
|
||||
"up": {"uv": [2.25, 9, 2, 5], "texture": "#1"},
|
||||
"down": {"uv": [2.5, 5, 2.25, 9], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [1, 0.1, 0],
|
||||
"to": [4, 0.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.75, 0], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"south": {"uv": [0, 0, 0.75, 0], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"up": {"uv": [0.75, 4, 0, 0], "texture": "#1"},
|
||||
"down": {"uv": [1.5, 0, 0.75, 4], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [12, 0.1, 0],
|
||||
"to": [15, 0.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.75, 0], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"south": {"uv": [0, 0, 0.75, 0], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"up": {"uv": [2.25, 4, 1.5, 0], "texture": "#1"},
|
||||
"down": {"uv": [3, 0, 2.25, 4], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [12.5, 2.1, 0],
|
||||
"to": [14.5, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.5, 0], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"south": {"uv": [0, 0, 0.5, 0], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"up": {"uv": [0.5, 9, 0, 5], "texture": "#1"},
|
||||
"down": {"uv": [1, 5, 0.5, 9], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [1.5, 2.1, 0],
|
||||
"to": [3.5, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.5, 0], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"south": {"uv": [0, 0, 0.5, 0], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"up": {"uv": [1.5, 9, 1, 5], "texture": "#1"},
|
||||
"down": {"uv": [2, 5, 1.5, 9], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [13, 0.1, 0],
|
||||
"to": [14, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [7, 1, 7.25, 1.5], "texture": "#1"},
|
||||
"east": {"uv": [3, 1, 7, 1.5], "texture": "#1"},
|
||||
"south": {"uv": [7, 1.5, 7.25, 2], "texture": "#1"},
|
||||
"west": {"uv": [3, 1.5, 7, 2], "texture": "#1"},
|
||||
"up": {"uv": [2.75, 9, 2.5, 5], "texture": "#1"},
|
||||
"down": {"uv": [3, 5, 2.75, 9], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [0, 0.1, 11],
|
||||
"to": [16, 1.1, 14],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [16, 0, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [7, 6, 3, 6.25], "texture": "#1"},
|
||||
"east": {"uv": [7.75, 3, 7, 3.25], "texture": "#1"},
|
||||
"south": {"uv": [7, 6.25, 3, 6.5], "texture": "#1"},
|
||||
"west": {"uv": [3.75, 7, 3, 7.25], "texture": "#1"},
|
||||
"up": {"uv": [0, 4.75, 4, 4], "texture": "#1"},
|
||||
"down": {"uv": [4, 4, 8, 4.75], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [0, 0.1, 3],
|
||||
"to": [16, 1.1, 6],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0.6, 4.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [3, 6, 7, 6.25], "texture": "#1"},
|
||||
"east": {"uv": [3, 7, 3.75, 7.25], "texture": "#1"},
|
||||
"south": {"uv": [3, 6.25, 7, 6.5], "texture": "#1"},
|
||||
"west": {"uv": [7, 3, 7.75, 3.25], "texture": "#1"},
|
||||
"up": {"uv": [4, 4.75, 0, 4], "texture": "#1"},
|
||||
"down": {"uv": [8, 4, 4, 4.75], "texture": "#1"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 4, -2.25],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 4, -2.25],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [82, 0, 0],
|
||||
"translation": [0, 3.5, 1],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [82, 0, 0],
|
||||
"translation": [0, 3.5, 1],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 0.25, 0],
|
||||
"scale": [0.5, 0.5, 0.5]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [90, 0, 0]
|
||||
},
|
||||
"head": {
|
||||
"translation": [0, 14.5, 0]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [-90, 0, 0],
|
||||
"translation": [0, 0, -7.75]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,195 @@
|
||||
{
|
||||
"format_version": "1.21.11",
|
||||
"credit": "Made with Blockbench",
|
||||
"texture_size": [64, 64],
|
||||
"textures": {
|
||||
"0": "hals_steampowered:block/railfern",
|
||||
"particle": "hals_steampowered:block/railfern"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [2, 0.1, 0],
|
||||
"to": [3, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [7, 0, 7.25, 0.5], "texture": "#0"},
|
||||
"east": {"uv": [3, 0, 7, 0.5], "texture": "#0"},
|
||||
"south": {"uv": [7, 0.5, 7.25, 1], "texture": "#0"},
|
||||
"west": {"uv": [3, 0.5, 7, 1], "texture": "#0"},
|
||||
"up": {"uv": [2.25, 9, 2, 5], "texture": "#0"},
|
||||
"down": {"uv": [2.5, 5, 2.25, 9], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [1, 0.1, 0],
|
||||
"to": [4, 0.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.75, 0], "texture": "#0"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 0.75, 0], "texture": "#0"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#0"},
|
||||
"up": {"uv": [0.75, 4, 0, 0], "texture": "#0"},
|
||||
"down": {"uv": [1.5, 0, 0.75, 4], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [12, 0.1, 0],
|
||||
"to": [15, 0.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.75, 0], "texture": "#0"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 0.75, 0], "texture": "#0"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#0"},
|
||||
"up": {"uv": [2.25, 4, 1.5, 0], "texture": "#0"},
|
||||
"down": {"uv": [3, 0, 2.25, 4], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [12.5, 2.1, 0],
|
||||
"to": [14.5, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.5, 0], "texture": "#0"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 0.5, 0], "texture": "#0"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#0"},
|
||||
"up": {"uv": [0.5, 9, 0, 5], "texture": "#0"},
|
||||
"down": {"uv": [1, 5, 0.5, 9], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [1.5, 2.1, 0],
|
||||
"to": [3.5, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.5, 0], "texture": "#0"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 0.5, 0], "texture": "#0"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#0"},
|
||||
"up": {"uv": [1.5, 9, 1, 5], "texture": "#0"},
|
||||
"down": {"uv": [2, 5, 1.5, 9], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [13, 0.1, 0],
|
||||
"to": [14, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [7, 1, 7.25, 1.5], "texture": "#0"},
|
||||
"east": {"uv": [3, 1, 7, 1.5], "texture": "#0"},
|
||||
"south": {"uv": [7, 1.5, 7.25, 2], "texture": "#0"},
|
||||
"west": {"uv": [3, 1.5, 7, 2], "texture": "#0"},
|
||||
"up": {"uv": [2.75, 9, 2.5, 5], "texture": "#0"},
|
||||
"down": {"uv": [3, 5, 2.75, 9], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [0, 0.1, 11],
|
||||
"to": [16, 1.1, 14],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [16, 0, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [7, 6, 3, 6.25], "texture": "#0"},
|
||||
"east": {"uv": [7.75, 3, 7, 3.25], "texture": "#0"},
|
||||
"south": {"uv": [7, 6.25, 3, 6.5], "texture": "#0"},
|
||||
"west": {"uv": [3.75, 7, 3, 7.25], "texture": "#0"},
|
||||
"up": {"uv": [0, 4.75, 4, 4], "texture": "#0"},
|
||||
"down": {"uv": [4, 4, 8, 4.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [0, 0.1, 3],
|
||||
"to": [16, 1.1, 6],
|
||||
"rotation": {"angle": -22.5, "axis": "y", "origin": [8, 0.6, 4.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [3, 6, 7, 6.25], "texture": "#0"},
|
||||
"east": {"uv": [3, 7, 3.75, 7.25], "texture": "#0"},
|
||||
"south": {"uv": [3, 6.25, 7, 6.5], "texture": "#0"},
|
||||
"west": {"uv": [7, 3, 7.75, 3.25], "texture": "#0"},
|
||||
"up": {"uv": [4, 4.75, 0, 4], "texture": "#0"},
|
||||
"down": {"uv": [8, 4, 4, 4.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [4, 0, 0],
|
||||
"to": [4, 8, 9],
|
||||
"rotation": {"angle": -22.5, "axis": "z", "origin": [4, 0, 4.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0, 2], "texture": "#0"},
|
||||
"east": {"uv": [2.25, 9, 4.5, 11], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 0, 2], "texture": "#0"},
|
||||
"west": {"uv": [2.25, 9, 4.5, 11], "texture": "#0"},
|
||||
"up": {"uv": [0, 0, 0, 2.25], "texture": "#0"},
|
||||
"down": {"uv": [0, 0, 0, 2.25], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [12, 0, 8],
|
||||
"to": [12, 8, 17],
|
||||
"rotation": {"angle": 22.5, "axis": "z", "origin": [12, 0, 4.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0, 2], "texture": "#0"},
|
||||
"east": {"uv": [4.5, 9, 2.25, 11], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 0, 2], "texture": "#0"},
|
||||
"west": {"uv": [4.5, 9, 2.25, 11], "texture": "#0"},
|
||||
"up": {"uv": [0, 0, 0, 2.25], "texture": "#0"},
|
||||
"down": {"uv": [0, 0, 0, 2.25], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [2, 4, 8],
|
||||
"to": [2, 12, 17],
|
||||
"rotation": {"angle": 22.5, "axis": "z", "origin": [12, 0, 4.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0, 2], "texture": "#0"},
|
||||
"east": {"uv": [4.5, 9, 2.25, 11], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 0, 2], "texture": "#0"},
|
||||
"west": {"uv": [4.5, 9, 2.25, 11], "texture": "#0"},
|
||||
"up": {"uv": [0, 0, 0, 2.25], "texture": "#0"},
|
||||
"down": {"uv": [0, 0, 0, 2.25], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [14, 4, 0],
|
||||
"to": [14, 12, 9],
|
||||
"rotation": {"angle": -22.5, "axis": "z", "origin": [4, 0, 4.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0, 2], "texture": "#0"},
|
||||
"east": {"uv": [2.25, 9, 4.5, 11], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 0, 2], "texture": "#0"},
|
||||
"west": {"uv": [2.25, 9, 4.5, 11], "texture": "#0"},
|
||||
"up": {"uv": [0, 0, 0, 2.25], "texture": "#0"},
|
||||
"down": {"uv": [0, 0, 0, 2.25], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 4, -2.25],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 4, -2.25],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [82, 0, 0],
|
||||
"translation": [0, 3.5, 1],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [82, 0, 0],
|
||||
"translation": [0, 3.5, 1],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 0.25, 0],
|
||||
"scale": [0.5, 0.5, 0.5]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [90, 0, 0]
|
||||
},
|
||||
"head": {
|
||||
"translation": [0, 14.5, 0]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [-90, 0, 0],
|
||||
"translation": [0, 0, -7.75]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,234 @@
|
||||
{
|
||||
"format_version": "1.21.11",
|
||||
"credit": "Made with Blockbench",
|
||||
"texture_size": [64, 64],
|
||||
"textures": {
|
||||
"0": "hals_steampowered:block/desertrails",
|
||||
"particle": "hals_steampowered:block/desertrails"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [2, 0.1, 0],
|
||||
"to": [3, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [7, 0, 7.25, 0.5], "texture": "#0"},
|
||||
"east": {"uv": [3, 0, 7, 0.5], "texture": "#0"},
|
||||
"south": {"uv": [7, 0.5, 7.25, 1], "texture": "#0"},
|
||||
"west": {"uv": [3, 0.5, 7, 1], "texture": "#0"},
|
||||
"up": {"uv": [2.25, 9, 2, 5], "texture": "#0"},
|
||||
"down": {"uv": [2.5, 5, 2.25, 9], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [1, 0.1, 0],
|
||||
"to": [4, 0.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.75, 0], "texture": "#0"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 0.75, 0], "texture": "#0"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#0"},
|
||||
"up": {"uv": [0.75, 4, 0, 0], "texture": "#0"},
|
||||
"down": {"uv": [1.5, 0, 0.75, 4], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [12, 0.1, 0],
|
||||
"to": [15, 0.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.75, 0], "texture": "#0"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 0.75, 0], "texture": "#0"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#0"},
|
||||
"up": {"uv": [2.25, 4, 1.5, 0], "texture": "#0"},
|
||||
"down": {"uv": [3, 0, 2.25, 4], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [12.5, 2.1, 0],
|
||||
"to": [14.5, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.5, 0], "texture": "#0"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 0.5, 0], "texture": "#0"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#0"},
|
||||
"up": {"uv": [0.5, 9, 0, 5], "texture": "#0"},
|
||||
"down": {"uv": [1, 5, 0.5, 9], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [1.5, 2.1, 0],
|
||||
"to": [3.5, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.5, 0], "texture": "#0"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#0"},
|
||||
"south": {"uv": [0, 0, 0.5, 0], "texture": "#0"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#0"},
|
||||
"up": {"uv": [1.5, 9, 1, 5], "texture": "#0"},
|
||||
"down": {"uv": [2, 5, 1.5, 9], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [13, 0.1, 0],
|
||||
"to": [14, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [7, 1, 7.25, 1.5], "texture": "#0"},
|
||||
"east": {"uv": [3, 1, 7, 1.5], "texture": "#0"},
|
||||
"south": {"uv": [7, 1.5, 7.25, 2], "texture": "#0"},
|
||||
"west": {"uv": [3, 1.5, 7, 2], "texture": "#0"},
|
||||
"up": {"uv": [2.75, 9, 2.5, 5], "texture": "#0"},
|
||||
"down": {"uv": [3, 5, 2.75, 9], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [6.23252, 1.16898, 11.5],
|
||||
"to": [8.23252, 3.16898, 13.5],
|
||||
"rotation": {"angle": 22.5, "axis": "z", "origin": [11.23252, 0.16898, 9]},
|
||||
"faces": {
|
||||
"north": {"uv": [10, 2, 10.5, 2.5], "texture": "#0"},
|
||||
"east": {"uv": [10, 2, 10.5, 2.5], "texture": "#0"},
|
||||
"south": {"uv": [10, 2, 10.5, 2.5], "texture": "#0"},
|
||||
"west": {"uv": [10, 2, 10.5, 2.5], "texture": "#0"},
|
||||
"up": {"uv": [10, 2, 10.5, 2.5], "texture": "#0"},
|
||||
"down": {"uv": [10, 2, 10.5, 2.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [10, 2, 8],
|
||||
"to": [12, 4, 10],
|
||||
"rotation": {"angle": -22.5, "axis": "z", "origin": [4, 1, 1]},
|
||||
"faces": {
|
||||
"north": {"uv": [10, 2, 10.5, 2.5], "texture": "#0"},
|
||||
"east": {"uv": [10, 2, 10.5, 2.5], "texture": "#0"},
|
||||
"south": {"uv": [10, 2, 10.5, 2.5], "texture": "#0"},
|
||||
"west": {"uv": [10, 2, 10.5, 2.5], "texture": "#0"},
|
||||
"up": {"uv": [10, 2, 10.5, 2.5], "texture": "#0"},
|
||||
"down": {"uv": [10, 2, 10.5, 2.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [8, -1.75, 2],
|
||||
"to": [11, 0.25, 5],
|
||||
"rotation": {"angle": 22.5, "axis": "z", "origin": [7.5, 1, 5.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [10, 2, 10.75, 2.5], "texture": "#0"},
|
||||
"east": {"uv": [10, 2, 10.75, 2.5], "texture": "#0"},
|
||||
"south": {"uv": [10, 2, 10.75, 2.5], "texture": "#0"},
|
||||
"west": {"uv": [10, 2, 10.75, 2.5], "texture": "#0"},
|
||||
"up": {"uv": [10, 2, 10.75, 2.75], "texture": "#0"},
|
||||
"down": {"uv": [10, 2, 10.75, 2.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [3.9125, -2.0375, 12],
|
||||
"to": [6.9125, -0.0375, 15],
|
||||
"rotation": {"angle": -22.5, "axis": "z", "origin": [8.5, 1, 7.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [10.75, 2, 11.5, 2.5], "texture": "#0"},
|
||||
"east": {"uv": [10.75, 2, 11.5, 2.5], "texture": "#0"},
|
||||
"south": {"uv": [10.75, 2, 11.5, 2.5], "texture": "#0"},
|
||||
"west": {"uv": [10.75, 2, 11.5, 2.5], "texture": "#0"},
|
||||
"up": {"uv": [10.75, 2, 11.5, 2.75], "texture": "#0"},
|
||||
"down": {"uv": [10.75, 2, 11.5, 2.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [12.9125, 0.9625, 9],
|
||||
"to": [15.9125, 2.9625, 12],
|
||||
"rotation": {"angle": -22.5, "axis": "z", "origin": [8.5, 1, 7.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [10.75, 2, 11.5, 2.5], "texture": "#0"},
|
||||
"east": {"uv": [10.75, 2, 11.5, 2.5], "texture": "#0"},
|
||||
"south": {"uv": [10.75, 2, 11.5, 2.5], "texture": "#0"},
|
||||
"west": {"uv": [10.75, 2, 11.5, 2.5], "texture": "#0"},
|
||||
"up": {"uv": [10.75, 2, 11.5, 2.75], "texture": "#0"},
|
||||
"down": {"uv": [10.75, 2, 11.5, 2.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [0, -1, 8],
|
||||
"to": [2, 1, 11],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 6]},
|
||||
"faces": {
|
||||
"north": {"uv": [10, 2, 10.5, 2.5], "texture": "#0"},
|
||||
"east": {"uv": [10, 2, 10.75, 2.5], "texture": "#0"},
|
||||
"south": {"uv": [10, 2, 10.5, 2.5], "texture": "#0"},
|
||||
"west": {"uv": [10, 2, 10.75, 2.5], "texture": "#0"},
|
||||
"up": {"uv": [10, 2, 10.5, 2.75], "texture": "#0"},
|
||||
"down": {"uv": [10, 2, 10.5, 2.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [4, 0, 5],
|
||||
"to": [7, 1, 8],
|
||||
"rotation": {"angle": -22.5, "axis": "y", "origin": [5.5, 0.5, 6.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [10, 2, 10.75, 2.25], "texture": "#0"},
|
||||
"east": {"uv": [10, 2, 10.75, 2.25], "texture": "#0"},
|
||||
"south": {"uv": [10, 2, 10.75, 2.25], "texture": "#0"},
|
||||
"west": {"uv": [10, 2, 10.75, 2.25], "texture": "#0"},
|
||||
"up": {"uv": [10, 2, 10.75, 2.75], "texture": "#0"},
|
||||
"down": {"uv": [10, 2, 10.75, 2.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [11, -0.25, -2],
|
||||
"to": [14, 0.75, 1],
|
||||
"rotation": {"angle": -22.5, "axis": "y", "origin": [5.5, 0.5, 6.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [10, 2, 10.75, 2.25], "texture": "#0"},
|
||||
"east": {"uv": [10, 2, 10.75, 2.25], "texture": "#0"},
|
||||
"south": {"uv": [10, 2, 10.75, 2.25], "texture": "#0"},
|
||||
"west": {"uv": [10, 2, 10.75, 2.25], "texture": "#0"},
|
||||
"up": {"uv": [10, 2, 10.75, 2.75], "texture": "#0"},
|
||||
"down": {"uv": [10, 2, 10.75, 2.75], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [8.93642, -0.25, 11.3743],
|
||||
"to": [11.93642, 0.75, 14.3743],
|
||||
"rotation": {"angle": 22.5, "axis": "y", "origin": [10.43642, 0.25, 12.8743]},
|
||||
"faces": {
|
||||
"north": {"uv": [10, 2, 10.75, 2.25], "texture": "#0"},
|
||||
"east": {"uv": [10, 2, 10.75, 2.25], "texture": "#0"},
|
||||
"south": {"uv": [10, 2, 10.75, 2.25], "texture": "#0"},
|
||||
"west": {"uv": [10, 2, 10.75, 2.25], "texture": "#0"},
|
||||
"up": {"uv": [10, 2, 10.75, 2.75], "texture": "#0"},
|
||||
"down": {"uv": [10, 2, 10.75, 2.75], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 4, -2.25],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 4, -2.25],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [82, 0, 0],
|
||||
"translation": [0, 3.5, 1],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [82, 0, 0],
|
||||
"translation": [0, 3.5, 1],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 0.25, 0],
|
||||
"scale": [0.5, 0.5, 0.5]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [90, 0, 0]
|
||||
},
|
||||
"head": {
|
||||
"translation": [0, 14.5, 0]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [-90, 0, 0],
|
||||
"translation": [0, 0, -7.75]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,116 @@
|
||||
{
|
||||
"format_version": "1.21.11",
|
||||
"credit": "Made with Blockbench",
|
||||
"texture_size": [64, 64],
|
||||
"textures": {
|
||||
"1": "hals_steampowered:block/desertrails"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [2, 0.1, 0],
|
||||
"to": [3, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [7, 0, 7.25, 0.5], "texture": "#1"},
|
||||
"east": {"uv": [3, 0, 7, 0.5], "texture": "#1"},
|
||||
"south": {"uv": [7, 0.5, 7.25, 1], "texture": "#1"},
|
||||
"west": {"uv": [3, 0.5, 7, 1], "texture": "#1"},
|
||||
"up": {"uv": [2.25, 9, 2, 5], "texture": "#1"},
|
||||
"down": {"uv": [2.5, 5, 2.25, 9], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [1, 0.1, 0],
|
||||
"to": [4, 0.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.75, 0], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"south": {"uv": [0, 0, 0.75, 0], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"up": {"uv": [0.75, 4, 0, 0], "texture": "#1"},
|
||||
"down": {"uv": [1.5, 0, 0.75, 4], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [12, 0.1, 0],
|
||||
"to": [15, 0.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.75, 0], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"south": {"uv": [0, 0, 0.75, 0], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"up": {"uv": [2.25, 4, 1.5, 0], "texture": "#1"},
|
||||
"down": {"uv": [3, 0, 2.25, 4], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [12.5, 2.1, 0],
|
||||
"to": [14.5, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.5, 0], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"south": {"uv": [0, 0, 0.5, 0], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"up": {"uv": [0.5, 9, 0, 5], "texture": "#1"},
|
||||
"down": {"uv": [1, 5, 0.5, 9], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [1.5, 2.1, 0],
|
||||
"to": [3.5, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.5, 0], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"south": {"uv": [0, 0, 0.5, 0], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"up": {"uv": [1.5, 9, 1, 5], "texture": "#1"},
|
||||
"down": {"uv": [2, 5, 1.5, 9], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [13, 0.1, 0],
|
||||
"to": [14, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [7, 1, 7.25, 1.5], "texture": "#1"},
|
||||
"east": {"uv": [3, 1, 7, 1.5], "texture": "#1"},
|
||||
"south": {"uv": [7, 1.5, 7.25, 2], "texture": "#1"},
|
||||
"west": {"uv": [3, 1.5, 7, 2], "texture": "#1"},
|
||||
"up": {"uv": [2.75, 9, 2.5, 5], "texture": "#1"},
|
||||
"down": {"uv": [3, 5, 2.75, 9], "texture": "#1"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 4, -2.25],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 4, -2.25],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [82, 0, 0],
|
||||
"translation": [0, 3.5, 1],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [82, 0, 0],
|
||||
"translation": [0, 3.5, 1],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 0.25, 0],
|
||||
"scale": [0.5, 0.5, 0.5]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [90, 0, 0]
|
||||
},
|
||||
"head": {
|
||||
"translation": [0, 14.5, 0]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [-90, 0, 0],
|
||||
"translation": [0, 0, -7.75]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,142 @@
|
||||
{
|
||||
"format_version": "1.21.11",
|
||||
"credit": "Made with Blockbench",
|
||||
"texture_size": [64, 64],
|
||||
"textures": {
|
||||
"1": "hals_steampowered:block/railfern"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [2, 0.1, 0],
|
||||
"to": [3, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [7, 0, 7.25, 0.5], "texture": "#1"},
|
||||
"east": {"uv": [3, 0, 7, 0.5], "texture": "#1"},
|
||||
"south": {"uv": [7, 0.5, 7.25, 1], "texture": "#1"},
|
||||
"west": {"uv": [3, 0.5, 7, 1], "texture": "#1"},
|
||||
"up": {"uv": [2.25, 9, 2, 5], "texture": "#1"},
|
||||
"down": {"uv": [2.5, 5, 2.25, 9], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [1, 0.1, 0],
|
||||
"to": [4, 0.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.75, 0], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"south": {"uv": [0, 0, 0.75, 0], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"up": {"uv": [0.75, 4, 0, 0], "texture": "#1"},
|
||||
"down": {"uv": [1.5, 0, 0.75, 4], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [12, 0.1, 0],
|
||||
"to": [15, 0.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.75, 0], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"south": {"uv": [0, 0, 0.75, 0], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"up": {"uv": [2.25, 4, 1.5, 0], "texture": "#1"},
|
||||
"down": {"uv": [3, 0, 2.25, 4], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [12.5, 2.1, 0],
|
||||
"to": [14.5, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.5, 0], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"south": {"uv": [0, 0, 0.5, 0], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"up": {"uv": [0.5, 9, 0, 5], "texture": "#1"},
|
||||
"down": {"uv": [1, 5, 0.5, 9], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [1.5, 2.1, 0],
|
||||
"to": [3.5, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 0.5, 0], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"south": {"uv": [0, 0, 0.5, 0], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 4, 0], "texture": "#1"},
|
||||
"up": {"uv": [1.5, 9, 1, 5], "texture": "#1"},
|
||||
"down": {"uv": [2, 5, 1.5, 9], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [13, 0.1, 0],
|
||||
"to": [14, 2.1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [7, 1, 7.25, 1.5], "texture": "#1"},
|
||||
"east": {"uv": [3, 1, 7, 1.5], "texture": "#1"},
|
||||
"south": {"uv": [7, 1.5, 7.25, 2], "texture": "#1"},
|
||||
"west": {"uv": [3, 1.5, 7, 2], "texture": "#1"},
|
||||
"up": {"uv": [2.75, 9, 2.5, 5], "texture": "#1"},
|
||||
"down": {"uv": [3, 5, 2.75, 9], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [0, 0.1, 11],
|
||||
"to": [16, 1.1, 14],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [16, 0, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [7, 6, 3, 6.25], "texture": "#1"},
|
||||
"east": {"uv": [7.75, 3, 7, 3.25], "texture": "#1"},
|
||||
"south": {"uv": [7, 6.25, 3, 6.5], "texture": "#1"},
|
||||
"west": {"uv": [3.75, 7, 3, 7.25], "texture": "#1"},
|
||||
"up": {"uv": [0, 4.75, 4, 4], "texture": "#1"},
|
||||
"down": {"uv": [4, 4, 8, 4.75], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [0, 0.1, 3],
|
||||
"to": [16, 1.1, 6],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0.6, 4.5]},
|
||||
"faces": {
|
||||
"north": {"uv": [3, 6, 7, 6.25], "texture": "#1"},
|
||||
"east": {"uv": [3, 7, 3.75, 7.25], "texture": "#1"},
|
||||
"south": {"uv": [3, 6.25, 7, 6.5], "texture": "#1"},
|
||||
"west": {"uv": [7, 3, 7.75, 3.25], "texture": "#1"},
|
||||
"up": {"uv": [4, 4.75, 0, 4], "texture": "#1"},
|
||||
"down": {"uv": [8, 4, 4, 4.75], "texture": "#1"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 4, -2.25],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 4, -2.25],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [82, 0, 0],
|
||||
"translation": [0, 3.5, 1],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [82, 0, 0],
|
||||
"translation": [0, 3.5, 1],
|
||||
"scale": [0.7, 0.7, 0.7]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 0.25, 0],
|
||||
"scale": [0.5, 0.5, 0.5]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [90, 0, 0]
|
||||
},
|
||||
"head": {
|
||||
"translation": [0, 14.5, 0]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [-90, 0, 0],
|
||||
"translation": [0, 0, -7.75]
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 931 B |
Binary file not shown.
|
After Width: | Height: | Size: 543 B |
Binary file not shown.
|
After Width: | Height: | Size: 642 B |
BIN
src/main/resources/hTmlogo.png
Normal file
BIN
src/main/resources/hTmlogo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.2 KiB |
7
src/main/resources/pack.mcmeta
Normal file
7
src/main/resources/pack.mcmeta
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"pack": {
|
||||
"description": "hals_steampowered resources",
|
||||
"pack_format": 6,
|
||||
"_comment": "A pack_format of 6 requires json lang files and some texture changes from 1.16.2. Note: we require v6 pack meta for all mods."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user