commit dd42e078aca7000f0b5bcd801a1381a4c887ff1e Author: zxq5 Date: Thu Jun 18 09:15:06 2026 +0100 initial commit diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..097f9f9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +# +# https://help.github.com/articles/dealing-with-line-endings/ +# +# Linux start script should use lf +/gradlew text eol=lf + +# These are Windows script files and should use crlf +*.bat text eol=crlf + diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..524fb1b --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,30 @@ +# Automatically build the project and run any configured tests for every push +# and submitted pull request. This can help catch issues that only occur on +# certain platforms or Java versions, and provides a first line of defence +# against bad commits. + +name: build +on: [pull_request, push] + +jobs: + build: + runs-on: ubuntu-24.04 + steps: + - name: checkout repository + uses: actions/checkout@v6 + - name: validate gradle wrapper + uses: gradle/actions/wrapper-validation@v6 + - name: setup jdk + uses: actions/setup-java@v5 + with: + java-version: '25' + distribution: 'microsoft' + - name: make gradle wrapper executable + run: chmod +x ./gradlew + - name: build + run: ./gradlew build + - name: capture build artifacts + uses: actions/upload-artifact@v7 + with: + name: Artifacts + path: build/libs/ diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c476faf --- /dev/null +++ b/.gitignore @@ -0,0 +1,40 @@ +# gradle + +.gradle/ +build/ +out/ +classes/ + +# eclipse + +*.launch + +# idea + +.idea/ +*.iml +*.ipr +*.iws + +# vscode + +.settings/ +.vscode/ +bin/ +.classpath +.project + +# macos + +*.DS_Store + +# fabric + +run/ + +# java + +hs_err_*.log +replay_*.log +*.hprof +*.jfr diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..1625c17 --- /dev/null +++ b/LICENSE @@ -0,0 +1,121 @@ +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..53b93c2 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# fantasysmp + +## Setup + +For setup instructions, please see the [Fabric Documentation page](https://docs.fabricmc.net/develop/getting-started/creating-a-project#setting-up) related to the IDE that you are using. + +## License + +This template is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects. diff --git a/build.gradle.kts b/build.gradle.kts new file mode 100644 index 0000000..c014450 --- /dev/null +++ b/build.gradle.kts @@ -0,0 +1,101 @@ +import org.jetbrains.kotlin.gradle.dsl.JvmTarget + +plugins { + id("net.fabricmc.fabric-loom") + `maven-publish` + id("org.jetbrains.kotlin.jvm") version "2.4.0" +} + +version = providers.gradleProperty("mod_version").get() +group = providers.gradleProperty("maven_group").get() + +repositories { + // Add repositories to retrieve artifacts from in here. + // You should only use this when depending on other mods because + // Loom adds the essential maven repositories to download Minecraft and libraries from automatically. + // See https://docs.gradle.org/current/userguide/declaring_repositories.html + // for more information about repositories. +} + +loom { + splitEnvironmentSourceSets() + + mods { + register("fantasysmp") { + sourceSet(sourceSets.main.get()) + sourceSet(sourceSets.getByName("client")) + } + } +} + +fabricApi { + configureDataGeneration { + client = true + } +} + +dependencies { + // To change the versions see the gradle.properties file + minecraft("com.mojang:minecraft:${providers.gradleProperty("minecraft_version").get()}") + + implementation("net.fabricmc:fabric-loader:${providers.gradleProperty("loader_version").get()}") + + // Fabric API. This is technically optional, but you probably want it anyway. + implementation("net.fabricmc.fabric-api:fabric-api:${providers.gradleProperty("fabric_api_version").get()}") + implementation("net.fabricmc:fabric-language-kotlin:${providers.gradleProperty("fabric_kotlin_version").get()}") +} + +tasks.processResources { + val version = version + inputs.property("version", version) + + filesMatching("fabric.mod.json") { + expand("version" to version) + } +} + +tasks.withType().configureEach { + options.release = 25 +} + +kotlin { + compilerOptions { + jvmTarget = JvmTarget.JVM_25 + } +} + +java { + // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task + // if it is present. + // If you remove this line, sources will not be generated. + withSourcesJar() + + sourceCompatibility = JavaVersion.VERSION_25 + targetCompatibility = JavaVersion.VERSION_25 +} + +tasks.jar { + val projectName = project.name + inputs.property("projectName", projectName) + + from("LICENSE") { + rename { "${it}_$projectName" } + } +} + +// configure the maven publication +publishing { + publications { + register("mavenJava") { + from(components["java"]) + } + } + + // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing. + repositories { + // Add repositories to publish to here. + // Notice: This block does NOT have the same function as the block in the top level. + // The repositories here will be used for publishing your artifact, not for + // retrieving dependencies. + } +} diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..577c72d --- /dev/null +++ b/gradle.properties @@ -0,0 +1,21 @@ +# Done to increase the memory available to gradle. +org.gradle.jvmargs=-Xmx1G +org.gradle.parallel=true + +# IntelliJ IDEA is not yet fully compatible with configuration cache, see: https://github.com/FabricMC/fabric-loom/issues/1349 +org.gradle.configuration-cache=false + +# Fabric Properties +# check these on https://fabricmc.net/develop +minecraft_version=26.1.2 +loader_version=0.19.3 +loom_version=1.16-SNAPSHOT +fabric_kotlin_version=1.13.12+kotlin.2.4.0 + +# Mod Properties +mod_version=1.0.0 +maven_group=dev.zxq5 +archive_base_name=fantasysmp + +# Dependencies +fabric_api_version=0.151.0+26.1.2 \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000..d997cfc Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..c61a118 --- /dev/null +++ b/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,7 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip +networkTimeout=10000 +validateDistributionUrl=true +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew new file mode 100755 index 0000000..739907d --- /dev/null +++ b/gradlew @@ -0,0 +1,248 @@ +#!/bin/sh + +# +# 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. +# 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. +# +# SPDX-License-Identifier: Apache-2.0 +# + +############################################################################## +# +# 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/2d6327017519d23b96af35865dc997fcb544fb40/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/. +# +############################################################################## + +# 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 -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 + +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 + + + +# 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" ) + + 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, 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" \ + -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \ + "$@" + +# 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" "$@" diff --git a/gradlew.bat b/gradlew.bat new file mode 100644 index 0000000..c4bdd3a --- /dev/null +++ b/gradlew.bat @@ -0,0 +1,93 @@ +@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 +@rem SPDX-License-Identifier: Apache-2.0 +@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. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:execute +@rem Setup the command line + + + +@rem Execute Gradle +"%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 +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 diff --git a/settings.gradle.kts b/settings.gradle.kts new file mode 100644 index 0000000..d1b992e --- /dev/null +++ b/settings.gradle.kts @@ -0,0 +1,17 @@ +pluginManagement { + repositories { + maven { + name = "Fabric" + url = uri("https://maven.fabricmc.net/") + } + mavenCentral() + gradlePluginPortal() + } + + plugins { + id("net.fabricmc.fabric-loom") version providers.gradleProperty("loom_version") + } +} + +// Should match your modid +rootProject.name = "fantasysmp" diff --git a/src/client/java/dev/zxq5/client/mixin/ExampleClientMixin.java b/src/client/java/dev/zxq5/client/mixin/ExampleClientMixin.java new file mode 100644 index 0000000..7e8c67c --- /dev/null +++ b/src/client/java/dev/zxq5/client/mixin/ExampleClientMixin.java @@ -0,0 +1,15 @@ +package dev.zxq5.client.mixin; + +import net.minecraft.client.Minecraft; +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.injection.At; +import org.spongepowered.asm.mixin.injection.Inject; +import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; + +@Mixin(Minecraft.class) +public class ExampleClientMixin { + @Inject(at = @At("HEAD"), method = "run") + private void init(CallbackInfo info) { + // This code is injected into the start of Minecraft.run()V + } +} \ No newline at end of file diff --git a/src/client/kotlin/dev/zxq5/client/FantasysmpClient.kt b/src/client/kotlin/dev/zxq5/client/FantasysmpClient.kt new file mode 100644 index 0000000..997cafb --- /dev/null +++ b/src/client/kotlin/dev/zxq5/client/FantasysmpClient.kt @@ -0,0 +1,9 @@ +package dev.zxq5.client + +import net.fabricmc.api.ClientModInitializer + +object FantasysmpClient : ClientModInitializer { + override fun onInitializeClient() { + // This entrypoint is suitable for setting up client-specific logic, such as rendering. + } +} \ No newline at end of file diff --git a/src/client/kotlin/dev/zxq5/client/FantasysmpDataGenerator.kt b/src/client/kotlin/dev/zxq5/client/FantasysmpDataGenerator.kt new file mode 100644 index 0000000..0067bc4 --- /dev/null +++ b/src/client/kotlin/dev/zxq5/client/FantasysmpDataGenerator.kt @@ -0,0 +1,9 @@ +package dev.zxq5.client + +import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint +import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator + +object FantasysmpDataGenerator : DataGeneratorEntrypoint { + override fun onInitializeDataGenerator(fabricDataGenerator: FabricDataGenerator) { + } +} \ No newline at end of file diff --git a/src/client/resources/fantasysmp.client.mixins.json b/src/client/resources/fantasysmp.client.mixins.json new file mode 100644 index 0000000..c9f58da --- /dev/null +++ b/src/client/resources/fantasysmp.client.mixins.json @@ -0,0 +1,14 @@ +{ + "required": true, + "package": "dev.zxq5.client.mixin", + "compatibilityLevel": "JAVA_25", + "client": [ + "ExampleClientMixin" + ], + "injectors": { + "defaultRequire": 1 + }, + "overwrites": { + "requireAnnotations": true + } +} \ No newline at end of file diff --git a/src/main/java/dev/zxq5/mixin/ExampleMixin.java b/src/main/java/dev/zxq5/mixin/ExampleMixin.java new file mode 100644 index 0000000..b3b0516 --- /dev/null +++ b/src/main/java/dev/zxq5/mixin/ExampleMixin.java @@ -0,0 +1,15 @@ +package dev.zxq5.mixin; + +import net.minecraft.server.MinecraftServer; +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.injection.At; +import org.spongepowered.asm.mixin.injection.Inject; +import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; + +@Mixin(MinecraftServer.class) +public class ExampleMixin { + @Inject(at = @At("HEAD"), method = "loadLevel") + private void init(CallbackInfo info) { + // This code is injected into the start of MinecraftServer.loadLevel()V + } +} \ No newline at end of file diff --git a/src/main/kotlin/dev/zxq5/Fantasysmp.kt b/src/main/kotlin/dev/zxq5/Fantasysmp.kt new file mode 100644 index 0000000..9961210 --- /dev/null +++ b/src/main/kotlin/dev/zxq5/Fantasysmp.kt @@ -0,0 +1,26 @@ +package dev.zxq5 + +import dev.zxq5.items.ModItems +import dev.zxq5.items.ModItems.CUSTOM_CREATIVE_TAB +import dev.zxq5.items.ModItems.CUSTOM_CREATIVE_TAB_KEY +import net.fabricmc.api.ModInitializer +import net.minecraft.core.Registry +import net.minecraft.core.registries.BuiltInRegistries +import net.minecraft.world.item.Item +import org.slf4j.LoggerFactory + +object Fantasysmp : ModInitializer { + + const val MOD_ID = "fantasysmp" + + private val logger = LoggerFactory.getLogger("fantasysmp") + + override fun onInitialize() { + // This code runs as soon as Minecraft is in a mod-load-ready state. + // However, some things (like resources) may still be uninitialized. + // Proceed with mild caution. + logger.info("Hello Fabric world!") + ModItems.init(); + // Register the group. + } +} \ No newline at end of file diff --git a/src/main/kotlin/dev/zxq5/items/Items.kt b/src/main/kotlin/dev/zxq5/items/Items.kt new file mode 100644 index 0000000..2f54c93 --- /dev/null +++ b/src/main/kotlin/dev/zxq5/items/Items.kt @@ -0,0 +1,53 @@ +package dev.zxq5.items + +import dev.zxq5.Fantasysmp +import dev.zxq5.items.Witherite.WITHERITE_HELMET +import dev.zxq5.items.Witherite.WITHERITE_SWORD +import net.fabricmc.fabric.api.creativetab.v1.FabricCreativeModeTab +import net.minecraft.core.Registry +import net.minecraft.core.component.DataComponents +import net.minecraft.core.registries.BuiltInRegistries +import net.minecraft.core.registries.Registries +import net.minecraft.network.chat.Component +import net.minecraft.resources.Identifier +import net.minecraft.resources.ResourceKey +import net.minecraft.world.item.* +import net.minecraft.world.item.CreativeModeTab.DisplayItemsGenerator +import net.minecraft.world.item.CreativeModeTab.ItemDisplayParameters +import net.minecraft.world.item.component.ItemLore +import net.minecraft.world.item.equipment.ArmorMaterials +import net.minecraft.world.item.equipment.ArmorType +import java.util.List +import java.util.function.Supplier + + +object ModItems { + fun register( + name: String, + itemFactory: (Item.Properties) -> T, + settings: Item.Properties + ): T { + val itemKey = ResourceKey.create(Registries.ITEM, Identifier.fromNamespaceAndPath(Fantasysmp.MOD_ID, name)) + val item = itemFactory(settings.setId(itemKey)) + Registry.register(BuiltInRegistries.ITEM, itemKey, item) + return item + } + + val CUSTOM_CREATIVE_TAB_KEY: ResourceKey = ResourceKey.create( + BuiltInRegistries.CREATIVE_MODE_TAB.key(), Identifier.fromNamespaceAndPath(Fantasysmp.MOD_ID, "creative_tab") + ) + + val CUSTOM_CREATIVE_TAB: CreativeModeTab = FabricCreativeModeTab.builder() + .icon(Supplier { ItemStack(WITHERITE_SWORD) }) + .title(Component.translatable("Fantasysmp")) + .displayItems(DisplayItemsGenerator { params: ItemDisplayParameters, output: CreativeModeTab.Output -> + Witherite.ITEMS.forEach { output.accept(it) } + }) + .build() + + fun init() { + Witherite.init(); + + Registry.register(BuiltInRegistries.CREATIVE_MODE_TAB, CUSTOM_CREATIVE_TAB_KEY, CUSTOM_CREATIVE_TAB); + } +} \ No newline at end of file diff --git a/src/main/kotlin/dev/zxq5/items/Witherite.kt b/src/main/kotlin/dev/zxq5/items/Witherite.kt new file mode 100644 index 0000000..e8b2d55 --- /dev/null +++ b/src/main/kotlin/dev/zxq5/items/Witherite.kt @@ -0,0 +1,96 @@ +package dev.zxq5.items + +import dev.zxq5.Fantasysmp +import dev.zxq5.items.ModItems.register +import net.minecraft.network.chat.Component +import net.minecraft.resources.Identifier +import net.minecraft.resources.ResourceKey +import net.minecraft.sounds.SoundEvents +import net.minecraft.sounds.SoundSource +import net.minecraft.tags.ItemTags +import net.minecraft.world.InteractionHand +import net.minecraft.world.InteractionResult +import net.minecraft.world.entity.Entity +import net.minecraft.world.entity.EntityType +import net.minecraft.world.entity.player.Player +import net.minecraft.world.entity.projectile.hurtingprojectile.WitherSkull +import net.minecraft.world.item.Item +import net.minecraft.world.item.ToolMaterial +import net.minecraft.world.item.equipment.* +import net.minecraft.world.level.Level + + +object Witherite { + val base_durability = 40; + val witherite_material_key: ResourceKey = ResourceKey.create( + EquipmentAssets.ROOT_ID, + Identifier.fromNamespaceAndPath(Fantasysmp.MOD_ID, "witherite") + ) + + val armorMaterial = ArmorMaterial( + base_durability, + mapOf( + ArmorType.HELMET to 3, + ArmorType.CHESTPLATE to 8, + ArmorType.LEGGINGS to 6, + ArmorType.BOOTS to 3, + ArmorType.BODY to 19, + ), + 5, + SoundEvents.ARMOR_EQUIP_NETHERITE, + 3.0f, + 0.1f, + ItemTags.REPAIRS_NETHERITE_ARMOR, + witherite_material_key, + ) + + val WITHERITE_SWORD = register("witherite_sword", ::WitheriteSword, + Item.Properties().sword(ToolMaterial.NETHERITE, 3.0F, -2.4F) + ) + val WITHERITE_HELMET = register( + "witherite_helmet", + ::Item, + Item.Properties().humanoidArmor(armorMaterial , ArmorType.HELMET) + .durability(ArmorType.HELMET.getDurability(armorMaterial.durability)) + ) + + val WITHERITE_CHESTPLATE = register( + "witherite_chestplate", + ::Item, + Item.Properties().humanoidArmor(armorMaterial , ArmorType.CHESTPLATE) + .durability(ArmorType.CHESTPLATE.getDurability(armorMaterial.durability)) + ) + + val WITHERITE_LEGGINGS = register( + "witherite_leggings", + ::Item, + Item.Properties().humanoidArmor(armorMaterial , ArmorType.LEGGINGS) + .durability(ArmorType.LEGGINGS.getDurability(armorMaterial.durability)) + ) + + val WITHERITE_BOOTS = register( + "witherite_boots", + ::Item, + Item.Properties().humanoidArmor(armorMaterial , ArmorType.BOOTS) + .durability(ArmorType.BOOTS.getDurability(armorMaterial.durability)) + ) + + val ITEMS = listOf(WITHERITE_SWORD, WITHERITE_HELMET, WITHERITE_CHESTPLATE, WITHERITE_LEGGINGS, WITHERITE_BOOTS) + + fun init() {} +} + +class WitheriteSword(properties: Properties) : Item(properties) { + override fun use(level: Level, user: Player, hand: InteractionHand): InteractionResult { + if (level.isClientSide) { + return InteractionResult.PASS; + } + + val skull = WitherSkull(EntityType.WITHER_SKULL, level) + skull.setPos(user.eyePosition) + skull.deltaMovement = user.lookAngle + level.addFreshEntity(skull) + skull.playSound(SoundEvents.WITHER_SHOOT) + return InteractionResult.SUCCESS; + } +} diff --git a/src/main/resources/assets/fantasysmp/equipment/alchemist.json b/src/main/resources/assets/fantasysmp/equipment/alchemist.json new file mode 100644 index 0000000..2c8c097 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/equipment/alchemist.json @@ -0,0 +1,14 @@ +{ + "layers": { + "humanoid": [ + { + "texture": "fantasysmp:alchemist" + } + ], + "humanoid_leggings": [ + { + "texture": "fantasysmp:alchemist" + } + ] + } +} diff --git a/src/main/resources/assets/fantasysmp/equipment/blazing.json b/src/main/resources/assets/fantasysmp/equipment/blazing.json new file mode 100644 index 0000000..076e1bf --- /dev/null +++ b/src/main/resources/assets/fantasysmp/equipment/blazing.json @@ -0,0 +1,14 @@ +{ + "layers": { + "humanoid": [ + { + "texture": "fantasysmp:blazing" + } + ], + "humanoid_leggings": [ + { + "texture": "fantasysmp:blazing" + } + ] + } +} diff --git a/src/main/resources/assets/fantasysmp/equipment/crimson.json b/src/main/resources/assets/fantasysmp/equipment/crimson.json new file mode 100644 index 0000000..d069a8e --- /dev/null +++ b/src/main/resources/assets/fantasysmp/equipment/crimson.json @@ -0,0 +1,14 @@ +{ + "layers": { + "humanoid": [ + { + "texture": "fantasysmp:crimson" + } + ], + "humanoid_leggings": [ + { + "texture": "fantasysmp:crimson" + } + ] + } +} diff --git a/src/main/resources/assets/fantasysmp/equipment/dragon.json b/src/main/resources/assets/fantasysmp/equipment/dragon.json new file mode 100644 index 0000000..e68e3f4 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/equipment/dragon.json @@ -0,0 +1,20 @@ +{ + "layers": { + "humanoid": [ + { + "texture": "fantasysmp:dragon" + } + ], + "humanoid_leggings": [ + { + "texture": "fantasysmp:dragon" + } + ], + "wings": [ + { + "texture": "fantasysmp:dragon", + "use_player_texture": false + } + ] + } +} diff --git a/src/main/resources/assets/fantasysmp/equipment/ender.json b/src/main/resources/assets/fantasysmp/equipment/ender.json new file mode 100644 index 0000000..689d7d8 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/equipment/ender.json @@ -0,0 +1,14 @@ +{ + "layers": { + "humanoid": [ + { + "texture": "fantasysmp:ender" + } + ], + "humanoid_leggings": [ + { + "texture": "fantasysmp:ender" + } + ] + } +} diff --git a/src/main/resources/assets/fantasysmp/equipment/mechanist.json b/src/main/resources/assets/fantasysmp/equipment/mechanist.json new file mode 100644 index 0000000..110375d --- /dev/null +++ b/src/main/resources/assets/fantasysmp/equipment/mechanist.json @@ -0,0 +1,14 @@ +{ + "layers": { + "humanoid": [ + { + "texture": "fantasysmp:mechanist" + } + ], + "humanoid_leggings": [ + { + "texture": "fantasysmp:mechanist" + } + ] + } +} diff --git a/src/main/resources/assets/fantasysmp/equipment/poseidon.json b/src/main/resources/assets/fantasysmp/equipment/poseidon.json new file mode 100644 index 0000000..93617cb --- /dev/null +++ b/src/main/resources/assets/fantasysmp/equipment/poseidon.json @@ -0,0 +1,14 @@ +{ + "layers": { + "humanoid": [ + { + "texture": "fantasysmp:poseidon" + } + ], + "humanoid_leggings": [ + { + "texture": "fantasysmp:poseidon" + } + ] + } +} diff --git a/src/main/resources/assets/fantasysmp/equipment/true_netherite.json b/src/main/resources/assets/fantasysmp/equipment/true_netherite.json new file mode 100644 index 0000000..e98c330 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/equipment/true_netherite.json @@ -0,0 +1,14 @@ +{ + "layers": { + "humanoid": [ + { + "texture": "fantasysmp:true_netherite" + } + ], + "humanoid_leggings": [ + { + "texture": "fantasysmp:true_netherite" + } + ] + } +} diff --git a/src/main/resources/assets/fantasysmp/equipment/witherite.json b/src/main/resources/assets/fantasysmp/equipment/witherite.json new file mode 100644 index 0000000..9ee21e6 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/equipment/witherite.json @@ -0,0 +1,14 @@ +{ + "layers": { + "humanoid": [ + { + "texture": "fantasysmp:witherite" + } + ], + "humanoid_leggings": [ + { + "texture": "fantasysmp:witherite" + } + ] + } +} diff --git a/src/main/resources/assets/fantasysmp/icon.png b/src/main/resources/assets/fantasysmp/icon.png new file mode 100644 index 0000000..bf6eb5d Binary files /dev/null and b/src/main/resources/assets/fantasysmp/icon.png differ diff --git a/src/main/resources/assets/fantasysmp/items/alchemist_boots.json b/src/main/resources/assets/fantasysmp/items/alchemist_boots.json new file mode 100644 index 0000000..b4aaa59 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/alchemist_boots.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/alchemist_boots" + } +} diff --git a/src/main/resources/assets/fantasysmp/items/alchemist_chestplate.json b/src/main/resources/assets/fantasysmp/items/alchemist_chestplate.json new file mode 100644 index 0000000..3efc70d --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/alchemist_chestplate.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/alchemist_chestplate" + } +} diff --git a/src/main/resources/assets/fantasysmp/items/alchemist_helmet.json b/src/main/resources/assets/fantasysmp/items/alchemist_helmet.json new file mode 100644 index 0000000..9cf4c33 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/alchemist_helmet.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/alchemist_helmet" + } +} diff --git a/src/main/resources/assets/fantasysmp/items/alchemist_leggings.json b/src/main/resources/assets/fantasysmp/items/alchemist_leggings.json new file mode 100644 index 0000000..5cea846 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/alchemist_leggings.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/alchemist_leggings" + } +} diff --git a/src/main/resources/assets/fantasysmp/items/alchemist_sword.json b/src/main/resources/assets/fantasysmp/items/alchemist_sword.json new file mode 100644 index 0000000..b0307d9 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/alchemist_sword.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/alchemist_sword" + } +} diff --git a/src/main/resources/assets/fantasysmp/items/blazing_boots.json b/src/main/resources/assets/fantasysmp/items/blazing_boots.json new file mode 100644 index 0000000..6053640 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/blazing_boots.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/blazing_boots" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/blazing_chestplate.json b/src/main/resources/assets/fantasysmp/items/blazing_chestplate.json new file mode 100644 index 0000000..d2a891d --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/blazing_chestplate.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/blazing_chestplate" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/blazing_helmet.json b/src/main/resources/assets/fantasysmp/items/blazing_helmet.json new file mode 100644 index 0000000..a5e2664 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/blazing_helmet.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/blazing_helmet" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/blazing_leggings.json b/src/main/resources/assets/fantasysmp/items/blazing_leggings.json new file mode 100644 index 0000000..f81d198 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/blazing_leggings.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/blazing_leggings" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/blazing_sword.json b/src/main/resources/assets/fantasysmp/items/blazing_sword.json new file mode 100644 index 0000000..1222fc9 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/blazing_sword.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/blazing_sword" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/crimson_sword.json b/src/main/resources/assets/fantasysmp/items/crimson_sword.json new file mode 100644 index 0000000..5dc32bd --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/crimson_sword.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/crimson_sword" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/dragon_boots.json b/src/main/resources/assets/fantasysmp/items/dragon_boots.json new file mode 100644 index 0000000..f4eff39 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/dragon_boots.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/dragon_boots" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/dragon_chestplate.json b/src/main/resources/assets/fantasysmp/items/dragon_chestplate.json new file mode 100644 index 0000000..1254694 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/dragon_chestplate.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/dragon_chestplate" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/dragon_helmet.json b/src/main/resources/assets/fantasysmp/items/dragon_helmet.json new file mode 100644 index 0000000..8255a3c --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/dragon_helmet.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/dragon_helmet" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/dragon_leggings.json b/src/main/resources/assets/fantasysmp/items/dragon_leggings.json new file mode 100644 index 0000000..77b439d --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/dragon_leggings.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/dragon_leggings" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/dragon_sword.json b/src/main/resources/assets/fantasysmp/items/dragon_sword.json new file mode 100644 index 0000000..59e5199 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/dragon_sword.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/dragon_sword" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/ender_boots.json b/src/main/resources/assets/fantasysmp/items/ender_boots.json new file mode 100644 index 0000000..f3a156c --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/ender_boots.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/ender_boots" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/ender_chestplate.json b/src/main/resources/assets/fantasysmp/items/ender_chestplate.json new file mode 100644 index 0000000..856e28d --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/ender_chestplate.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/ender_chestplate" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/ender_helmet.json b/src/main/resources/assets/fantasysmp/items/ender_helmet.json new file mode 100644 index 0000000..21bf193 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/ender_helmet.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/ender_helmet" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/ender_leggings.json b/src/main/resources/assets/fantasysmp/items/ender_leggings.json new file mode 100644 index 0000000..a202973 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/ender_leggings.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/ender_leggings" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/ender_sword.json b/src/main/resources/assets/fantasysmp/items/ender_sword.json new file mode 100644 index 0000000..2e33816 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/ender_sword.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/ender_sword" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/lightning_sword.json b/src/main/resources/assets/fantasysmp/items/lightning_sword.json new file mode 100644 index 0000000..652ac31 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/lightning_sword.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/lightning_sword" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/mechanist_bow.json b/src/main/resources/assets/fantasysmp/items/mechanist_bow.json new file mode 100644 index 0000000..2614460 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/mechanist_bow.json @@ -0,0 +1,35 @@ +{ + "model": { + "type": "minecraft:condition", + "on_false": { + "type": "minecraft:model", + "model": "fantasysmp:item/mechanist_bow" + }, + "on_true": { + "type": "minecraft:range_dispatch", + "entries": [ + { + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/mechanist_bow_pulling_1" + }, + "threshold": 0.65 + }, + { + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/mechanist_bow_pulling_2" + }, + "threshold": 0.9 + } + ], + "fallback": { + "type": "minecraft:model", + "model": "fantasysmp:item/mechanist_bow_pulling_0" + }, + "property": "minecraft:use_duration", + "scale": 0.05 + }, + "property": "minecraft:using_item" + } +} diff --git a/src/main/resources/assets/fantasysmp/items/mechanist_crossbow.json b/src/main/resources/assets/fantasysmp/items/mechanist_crossbow.json new file mode 100644 index 0000000..bed7f52 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/mechanist_crossbow.json @@ -0,0 +1,54 @@ +{ + "model": { + "type": "minecraft:select", + "cases": [ + { + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/mechanist_crossbow_arrow" + }, + "when": "arrow" + }, + { + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/mechanist_crossbow_firework" + }, + "when": "rocket" + } + ], + "fallback": { + "type": "minecraft:condition", + "on_false": { + "type": "minecraft:model", + "model": "fantasysmp:item/mechanist_crossbow" + }, + "on_true": { + "type": "minecraft:range_dispatch", + "entries": [ + { + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/mechanist_crossbow_pulling_1" + }, + "threshold": 0.58 + }, + { + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/mechanist_crossbow_pulling_2" + }, + "threshold": 1.0 + } + ], + "fallback": { + "type": "minecraft:model", + "model": "fantasysmp:item/mechanist_crossbow_pulling_0" + }, + "property": "minecraft:crossbow/pull" + }, + "property": "minecraft:using_item" + }, + "property": "minecraft:charge_type" + } +} diff --git a/src/main/resources/assets/fantasysmp/items/poseidons_boots.json b/src/main/resources/assets/fantasysmp/items/poseidons_boots.json new file mode 100644 index 0000000..cc22f41 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/poseidons_boots.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/poseidons_boots" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/poseidons_chestplate.json b/src/main/resources/assets/fantasysmp/items/poseidons_chestplate.json new file mode 100644 index 0000000..cf42006 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/poseidons_chestplate.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/poseidons_chestplate" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/poseidons_helmet.json b/src/main/resources/assets/fantasysmp/items/poseidons_helmet.json new file mode 100644 index 0000000..967b577 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/poseidons_helmet.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/poseidons_helmet" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/poseidons_leggings.json b/src/main/resources/assets/fantasysmp/items/poseidons_leggings.json new file mode 100644 index 0000000..af57cc1 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/poseidons_leggings.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/poseidons_leggings" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/poseidons_trident.json b/src/main/resources/assets/fantasysmp/items/poseidons_trident.json new file mode 100644 index 0000000..a1c8fa1 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/poseidons_trident.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/poseidons_trident" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/stevens_wrath.json b/src/main/resources/assets/fantasysmp/items/stevens_wrath.json new file mode 100644 index 0000000..bf5d702 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/stevens_wrath.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/stevens_wrath" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/true_netherite_boots.json b/src/main/resources/assets/fantasysmp/items/true_netherite_boots.json new file mode 100644 index 0000000..fa99ec3 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/true_netherite_boots.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/true_netherite_boots" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/true_netherite_chestplate.json b/src/main/resources/assets/fantasysmp/items/true_netherite_chestplate.json new file mode 100644 index 0000000..b59fbf8 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/true_netherite_chestplate.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/true_netherite_chestplate" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/true_netherite_helmet.json b/src/main/resources/assets/fantasysmp/items/true_netherite_helmet.json new file mode 100644 index 0000000..358e995 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/true_netherite_helmet.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/true_netherite_helmet" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/true_netherite_leggings.json b/src/main/resources/assets/fantasysmp/items/true_netherite_leggings.json new file mode 100644 index 0000000..a677e11 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/true_netherite_leggings.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/true_netherite_leggings" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/true_netherite_sword.json b/src/main/resources/assets/fantasysmp/items/true_netherite_sword.json new file mode 100644 index 0000000..f91117b --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/true_netherite_sword.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/true_netherite_sword" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/witherite_boots.json b/src/main/resources/assets/fantasysmp/items/witherite_boots.json new file mode 100644 index 0000000..e1573d4 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/witherite_boots.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/witherite_boots" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/witherite_chestplate.json b/src/main/resources/assets/fantasysmp/items/witherite_chestplate.json new file mode 100644 index 0000000..5f20cd2 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/witherite_chestplate.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/witherite_chestplate" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/witherite_helmet.json b/src/main/resources/assets/fantasysmp/items/witherite_helmet.json new file mode 100644 index 0000000..f2c8524 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/witherite_helmet.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/witherite_helmet" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/witherite_leggings.json b/src/main/resources/assets/fantasysmp/items/witherite_leggings.json new file mode 100644 index 0000000..e0eb31c --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/witherite_leggings.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/witherite_leggings" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/items/witherite_sword.json b/src/main/resources/assets/fantasysmp/items/witherite_sword.json new file mode 100644 index 0000000..4bcaccd --- /dev/null +++ b/src/main/resources/assets/fantasysmp/items/witherite_sword.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "fantasysmp:item/witherite_sword" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/lang/en_us.json b/src/main/resources/assets/fantasysmp/lang/en_us.json new file mode 100644 index 0000000..2a0b71f --- /dev/null +++ b/src/main/resources/assets/fantasysmp/lang/en_us.json @@ -0,0 +1,7 @@ +{ + "item.fantasysmp.witherite_sword": "Witherite Sword", + "item.fantasysmp.witherite_helmet": "Witherite Helmet", + "item.fantasysmp.witherite_chestplate": "Witherite Chestplate", + "item.fantasysmp.witherite_leggings": "Witherite Leggings", + "item.fantasysmp.witherite_boots": "Witherite Boots" +} \ No newline at end of file diff --git a/src/main/resources/assets/fantasysmp/models/item/alchemist_boots.json b/src/main/resources/assets/fantasysmp/models/item/alchemist_boots.json new file mode 100644 index 0000000..dcf8a37 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/alchemist_boots.json @@ -0,0 +1,6 @@ +{ + "parent": "item/diamond_boots", + "textures": { + "layer0": "fantasysmp:item/alchemist_boots" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/alchemist_chestplate.json b/src/main/resources/assets/fantasysmp/models/item/alchemist_chestplate.json new file mode 100644 index 0000000..eacd2cd --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/alchemist_chestplate.json @@ -0,0 +1,6 @@ +{ + "parent": "item/diamond_chestplate", + "textures": { + "layer0": "fantasysmp:item/alchemist_chestplate" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/alchemist_helmet.json b/src/main/resources/assets/fantasysmp/models/item/alchemist_helmet.json new file mode 100644 index 0000000..cba14e9 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/alchemist_helmet.json @@ -0,0 +1,6 @@ +{ + "parent": "item/diamond_helmet", + "textures": { + "layer0": "fantasysmp:item/alchemist_helmet" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/alchemist_leggings.json b/src/main/resources/assets/fantasysmp/models/item/alchemist_leggings.json new file mode 100644 index 0000000..95773eb --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/alchemist_leggings.json @@ -0,0 +1,6 @@ +{ + "parent": "item/diamond_leggings", + "textures": { + "layer0": "fantasysmp:item/alchemist_leggings" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/alchemist_sword.json b/src/main/resources/assets/fantasysmp/models/item/alchemist_sword.json new file mode 100644 index 0000000..76c6e2c --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/alchemist_sword.json @@ -0,0 +1,6 @@ +{ + "parent": "item/diamond_sword", + "textures": { + "layer0": "fantasysmp:item/alchemist_sword" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/blazing_boots.json b/src/main/resources/assets/fantasysmp/models/item/blazing_boots.json new file mode 100644 index 0000000..00903d4 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/blazing_boots.json @@ -0,0 +1,6 @@ +{ + "parent": "item/diamond_boots", + "textures": { + "layer0": "fantasysmp:item/blazing_boots" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/blazing_chestplate.json b/src/main/resources/assets/fantasysmp/models/item/blazing_chestplate.json new file mode 100644 index 0000000..613298d --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/blazing_chestplate.json @@ -0,0 +1,6 @@ +{ + "parent": "item/diamond_chestplate", + "textures": { + "layer0": "fantasysmp:item/blazing_chestplate" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/blazing_helmet.json b/src/main/resources/assets/fantasysmp/models/item/blazing_helmet.json new file mode 100644 index 0000000..21d3205 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/blazing_helmet.json @@ -0,0 +1,6 @@ +{ + "parent": "item/diamond_helmet", + "textures": { + "layer0": "fantasysmp:item/blazing_helmet" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/blazing_leggings.json b/src/main/resources/assets/fantasysmp/models/item/blazing_leggings.json new file mode 100644 index 0000000..5446f40 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/blazing_leggings.json @@ -0,0 +1,6 @@ +{ + "parent": "item/diamond_leggings", + "textures": { + "layer0": "fantasysmp:item/blazing_leggings" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/blazing_sword.json b/src/main/resources/assets/fantasysmp/models/item/blazing_sword.json new file mode 100644 index 0000000..07446a0 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/blazing_sword.json @@ -0,0 +1,6 @@ +{ + "parent": "item/diamond_sword", + "textures": { + "layer0": "fantasysmp:item/blazing_sword" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/crimson_sword.json b/src/main/resources/assets/fantasysmp/models/item/crimson_sword.json new file mode 100644 index 0000000..06dd5ce --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/crimson_sword.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_sword", + "textures": { + "layer0": "fantasysmp:item/crimson_sword" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/dragon_boots.json b/src/main/resources/assets/fantasysmp/models/item/dragon_boots.json new file mode 100644 index 0000000..72c2e9d --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/dragon_boots.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_boots", + "textures": { + "layer0": "fantasysmp:item/dragon_boots" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/dragon_chestplate.json b/src/main/resources/assets/fantasysmp/models/item/dragon_chestplate.json new file mode 100644 index 0000000..4aca58a --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/dragon_chestplate.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_chestplate", + "textures": { + "layer0": "fantasysmp:item/dragon_chestplate" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/dragon_helmet.json b/src/main/resources/assets/fantasysmp/models/item/dragon_helmet.json new file mode 100644 index 0000000..840891e --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/dragon_helmet.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_helmet", + "textures": { + "layer0": "fantasysmp:item/dragon_helmet" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/dragon_leggings.json b/src/main/resources/assets/fantasysmp/models/item/dragon_leggings.json new file mode 100644 index 0000000..765c495 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/dragon_leggings.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_leggings", + "textures": { + "layer0": "fantasysmp:item/dragon_leggings" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/dragon_sword.json b/src/main/resources/assets/fantasysmp/models/item/dragon_sword.json new file mode 100644 index 0000000..eecf62f --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/dragon_sword.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_sword", + "textures": { + "layer0": "fantasysmp:item/dragon_sword" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/ender_boots.json b/src/main/resources/assets/fantasysmp/models/item/ender_boots.json new file mode 100644 index 0000000..252e0ca --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/ender_boots.json @@ -0,0 +1,6 @@ +{ + "parent": "item/diamond_boots", + "textures": { + "layer0": "fantasysmp:item/ender_boots" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/ender_chestplate.json b/src/main/resources/assets/fantasysmp/models/item/ender_chestplate.json new file mode 100644 index 0000000..b8ebc4c --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/ender_chestplate.json @@ -0,0 +1,6 @@ +{ + "parent": "item/diamond_chestplate", + "textures": { + "layer0": "fantasysmp:item/ender_chestplate" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/ender_helmet.json b/src/main/resources/assets/fantasysmp/models/item/ender_helmet.json new file mode 100644 index 0000000..faccf09 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/ender_helmet.json @@ -0,0 +1,6 @@ +{ + "parent": "item/diamond_helmet", + "textures": { + "layer0": "fantasysmp:item/ender_helmet" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/ender_leggings.json b/src/main/resources/assets/fantasysmp/models/item/ender_leggings.json new file mode 100644 index 0000000..0ea5c88 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/ender_leggings.json @@ -0,0 +1,6 @@ +{ + "parent": "item/diamond_leggings", + "textures": { + "layer0": "fantasysmp:item/ender_leggings" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/ender_sword.json b/src/main/resources/assets/fantasysmp/models/item/ender_sword.json new file mode 100644 index 0000000..cd09d61 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/ender_sword.json @@ -0,0 +1,6 @@ +{ + "parent": "item/diamond_sword", + "textures": { + "layer0": "fantasysmp:item/ender_sword" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/lightning_sword.json b/src/main/resources/assets/fantasysmp/models/item/lightning_sword.json new file mode 100644 index 0000000..3eb342f --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/lightning_sword.json @@ -0,0 +1,7 @@ +{ + "parent": "item/netherite_sword", + "textures": { + "layer0": "fantasysmp:item/lightning_sword" + } +} + diff --git a/src/main/resources/assets/fantasysmp/models/item/mechanist_bow.json b/src/main/resources/assets/fantasysmp/models/item/mechanist_bow.json new file mode 100644 index 0000000..fd51f20 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/mechanist_bow.json @@ -0,0 +1,28 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "item/mechanist_bow" + }, + "display": { + "thirdperson_righthand": { + "rotation": [ -80, 260, -40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] + }, + "thirdperson_lefthand": { + "rotation": [ -80, -280, 40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] + }, + "firstperson_righthand": { + "rotation": [ 0, -90, 25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, 90, -25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] + } + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/mechanist_bow_pulling_0.json b/src/main/resources/assets/fantasysmp/models/item/mechanist_bow_pulling_0.json new file mode 100644 index 0000000..4ad1b87 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/mechanist_bow_pulling_0.json @@ -0,0 +1,6 @@ +{ + "parent": "item/bow", + "textures": { + "layer0": "fantasysmp:item/mechanist_bow_pulling_2" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/mechanist_bow_pulling_1.json b/src/main/resources/assets/fantasysmp/models/item/mechanist_bow_pulling_1.json new file mode 100644 index 0000000..c7755f4 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/mechanist_bow_pulling_1.json @@ -0,0 +1,6 @@ +{ + "parent": "item/bow", + "textures": { + "layer0": "fantasysmp:item/mechanist_bow_pulling_1" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/mechanist_bow_pulling_2.json b/src/main/resources/assets/fantasysmp/models/item/mechanist_bow_pulling_2.json new file mode 100644 index 0000000..4ad1b87 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/mechanist_bow_pulling_2.json @@ -0,0 +1,6 @@ +{ + "parent": "item/bow", + "textures": { + "layer0": "fantasysmp:item/mechanist_bow_pulling_2" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/mechanist_crossbow.json b/src/main/resources/assets/fantasysmp/models/item/mechanist_crossbow.json new file mode 100644 index 0000000..5e7deff --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/mechanist_crossbow.json @@ -0,0 +1,28 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "item/mechanist_crossbow_standby" + }, + "display": { + "thirdperson_righthand": { + "rotation": [ -90, 0, -60 ], + "translation": [ 2, 0.1, -3 ], + "scale": [ 0.9, 0.9, 0.9 ] + }, + "thirdperson_lefthand": { + "rotation": [ -90, 0, 30 ], + "translation": [ 2, 0.1, -3 ], + "scale": [ 0.9, 0.9, 0.9 ] + }, + "firstperson_righthand": { + "rotation": [ -90, 0, -55 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] + }, + "firstperson_lefthand": { + "rotation": [ -90, 0, 35 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] + } + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/mechanist_crossbow_arrow.json b/src/main/resources/assets/fantasysmp/models/item/mechanist_crossbow_arrow.json new file mode 100644 index 0000000..2c45c1c --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/mechanist_crossbow_arrow.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/crossbow", + "textures": { + "layer0": "minecraft:item/mechanist_crossbow_arrow" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/mechanist_crossbow_firework.json b/src/main/resources/assets/fantasysmp/models/item/mechanist_crossbow_firework.json new file mode 100644 index 0000000..a382175 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/mechanist_crossbow_firework.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/crossbow", + "textures": { + "layer0": "minecraft:item/mechanist_crossbow_firework" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/mechanist_crossbow_pulling_0.json b/src/main/resources/assets/fantasysmp/models/item/mechanist_crossbow_pulling_0.json new file mode 100644 index 0000000..ddeaf53 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/mechanist_crossbow_pulling_0.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/crossbow", + "textures": { + "layer0": "minecraft:item/mechanist_crossbow_pulling_0" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/mechanist_crossbow_pulling_1.json b/src/main/resources/assets/fantasysmp/models/item/mechanist_crossbow_pulling_1.json new file mode 100644 index 0000000..0b58bc6 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/mechanist_crossbow_pulling_1.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/crossbow", + "textures": { + "layer0": "minecraft:item/mechanist_crossbow_pulling_1" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/mechanist_crossbow_pulling_2.json b/src/main/resources/assets/fantasysmp/models/item/mechanist_crossbow_pulling_2.json new file mode 100644 index 0000000..15cc688 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/mechanist_crossbow_pulling_2.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/crossbow", + "textures": { + "layer0": "minecraft:item/mechanist_crossbow_pulling_2" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/poseidons_boots.json b/src/main/resources/assets/fantasysmp/models/item/poseidons_boots.json new file mode 100644 index 0000000..b0b7048 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/poseidons_boots.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_boots", + "textures": { + "layer0": "fantasysmp:item/poseidons_boots" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/poseidons_chestplate.json b/src/main/resources/assets/fantasysmp/models/item/poseidons_chestplate.json new file mode 100644 index 0000000..be0102f --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/poseidons_chestplate.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_chestplate", + "textures": { + "layer0": "fantasysmp:item/poseidons_chestplate" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/poseidons_helmet.json b/src/main/resources/assets/fantasysmp/models/item/poseidons_helmet.json new file mode 100644 index 0000000..f10a057 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/poseidons_helmet.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_helmet", + "textures": { + "layer0": "fantasysmp:item/poseidons_helmet" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/poseidons_leggings.json b/src/main/resources/assets/fantasysmp/models/item/poseidons_leggings.json new file mode 100644 index 0000000..b9c188c --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/poseidons_leggings.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_leggings", + "textures": { + "layer0": "fantasysmp:item/poseidons_leggings" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/poseidons_trident.json b/src/main/resources/assets/fantasysmp/models/item/poseidons_trident.json new file mode 100644 index 0000000..f3cee1b --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/poseidons_trident.json @@ -0,0 +1,6 @@ +{ + "parent": "item/trident", + "textures": { + "layer0": "fantasysmp:item/poseidons_trident" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/stevens_wrath.json b/src/main/resources/assets/fantasysmp/models/item/stevens_wrath.json new file mode 100644 index 0000000..0242ba8 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/stevens_wrath.json @@ -0,0 +1,28 @@ +{ + "parent": "item/netherite_sword", + "display": { + "thirdperson_righthand": { + "rotation": [ 0, -90, 55 ], + "translation": [ 0, 12, -1 ], + "scale": [ 2.0, 2.0, 1.25 ] + }, + "thirdperson_lefthand": { + "rotation": [ 0, 90, -55 ], + "translation": [ 0, 12, -1 ], + "scale": [ 2.0, 2.0, 1.25 ] + }, + "firstperson_righthand": { + "rotation": [ 0, -90, 40 ], + "translation": [ 1.13, 3.2, 1.13 ], + "scale": [ 1.5, 1.5, 1.5 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, 90, -40 ], + "translation": [ 1.13, 3.2, 1.13 ], + "scale": [ 1.5, 1.5, 1.5 ] + } + }, + "textures": { + "layer0": "fantasysmp:item/stevens_wrath" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/true_netherite_boots.json b/src/main/resources/assets/fantasysmp/models/item/true_netherite_boots.json new file mode 100644 index 0000000..22e417d --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/true_netherite_boots.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_boots", + "textures": { + "layer0": "fantasysmp:item/true_netherite_boots" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/true_netherite_chestplate.json b/src/main/resources/assets/fantasysmp/models/item/true_netherite_chestplate.json new file mode 100644 index 0000000..85c9d30 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/true_netherite_chestplate.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_chestplate", + "textures": { + "layer0": "fantasysmp:item/true_netherite_chestplate" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/true_netherite_helmet.json b/src/main/resources/assets/fantasysmp/models/item/true_netherite_helmet.json new file mode 100644 index 0000000..6bb94d7 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/true_netherite_helmet.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_helmet", + "textures": { + "layer0": "fantasysmp:item/true_netherite_helmet" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/true_netherite_leggings.json b/src/main/resources/assets/fantasysmp/models/item/true_netherite_leggings.json new file mode 100644 index 0000000..9968dee --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/true_netherite_leggings.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_leggings", + "textures": { + "layer0": "fantasysmp:item/true_netherite_leggings" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/true_netherite_sword.json b/src/main/resources/assets/fantasysmp/models/item/true_netherite_sword.json new file mode 100644 index 0000000..0e60334 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/true_netherite_sword.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_sword", + "textures": { + "layer0": "fantasysmp:item/true_netherite_sword" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/witherite_boots.json b/src/main/resources/assets/fantasysmp/models/item/witherite_boots.json new file mode 100644 index 0000000..d77f39b --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/witherite_boots.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_boots", + "textures": { + "layer0": "fantasysmp:item/witherite_boots" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/witherite_chestplate.json b/src/main/resources/assets/fantasysmp/models/item/witherite_chestplate.json new file mode 100644 index 0000000..d758f93 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/witherite_chestplate.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_chestplate", + "textures": { + "layer0": "fantasysmp:item/witherite_chestplate" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/witherite_helmet.json b/src/main/resources/assets/fantasysmp/models/item/witherite_helmet.json new file mode 100644 index 0000000..b4203a2 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/witherite_helmet.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_helmet", + "textures": { + "layer0": "fantasysmp:item/witherite_helmet" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/witherite_leggings.json b/src/main/resources/assets/fantasysmp/models/item/witherite_leggings.json new file mode 100644 index 0000000..8a8f7fc --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/witherite_leggings.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_leggings", + "textures": { + "layer0": "fantasysmp:item/witherite_leggings" + } +} diff --git a/src/main/resources/assets/fantasysmp/models/item/witherite_sword.json b/src/main/resources/assets/fantasysmp/models/item/witherite_sword.json new file mode 100644 index 0000000..788fc77 --- /dev/null +++ b/src/main/resources/assets/fantasysmp/models/item/witherite_sword.json @@ -0,0 +1,6 @@ +{ + "parent": "item/netherite_sword", + "textures": { + "layer0": "fantasysmp:item/witherite_sword" + } +} diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/alchemist.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/alchemist.png new file mode 100644 index 0000000..e518162 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/alchemist.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/blazing.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/blazing.png new file mode 100644 index 0000000..c9d7034 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/blazing.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/chainmail.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/chainmail.png new file mode 100644 index 0000000..cd9ed23 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/chainmail.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/crimson.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/crimson.png new file mode 100644 index 0000000..7191fab Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/crimson.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/diamond.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/diamond.png new file mode 100644 index 0000000..750b61d Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/diamond.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/dragon.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/dragon.png new file mode 100644 index 0000000..8f0ce15 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/dragon.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/ender.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/ender.png new file mode 100644 index 0000000..b921599 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/ender.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/gold.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/gold.png new file mode 100644 index 0000000..bbd3011 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/gold.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/iron.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/iron.png new file mode 100644 index 0000000..9c54e7e Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/iron.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/mechanist.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/mechanist.png new file mode 100644 index 0000000..224aba2 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/mechanist.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/netherite.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/netherite.png new file mode 100644 index 0000000..11c961e Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/netherite.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/poseidon.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/poseidon.png new file mode 100644 index 0000000..253156e Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/poseidon.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/true_netherite.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/true_netherite.png new file mode 100644 index 0000000..38193d6 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/true_netherite.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/witherite.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/witherite.png new file mode 100644 index 0000000..b8a8fba Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid/witherite.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/alchemist.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/alchemist.png new file mode 100644 index 0000000..4003a1b Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/alchemist.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/blazing.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/blazing.png new file mode 100644 index 0000000..044dc31 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/blazing.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/crimson.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/crimson.png new file mode 100644 index 0000000..8000588 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/crimson.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/diamond.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/diamond.png new file mode 100644 index 0000000..a9d69e8 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/diamond.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/dragon.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/dragon.png new file mode 100644 index 0000000..b63577f Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/dragon.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/ender.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/ender.png new file mode 100644 index 0000000..a5cfe02 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/ender.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/gold.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/gold.png new file mode 100644 index 0000000..0d1032e Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/gold.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/iron.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/iron.png new file mode 100644 index 0000000..f45fb53 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/iron.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/mechanist.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/mechanist.png new file mode 100644 index 0000000..463932d Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/mechanist.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/netherite.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/netherite.png new file mode 100644 index 0000000..526c7be Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/netherite.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/poseidon.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/poseidon.png new file mode 100644 index 0000000..e318aa6 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/poseidon.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/true_netherite.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/true_netherite.png new file mode 100644 index 0000000..6784d11 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/true_netherite.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/witherite.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/witherite.png new file mode 100644 index 0000000..6852425 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/humanoid_leggings/witherite.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/wings/dragon.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/wings/dragon.png new file mode 100644 index 0000000..e1db4b9 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/wings/dragon.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/equipment/wings/elytra.png b/src/main/resources/assets/fantasysmp/textures/entity/equipment/wings/elytra.png new file mode 100644 index 0000000..7f21953 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/equipment/wings/elytra.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/entity/poseidons_trident.png b/src/main/resources/assets/fantasysmp/textures/entity/poseidons_trident.png new file mode 100644 index 0000000..fefbf08 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/entity/poseidons_trident.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/alchemist_boots.png b/src/main/resources/assets/fantasysmp/textures/item/alchemist_boots.png new file mode 100644 index 0000000..7d34fa9 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/alchemist_boots.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/alchemist_chestplate.png b/src/main/resources/assets/fantasysmp/textures/item/alchemist_chestplate.png new file mode 100644 index 0000000..80707ab Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/alchemist_chestplate.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/alchemist_helmet.png b/src/main/resources/assets/fantasysmp/textures/item/alchemist_helmet.png new file mode 100644 index 0000000..b6137f0 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/alchemist_helmet.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/alchemist_leggings.png b/src/main/resources/assets/fantasysmp/textures/item/alchemist_leggings.png new file mode 100644 index 0000000..33807d6 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/alchemist_leggings.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/alchemist_sword.png b/src/main/resources/assets/fantasysmp/textures/item/alchemist_sword.png new file mode 100644 index 0000000..29f2fdd Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/alchemist_sword.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/blazing_boots.png b/src/main/resources/assets/fantasysmp/textures/item/blazing_boots.png new file mode 100644 index 0000000..ac9bcd2 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/blazing_boots.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/blazing_chestplate.png b/src/main/resources/assets/fantasysmp/textures/item/blazing_chestplate.png new file mode 100644 index 0000000..b9a643f Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/blazing_chestplate.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/blazing_helmet.png b/src/main/resources/assets/fantasysmp/textures/item/blazing_helmet.png new file mode 100644 index 0000000..0ab0c5f Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/blazing_helmet.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/blazing_leggings.png b/src/main/resources/assets/fantasysmp/textures/item/blazing_leggings.png new file mode 100644 index 0000000..6b9dcdb Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/blazing_leggings.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/blazing_sword.png b/src/main/resources/assets/fantasysmp/textures/item/blazing_sword.png new file mode 100644 index 0000000..b3f5d51 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/blazing_sword.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/crimson_boots.png b/src/main/resources/assets/fantasysmp/textures/item/crimson_boots.png new file mode 100644 index 0000000..215efd7 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/crimson_boots.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/crimson_chestplate.png b/src/main/resources/assets/fantasysmp/textures/item/crimson_chestplate.png new file mode 100644 index 0000000..35b2fcb Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/crimson_chestplate.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/crimson_helmet.png b/src/main/resources/assets/fantasysmp/textures/item/crimson_helmet.png new file mode 100644 index 0000000..7f6b54b Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/crimson_helmet.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/crimson_leggings.png b/src/main/resources/assets/fantasysmp/textures/item/crimson_leggings.png new file mode 100644 index 0000000..a7e8c6a Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/crimson_leggings.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/crimson_sword.png b/src/main/resources/assets/fantasysmp/textures/item/crimson_sword.png new file mode 100644 index 0000000..f618846 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/crimson_sword.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/dragon_boots.png b/src/main/resources/assets/fantasysmp/textures/item/dragon_boots.png new file mode 100644 index 0000000..0621481 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/dragon_boots.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/dragon_chestplate.png b/src/main/resources/assets/fantasysmp/textures/item/dragon_chestplate.png new file mode 100644 index 0000000..3ca1a65 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/dragon_chestplate.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/dragon_helmet.png b/src/main/resources/assets/fantasysmp/textures/item/dragon_helmet.png new file mode 100644 index 0000000..1f6facf Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/dragon_helmet.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/dragon_leggings.png b/src/main/resources/assets/fantasysmp/textures/item/dragon_leggings.png new file mode 100644 index 0000000..d1a2aff Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/dragon_leggings.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/dragon_sword.png b/src/main/resources/assets/fantasysmp/textures/item/dragon_sword.png new file mode 100644 index 0000000..56f66f6 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/dragon_sword.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/ender_boots.png b/src/main/resources/assets/fantasysmp/textures/item/ender_boots.png new file mode 100644 index 0000000..902a9d2 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/ender_boots.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/ender_chestplate.png b/src/main/resources/assets/fantasysmp/textures/item/ender_chestplate.png new file mode 100644 index 0000000..ddb3dcc Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/ender_chestplate.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/ender_helmet.png b/src/main/resources/assets/fantasysmp/textures/item/ender_helmet.png new file mode 100644 index 0000000..b328975 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/ender_helmet.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/ender_leggings.png b/src/main/resources/assets/fantasysmp/textures/item/ender_leggings.png new file mode 100644 index 0000000..a777e30 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/ender_leggings.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/ender_sword.png b/src/main/resources/assets/fantasysmp/textures/item/ender_sword.png new file mode 100644 index 0000000..a50a4a8 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/ender_sword.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/lightning_sword.png b/src/main/resources/assets/fantasysmp/textures/item/lightning_sword.png new file mode 100644 index 0000000..b7e17b2 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/lightning_sword.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/mechanist_bow.png b/src/main/resources/assets/fantasysmp/textures/item/mechanist_bow.png new file mode 100644 index 0000000..0d356fc Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/mechanist_bow.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/mechanist_bow_pulling_0.png b/src/main/resources/assets/fantasysmp/textures/item/mechanist_bow_pulling_0.png new file mode 100644 index 0000000..37a33f4 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/mechanist_bow_pulling_0.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/mechanist_bow_pulling_1.png b/src/main/resources/assets/fantasysmp/textures/item/mechanist_bow_pulling_1.png new file mode 100644 index 0000000..3f60ce0 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/mechanist_bow_pulling_1.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/mechanist_bow_pulling_2.png b/src/main/resources/assets/fantasysmp/textures/item/mechanist_bow_pulling_2.png new file mode 100644 index 0000000..64d7293 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/mechanist_bow_pulling_2.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/mechanist_crossbow_arrow.png b/src/main/resources/assets/fantasysmp/textures/item/mechanist_crossbow_arrow.png new file mode 100644 index 0000000..d01d164 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/mechanist_crossbow_arrow.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/mechanist_crossbow_firework.png b/src/main/resources/assets/fantasysmp/textures/item/mechanist_crossbow_firework.png new file mode 100644 index 0000000..d0bcdf1 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/mechanist_crossbow_firework.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/mechanist_crossbow_pulling_0.png b/src/main/resources/assets/fantasysmp/textures/item/mechanist_crossbow_pulling_0.png new file mode 100644 index 0000000..3dd7834 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/mechanist_crossbow_pulling_0.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/mechanist_crossbow_pulling_1.png b/src/main/resources/assets/fantasysmp/textures/item/mechanist_crossbow_pulling_1.png new file mode 100644 index 0000000..b2b976c Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/mechanist_crossbow_pulling_1.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/mechanist_crossbow_pulling_2.png b/src/main/resources/assets/fantasysmp/textures/item/mechanist_crossbow_pulling_2.png new file mode 100644 index 0000000..988145b Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/mechanist_crossbow_pulling_2.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/mechanist_crossbow_standby.png b/src/main/resources/assets/fantasysmp/textures/item/mechanist_crossbow_standby.png new file mode 100644 index 0000000..9e5b6d8 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/mechanist_crossbow_standby.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/poseidons_boots.png b/src/main/resources/assets/fantasysmp/textures/item/poseidons_boots.png new file mode 100644 index 0000000..549d59b Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/poseidons_boots.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/poseidons_chestplate.png b/src/main/resources/assets/fantasysmp/textures/item/poseidons_chestplate.png new file mode 100644 index 0000000..a28175e Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/poseidons_chestplate.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/poseidons_helmet.png b/src/main/resources/assets/fantasysmp/textures/item/poseidons_helmet.png new file mode 100644 index 0000000..fe67291 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/poseidons_helmet.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/poseidons_leggings.png b/src/main/resources/assets/fantasysmp/textures/item/poseidons_leggings.png new file mode 100644 index 0000000..4fa0c65 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/poseidons_leggings.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/poseidons_trident.png b/src/main/resources/assets/fantasysmp/textures/item/poseidons_trident.png new file mode 100644 index 0000000..c05c327 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/poseidons_trident.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/stevens_wrath.png b/src/main/resources/assets/fantasysmp/textures/item/stevens_wrath.png new file mode 100644 index 0000000..d550753 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/stevens_wrath.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/true_netherite_boots.png b/src/main/resources/assets/fantasysmp/textures/item/true_netherite_boots.png new file mode 100644 index 0000000..56f3176 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/true_netherite_boots.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/true_netherite_chestplate.png b/src/main/resources/assets/fantasysmp/textures/item/true_netherite_chestplate.png new file mode 100644 index 0000000..0f44624 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/true_netherite_chestplate.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/true_netherite_helmet.png b/src/main/resources/assets/fantasysmp/textures/item/true_netherite_helmet.png new file mode 100644 index 0000000..6f9f75f Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/true_netherite_helmet.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/true_netherite_leggings.png b/src/main/resources/assets/fantasysmp/textures/item/true_netherite_leggings.png new file mode 100644 index 0000000..ef5b311 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/true_netherite_leggings.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/true_netherite_sword.png b/src/main/resources/assets/fantasysmp/textures/item/true_netherite_sword.png new file mode 100644 index 0000000..a929741 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/true_netherite_sword.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/witherite_axe.png b/src/main/resources/assets/fantasysmp/textures/item/witherite_axe.png new file mode 100644 index 0000000..324f861 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/witherite_axe.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/witherite_boots.png b/src/main/resources/assets/fantasysmp/textures/item/witherite_boots.png new file mode 100644 index 0000000..11d137d Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/witherite_boots.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/witherite_chestplate.png b/src/main/resources/assets/fantasysmp/textures/item/witherite_chestplate.png new file mode 100644 index 0000000..098aedb Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/witherite_chestplate.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/witherite_helmet.png b/src/main/resources/assets/fantasysmp/textures/item/witherite_helmet.png new file mode 100644 index 0000000..264937b Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/witherite_helmet.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/witherite_leggings.png b/src/main/resources/assets/fantasysmp/textures/item/witherite_leggings.png new file mode 100644 index 0000000..8487cb0 Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/witherite_leggings.png differ diff --git a/src/main/resources/assets/fantasysmp/textures/item/witherite_sword.png b/src/main/resources/assets/fantasysmp/textures/item/witherite_sword.png new file mode 100644 index 0000000..f7435ba Binary files /dev/null and b/src/main/resources/assets/fantasysmp/textures/item/witherite_sword.png differ diff --git a/src/main/resources/data/fantasysmp/recipe/witherite_boots.json b/src/main/resources/data/fantasysmp/recipe/witherite_boots.json new file mode 100644 index 0000000..753bde1 --- /dev/null +++ b/src/main/resources/data/fantasysmp/recipe/witherite_boots.json @@ -0,0 +1,9 @@ +{ + "type": "minecraft:smithing_transform", + "template": "minecraft:netherite_upgrade_smithing_template", + "base": "minecraft:netherite_boots", + "addition": "minecraft:wither_skeleton_skull", + "result": { + "id": "fantasysmp:witherite_boots" + } +} diff --git a/src/main/resources/data/fantasysmp/recipe/witherite_chestplate.json b/src/main/resources/data/fantasysmp/recipe/witherite_chestplate.json new file mode 100644 index 0000000..ff74366 --- /dev/null +++ b/src/main/resources/data/fantasysmp/recipe/witherite_chestplate.json @@ -0,0 +1,9 @@ +{ + "type": "minecraft:smithing_transform", + "template": "minecraft:netherite_upgrade_smithing_template", + "base": "minecraft:netherite_chestplate", + "addition": "minecraft:wither_skeleton_skull", + "result": { + "id": "fantasysmp:witherite_chestplate" + } +} diff --git a/src/main/resources/data/fantasysmp/recipe/witherite_helmet.json b/src/main/resources/data/fantasysmp/recipe/witherite_helmet.json new file mode 100644 index 0000000..ee4cdb1 --- /dev/null +++ b/src/main/resources/data/fantasysmp/recipe/witherite_helmet.json @@ -0,0 +1,9 @@ +{ + "type": "minecraft:smithing_transform", + "template": "minecraft:netherite_upgrade_smithing_template", + "base": "minecraft:netherite_helmet", + "addition": "minecraft:wither_skeleton_skull", + "result": { + "id": "fantasysmp:witherite_helmet" + } +} diff --git a/src/main/resources/data/fantasysmp/recipe/witherite_leggings.json b/src/main/resources/data/fantasysmp/recipe/witherite_leggings.json new file mode 100644 index 0000000..51251f9 --- /dev/null +++ b/src/main/resources/data/fantasysmp/recipe/witherite_leggings.json @@ -0,0 +1,9 @@ +{ + "type": "minecraft:smithing_transform", + "template": "minecraft:netherite_upgrade_smithing_template", + "base": "minecraft:netherite_leggings", + "addition": "minecraft:wither_skeleton_skull", + "result": { + "id": "fantasysmp:witherite_leggings" + } +} diff --git a/src/main/resources/data/fantasysmp/recipe/witherite_sword.json b/src/main/resources/data/fantasysmp/recipe/witherite_sword.json new file mode 100644 index 0000000..13d0580 --- /dev/null +++ b/src/main/resources/data/fantasysmp/recipe/witherite_sword.json @@ -0,0 +1,9 @@ +{ + "type": "minecraft:smithing_transform", + "template": "minecraft:netherite_upgrade_smithing_template", + "base": "minecraft:netherite_sword", + "addition": "minecraft:wither_skeleton_skull", + "result": { + "id": "fantasysmp:witherite_sword" + } +} \ No newline at end of file diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json new file mode 100644 index 0000000..ddb3702 --- /dev/null +++ b/src/main/resources/fabric.mod.json @@ -0,0 +1,51 @@ +{ + "schemaVersion": 1, + "id": "fantasysmp", + "version": "${version}", + "name": "fantasysmp", + "description": "Custom items for fantasysmp", + "authors": [ + "Me!" + ], + "contact": { + "homepage": "https://git.zxq5.net/steven_legion/fantasysmp_fabric", + "sources": "https://git.zxq5.net/steven_legion/fantasysmp_fabric" + }, + "license": "CC0-1.0", + "icon": "assets/fantasysmp/icon.png", + "environment": "*", + "entrypoints": { + "main": [ + { + "value": "dev.zxq5.Fantasysmp", + "adapter": "kotlin" + } + ], + "client": [ + { + "value": "dev.zxq5.client.FantasysmpClient", + "adapter": "kotlin" + } + ], + "fabric-datagen": [ + { + "value": "dev.zxq5.client.FantasysmpDataGenerator", + "adapter": "kotlin" + } + ] + }, + "mixins": [ + "fantasysmp.mixins.json", + { + "config": "fantasysmp.client.mixins.json", + "environment": "client" + } + ], + "depends": { + "fabricloader": ">=0.19.3", + "minecraft": "~26.1.2", + "java": ">=25", + "fabric-api": "*", + "fabric-language-kotlin": "*" + } +} \ No newline at end of file diff --git a/src/main/resources/fantasysmp.mixins.json b/src/main/resources/fantasysmp.mixins.json new file mode 100644 index 0000000..4a323a9 --- /dev/null +++ b/src/main/resources/fantasysmp.mixins.json @@ -0,0 +1,14 @@ +{ + "required": true, + "package": "dev.zxq5.mixin", + "compatibilityLevel": "JAVA_25", + "mixins": [ + "ExampleMixin" + ], + "injectors": { + "defaultRequire": 1 + }, + "overwrites": { + "requireAnnotations": true + } +} \ No newline at end of file