commit 1260a1271e2bda94fb48d3e0544c739759ea6cea Author: Ryan <78032176+BigGaemer@users.noreply.github.com> Date: Fri Jan 19 22:36:45 2024 +0200 Initial commit diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dfe0770 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Auto detect text files and perform LF normalization +* text=auto diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9338c8e --- /dev/null +++ b/.gitignore @@ -0,0 +1,25 @@ +# eclipse +bin +*.launch +.settings +.metadata +.classpath +.project + +# idea +out +*.ipr +*.iws +*.iml +.idea + +# gradle +build +.gradle + +# other +eclipse +run + +*.un~ +libs diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..e0f15db --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "java.configuration.updateBuildConfiguration": "automatic" +} \ No newline at end of file diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 0000000..f560674 --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,24 @@ +# Changes +## 1.19-0.0.3-PR +- created Mync +- created Lata (name TBD) +- removed not my code +- added Mync Eye for Mync origin icon +- cosmo please fucking finish the monarch + +## 1.19-0.0.4-PR +- created Kefflade +- cosmo finished monarch + +## 1.19.2-0.0.5-PR +- created Müs +- added umbrella +- changed all latos vulnerability to sun damage +- added more keybinds to origins +- set incompatibility with origins extra keybinds mod +- updated to 1.19.2 +- made latos tall +- a few bug fixes + +## 1.20.1-0.0.6-PR +- update to 1.20.1 \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md new file mode 100644 index 0000000..3b61d7b --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +# GamerOrigins + +

+ +

+

+ epicgaming + epicgaming +

+

+ epicgaming +

+

+ epicgaming +

+ +GamerOrigins adds a few origins to the Origins mod + +### Modpack usage + +You want to use it in a modpack? Sure! Just remember to credit me or the ARCMods team, this is a threat. + +### Issues + +If you find an issue or bug in the mod or just have a general suggestion you can write it [here](https://github.com/RyanTLG/GamerOrigins/issues) + + +### About requests +Will I code for Forge? no. +
+ diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..3ada525 --- /dev/null +++ b/build.gradle @@ -0,0 +1,97 @@ +plugins { + id 'fabric-loom' version '1.3-SNAPSHOT' + id 'maven-publish' +} + +sourceCompatibility = JavaVersion.VERSION_17 +targetCompatibility = JavaVersion.VERSION_17 + +archivesBaseName = project.archives_base_name +version = project.mod_version +group = project.maven_group + +repositories { + maven { + name "cloth config" + url "https://maven.shedaniel.me" + } + maven { + name "mod menu" + url "https://maven.terraformersmc.com" + } + maven { + name "playerabilitylib" + url "https://maven.ladysnake.org/releases" + } + maven { + name "reach entity attributes" + url "https://maven.jamieswhiteshirt.com/libs-release" + } + maven { + name "jitpack" + url "https://jitpack.io" + } +} + +dependencies { + minecraft "com.mojang:minecraft:${project.minecraft_version}" + mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2" + + modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" + modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" + modImplementation "com.terraformersmc:modmenu:${project.modmenu_version}" + modImplementation "com.github.apace100:origins-fabric:${project.origins_version}" + modApi("com.github.Virtuoel:Pehkui:${pehkui_version}", { + exclude group: "net.fabricmc.fabric-api" + }) +} + +processResources { + inputs.property "version", project.version + + filteringCharset = "UTF-8" + + filesMatching("fabric.mod.json") { + expand "version": project.version + } +} + +// ensure that the encoding is set to UTF-8, no matter what the system default is +// this fixes some edge cases with special characters not displaying correctly +// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html +tasks.withType(JavaCompile) { + options.encoding = "UTF-8" +} + +// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task +// if it is present. +// If you remove this task, sources will not be generated. +// task sourcesJar(type: Jar, dependsOn: classes) { +// classifier = "sources" +// from sourceSets.main.allSource +// } + +jar { + from "LICENSE" +} + +// configure the maven publication +publishing { + publications { + mavenJava(MavenPublication) { + // add all the jars that should be included when publishing to maven + artifact(remapJar) { + builtBy remapJar + } + // artifact(sourcesJar) { + // builtBy remapSourcesJar + // } + } + } + + // select the repositories you want to publish to + repositories { + // uncomment to publish to the local maven + // mavenLocal() + } +} diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..bed7e31 --- /dev/null +++ b/gradle.properties @@ -0,0 +1,20 @@ +# Done to increase the memory available to gradle. +org.gradle.jvmargs=-Xmx2G + +# Fabric Properties +minecraft_version=1.20.1 +yarn_mappings=1.20.1+build.10 +loader_version=0.14.24 + +# Mod Properties +mod_version=1.20.1-0.0.6-PR +maven_group=dev.gamer +archives_base_name=GamerOrigins + +# Dependencies +fabric_version=0.90.7+1.20.1 +modmenu_version=7.2.2 +pehkui_version=3.7.8 +origins_version=0dfec42 + +# i want to fucking die, then do it \ 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..62d4c05 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..fae0804 --- /dev/null +++ b/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew new file mode 100755 index 0000000..fbd7c51 --- /dev/null +++ b/gradlew @@ -0,0 +1,185 @@ +#!/usr/bin/env sh + +# +# Copyright 2015 the original author or authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +############################################################################## +## +## Gradle start up script for UN*X +## +############################################################################## + +# Attempt to set APP_HOME +# Resolve links: $0 may be a link +PRG="$0" +# Need this for relative symlinks. +while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >/dev/null +APP_HOME="`pwd -P`" +cd "$SAVED" >/dev/null + +APP_NAME="Gradle" +APP_BASE_NAME=`basename "$0"` + +# 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"' + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD="maximum" + +warn () { + echo "$*" +} + +die () { + echo + echo "$*" + echo + exit 1 +} + +# 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 + ;; + MINGW* ) + msys=true + ;; + NONSTOP* ) + nonstop=true + ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD="java" + which java >/dev/null 2>&1 || 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 + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then + MAX_FD_LIMIT=`ulimit -H -n` + if [ $? -eq 0 ] ; then + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then + MAX_FD="$MAX_FD_LIMIT" + fi + ulimit -n $MAX_FD + if [ $? -ne 0 ] ; then + warn "Could not set maximum file descriptor limit: $MAX_FD" + fi + else + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin or MSYS, switch paths to Windows format before running java +if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then + APP_HOME=`cygpath --path --mixed "$APP_HOME"` + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + + JAVACMD=`cygpath --unix "$JAVACMD"` + + # We build the pattern for arguments to be converted via cygpath + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` + SEP="" + for dir in $ROOTDIRSRAW ; do + ROOTDIRS="$ROOTDIRS$SEP$dir" + SEP="|" + done + OURCYGPATTERN="(^($ROOTDIRS))" + # Add a user-defined pattern to the cygpath arguments + if [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" + fi + # Now convert the arguments - kludge to limit ourselves to /bin/sh + i=0 + for arg in "$@" ; do + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option + + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` + else + eval `echo args$i`="\"$arg\"" + fi + i=`expr $i + 1` + done + case $i in + 0) set -- ;; + 1) set -- "$args0" ;; + 2) set -- "$args0" "$args1" ;; + 3) set -- "$args0" "$args1" "$args2" ;; + 4) set -- "$args0" "$args1" "$args2" "$args3" ;; + 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + esac +fi + +# Escape application args +save () { + for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done + echo " " +} +APP_ARGS=`save "$@"` + +# Collect all arguments for the java command, following the shell quoting and substitution rules +eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" + +exec "$JAVACMD" "$@" diff --git a/gradlew.bat b/gradlew.bat new file mode 100644 index 0000000..5093609 --- /dev/null +++ b/gradlew.bat @@ -0,0 +1,104 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +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%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windows variants + +if not "%OS%" == "Windows_NT" goto win9xME_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="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! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 0000000..5b60df3 --- /dev/null +++ b/settings.gradle @@ -0,0 +1,10 @@ +pluginManagement { + repositories { + jcenter() + maven { + name = 'Fabric' + url = 'https://maven.fabricmc.net/' + } + gradlePluginPortal() + } +} diff --git a/src/main/java/net/arcmods/gamer/gamerorigins/Gamer.java b/src/main/java/net/arcmods/gamer/gamerorigins/Gamer.java new file mode 100644 index 0000000..8e59c74 --- /dev/null +++ b/src/main/java/net/arcmods/gamer/gamerorigins/Gamer.java @@ -0,0 +1,27 @@ +package net.arcmods.gamer.gamerorigins; + +import net.arcmods.gamer.gamerorigins.items.mync_eye; +import net.arcmods.gamer.gamerorigins.items.umbrella; +import net.arcmods.gamer.gamerorigins.registry.modEnchantments; +import net.fabricmc.api.ModInitializer; +import net.fabricmc.fabric.api.itemgroup.v1.ItemGroupEvents; +import net.minecraft.item.ItemGroups; + +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; + +public class Gamer implements ModInitializer { + public static final String MOD_ID = "gamerorigins"; + + public static final Logger LOGGER = LogManager.getLogger(MOD_ID); + + @Override + public void onInitialize() { + umbrella.registerItems(); + mync_eye.register(); + modEnchantments.register(); + + ItemGroupEvents.modifyEntriesEvent(ItemGroups.TOOLS).register((content) -> content.add(umbrella.UMBRELLA)); + LOGGER.info("man this Origins is Gamer"); + } +} diff --git a/src/main/java/net/arcmods/gamer/gamerorigins/client/GamerKeybinds.java b/src/main/java/net/arcmods/gamer/gamerorigins/client/GamerKeybinds.java new file mode 100644 index 0000000..042626f --- /dev/null +++ b/src/main/java/net/arcmods/gamer/gamerorigins/client/GamerKeybinds.java @@ -0,0 +1,25 @@ +package net.arcmods.gamer.gamerorigins.client; + +import io.github.apace100.apoli.ApoliClient; +import net.fabricmc.api.ClientModInitializer; +import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper; +import net.minecraft.client.option.KeyBinding; +import net.minecraft.client.util.InputUtil; +import org.lwjgl.glfw.GLFW; + +import java.util.List; + +public class GamerKeybinds implements ClientModInitializer { + + public List keys = List.of("ternary","quaternary","quinary","senary","septenary","octonary","nonary","denary"); + + @Override + public void onInitializeClient() { + for(String key : keys) { + KeyBinding binding = new KeyBinding("key.origins."+key+"_active", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_UNKNOWN, "category.origins"); + ApoliClient.registerPowerKeybinding(binding.getTranslationKey(), binding); + ApoliClient.registerPowerKeybinding(key, binding); + KeyBindingHelper.registerKeyBinding(binding); + } + } +} diff --git a/src/main/java/net/arcmods/gamer/gamerorigins/client/layerRenderer.java b/src/main/java/net/arcmods/gamer/gamerorigins/client/layerRenderer.java new file mode 100644 index 0000000..b75b88d --- /dev/null +++ b/src/main/java/net/arcmods/gamer/gamerorigins/client/layerRenderer.java @@ -0,0 +1,13 @@ +package net.arcmods.gamer.gamerorigins.client; + +import net.arcmods.gamer.gamerorigins.items.umbrella; +import net.fabricmc.api.ClientModInitializer; + +public class layerRenderer implements ClientModInitializer { + + @Override + public void onInitializeClient() { + umbrella.registerRenderLayers(); + } + +} diff --git a/src/main/java/net/arcmods/gamer/gamerorigins/enchantment/SunProtectionEnchantment.java b/src/main/java/net/arcmods/gamer/gamerorigins/enchantment/SunProtectionEnchantment.java new file mode 100644 index 0000000..00346be --- /dev/null +++ b/src/main/java/net/arcmods/gamer/gamerorigins/enchantment/SunProtectionEnchantment.java @@ -0,0 +1,39 @@ +package net.arcmods.gamer.gamerorigins.enchantment; + +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnchantmentTarget; +import net.minecraft.enchantment.ProtectionEnchantment; +import net.minecraft.entity.EquipmentSlot; + +public class SunProtectionEnchantment extends Enchantment { + + public SunProtectionEnchantment(Rarity weight, EnchantmentTarget type, EquipmentSlot[] slotTypes) { + super(weight, type, slotTypes); + } + + public int getMinPower(int level) { + return 8 + level * 5; + } + + public int getMaxPower(int level) { + return this.getMinPower(level) + 8; + } + + public boolean isTreasure() { + return true; + } + + public int getMaxLevel() { + return 4; + } + + @Override + protected boolean canAccept(Enchantment other) { + if(other == this || ((other instanceof ProtectionEnchantment && !(((ProtectionEnchantment)other).protectionType == ProtectionEnchantment.Type.ALL)))) { + return false; + } + return super.canAccept(other); + } + + +} diff --git a/src/main/java/net/arcmods/gamer/gamerorigins/items/mync_eye.java b/src/main/java/net/arcmods/gamer/gamerorigins/items/mync_eye.java new file mode 100644 index 0000000..b201329 --- /dev/null +++ b/src/main/java/net/arcmods/gamer/gamerorigins/items/mync_eye.java @@ -0,0 +1,17 @@ +package net.arcmods.gamer.gamerorigins.items; + +import net.minecraft.item.Item; +import net.minecraft.util.Identifier; +import net.minecraft.util.Rarity; +import net.minecraft.registry.Registries; +import net.minecraft.registry.Registry; + +public class mync_eye { + + public static final Item MYNC_EYE = new Item(new Item.Settings().maxCount(1).rarity(Rarity.EPIC)); + + public static void register() { + Registry.register(Registries.ITEM, new Identifier("gamerorigins", "mync_eye"), MYNC_EYE); + } + +} diff --git a/src/main/java/net/arcmods/gamer/gamerorigins/items/umbrella.java b/src/main/java/net/arcmods/gamer/gamerorigins/items/umbrella.java new file mode 100644 index 0000000..2cf35a4 --- /dev/null +++ b/src/main/java/net/arcmods/gamer/gamerorigins/items/umbrella.java @@ -0,0 +1,26 @@ +package net.arcmods.gamer.gamerorigins.items; + +import net.arcmods.gamer.gamerorigins.Gamer; +import net.fabricmc.api.EnvType; +import net.fabricmc.api.Environment; +import net.fabricmc.fabric.api.client.rendering.v1.ColorProviderRegistry; +import net.fabricmc.fabric.api.item.v1.FabricItemSettings; +import net.minecraft.item.DyeableItem; +import net.minecraft.util.Identifier; +import net.minecraft.registry.Registries; +import net.minecraft.registry.Registry; + +public class umbrella { + public static final umbrellaDyeTest UMBRELLA = new umbrellaDyeTest(new FabricItemSettings().maxCount(1).maxDamage(1200)); + + + public static void registerItems() { + Registry.register(Registries.ITEM, new Identifier(Gamer.MOD_ID, "umbrella"), UMBRELLA); + + } + + @Environment(EnvType.CLIENT) + public static void registerRenderLayers() { + ColorProviderRegistry.ITEM.register((stack, tintIndex) -> (tintIndex > 0) ? -1 : ((DyeableItem) stack.getItem()).getColor(stack), UMBRELLA); + } +} diff --git a/src/main/java/net/arcmods/gamer/gamerorigins/items/umbrellaDyeTest.java b/src/main/java/net/arcmods/gamer/gamerorigins/items/umbrellaDyeTest.java new file mode 100644 index 0000000..f23cf8e --- /dev/null +++ b/src/main/java/net/arcmods/gamer/gamerorigins/items/umbrellaDyeTest.java @@ -0,0 +1,12 @@ +package net.arcmods.gamer.gamerorigins.items; + +import net.minecraft.item.DyeableItem; +import net.minecraft.item.Item; + +public class umbrellaDyeTest extends Item implements DyeableItem { + + public umbrellaDyeTest(Settings settings) { + super(settings); + } + +} diff --git a/src/main/java/net/arcmods/gamer/gamerorigins/mixin/EntityMixin.java b/src/main/java/net/arcmods/gamer/gamerorigins/mixin/EntityMixin.java new file mode 100644 index 0000000..4f4ce97 --- /dev/null +++ b/src/main/java/net/arcmods/gamer/gamerorigins/mixin/EntityMixin.java @@ -0,0 +1,38 @@ +package net.arcmods.gamer.gamerorigins.mixin; + +import net.arcmods.gamer.gamerorigins.items.umbrella; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.math.BlockPos; +import net.minecraft.util.math.Box; +import net.minecraft.world.World; +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.Shadow; +import org.spongepowered.asm.mixin.injection.At; +import org.spongepowered.asm.mixin.injection.Inject; +import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; + +@Mixin(Entity.class) +public abstract class EntityMixin { + + + @Shadow World world; + + @Shadow abstract BlockPos getBlockPos(); + + @Shadow abstract Box getBoundingBox(); + + @Shadow abstract Iterable getHandItems(); + + @Inject(method = "isBeingRainedOn", at = @At("HEAD"), cancellable = true) + private void isBeingRainedOn(CallbackInfoReturnable cir) { + Iterable hands = this.getHandItems(); + for (ItemStack stack : hands) { + if (stack.getItem() == umbrella.UMBRELLA) + cir.setReturnValue(false); + } + } + + + +} \ No newline at end of file diff --git a/src/main/java/net/arcmods/gamer/gamerorigins/mixin/PlayerConditionsMixin.java b/src/main/java/net/arcmods/gamer/gamerorigins/mixin/PlayerConditionsMixin.java new file mode 100644 index 0000000..9580ecc --- /dev/null +++ b/src/main/java/net/arcmods/gamer/gamerorigins/mixin/PlayerConditionsMixin.java @@ -0,0 +1,35 @@ +package net.arcmods.gamer.gamerorigins.mixin; + +import io.github.apace100.apoli.power.factory.condition.EntityConditions; +import io.github.apace100.calio.data.SerializableData; +import net.arcmods.gamer.gamerorigins.items.umbrella; +import net.minecraft.entity.Entity; +import net.minecraft.item.ItemStack; +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.CallbackInfoReturnable; + +@Mixin(EntityConditions.class) +public class PlayerConditionsMixin { + + @Inject(method = { "lambda$register$10" }, at = { @At("HEAD") }, cancellable = true) + private static void sunDamagePrevention(SerializableData.Instance data, Entity player, CallbackInfoReturnable cir) { + for (ItemStack stack : player.getHandItems()) { + if (stack.getItem().equals(umbrella.UMBRELLA) && stack.getDamage() < stack.getMaxDamage() - 1) { + cir.setReturnValue(false); + } + } + } + + @Inject(method = { "lambda$register$11" }, at = { @At("HEAD") }, cancellable = true) + private static void umbrellaRainedOn(SerializableData.Instance data, Entity player, CallbackInfoReturnable cir) { + for (ItemStack stack : player.getHandItems()) { + if (stack.getItem().equals(umbrella.UMBRELLA) && stack.getDamage() < stack.getMaxDamage() - 1) { + cir.setReturnValue(false); + } + } + } + + +} \ No newline at end of file diff --git a/src/main/java/net/arcmods/gamer/gamerorigins/mixin/PlayerEntityMixin.java b/src/main/java/net/arcmods/gamer/gamerorigins/mixin/PlayerEntityMixin.java new file mode 100644 index 0000000..19183db --- /dev/null +++ b/src/main/java/net/arcmods/gamer/gamerorigins/mixin/PlayerEntityMixin.java @@ -0,0 +1,73 @@ +package net.arcmods.gamer.gamerorigins.mixin; + +import io.github.apace100.apoli.mixin.EntityAccessor; +import net.arcmods.gamer.gamerorigins.items.umbrella; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityType; +import net.minecraft.entity.EquipmentSlot; +import net.minecraft.entity.LivingEntity; +import net.minecraft.entity.player.PlayerEntity; +import net.minecraft.entity.player.PlayerInventory; +import net.minecraft.item.ItemStack; +import net.minecraft.world.World; +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.Shadow; +import org.spongepowered.asm.mixin.injection.At; +import org.spongepowered.asm.mixin.injection.Inject; +import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; + +@Mixin(PlayerEntity.class) +public abstract class PlayerEntityMixin extends Entity { + @Shadow + public abstract ItemStack getEquippedStack(EquipmentSlot slot); + + @Shadow + public abstract Iterable getHandItems(); + + @Shadow + public abstract PlayerInventory getInventory(); + + protected PlayerEntityMixin(EntityType entityType, World world) { + super(entityType, world); + } + + @Inject(method = "tick", at = @At("HEAD"), cancellable = true) + private void tick(CallbackInfo ci) { + boolean isBeingRainedOn = ((EntityAccessor) this).callIsBeingRainedOn(); + + if (isBeingRainedOn && this.age % 10 == 0) { + for (ItemStack stack : this.getHandItems()) { + if (stack.getItem().equals(umbrella.UMBRELLA) && stack.getDamage() < stack.getMaxDamage() - 1) { + // Set damage instead of calling stack.damage, otherwise an animation is + // triggered for each damage tick. + stack.setDamage(stack.getDamage() + 1); + } + } + } else if (!isBeingRainedOn && this.age % 20 == 0) { + ItemStack offHand = this.getEquippedStack(EquipmentSlot.OFFHAND); + boolean isHot = getWorld().getBiome(this.getBlockPos()).value().isCold(this.getBlockPos()); + + // Repair off-hand umbrella. + this.repairStack(offHand, isHot, true); + + // Repair any umbrellas in the player's inventory. + for (int i = 0; i < 36; i++) { + this.repairStack(this.getInventory().getStack(i), isHot, this.getInventory().selectedSlot == i); + } + } + } + + private void repairStack(ItemStack stack, boolean isHot, boolean isExposed) { + if (stack.getItem().equals(umbrella.UMBRELLA) && stack.isDamaged()) { + stack.setDamage(stack.getDamage() - 1); + if (isHot) { + // Umbrellas dry faster in hot climates. + stack.setDamage(stack.getDamage() - 1); + } + if (isExposed) { + // Umbrellas dry faster if they're exposed (not tucked away in inventory). + stack.setDamage(stack.getDamage() - 1); + } + } + } +} \ No newline at end of file diff --git a/src/main/java/net/arcmods/gamer/gamerorigins/registry/modEnchantments.java b/src/main/java/net/arcmods/gamer/gamerorigins/registry/modEnchantments.java new file mode 100644 index 0000000..a0cbfeb --- /dev/null +++ b/src/main/java/net/arcmods/gamer/gamerorigins/registry/modEnchantments.java @@ -0,0 +1,24 @@ +package net.arcmods.gamer.gamerorigins.registry; + +import net.arcmods.gamer.gamerorigins.Gamer; +import net.arcmods.gamer.gamerorigins.enchantment.SunProtectionEnchantment; +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnchantmentTarget; +import net.minecraft.entity.EquipmentSlot; +import net.minecraft.registry.Registries; +import net.minecraft.util.Identifier; +import net.minecraft.registry.Registry; + +public class modEnchantments { + + public static final Enchantment SUN_PROTECTION = new SunProtectionEnchantment(Enchantment.Rarity.RARE, EnchantmentTarget.ARMOR, new EquipmentSlot[]{EquipmentSlot.HEAD, EquipmentSlot.CHEST, EquipmentSlot.LEGS, EquipmentSlot.FEET}); + + public static void register() { + register("sun_protection", SUN_PROTECTION); + } + + private static Enchantment register(String path, Enchantment enchantment) { + Registry.register(Registries.ENCHANTMENT, new Identifier(Gamer.MOD_ID, path), enchantment); + return enchantment; + } +} diff --git a/src/main/resources/assets/dwayne.png b/src/main/resources/assets/dwayne.png new file mode 100644 index 0000000..1b1f492 Binary files /dev/null and b/src/main/resources/assets/dwayne.png differ diff --git a/src/main/resources/assets/gamerorigins/lang/en_us.json b/src/main/resources/assets/gamerorigins/lang/en_us.json new file mode 100644 index 0000000..f3992af --- /dev/null +++ b/src/main/resources/assets/gamerorigins/lang/en_us.json @@ -0,0 +1,138 @@ +{ + //-----Icon Items-----// + "item.gamerorigins.mync_eye": "you shouldnt have this", + "item.gamerorigins.umbrella": "Umbrella", + + //-----Lato-----// + "origin.gamerorigins.lato.name": "Lato", + "origin.gamerorigins.lato.description": "A creature from a faraway world, one with very little sun, one with a very high gravitational pull.\nShortened from Latian to Lato.", + "power.gamerorigins.latopowers/sun_damage.name": "Xeroderma Pigmentosum", + "power.gamerorigins.latopowers/insomnia.name": "Creature of the night", + "power.gamerorigins.latopowers/insomnia.description": "You cannot sleep during night", + "power.gamerorigins.latopowers/sun_damage.description": "Your skin sizzles up in the sun.", + "power.gamerorigins.latopowers/teleport.name": "Teleportation", + "power.gamerorigins.latopowers/teleport.description": "You can teleport some distance away.", + "power.gamerorigins.latopowers/perfect_vision.name": "Perfect Vision", + "power.gamerorigins.latopowers/perfect_vision.description": "Carefully constructed eyes that allow for perfect vision, they also are toggleable.", + "power.gamerorigins.latopowers/rage.name": "Rage", + "power.gamerorigins.latopowers/rage.description": "Rage gives strength and speed for a short period of time.", + "power.gamerorigins.latopowers/strong.name": "Strong", + "power.gamerorigins.latopowers/strong.description": "You do more damage than regular people.", + "power.gamerorigins.latopowers/seventeen_lives.name": "Seventeen Lives", + "power.gamerorigins.latopowers/seventeen_lives.description": "Your body causes you to have Seventeen hearts.", + "power.gamerorigins.latopowers/water_vulnerability.name": "Boiling Water", + "power.gamerorigins.latopowers/water_vulnerability.description": "Your blood boils in water, causing you to take damage after prolonged exposure to it.", + "power.gamerorigins.latopowers/lato_blooded.name": "Lato Blooded", + "power.gamerorigins.latopowers/lato_blooded.description": "A Latian's blood can work out most poisoning by itself.", + "power.gamerorigins.latopowers/tailwind.name": "Tailwind", + "power.gamerorigins.latopowers/tailwind.description": "You are a little bit quicker on foot than others.", + "power.gamerorigins.latopowers/natural_armor.name": "Thick Skin", + "power.gamerorigins.latopowers/natural_armor.description": "Even without wearing armor, your skin provides natural protection.", + "power.gamerorigins.latopowers/long_arms.name": "Long Arms", + "power.gamerorigins.latopowers/long_arms.description": "You have slightly longer arms.", + "power.gamerorigins.latopowers/lightweight.name": "Lightweight", + "power.gamerorigins.latopowers/lightweight.description": "You are not very heavy, so dripleaves don't tilt under your weight.", + "power.gamerorigins.latopowers/tall.name": "Tall", + "power.gamerorigins.latopowers/tall.description": "You are half a block taller.", + + "death.attack.burn_in_sun": "%1$s sizzled up in the sun.", + "death.attack.burn_in_sun.player": "%1$s sizzled up in the sun whilst trying to escape %2$s.", + "death.attack.boil_in_water": "%1$s was boiled alive", + "death.attack.boil_in_water.player": "%1$s was boiled alive whilst trying to escape %2$s", + + //-----Mync-----// + "origin.gamerorigins.mync.name": "Mync", + "origin.gamerorigins.mync.description": "Myncs are blind Latos. They can't teleport like regular Latos but are stronger than most Latos.", + "power.gamerorigins.myncpowers/mync_blind.name": "Mushroom Sense", + "power.gamerorigins.myncpowers/mync_blind.description": "Standing by mushrooms or mushroom related blocks allows you to connect to and feel through their roots to better perceive your surroundings.", + "power.gamerorigins.myncpowers/mync_tailwind.name": "Tailwind", + "power.gamerorigins.myncpowers/mync_tailwind.description": "You are a little bit quicker on foot than others.", + "power.gamerorigins.myncpowers/mync_rage.name": "Rage", + "power.gamerorigins.myncpowers/mync_rage.description": "Rage gives strength and speed for a short period of time.", + "power.gamerorigins.myncpowers/mync_natural_armour.name": "Thick Skin", + "power.gamerorigins.myncpowers/mync_natural_armour.description": "Even without wearing armor, your skin provides natural protection.", + "power.gamerorigins.myncpowers/mync_vision.name": "Blind", + "power.gamerorigins.myncpowers/mync_vision.description": "Myncs, being blind Latos, have to perceive their environment through sound.", + "power.gamerorigins.myncpowers/mync_echolocate.name": "Echolocation", + "power.gamerorigins.myncpowers/mync_echolocate.description": "Use your [Tab button] to make a sound to figure out how your surrounding area looks like. Nearby wool will stop this from working, but you can use a night vision potion to get it to work permanently.", + "power.gamerorigins.myncpowers/mync_strong.name": "Strong", + "power.gamerorigins.myncpowers/mync_strong.description": "You do more damage than regular people.", + + //-----Immortal Human-----// + "origin.gamerorigins.immortal_human.name": "Immortal Human", + "origin.gamerorigins.immortal_human.description": "You hate life, but out of spite, the gods cursed you with being immortal. How unfortunate.", + "power.gamerorigins.immortal_humanpowers/immortal.name": "Immortal", + "power.gamerorigins.immortal_humanpowers/immortal.description": "You cannot die, no matter how hard you try.", + "power.gamerorigins.immortal_humanpowers/pathetic.name": "Pathetic", + "power.gamerorigins.immortal_humanpowers/pathetic.description": "You cannot deal damage to anything.", + + //------Kefflade-----// + "origin.gamerorigins.kefflade.name": "Kefflade", + "origin.gamerorigins.kefflade.description": "A Lato, versed in magic", + "power.gamerorigins.keffladepowers/darkchromes.name": "Dark Chromes", + "power.gamerorigins.keffladepowers/darkchromes.description": "You have a resource bar that indicates how many Dark Chromes you have left, Dark Chromes are needed to use some abilities.\nYou gain Dark Chromes passively every second. Holding a book in your offhand gives you increased Dark Chromes regen.\n(Max Dark Chromes is 200)", + "power.gamerorigins.keffladepowers/bookshelfnear.name": "Book Lover", + "power.gamerorigins.keffladepowers/bookshelfnear.description": "Being near bookshelves increases your Dark Chromes per second, and also gives you bonuses.\n(Stacking up to 10 bookshelves)", + "power.gamerorigins.keffladepowers/darkfavour.name": "Magic Mastery", + "power.gamerorigins.keffladepowers/darkfavour.description": "Holding a book in your offhand gives you increased magic damage and resistance.", + "power.gamerorigins.keffladepowers/honeychromes.name": "Sweet Sweet Honey", + "power.gamerorigins.keffladepowers/honeychromes.description": "You like the taste of honey, it fills you with energy. restoring 15 Dark Chromes per bottle.", + "power.gamerorigins.keffladepowers/supernova.name": "Supernova", + "power.gamerorigins.keffladepowers/supernova.description": "(Primary + 30 Dark Chromes)You summon a rocket that explodes in the direction you're looking at.", + "power.gamerorigins.keffladepowers/nodmg.name": "Not Sharp", + "power.gamerorigins.keffladepowers/nodmg.description": "Your swords and axes don't exactly deal as much damage as you expected.", + "power.gamerorigins.keffladepowers/lightningbolt.name": "Lightning Bolt", + "power.gamerorigins.keffladepowers/lightningbolt.description": "(Primary + Sneaking + 90 Dark Chromes)You summon a lightning bolt in the direction you're looking at.", + "power.gamerorigins.keffladepowers/whitemagic.name": "White Magic", + "power.gamerorigins.keffladepowers/whitemagic.description": "(Secondary + 50 Dark Chromes): Shoot out a healing ray that heals whatever target it hits overtime. 60% of healing is given instantly and the rest is given over the next seconds. Undead get damaged instead.", + "power.gamerorigins.keffladepowers/shadowblast.name": "Shadow Blast", + "power.gamerorigins.keffladepowers/shadowblast.description": "(Secondary + Sneaking + 40 Dark Chromes): You channel the arts of shadow magic to unleash a shadow bolt in the direction you're facing. Blinding, Slowing and damaging the target.", + "power.gamerorigins.keffladepowers/darkball.name": "Ender Fireball", + "power.gamerorigins.keffladepowers/darkball.description": "(ternary - 20 Dark Chromes): You channel the magic arts of ender magic to fire an enderdragon fireball to the direction you're looking at.", + "power.gamerorigins.keffladepowers/cursedexplosions.name": "Unstable Magic", + "power.gamerorigins.keffladepowers/cursedexplosions.description": "(Ternary + Sneaking + 70 Dark Chromes): With a very long cooldown, You fire an explosive projectile to the target infront of you with a range of 20 blocks. Hitting a target marks them. After 4 seconds the chain explosions start to happen. each explosion takes a second. for a max of 2 explosions in total.", + "power.gamerorigins.keffladepowers/kefflade_natural_armour.name": "Thick Skin", + "power.gamerorigins.keffladepowers/kefflade_natural_armour.description": "Even without wearing armor, your skin provides natural protection.", + "power.gamerorigins.keffladepowers/startbox.name": "Starting Box", + "power.gamerorigins.keffladepowers/startbox.description": "You will receive some items to start your journey with.", + "power.gamerorigins.keffladepowers/leatherarmour.name": "Leather Armour", + "power.gamerorigins.keffladepowers/leatherarmour.description": "You can only wear up to leather armour", + + //-----Monarch-----// + "origin.gamerorigins.monarch.name": "Monarch", + "origin.gamerorigins.monarch.description": "The Monarchs were the first of them all, they took pride in the fact that they were superior to all others of their time, that was until newer and better species came along and drove them to near extinction. \nNow they have returned after evolving into something far more powerful", + "power.gamerorigins.monarchpowers/hyperefficient_blood.name": "Hyperefficient Blood", + "power.gamerorigins.monarchpowers/hyperefficient_blood.description": "Your blood is extremely efficient, destroying any poisons within their bloodstream before they have a chance to do any damage", + "power.gamerorigins.monarchpowers/solar_energy.name": "Solar Energy", + "power.gamerorigins.monarchpowers/solar_energy.description": "You draw energy from the sun and store it within your body, and access it at will to use various abilities", + "power.gamerorigins.monarchpowers/sun_fueled.name": "Sun Fueled", + "power.gamerorigins.monarchpowers/sun_fueled.description": "You have evolved to draw power from the sun, leading you to become more powerful during the day", + "power.gamerorigins.monarchpowers/nuclear_rush.name": "Nuclear Rush", + "power.gamerorigins.monarchpowers/nuclear_rush.description": "using the sun energy stored within your body, you can temporarily start a weak thermonuclear reaction, pushing your body beyond the limitations of living flesh.", + "power.gamerorigins.monarchpowers/instant_transmission.name": "Instant Transmission", + "power.gamerorigins.monarchpowers/instant_transmission.description": "Use the thermonuclear energy stored in your body to erase the space between you and your target", + "power.gamerorigins.monarchpowers/nyctophobia.name": "Nyctophobia", + "power.gamerorigins.monarchpowers/nyctophobia.description": "Your power is derived from the sun, making you weaker during the night", + "power.gamerorigins.monarchpowers/shining.name": "Shining", + "power.gamerorigins.monarchpowers/shining.description": "An entire lifetime of absorbing the sun's energy makes you radiate it's light", + + //-----Müs-----// + "origin.gamerorigins.mus.name": "Müs", + "origin.gamerorigins.mus.description": "A Lato, seen as an outcast among outcasts.", + "power.gamerorigins.mus/closeeyes.name": "Close eyes", + "power.gamerorigins.mus/closeeyes.description": "As your eyes close, you let your mind divine the world. Visions of what could be halt your reason and feed your fascination.", + "power.gamerorigins.mus/fascination.name": "Fascination", + "power.gamerorigins.mus/fascination.description": "Your inspiration, your purpose. As it grows, so too shall your strength.", + "power.gamerorigins.mus/flexibility.name": "Flexible", + "power.gamerorigins.mus/flexibility.description": "No physical restraints will hold you back. You reject the safety of heavy armour in pursuit of a greater freedom.", + "power.gamerorigins.mus/mus_natural_armor.name": "Thick Skin", + "power.gamerorigins.mus/mus_natural_armor.description": "Even without wearing armor, your skin provides natural protection.", + "power.gamerorigins.mus/no_villager.name": "Superiority", + "power.gamerorigins.mus/no_villager.description": "You cannot stand how foolish villagers are. As such, you cannot trade with them.", + "power.gamerorigins.mus/reason.name": "Reason", + "power.gamerorigins.mus/reason.description": "As it grows and you become of sound mind, your fascination drains. It grants you agency, allows you to bend your body in ways you have not thought possible.", + "power.gamerorigins.mus/lookwithin.name": "Look within", + "power.gamerorigins.mus/lookwithin.description": "You discard your reason, you find inspiration within your own mortal form. You must use a blade.", + "power.gamerorigins.mus/fascinationeffects.name": "Awareness", + "power.gamerorigins.mus/fascinationeffects.description": "As your fascination reaches a glorious epitome, all is revealed. The higher you rise the more you see." +} \ No newline at end of file diff --git a/src/main/resources/assets/gamerorigins/models/item/mync_eye.json b/src/main/resources/assets/gamerorigins/models/item/mync_eye.json new file mode 100644 index 0000000..230903b --- /dev/null +++ b/src/main/resources/assets/gamerorigins/models/item/mync_eye.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamerorigins:item/mync_eye" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamerorigins/models/item/umbrella.json b/src/main/resources/assets/gamerorigins/models/item/umbrella.json new file mode 100644 index 0000000..4765d34 --- /dev/null +++ b/src/main/resources/assets/gamerorigins/models/item/umbrella.json @@ -0,0 +1,292 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [128, 128], + "textures": { + "layer0": "gamerorigins:item/umbrella", + "layer1": "gamerorigins:item/umbrellaoverlay" + }, + "elements": [ + { + "from": [-7.25, 26.5, -7.25], + "to": [23.25, 27.5, -6.25], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 34.5, 3.75]}, + "faces": { + "north": {"uv": [3.25, 0.125, 6.25, 0.25], "texture": "#layer1", "tintindex": 1}, + "east": {"uv": [3.125, 0.125, 3.25, 0.25], "texture": "#layer1", "tintindex": 1}, + "south": {"uv": [6.375, 0.125, 9.375, 0.25], "texture": "#layer1", "tintindex": 1}, + "west": {"uv": [6.25, 0.125, 6.375, 0.25], "texture": "#layer1", "tintindex": 1}, + "up": {"uv": [6.25, 0.125, 3.25, 0], "texture": "#layer1", "tintindex": 1}, + "down": {"uv": [9.25, 0, 6.25, 0.125], "texture": "#layer1", "tintindex": 1} + } + }, + { + "from": [-7.25, 26.5, -6.25], + "to": [-6.25, 27.5, 22.25], + "rotation": {"angle": 0, "axis": "y", "origin": [3.75, 34.5, 4.75]}, + "faces": { + "north": {"uv": [2.75, 5.75, 2.875, 5.875], "texture": "#layer1", "tintindex": 1}, + "east": {"uv": [0, 5.75, 2.75, 5.875], "texture": "#layer1", "tintindex": 1}, + "south": {"uv": [5.625, 5.75, 5.75, 5.875], "texture": "#layer1", "tintindex": 1}, + "west": {"uv": [2.875, 5.75, 5.625, 5.875], "texture": "#layer1", "tintindex": 1}, + "up": {"uv": [2.875, 5.75, 2.75, 3], "texture": "#layer1", "tintindex": 1}, + "down": {"uv": [3, 3, 2.875, 5.75], "texture": "#layer1", "tintindex": 1} + } + }, + { + "from": [-7.25, 26.5, 22.25], + "to": [23.25, 27.5, 23.25], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 34.5, 27.25]}, + "faces": { + "north": {"uv": [3.25, 3.25, 6.25, 3.375], "texture": "#layer1", "tintindex": 1}, + "east": {"uv": [3.125, 3.25, 3.25, 3.375], "texture": "#layer1", "tintindex": 1}, + "south": {"uv": [6.375, 3.25, 9.375, 3.375], "texture": "#layer1", "tintindex": 1}, + "west": {"uv": [6.25, 3.25, 6.375, 3.375], "texture": "#layer1", "tintindex": 1}, + "up": {"uv": [6.25, 3.25, 3.25, 3.125], "texture": "#layer1", "tintindex": 1}, + "down": {"uv": [9.25, 3.125, 6.25, 3.25], "texture": "#layer1", "tintindex": 1} + } + }, + { + "from": [22.25, 26.5, -6.25], + "to": [23.25, 27.5, 22.25], + "rotation": {"angle": 0, "axis": "y", "origin": [27.25, 34.5, 4.75]}, + "faces": { + "north": {"uv": [2.75, 2.75, 2.875, 2.875], "texture": "#layer1", "tintindex": 1}, + "east": {"uv": [0, 2.75, 2.75, 2.875], "texture": "#layer1", "tintindex": 1}, + "south": {"uv": [5.625, 2.75, 5.75, 2.875], "texture": "#layer1", "tintindex": 1}, + "west": {"uv": [2.875, 2.75, 5.625, 2.875], "texture": "#layer1", "tintindex": 1}, + "up": {"uv": [2.875, 2.75, 2.75, 0], "texture": "#layer1", "tintindex": 1}, + "down": {"uv": [3, 0, 2.875, 2.75], "texture": "#layer1", "tintindex": 1} + } + }, + { + "from": [7.5, -7, 7.5], + "to": [8.5, 30.5, 8.5], + "rotation": {"angle": 0, "axis": "y", "origin": [15.5, 8, 15.5]}, + "faces": { + "north": {"uv": [5.875, 6, 6, 9.75], "texture": "#layer1", "tintindex": 1}, + "east": {"uv": [5.75, 6, 5.875, 9.75], "texture": "#layer1", "tintindex": 1}, + "south": {"uv": [6.125, 6, 6.25, 9.75], "texture": "#layer1", "tintindex": 1}, + "west": {"uv": [6, 6, 6.125, 9.75], "texture": "#layer1", "tintindex": 1}, + "up": {"uv": [6, 6, 5.875, 5.875], "texture": "#layer1", "tintindex": 1}, + "down": {"uv": [6.125, 5.875, 6, 6], "texture": "#layer1", "tintindex": 1} + } + }, + { + "from": [-7.25, 27.5, -7.25], + "to": [23.25, 28.5, -3.75], + "rotation": {"angle": 0, "axis": "y", "origin": [3.75, 4.5, 3.75]}, + "faces": { + "north": {"uv": [3.25, 0.25, 6.25, 0.375], "texture": "#layer0", "tintindex": 0}, + "east": {"uv": [3, 0.25, 3.25, 0.375], "texture": "#layer0", "tintindex": 0}, + "south": {"uv": [6.5, 0.25, 9.5, 0.375], "texture": "#layer0", "tintindex": 0}, + "west": {"uv": [6.25, 0.25, 6.5, 0.375], "texture": "#layer0", "tintindex": 0}, + "up": {"uv": [6.25, 0.25, 3.25, 0], "texture": "#layer0", "tintindex": 0}, + "down": {"uv": [9.25, 0, 6.25, 0.25], "texture": "#layer0", "tintindex": 0} + } + }, + { + "from": [-7.25, 27.5, 19.75], + "to": [23.25, 28.5, 23.25], + "rotation": {"angle": 0, "axis": "y", "origin": [3.75, 4.5, 25.75]}, + "faces": { + "north": {"uv": [3.25, 0.25, 6.25, 0.375], "texture": "#layer0", "tintindex": 0}, + "east": {"uv": [3, 0.25, 3.25, 0.375], "texture": "#layer0", "tintindex": 0}, + "south": {"uv": [6.5, 0.25, 9.5, 0.375], "texture": "#layer0", "tintindex": 0}, + "west": {"uv": [6.25, 0.25, 6.5, 0.375], "texture": "#layer0", "tintindex": 0}, + "up": {"uv": [6.25, 0.25, 3.25, 0], "texture": "#layer0", "tintindex": 0}, + "down": {"uv": [9.25, 0, 6.25, 0.25], "texture": "#layer0", "tintindex": 0} + } + }, + { + "from": [19.75, 27.5, -3.75], + "to": [23.25, 28.5, 19.75], + "rotation": {"angle": 0, "axis": "y", "origin": [3.75, 4.5, 23.25]}, + "faces": { + "north": {"uv": [2.375, 2.375, 2.625, 2.5], "texture": "#layer0", "tintindex": 0}, + "east": {"uv": [0, 2.375, 2.375, 2.5], "texture": "#layer0", "tintindex": 0}, + "south": {"uv": [5, 2.375, 5.25, 2.5], "texture": "#layer0", "tintindex": 0}, + "west": {"uv": [2.625, 2.375, 5, 2.5], "texture": "#layer0", "tintindex": 0}, + "up": {"uv": [2.625, 2.375, 2.375, 0], "texture": "#layer0", "tintindex": 0}, + "down": {"uv": [2.875, 0, 2.625, 2.375], "texture": "#layer0", "tintindex": 0} + } + }, + { + "from": [-7.25, 27.5, -3.775], + "to": [-3.75, 28.5, 19.775], + "rotation": {"angle": 0, "axis": "y", "origin": [-18.25, 4.5, 23.25]}, + "faces": { + "north": {"uv": [2.375, 2.375, 2.625, 2.5], "texture": "#layer0", "tintindex": 0}, + "east": {"uv": [0, 2.375, 2.375, 2.5], "texture": "#layer0", "tintindex": 0}, + "south": {"uv": [5, 2.375, 5.25, 2.5], "texture": "#layer0", "tintindex": 0}, + "west": {"uv": [2.625, 2.375, 5, 2.5], "texture": "#layer0", "tintindex": 0}, + "up": {"uv": [2.625, 2.375, 2.375, 0], "texture": "#layer0", "tintindex": 0}, + "down": {"uv": [2.875, 0, 2.625, 2.375], "texture": "#layer0", "tintindex": 0} + } + }, + { + "from": [-4.25, 28.425, 16.75], + "to": [20.25, 29.5, 20.25], + "rotation": {"angle": 0, "axis": "y", "origin": [3.75, 5.5, 3.75]}, + "faces": { + "north": {"uv": [3.25, 0.75, 5.75, 0.875], "texture": "#layer0", "tintindex": 0}, + "east": {"uv": [3, 0.75, 3.25, 0.875], "texture": "#layer0", "tintindex": 0}, + "south": {"uv": [6, 0.75, 8.5, 0.875], "texture": "#layer0", "tintindex": 0}, + "west": {"uv": [5.75, 0.75, 6, 0.875], "texture": "#layer0", "tintindex": 0}, + "up": {"uv": [5.75, 0.75, 3.25, 0.5], "texture": "#layer0", "tintindex": 0}, + "down": {"uv": [8.25, 0.5, 5.75, 0.75], "texture": "#layer0", "tintindex": 0} + } + }, + { + "from": [-4.25, 28.425, -0.775], + "to": [-0.75, 29.5, 16.8], + "rotation": {"angle": 0, "axis": "y", "origin": [3.75, 5.5, -11.75]}, + "faces": { + "north": {"uv": [1.875, 6.375, 2.125, 6.5], "texture": "#layer0", "tintindex": 0}, + "east": {"uv": [0, 6.375, 1.875, 6.5], "texture": "#layer0", "tintindex": 0}, + "south": {"uv": [4, 6.375, 4.25, 6.5], "texture": "#layer0", "tintindex": 0}, + "west": {"uv": [2.125, 6.375, 4, 6.5], "texture": "#layer0", "tintindex": 0}, + "up": {"uv": [2.125, 6.375, 1.875, 4.5], "texture": "#layer0", "tintindex": 0}, + "down": {"uv": [2.375, 4.5, 2.125, 6.375], "texture": "#layer0", "tintindex": 0} + } + }, + { + "from": [16.75, 28.425, -0.8], + "to": [20.25, 29.5, 16.8], + "rotation": {"angle": 0, "axis": "y", "origin": [21.75, 5.5, -11.75]}, + "faces": { + "north": {"uv": [1.875, 6.375, 2.125, 6.5], "texture": "#layer0", "tintindex": 0}, + "east": {"uv": [0, 6.375, 1.875, 6.5], "texture": "#layer0", "tintindex": 0}, + "south": {"uv": [4, 6.375, 4.25, 6.5], "texture": "#layer0", "tintindex": 0}, + "west": {"uv": [2.125, 6.375, 4, 6.5], "texture": "#layer0", "tintindex": 0}, + "up": {"uv": [2.125, 6.375, 1.875, 4.5], "texture": "#layer0", "tintindex": 0}, + "down": {"uv": [2.375, 4.5, 2.125, 6.375], "texture": "#layer0", "tintindex": 0} + } + }, + { + "from": [-4.25, 28.425, -4.25], + "to": [20.25, 29.5, -0.75], + "rotation": {"angle": 0, "axis": "y", "origin": [3.75, 5.5, 3.75]}, + "faces": { + "north": {"uv": [3.25, 0.75, 5.75, 0.875], "texture": "#layer0", "tintindex": 0}, + "east": {"uv": [3, 0.75, 3.25, 0.875], "texture": "#layer0", "tintindex": 0}, + "south": {"uv": [6, 0.75, 8.5, 0.875], "texture": "#layer0", "tintindex": 0}, + "west": {"uv": [5.75, 0.75, 6, 0.875], "texture": "#layer0", "tintindex": 0}, + "up": {"uv": [5.75, 0.75, 3.25, 0.5], "texture": "#layer0", "tintindex": 0}, + "down": {"uv": [8.25, 0.5, 5.75, 0.75], "texture": "#layer0", "tintindex": 0} + } + }, + { + "from": [-1.25, 29.425, -1.25], + "to": [2.25, 30.5, 17.25], + "rotation": {"angle": 0, "axis": "y", "origin": [3.75, 6.5, 3.75]}, + "faces": { + "north": {"uv": [6.125, 6.125, 6.375, 6.25], "texture": "#layer0", "tintindex": 0}, + "east": {"uv": [4.125, 6.125, 6.125, 6.25], "texture": "#layer0", "tintindex": 0}, + "south": {"uv": [8.375, 6.125, 8.625, 6.25], "texture": "#layer0", "tintindex": 0}, + "west": {"uv": [6.375, 6.125, 8.375, 6.25], "texture": "#layer0", "tintindex": 0}, + "up": {"uv": [6.375, 6.125, 6.125, 4.125], "texture": "#layer0", "tintindex": 0}, + "down": {"uv": [6.625, 4.125, 6.375, 6.125], "texture": "#layer0", "tintindex": 0} + } + }, + { + "from": [13.75, 29.425, -1.25], + "to": [17.25, 30.5, 17.25], + "rotation": {"angle": 0, "axis": "y", "origin": [17.75, 6.5, 3.75]}, + "faces": { + "north": {"uv": [6.125, 6.125, 6.375, 6.25], "texture": "#layer0", "tintindex": 0}, + "east": {"uv": [4.125, 6.125, 6.125, 6.25], "texture": "#layer0", "tintindex": 0}, + "south": {"uv": [8.375, 6.125, 8.625, 6.25], "texture": "#layer0", "tintindex": 0}, + "west": {"uv": [6.375, 6.125, 8.375, 6.25], "texture": "#layer0", "tintindex": 0}, + "up": {"uv": [6.375, 6.125, 6.125, 4.125], "texture": "#layer0", "tintindex": 0}, + "down": {"uv": [6.625, 4.125, 6.375, 6.125], "texture": "#layer0", "tintindex": 0} + } + }, + { + "from": [2.2, 29.425, 13.75], + "to": [13.8, 30.5, 17.25], + "rotation": {"angle": 0, "axis": "y", "origin": [15.25, 6.5, 3.75]}, + "faces": { + "north": {"uv": [3.25, 1.25, 4.625, 1.375], "texture": "#layer0", "tintindex": 0}, + "east": {"uv": [3, 1.25, 3.25, 1.375], "texture": "#layer0", "tintindex": 0}, + "south": {"uv": [4.875, 1.25, 6.25, 1.375], "texture": "#layer0", "tintindex": 0}, + "west": {"uv": [4.625, 1.25, 4.875, 1.375], "texture": "#layer0", "tintindex": 0}, + "up": {"uv": [4.625, 1.25, 3.25, 1], "texture": "#layer0", "tintindex": 0}, + "down": {"uv": [6, 1, 4.625, 1.25], "texture": "#layer0", "tintindex": 0} + } + }, + { + "from": [2.225, 29.425, -1.25], + "to": [13.775, 30.5, 2.25], + "rotation": {"angle": 0, "axis": "y", "origin": [15.25, 6.5, -10.25]}, + "faces": { + "north": {"uv": [3.25, 1.25, 4.625, 1.375], "texture": "#layer0", "tintindex": 0}, + "east": {"uv": [3, 1.25, 3.25, 1.375], "texture": "#layer0", "tintindex": 0}, + "south": {"uv": [4.875, 1.25, 6.25, 1.375], "texture": "#layer0", "tintindex": 0}, + "west": {"uv": [4.625, 1.25, 4.875, 1.375], "texture": "#layer0", "tintindex": 0}, + "up": {"uv": [4.625, 1.25, 3.25, 1], "texture": "#layer0", "tintindex": 0}, + "down": {"uv": [6, 1, 4.625, 1.25], "texture": "#layer0", "tintindex": 0} + } + }, + { + "from": [0.75, 30.425, 0.75], + "to": [15.25, 31.5, 15.25], + "rotation": {"angle": 0, "axis": "y", "origin": [3.75, 7.5, 3.75]}, + "faces": { + "north": {"uv": [1.5, 4.125, 3, 4.25], "texture": "#layer0", "tintindex": 0}, + "east": {"uv": [0, 4.125, 1.5, 4.25], "texture": "#layer0", "tintindex": 0}, + "south": {"uv": [4.5, 4.125, 6, 4.25], "texture": "#layer0", "tintindex": 0}, + "west": {"uv": [3, 4.125, 4.5, 4.25], "texture": "#layer0", "tintindex": 0}, + "up": {"uv": [3, 4.125, 1.5, 2.625], "texture": "#layer0", "tintindex": 0}, + "down": {"uv": [4.5, 2.625, 3, 4.125], "texture": "#layer0", "tintindex": 0} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [68, 0, 0], + "translation": [0, 2.25, 7.5] + }, + "thirdperson_lefthand": { + "rotation": [71.25, 0, 0] + }, + "firstperson_righthand": { + "translation": [0, -3.25, 4.75], + "scale": [1.44, 1.44, 1.44] + }, + "firstperson_lefthand": { + "translation": [0, -3.25, 4.75], + "scale": [1.44, 1.44, 1.44] + }, + "ground": { + "rotation": [45, 0, 0], + "scale": [0.25, 0.25, 0.25] + }, + "gui": { + "rotation": [0, 0, 45], + "translation": [3.25, -2.75, -1.25], + "scale": [0.45, 0.45, 0.45] + }, + "head": { + "scale": [1.7, 1, 1.7] + }, + "fixed": { + "rotation": [0, 0, -45], + "translation": [-3, -3, 0], + "scale": [0.5, 0.5, 0.5] + } + }, + "groups": [ + { + "name": "handle", + "origin": [15.5, 8, 15.5], + "color": 0, + "children": [0, 1, 2, 3, 4] + }, + { + "name": "umbrella", + "origin": [8, 8, 8], + "color": 0, + "children": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/gamerorigins/shaders/post/sobel.json b/src/main/resources/assets/gamerorigins/shaders/post/sobel.json new file mode 100644 index 0000000..5c390a4 --- /dev/null +++ b/src/main/resources/assets/gamerorigins/shaders/post/sobel.json @@ -0,0 +1,17 @@ +{ + "targets": [ + "swap" + ], + "passes": [ + { + "name": "sobel", + "intarget": "minecraft:main", + "outtarget": "swap" + }, + { + "name": "blit", + "intarget": "swap", + "outtarget": "minecraft:main" + } + ] +} diff --git a/src/main/resources/assets/gamerorigins/textures/entity/discords_wings.png b/src/main/resources/assets/gamerorigins/textures/entity/discords_wings.png new file mode 100644 index 0000000..befebb1 Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/entity/discords_wings.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/entity/discords_wings_2.png b/src/main/resources/assets/gamerorigins/textures/entity/discords_wings_2.png new file mode 100644 index 0000000..3789c3b Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/entity/discords_wings_2.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/entity/dragon_wings.png b/src/main/resources/assets/gamerorigins/textures/entity/dragon_wings.png new file mode 100644 index 0000000..d1e9b77 Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/entity/dragon_wings.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/entity/dragon_wings_2.png b/src/main/resources/assets/gamerorigins/textures/entity/dragon_wings_2.png new file mode 100644 index 0000000..2ffdf99 Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/entity/dragon_wings_2.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/entity/feathered_wings.png b/src/main/resources/assets/gamerorigins/textures/entity/feathered_wings.png new file mode 100644 index 0000000..cdcac21 Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/entity/feathered_wings.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/entity/feathered_wings_2.png b/src/main/resources/assets/gamerorigins/textures/entity/feathered_wings_2.png new file mode 100644 index 0000000..a308a30 Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/entity/feathered_wings_2.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/entity/flandres_wings.png b/src/main/resources/assets/gamerorigins/textures/entity/flandres_wings.png new file mode 100644 index 0000000..1336e39 Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/entity/flandres_wings.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/entity/flandres_wings_2.png b/src/main/resources/assets/gamerorigins/textures/entity/flandres_wings_2.png new file mode 100644 index 0000000..3789c3b Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/entity/flandres_wings_2.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/entity/light_wings.png b/src/main/resources/assets/gamerorigins/textures/entity/light_wings.png new file mode 100644 index 0000000..7b191e9 Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/entity/light_wings.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/entity/light_wings_2.png b/src/main/resources/assets/gamerorigins/textures/entity/light_wings_2.png new file mode 100644 index 0000000..3789c3b Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/entity/light_wings_2.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/entity/mechanical_feathered_wings.png b/src/main/resources/assets/gamerorigins/textures/entity/mechanical_feathered_wings.png new file mode 100644 index 0000000..a787fbf Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/entity/mechanical_feathered_wings.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/entity/mechanical_feathered_wings_2.png b/src/main/resources/assets/gamerorigins/textures/entity/mechanical_feathered_wings_2.png new file mode 100644 index 0000000..079bcf7 Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/entity/mechanical_feathered_wings_2.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/entity/mechanical_leather_wings.png b/src/main/resources/assets/gamerorigins/textures/entity/mechanical_leather_wings.png new file mode 100644 index 0000000..5e7f69b Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/entity/mechanical_leather_wings.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/entity/mechanical_leather_wings_2.png b/src/main/resources/assets/gamerorigins/textures/entity/mechanical_leather_wings_2.png new file mode 100644 index 0000000..42e1ce5 Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/entity/mechanical_leather_wings_2.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/entity/zanzas_wings.png b/src/main/resources/assets/gamerorigins/textures/entity/zanzas_wings.png new file mode 100644 index 0000000..4e255fd Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/entity/zanzas_wings.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/entity/zanzas_wings_2.png b/src/main/resources/assets/gamerorigins/textures/entity/zanzas_wings_2.png new file mode 100644 index 0000000..3789c3b Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/entity/zanzas_wings_2.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/gui/ability_bar.png b/src/main/resources/assets/gamerorigins/textures/gui/ability_bar.png new file mode 100644 index 0000000..47afc51 Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/gui/ability_bar.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/gui/nothing.png b/src/main/resources/assets/gamerorigins/textures/gui/nothing.png new file mode 100755 index 0000000..d42a75f Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/gui/nothing.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/item/mync_eye.png b/src/main/resources/assets/gamerorigins/textures/item/mync_eye.png new file mode 100644 index 0000000..4a54d4d Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/item/mync_eye.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/item/umbrella.png b/src/main/resources/assets/gamerorigins/textures/item/umbrella.png new file mode 100644 index 0000000..3bbbd7a Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/item/umbrella.png differ diff --git a/src/main/resources/assets/gamerorigins/textures/item/umbrellaoverlay.png b/src/main/resources/assets/gamerorigins/textures/item/umbrellaoverlay.png new file mode 100644 index 0000000..cba67bd Binary files /dev/null and b/src/main/resources/assets/gamerorigins/textures/item/umbrellaoverlay.png differ diff --git a/src/main/resources/data/gamerorigins/origins/immortal_human.json b/src/main/resources/data/gamerorigins/origins/immortal_human.json new file mode 100644 index 0000000..2a45aa5 --- /dev/null +++ b/src/main/resources/data/gamerorigins/origins/immortal_human.json @@ -0,0 +1,9 @@ +{ + "powers": [ + "gamerorigins:immortal_humanpowers/immortal", + "gamerorigins:immortal_humanpowers/pathetic" + ], + "icon": "minecraft:air", + "order": 1001, + "impact": 3 +} diff --git a/src/main/resources/data/gamerorigins/origins/kefflade.json b/src/main/resources/data/gamerorigins/origins/kefflade.json new file mode 100644 index 0000000..104df6e --- /dev/null +++ b/src/main/resources/data/gamerorigins/origins/kefflade.json @@ -0,0 +1,44 @@ +{ + "powers": [ + "gamerorigins:keffladepowers/darkchromes", + "gamerorigins:keffladepowers/chromeboost", + "gamerorigins:keffladepowers/supernova", + "gamerorigins:keffladepowers/supernovachromes", + "gamerorigins:keffladepowers/passivechromeregen", + "gamerorigins:keffladepowers/chrometest", + "gamerorigins:keffladepowers/lightningbolt", + "gamerorigins:keffladepowers/lightningboltchromes", + "gamerorigins:keffladepowers/whitemagic", + "gamerorigins:keffladepowers/whitemagicchromes", + "gamerorigins:keffladepowers/shadowblast", + "gamerorigins:keffladepowers/shadowblastchromes", + "gamerorigins:keffladepowers/cursedexplosions", + "gamerorigins:keffladepowers/cursedexplosionschromes", + "gamerorigins:keffladepowers/darkball", + "gamerorigins:keffladepowers/darkballchromes", + "gamerorigins:keffladepowers/bookshelfnear", + "gamerorigins:keffladepowers/darkfavour", + "gamerorigins:keffladepowers/darkftwo", + "gamerorigins:keffladepowers/honeychromes", + "gamerorigins:keffladepowers/startbox", + "gamerorigins:keffladepowers/nodmg", + "gamerorigins:keffladepowers/ginodmg", + "gamerorigins:keffladepowers/leatherarmour", + "gamerorigins:keffladepowers/kefflade_natural_armour", + "gamerorigins:latopowers/lightweight", + "gamerorigins:latopowers/sun_damage", + "gamerorigins:latopowers/lato_blooded", + "gamerorigins:latopowers/seventeen_lives", + "gamerorigins:latopowers/insomnia", + "gamerorigins:latopowers/tall", + "gamerorigins:latopowers/tall_hitbox", + "gamerorigins:latopowers/tall_width", + "gamerorigins:latopowers/tall_width_hitbox", + "gamerorigins:latopowers/strong", + "gamerorigins:latopowers/long_arms" + + ], + "icon": "minecraft:air", + "order": 1002, + "impact": 3 +} diff --git a/src/main/resources/data/gamerorigins/origins/lato.json b/src/main/resources/data/gamerorigins/origins/lato.json new file mode 100755 index 0000000..242a891 --- /dev/null +++ b/src/main/resources/data/gamerorigins/origins/lato.json @@ -0,0 +1,26 @@ +{ + "powers": [ + "gamerorigins:latopowers/lato_blooded", + "gamerorigins:latopowers/seventeen_lives", + "gamerorigins:latopowers/natural_armor", + "gamerorigins:latopowers/tailwind", + "gamerorigins:latopowers/rage", + "gamerorigins:latopowers/rage_dummy", + "gamerorigins:latopowers/rage_addition", + "gamerorigins:latopowers/perfect_vision", + "gamerorigins:latopowers/sun_damage", + "gamerorigins:latopowers/teleport", + "gamerorigins:latopowers/strong", + "gamerorigins:latopowers/long_arms", + "gamerorigins:latopowers/lightweight", + "gamerorigins:latopowers/insomnia", + "gamerorigins:latopowers/tall", + "gamerorigins:latopowers/tall_hitbox", + "gamerorigins:latopowers/tall_width", + "gamerorigins:latopowers/tall_width_hitbox" + ], + "icon": "netherite_axe", + "order": 998, + "impact": 3 + } + \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/origins/monarch.json b/src/main/resources/data/gamerorigins/origins/monarch.json new file mode 100644 index 0000000..d77b829 --- /dev/null +++ b/src/main/resources/data/gamerorigins/origins/monarch.json @@ -0,0 +1,15 @@ +{ + "powers": [ + "gamerorigins:monarchpowers/hyperefficient_blood", + "gamerorigins:monarchpowers/sun_fueled", + "gamerorigins:monarchpowers/nuclear_rush", + "gamerorigins:monarchpowers/nyctophobia", + "gamerorigins:monarchpowers/shining", + "gamerorigins:monarchpowers/solar_energy", + "gamerorigins:monarchpowers/instant_transmission" + ], + "icon": "end_crystal", + "order": 1003, + "impact": 3 + } + \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/origins/mus.json b/src/main/resources/data/gamerorigins/origins/mus.json new file mode 100644 index 0000000..976f9e0 --- /dev/null +++ b/src/main/resources/data/gamerorigins/origins/mus.json @@ -0,0 +1,26 @@ +{ + "powers": [ + "gamerorigins:mus/fascination", + "gamerorigins:mus/reason", + "gamerorigins:mus/closeeyes", + "gamerorigins:mus/closedeyes", + "gamerorigins:mus/lookwithin", + "gamerorigins:mus/reasoneffects", + "gamerorigins:mus/fascinationeffects", + "gamerorigins:latopowers/insomnia", + "gamerorigins:mus/no_villager", + "gamerorigins:mus/flexibility", + "gamerorigins:latopowers/lato_blooded", + "gamerorigins:latopowers/sun_damage", + "gamerorigins:mus/mus_natural_armor", + "gamerorigins:latopowers/tall", + "gamerorigins:latopowers/tall_hitbox", + "gamerorigins:latopowers/tall_width", + "gamerorigins:latopowers/tall_width_hitbox", + "gamerorigins:latopowers/strong", + "gamerorigins:latopowers/long_arms" + ], + "icon": "minecraft:dead_fire_coral", + "order": 1004, + "impact": 3 +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/origins/mync.json b/src/main/resources/data/gamerorigins/origins/mync.json new file mode 100644 index 0000000..171824e --- /dev/null +++ b/src/main/resources/data/gamerorigins/origins/mync.json @@ -0,0 +1,29 @@ +{ + "powers": [ + "gamerorigins:myncpowers/mync_vision", + "gamerorigins:myncpowers/mync_blind", + "gamerorigins:latopowers/seventeen_lives", + "gamerorigins:myncpowers/mync_natural_armour", + "gamerorigins:latopowers/lato_blooded", + "gamerorigins:latopowers/sun_damage", + "gamerorigins:myncpowers/mync_tailwind", + "gamerorigins:myncpowers/mync_strong", + "gamerorigins:myncpowers/mync_rage", + "gamerorigins:myncpowers/mync_rage_dummy", + "gamerorigins:myncpowers/mync_rage_addition", + "gamerorigins:myncpowers/mync_echolocate", + "gamerorigins:latopowers/lightweight", + "gamerorigins:latopowers/insomnia", + "gamerorigins:latopowers/tall", + "gamerorigins:latopowers/tall_hitbox", + "gamerorigins:latopowers/tall_width", + "gamerorigins:latopowers/tall_width_hitbox", + "gamerorigins:latopowers/strong", + "gamerorigins:latopowers/long_arms" + ], + "icon": { + "item": "gamerorigins:mync_eye" + }, + "order": 999, + "impact": 3 +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/duelwield.json b/src/main/resources/data/gamerorigins/powers/duelwield.json new file mode 100644 index 0000000..ee4ffaf --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/duelwield.json @@ -0,0 +1,64 @@ +{ + "name": "Dual Wield", + "description": "You are ambidextrous! (You can swing weapons by equipping them into your offhand) [right click] (doesn't work with hoes and shovels)", + "condition": { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": { + "type": "origins:ingredient", + "ingredient": [ + { + "item": "minecraft:wooden_sword" + }, + { + "item": "minecraft:golden_sword" + }, + { + "item": "minecraft:iron_sword" + }, + { + "item": "minecraft:diamond_sword" + }, + { + "item": "minecraft:netherite_sword" + }, + { + "item": "minecraft:wooden_axe" + }, + { + "item": "minecraft:golden_axe" + }, + { + "item": "minecraft:iron_axe" + }, + { + "item": "minecraft:diamond_axe" + }, + { + "item": "minecraft:netherite_axe" + }, + { + "item": "minecraft:wooden_pickaxe" + }, + { + "item": "minecraft:golden_pickaxe" + }, + { + "item": "minecraft:iron_pickaxe" + }, + { + "item": "minecraft:diamond_pickaxe" + } + ] + } + }, + "type": "origins:active_self", + "entity_action": { + "type": "origins:swing_hand", + "hand": "OFF_HAND" + }, + "cooldown": 0, + "key": { + "key": "key.use\t" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/fifteen_lives.json b/src/main/resources/data/gamerorigins/powers/fifteen_lives.json new file mode 100755 index 0000000..27b7b34 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/fifteen_lives.json @@ -0,0 +1,8 @@ +{ + "type": "origins:attribute", + "modifier": { + "attribute": "minecraft:generic.max_health", + "value": 10.0, + "operation": "addition" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/furious.json b/src/main/resources/data/gamerorigins/powers/furious.json new file mode 100755 index 0000000..38375b7 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/furious.json @@ -0,0 +1,25 @@ +{ + "type": "origins:active_self", + "hud_render": { + "sprite_location": "gamerorigins:textures/gui/ability_bar.png", + "bar_index": "1" + }, + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:strength", + "duration": 400, + "amplifier": 3 + } + }, + { + "type": "origins:exhaust", + "amount": 2 + } + ] + }, + "cooldown": 400 +} diff --git a/src/main/resources/data/gamerorigins/powers/furious_dummy.json b/src/main/resources/data/gamerorigins/powers/furious_dummy.json new file mode 100755 index 0000000..9693fdf --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/furious_dummy.json @@ -0,0 +1,22 @@ +{ + "type": "origins:active_self", + "hidden": "true", + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:instant_damage", + "duration": 1, + "amplifier": 1 + } + } + ] + }, + "cooldown": 800, + "hud_render": { + "sprite_location": "gamerorigins:textures/gui/nothing.png", + "bar_index": "0" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/immortal_humanpowers/immortal.json b/src/main/resources/data/gamerorigins/powers/immortal_humanpowers/immortal.json new file mode 100644 index 0000000..1e517f5 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/immortal_humanpowers/immortal.json @@ -0,0 +1,30 @@ +{ + "type": "origins:prevent_death", + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:clear_effect" + }, + { + "type": "origins:apply_effect", + "effects": [ + { + "effect": "minecraft:regeneration", + "amplifier": 1, + "duration": 900 + }, + { + "effect": "minecraft:fire_resistance", + "duration": 800 + }, + { + "effect": "minecraft:absorption", + "amplifier": 1, + "duration": 100 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/immortal_humanpowers/pathetic.json b/src/main/resources/data/gamerorigins/powers/immortal_humanpowers/pathetic.json new file mode 100644 index 0000000..628df25 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/immortal_humanpowers/pathetic.json @@ -0,0 +1,14 @@ +{ + "type": "origins:stacking_status_effect", + "min_stacks": 0, + "max_stacks": 1, + "duration_per_stack": 35, + "effect": { + "effect": "weakness", + "duration": 35, + "amplifier": 7, + "is_abient": true, + "show_particles": false, + "show_icon": false + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/bookshelfnear.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/bookshelfnear.json new file mode 100644 index 0000000..50fe874 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/bookshelfnear.json @@ -0,0 +1,434 @@ +{ + "type": "origins:action_over_time", + "interval": 20, + "entity_action": { + "type": "origins:if_else_list", + "actions": [ + { + "condition": { + "type": "origins:block_in_radius", + "block_condition": { + "type": "origins:block", + "block": "minecraft:bookshelf" + }, + "radius": 10, + "shape": "cube", + "comparison": ">=", + "compare_to": 10 + }, + "action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:resistance", + "duration": 100, + "amplifier": 1, + "show_particles": true, + "show_icon": true + }, + "effects": [ + { + "effect": "minecraft:regeneration", + "duration": 100, + "amplifier": 1, + "show_particles": true, + "show_icon": true + }, + { + "effect": "minecraft:strength", + "duration": 100, + "amplifier": 1, + "show_particles": true, + "show_icon": true + } + ] + }, + { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": 10, + "operation": "add" + } + ] + } + }, + { + "condition": { + "type": "origins:block_in_radius", + "block_condition": { + "type": "origins:block", + "block": "minecraft:bookshelf" + }, + "radius": 10, + "shape": "cube", + "comparison": ">=", + "compare_to": 9 + }, + "action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:resistance", + "duration": 100, + "amplifier": 1, + "show_particles": true, + "show_icon": true + }, + "effects": [ + { + "effect": "minecraft:regeneration", + "duration": 100, + "amplifier": 1, + "show_particles": true, + "show_icon": true + }, + { + "effect": "minecraft:strength", + "duration": 100, + "amplifier": 1, + "show_particles": true, + "show_icon": true + } + ] + }, + { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": 9, + "operation": "add" + } + ] + } + }, + { + "condition": { + "type": "origins:block_in_radius", + "block_condition": { + "type": "origins:block", + "block": "minecraft:bookshelf" + }, + "radius": 10, + "shape": "cube", + "comparison": ">=", + "compare_to": 8 + }, + "action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:resistance", + "duration": 100, + "amplifier": 1, + "show_particles": true, + "show_icon": true + }, + "effects": [ + { + "effect": "minecraft:regeneration", + "duration": 100, + "amplifier": 1, + "show_particles": true, + "show_icon": true + }, + { + "effect": "minecraft:strength", + "duration": 100, + "amplifier": 0, + "show_particles": true, + "show_icon": true + } + ] + }, + { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": 8, + "operation": "add" + } + ] + } + }, + { + "condition": { + "type": "origins:block_in_radius", + "block_condition": { + "type": "origins:block", + "block": "minecraft:bookshelf" + }, + "radius": 10, + "shape": "cube", + "comparison": ">=", + "compare_to": 7 + }, + "action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:resistance", + "duration": 100, + "amplifier": 1, + "show_particles": true, + "show_icon": true + }, + "effects": [ + { + "effect": "minecraft:regeneration", + "duration": 100, + "amplifier": 1, + "show_particles": true, + "show_icon": true + }, + { + "effect": "minecraft:strength", + "duration": 100, + "amplifier": 0, + "show_particles": true, + "show_icon": true + } + ] + }, + { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": 7, + "operation": "add" + } + ] + } + }, + { + "condition": { + "type": "origins:block_in_radius", + "block_condition": { + "type": "origins:block", + "block": "minecraft:bookshelf" + }, + "radius": 10, + "shape": "cube", + "comparison": ">=", + "compare_to": 6 + }, + "action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:resistance", + "duration": 100, + "amplifier": 1, + "show_particles": true, + "show_icon": true + }, + "effects": [ + { + "effect": "minecraft:regeneration", + "duration": 100, + "amplifier": 1, + "show_particles": true, + "show_icon": true + } + ] + }, + { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": 6, + "operation": "add" + } + ] + } + }, + { + "condition": { + "type": "origins:block_in_radius", + "block_condition": { + "type": "origins:block", + "block": "minecraft:bookshelf" + }, + "radius": 10, + "shape": "cube", + "comparison": ">=", + "compare_to": 5 + }, + "action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:resistance", + "duration": 100, + "amplifier": 1, + "show_particles": true, + "show_icon": true + }, + "effects": [ + { + "effect": "minecraft:regeneration", + "duration": 100, + "amplifier": 1, + "show_particles": true, + "show_icon": true + } + ] + }, + { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": 5, + "operation": "add" + } + ] + } + }, + { + "condition": { + "type": "origins:block_in_radius", + "block_condition": { + "type": "origins:block", + "block": "minecraft:bookshelf" + }, + "radius": 10, + "shape": "cube", + "comparison": "==", + "compare_to": 4 + }, + "action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:resistance", + "duration": 100, + "amplifier": 0, + "show_particles": true, + "show_icon": true + }, + "effects": [ + { + "effect": "minecraft:regeneration", + "duration": 100, + "amplifier": 1, + "show_particles": true, + "show_icon": true + } + ] + }, + { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": 4, + "operation": "add" + } + ] + } + }, + { + "condition": { + "type": "origins:block_in_radius", + "block_condition": { + "type": "origins:block", + "block": "minecraft:bookshelf" + }, + "radius": 10, + "shape": "cube", + "comparison": "==", + "compare_to": 3 + }, + "action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:regeneration", + "duration": 100, + "amplifier": 0, + "show_particles": true, + "show_icon": true + }, + "effects": [ + { + "effect": "minecraft:resistance", + "duration": 100, + "amplifier": 0, + "show_particles": true, + "show_icon": true + } + ] + }, + { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": 2, + "operation": "add" + } + ] + } + }, + { + "condition": { + "type": "origins:block_in_radius", + "block_condition": { + "type": "origins:block", + "block": "minecraft:bookshelf" + }, + "radius": 10, + "shape": "cube", + "comparison": "==", + "compare_to": 2 + }, + "action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:regeneration", + "duration": 100, + "amplifier": 0, + "show_particles": true, + "show_icon": true + } + }, + { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": 2, + "operation": "add" + } + ] + } + }, + { + "condition": { + "type": "origins:block_in_radius", + "block_condition": { + "type": "origins:block", + "block": "minecraft:bookshelf" + }, + "radius": 10, + "shape": "cube", + "comparison": "==", + "compare_to": 1 + }, + "action": { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": 1, + "operation": "add" + } + } + ] + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/chromeboost.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/chromeboost.json new file mode 100644 index 0000000..2d35c5d --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/chromeboost.json @@ -0,0 +1,21 @@ +{ + "hidden": true, + "condition": { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": { + "type": "origins:ingredient", + "ingredient": { + "item": "minecraft:book" + } + } + }, + "type": "origins:action_over_time", + "interval": 40, + "entity_action": { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": 1, + "operation": "add" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/chrometest.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/chrometest.json new file mode 100644 index 0000000..35a8d5a --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/chrometest.json @@ -0,0 +1,21 @@ +{ + "hidden": true, + "condition": { + "type": "origins:equipped_item", + "equipment_slot": "mainhand", + "item_condition": { + "type": "origins:ingredient", + "ingredient": { + "item": "gamerorigins:mync_eye" + } + } + }, + "type": "origins:action_over_time", + "interval": 10, + "entity_action": { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": 100, + "operation": "add" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/cursedexplosions.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/cursedexplosions.json new file mode 100644 index 0000000..9712222 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/cursedexplosions.json @@ -0,0 +1,75 @@ +{ + "condition": { + "type": "origins:and", + "conditions": [ + { + "inverted": false, + "type": "origins:sneaking" + }, + { + "type": "origins:resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "comparison": ">=", + "compare_to": 70 + } + ] + }, + "type": "origins:active_self", + "entity_action": { + "type": "origins:raycast", + "distance": 20, + "block": true, + "entity": true, + "shape_type": "outline", + "fluid_handling": "any", + "bientity_action": { + "type": "origins:target_action", + "action": { + "type": "origins:delay", + "action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:explode", + "power": 1, + "destruction_type": "none", + "damage_self": true + }, + { + "type": "origins:delay", + "action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:explode", + "power": 1, + "destruction_type": "none", + "damage_self": true + } + ] + }, + "ticks": 20 + } + ] + }, + "ticks": 80 + } + }, + "hit_action": { + "type": "origins:play_sound", + "sound": "minecraft:entity.tnt.primed", + "volume": 1, + "pitch": 1 + }, + "command_along_ray": "particle minecraft:explosion" + }, + "cooldown": 1000, + "hud_render": { + "should_render": true, + "sprite_location": "origins:textures/gui/community/huang/resource_bar_01.png", + "bar_index": 7 + }, + "key": { + "key": "ternary" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/cursedexplosionschromes.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/cursedexplosionschromes.json new file mode 100644 index 0000000..15fb7a9 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/cursedexplosionschromes.json @@ -0,0 +1,29 @@ +{ + "hidden": true, + "condition": { + "type": "origins:and", + "conditions": [ + { + "inverted": false, + "type": "origins:sneaking" + }, + { + "type": "origins:resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "comparison": ">=", + "compare_to": 70 + } + ] + }, + "type": "origins:active_self", + "entity_action": { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": -70, + "operation": "add" + }, + "cooldown": 1000, + "key": { + "key": "ternary" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/darkball.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/darkball.json new file mode 100644 index 0000000..5aec248 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/darkball.json @@ -0,0 +1,31 @@ +{ + "condition": { + "type": "origins:and", + "conditions": [ + { + "inverted": true, + "type": "origins:sneaking" + }, + { + "type": "origins:resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "comparison": ">=", + "compare_to": 20 + } + ] + }, + "type": "origins:fire_projectile", + "entity_type": "minecraft:dragon_fireball", + "cooldown": 500, + "hud_render": { + "should_render": true, + "bar_index": 7 + }, + "count": 1, + "interval": 0, + "start_delay": 0, + "speed": 1.5, + "divergence": 1, + "sound": "minecraft:entity.ender_dragon.shoot", + "key": "ternary" +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/darkballchromes.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/darkballchromes.json new file mode 100644 index 0000000..dad900c --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/darkballchromes.json @@ -0,0 +1,27 @@ +{ + "hidden": true, + "condition": { + "type": "origins:and", + "conditions": [ + { + "inverted": true, + "type": "origins:sneaking" + }, + { + "type": "origins:resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "comparison": ">=", + "compare_to": 20 + } + ] + }, + "type": "origins:active_self", + "entity_action": { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": -20, + "operation": "add" + }, + "cooldown": 500, + "key": "ternary" +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/darkchromes.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/darkchromes.json new file mode 100644 index 0000000..d75512d --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/darkchromes.json @@ -0,0 +1,11 @@ +{ + "type": "origins:resource", + "min": 0, + "max": 200, + "start_value": 10, + "hud_render": { + "should_render": true, + "sprite_location": "origins:textures/gui/community/huang/resource_bar_01.png", + "bar_index": 0 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/darkfavour.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/darkfavour.json new file mode 100644 index 0000000..1f0786f --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/darkfavour.json @@ -0,0 +1,21 @@ +{ + "condition": { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": { + "type": "origins:ingredient", + "ingredient": { + "item": "minecraft:book" + } + } + }, + "type": "origins:modify_damage_taken", + "damage_condition": { + "type": "origins:name", + "name": "magic" + }, + "modifier": { + "operation": "multiply_base", + "value": -0.5 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/darkftwo.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/darkftwo.json new file mode 100644 index 0000000..9452b3d --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/darkftwo.json @@ -0,0 +1,22 @@ +{ + "hidden": true, + "condition": { + "type": "origins:equipped_item", + "equipment_slot": "offhand", + "item_condition": { + "type": "origins:ingredient", + "ingredient": { + "item": "minecraft:book" + } + } + }, + "type": "origins:modify_damage_dealt", + "damage_condition": { + "type": "origins:name", + "name": "magic" + }, + "modifier": { + "operation": "multiply_base", + "value": 0.1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/ginodmg.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/ginodmg.json new file mode 100644 index 0000000..442e845 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/ginodmg.json @@ -0,0 +1,18 @@ +{ + "hidden": true, + "condition": { + "type": "origins:equipped_item", + "equipment_slot": "mainhand", + "item_condition": { + "type": "origins:ingredient", + "ingredient": { + "tag": "gamerorigins:giweapons" + } + } + }, + "type": "origins:modify_damage_dealt", + "modifier": { + "operation": "multiply_base", + "value": -0.6 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/honeychromes.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/honeychromes.json new file mode 100644 index 0000000..c597324 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/honeychromes.json @@ -0,0 +1,15 @@ +{ + "type": "origins:action_on_item_use", + "entity_action": { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": 15, + "operation": "add" + }, + "item_condition": { + "type": "origins:ingredient", + "ingredient": { + "item": "minecraft:honey_bottle" + } + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/kefflade_natural_armour.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/kefflade_natural_armour.json new file mode 100644 index 0000000..2537231 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/kefflade_natural_armour.json @@ -0,0 +1,9 @@ +{ + "type": "origins:attribute", + "modifier": { + "name": "Natural Armor health bonus", + "attribute": "minecraft:generic.armor", + "value": 8.0, + "operation": "addition" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/leatherarmour.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/leatherarmour.json new file mode 100644 index 0000000..b7dc037 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/leatherarmour.json @@ -0,0 +1,23 @@ +{ + "type": "origins:restrict_armor", + "head": { + "type": "origins:armor_value", + "comparison": ">", + "compare_to": 1 + }, + "chest": { + "type": "origins:armor_value", + "comparison": ">", + "compare_to": 3 + }, + "legs": { + "type": "origins:armor_value", + "comparison": ">", + "compare_to": 2 + }, + "feet": { + "type": "origins:armor_value", + "comparison": ">", + "compare_to": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/lightningbolt.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/lightningbolt.json new file mode 100644 index 0000000..02cf938 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/lightningbolt.json @@ -0,0 +1,37 @@ +{ + "condition": { + "type": "origins:and", + "conditions": [ + { + "inverted": false, + "type": "origins:sneaking" + }, + { + "type": "origins:resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "comparison": ">=", + "compare_to": 90 + } + ] + }, + "type": "origins:active_self", + "entity_action": { + "type": "origins:raycast", + "distance": 100, + "block": true, + "entity": true, + "shape_type": "visual", + "fluid_handling": "any", + "miss_action": { + "type": "origins:nothing" + }, + "command_at_hit": "summon minecraft:lightning_bolt ~ ~ ~" + }, + "cooldown": 250, + "hud_render": { + "should_render": true, + "sprite_location": "origins:textures/gui/community/huang/resource_bar_02.png", + "bar_index": 5 + }, + "key": "primary" +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/lightningboltchromes.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/lightningboltchromes.json new file mode 100644 index 0000000..f487cd0 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/lightningboltchromes.json @@ -0,0 +1,27 @@ +{ + "hidden": true, + "condition": { + "type": "origins:and", + "conditions": [ + { + "inverted": false, + "type": "origins:sneaking" + }, + { + "type": "origins:resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "comparison": ">=", + "compare_to": 90 + } + ] + }, + "type": "origins:active_self", + "entity_action": { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": -90, + "operation": "add" + }, + "cooldown": 250, + "key": "primary" +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/nodmg.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/nodmg.json new file mode 100644 index 0000000..4856569 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/nodmg.json @@ -0,0 +1,17 @@ +{ + "condition": { + "type": "origins:equipped_item", + "equipment_slot": "mainhand", + "item_condition": { + "type": "origins:ingredient", + "ingredient": { + "tag": "gamerorigins:weapons" + } + } + }, + "type": "origins:modify_damage_dealt", + "modifier": { + "operation": "multiply_base", + "value": -0.6 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/passivechromeregen.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/passivechromeregen.json new file mode 100644 index 0000000..468ae5c --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/passivechromeregen.json @@ -0,0 +1,11 @@ +{ + "hidden": true, + "type": "origins:action_over_time", + "interval": 20, + "entity_action": { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": 1, + "operation": "add" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/shadowblast.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/shadowblast.json new file mode 100644 index 0000000..5df5d9f --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/shadowblast.json @@ -0,0 +1,74 @@ +{ + "condition": { + "type": "origins:and", + "conditions": [ + { + "type": "origins:sneaking" + }, + { + "type": "origins:resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "comparison": ">=", + "compare_to": 30 + } + ] + }, + "type": "origins:active_self", + "entity_action": { + "type": "origins:raycast", + "distance": 30, + "block": true, + "entity": true, + "shape_type": "outline", + "fluid_handling": "any", + "bientity_action": { + "type": "origins:target_action", + "action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:slowness", + "duration": 100, + "amplifier": 1, + "show_particles": true, + "show_icon": true + }, + "effects": [ + { + "effect": "minecraft:blindness", + "duration": 100, + "amplifier": 0, + "show_particles": true, + "show_icon": true + } + ] + }, + { + "type": "origins:damage", + "amount": 10, + "source": { + "name": "magic", + "bypasses_armor": true, + "magic": true + } + } + ] + } + }, + "hit_action": { + "type": "origins:play_sound", + "sound": "minecraft:entity.warden.sonic_boom", + "volume": 1, + "pitch": 1 + }, + "command_along_ray": "particle minecraft:sonic_boom" + }, + "cooldown": 400, + "hud_render": { + "should_render": true, + "sprite_locsecondaryx": 15 + }, + "key": "secondary" +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/shadowblastchromes.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/shadowblastchromes.json new file mode 100644 index 0000000..f596dc5 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/shadowblastchromes.json @@ -0,0 +1,26 @@ +{ + "hidden": true, + "condition": { + "type": "origins:and", + "conditions": [ + { + "type": "origins:sneaking" + }, + { + "type": "origins:resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "comparison": ">=", + "compare_to": 40 + } + ] + }, + "type": "origins:active_self", + "entity_action": { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": -40, + "operation": "add" + }, + "cooldown": 400, + "key": "secondary" +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/startbox.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/startbox.json new file mode 100644 index 0000000..83eaeea --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/startbox.json @@ -0,0 +1,22 @@ +{ + "type": "origins:starting_equipment", + "stack": { + "item": "minecraft:book" + }, + "stacks": [ + { + "item": "minecraft:bookshelf", + "amount": 5 + }, + { + "item": "minecraft:enchanting_table" + }, + { + "item": "minecraft:brewing_stand" + }, + { + "item": "minecraft:experience_bottle", + "amount": 15 + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/supernova.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/supernova.json new file mode 100644 index 0000000..6fe246f --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/supernova.json @@ -0,0 +1,66 @@ +{ + "condition": { + "type": "origins:and", + "conditions": [ + { + "inverted": true, + "type": "origins:sneaking" + }, + { + "type": "origins:resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "comparison": ">=", + "compare_to": 30 + } + ] + }, + "type": "origins:active_self", + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:delay", + "action": { + "type": "origins:raycast", + "distance": 150, + "block": true, + "entity": true, + "shape_type": "visual", + "fluid_handling": "any", + "miss_action": { + "type": "origins:nothing" + }, + "command_at_hit": "summon firework_rocket ~ ~ ~ {FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1b,Colors:[I;11743532,2437522,12910782,14602026,15435844],FadeColors:[I;11743532,2437522,8073150]}]}}}}", + "command_along_ray": "particle minecraft:dust_color_transition 1.0 0.0 0.0 1.0 0.0 0.0 1.0 ~ ~1 ~", + "command_step": 0.3 + }, + "ticks": 10 + }, + { + "type": "origins:play_sound", + "sound": "entity.illusioner.cast_spell", + "volume": 1, + "pitch": 2 + }, + { + "type": "origins:spawn_particles", + "particle": "sonic_boom", + "count": 3, + "force": true, + "spread": { + "x": 0.25, + "y": 0.13, + "z": 0.25 + }, + "offset_y": 1.5 + } + ] + }, + "cooldown": 20, + "hud_render": { + "should_render": false + }, + "key": { + "key": "primary" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/supernovachromes.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/supernovachromes.json new file mode 100644 index 0000000..2804e2c --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/supernovachromes.json @@ -0,0 +1,27 @@ +{ + "hidden": true, + "condition": { + "type": "origins:and", + "conditions": [ + { + "inverted": true, + "type": "origins:sneaking" + }, + { + "type": "origins:resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "comparison": ">=", + "compare_to": 30 + } + ] + }, + "type": "origins:active_self", + "entity_action": { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": -30, + "operation": "add" + }, + "cooldown": 20, + "key": "primary" +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/whitemagic.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/whitemagic.json new file mode 100644 index 0000000..ad35fcc --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/whitemagic.json @@ -0,0 +1,118 @@ +{ + "condition": { + "type": "origins:and", + "conditions": [ + { + "inverted": true, + "type": "origins:sneaking" + }, + { + "type": "origins:resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "comparison": ">=", + "compare_to": 50 + } + ] + }, + "type": "origins:active_self", + "entity_action": { + "type": "origins:raycast", + "distance": 20, + "block": true, + "entity": true, + "shape_type": "outline", + "fluid_handling": "any", + "bientity_action": { + "type": "origins:target_action", + "action": { + "type": "origins:if_else", + "condition": { + "type": "origins:entity_group", + "group": "undead" + }, + "if_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:damage", + "amount": 6, + "source": { + "name": "magic", + "bypasses_armor": true, + "unblockable": true, + "magic": true + } + }, + { + "type": "origins:delay", + "action": { + "type": "origins:damage", + "amount": 2, + "source": { + "name": "magic", + "bypasses_armor": true, + "unblockable": true, + "magic": true + } + }, + "ticks": 40 + }, + { + "type": "origins:delay", + "action": { + "type": "origins:damage", + "amount": 2, + "source": { + "name": "magic", + "bypasses_armor": true, + "unblockable": true, + "magic": true + } + }, + "ticks": 80 + } + ] + }, + "else_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:heal", + "amount": 6 + }, + { + "type": "origins:delay", + "action": { + "type": "origins:heal", + "amount": 2 + }, + "ticks": 40 + }, + { + "type": "origins:delay", + "action": { + "type": "origins:heal", + "amount": 2 + }, + "ticks": 80 + } + ] + } + } + }, + "hit_action": { + "type": "origins:play_sound", + "sound": "minecraft:block.amethyst_cluster.hit", + "volume": 1, + "pitch": 1 + }, + "command_along_ray": "particle minecraft:crit" + }, + "cooldown": 200, + "hud_render": { + "should_render": true, + "sprite_location": "origins:textures/gui/community/huang/resource_bar_01.png", + "bar_index": 18 + }, + "key": "secondary" +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/keffladepowers/whitemagicchromes.json b/src/main/resources/data/gamerorigins/powers/keffladepowers/whitemagicchromes.json new file mode 100644 index 0000000..9dd2241 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/keffladepowers/whitemagicchromes.json @@ -0,0 +1,27 @@ +{ + "hidden": true, + "condition": { + "type": "origins:and", + "conditions": [ + { + "inverted": true, + "type": "origins:sneaking" + }, + { + "type": "origins:resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "comparison": ">=", + "compare_to": 50 + } + ] + }, + "type": "origins:active_self", + "entity_action": { + "type": "origins:change_resource", + "resource": "gamerorigins:keffladepowers/darkchromes", + "change": -50, + "operation": "add" + }, + "cooldown": 200, + "key": "secondary" +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/insomnia.json b/src/main/resources/data/gamerorigins/powers/latopowers/insomnia.json new file mode 100644 index 0000000..975b225 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/insomnia.json @@ -0,0 +1,7 @@ +{ + "type": "origins:prevent_sleep", + "name": "Sleepless", + "description": "As a creature of the night, you cannot sleep during the night.", + "set_spawn_point": true, + "message": "You cannot sleep now." +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/lato_blooded.json b/src/main/resources/data/gamerorigins/powers/latopowers/lato_blooded.json new file mode 100755 index 0000000..6e76844 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/lato_blooded.json @@ -0,0 +1,9 @@ +{ + "type": "origins:effect_immunity", + "effects": [ + "minecraft:wither", + "minecraft:poison", + "minecraft:instant_damage", + "minecraft:hunger" + ] +} diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/lightweight.json b/src/main/resources/data/gamerorigins/powers/latopowers/lightweight.json new file mode 100644 index 0000000..6f04be6 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/lightweight.json @@ -0,0 +1,24 @@ +{ + "type": "origins:action_over_time", + "interval": 1, + "entity_action": { + "type": "origins:and", + "actions": [{ + "type": "origins:block_action_at", + "block_action": { + "type": "origins:modify_block_state", + "property": "tilt", + "enum": "none" + } + }] + }, + "condition": { + "type": "origins:and", + "conditions": [{ + "type": "origins:command", + "command": "execute at @s if block ~ ~ ~ minecraft:big_dripleaf unless block ~ ~ ~ minecraft:big_dripleaf[tilt=full]", + "comparison": "==", + "compare_to": 1 + }] + } + } \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/long_arms.json b/src/main/resources/data/gamerorigins/powers/latopowers/long_arms.json new file mode 100644 index 0000000..d34423e --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/long_arms.json @@ -0,0 +1,19 @@ +{ + "type": "origins:attribute", + "modifiers": + [ + { + "name": "Long Arms reach", + "attribute": "reach-entity-attributes:reach", + "value": 1, + "operation": "addition" + }, + { + "name": "Long Arms attack range", + "attribute": "reach-entity-attributes:attack_range", + "value": 1, + "operation": "addition" + } + ] + +} diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/natural_armor.json b/src/main/resources/data/gamerorigins/powers/latopowers/natural_armor.json new file mode 100644 index 0000000..2053db0 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/natural_armor.json @@ -0,0 +1,9 @@ +{ + "type": "origins:attribute", + "modifier": { + "name": "Natural Armor health bonus", + "attribute": "minecraft:generic.armor", + "value": 10.0, + "operation": "addition" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/perfect_vision.json b/src/main/resources/data/gamerorigins/powers/latopowers/perfect_vision.json new file mode 100755 index 0000000..1da60af --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/perfect_vision.json @@ -0,0 +1,6 @@ +{ + "type": "origins:toggle_night_vision", + "active_by_default": "true", + "strength": 0.3, + "key": "ternary" +} diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/rage.json b/src/main/resources/data/gamerorigins/powers/latopowers/rage.json new file mode 100755 index 0000000..f7d238d --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/rage.json @@ -0,0 +1,25 @@ +{ + "type": "origins:active_self", + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:strength", + "duration": 400, + "amplifier": 3 + } + }, + { + "type": "origins:exhaust", + "amount": 2 + } + ] + }, + "cooldown": 2400, + "hud_render": { + "sprite_location": "gamerorigins:textures/gui/ability_bar.png", + "bar_index": "0" + } +} diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/rage_addition.json b/src/main/resources/data/gamerorigins/powers/latopowers/rage_addition.json new file mode 100755 index 0000000..891253f --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/rage_addition.json @@ -0,0 +1,22 @@ +{ + "type": "origins:active_self", + "hidden": "true", + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:speed", + "duration": 400, + "amplifier": 2 + } + } + ] + }, + "cooldown": 2400, + "hud_render": { + "sprite_location": "gamerorigins:textures/gui/nothing.png", + "bar_index": "0" + } + } \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/rage_dummy.json b/src/main/resources/data/gamerorigins/powers/latopowers/rage_dummy.json new file mode 100755 index 0000000..04b0863 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/rage_dummy.json @@ -0,0 +1,18 @@ +{ + "type": "origins:active_self", + "hidden": "true", + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:heal", + "amount": 15 + } + ] + }, + "cooldown": 2400, + "hud_render": { + "sprite_location": "gamerorigins:textures/gui/nothing.png", + "bar_index": "0" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/seventeen_lives.json b/src/main/resources/data/gamerorigins/powers/latopowers/seventeen_lives.json new file mode 100755 index 0000000..784f7f3 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/seventeen_lives.json @@ -0,0 +1,8 @@ +{ + "type": "origins:attribute", + "modifier": { + "attribute": "minecraft:generic.max_health", + "value": 14.0, + "operation": "addition" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/strong.json b/src/main/resources/data/gamerorigins/powers/latopowers/strong.json new file mode 100644 index 0000000..11a09af --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/strong.json @@ -0,0 +1,13 @@ +{ + "type": "origins:attribute", + "modifiers": + [ + { + "name": "Strong damage", + "attribute": "generic.attack_damage", + "value": 2.0, + "operation": "addition" + } + ] + +} diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/sun_damage.json b/src/main/resources/data/gamerorigins/powers/latopowers/sun_damage.json new file mode 100644 index 0000000..eae589e --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/sun_damage.json @@ -0,0 +1,37 @@ +{ + "condition": { + "type": "origins:and", + "conditions": [ + { + "inverted": true, + "type": "origins:inventory", + "process_mode": "items", + "slots": [ + "weapon.mainhand", + "weapon.offhand" + ], + "item_condition": { + "type": "origins:ingredient", + "ingredient": { + "item": "gamerorigins:umbrella" + } + } + }, + { + "type": "origins:exposed_to_sun" + } + ] + }, + "type": "origins:damage_over_time", + "interval": 15, + "onset_delay": 1, + "damage": 3, + "damage_easy": 2, + "damage_source": { + "name": "burn_in_sun", + "unblockable": true, + "bypasses_armor": true + }, + "protection_enchantment": "gamerorigins:sun_protection", + "protection_effectiveness": 1.1 + } \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/tailwind.json b/src/main/resources/data/gamerorigins/powers/latopowers/tailwind.json new file mode 100644 index 0000000..8501760 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/tailwind.json @@ -0,0 +1,9 @@ +{ + "type": "origins:attribute", + "modifier": { + "name": "Tailwind speed bonus", + "attribute": "minecraft:generic.movement_speed", + "value": 0.29, + "operation": "multiply_base" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/tall.json b/src/main/resources/data/gamerorigins/powers/latopowers/tall.json new file mode 100644 index 0000000..11b9f49 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/tall.json @@ -0,0 +1,8 @@ +{ + "type": "origins:action_over_time", + "interval": 20, + "entity_action": { + "type": "origins:execute_command", + "command": "/scale set pehkui:height 1.25" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/tall_hitbox.json b/src/main/resources/data/gamerorigins/powers/latopowers/tall_hitbox.json new file mode 100644 index 0000000..722b79d --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/tall_hitbox.json @@ -0,0 +1,9 @@ +{ + "hidden": true, + "type": "origins:action_over_time", + "interval": 20, + "entity_action": { + "type": "origins:execute_command", + "command": "/scale set pehkui:hitbox_height 1" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/tall_width.json b/src/main/resources/data/gamerorigins/powers/latopowers/tall_width.json new file mode 100644 index 0000000..903afa7 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/tall_width.json @@ -0,0 +1,9 @@ +{ + "type": "origins:action_over_time", + "interval": 20, + "hidden": true, + "entity_action": { + "type": "origins:execute_command", + "command": "/scale set pehkui:width 1.25" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/tall_width_hitbox.json b/src/main/resources/data/gamerorigins/powers/latopowers/tall_width_hitbox.json new file mode 100644 index 0000000..df0e9f0 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/tall_width_hitbox.json @@ -0,0 +1,9 @@ +{ + "type": "origins:action_over_time", + "interval": 20, + "hidden": true, + "entity_action": { + "type": "origins:execute_command", + "command": "/scale set pehkui:hitbox_width 1" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/teleport.json b/src/main/resources/data/gamerorigins/powers/latopowers/teleport.json new file mode 100644 index 0000000..aaa2092 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/teleport.json @@ -0,0 +1,53 @@ +{ + "type": "origins:active_self", + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:delay", + "action": { + "type": "origins:raycast", + "distance": 150, + "block": true, + "entity": true, + "shape_type": "visual", + "fluid_handling": "any", + "miss_action": { + "type": "origins:nothing" + }, + "command_at_hit": "tp @s ~ ~ ~", + "command_along_ray": "particle minecraft:dust_color_transition 1.0 0.0 0.0 1.0 0.0 0.0 1.0 ~ ~1 ~", + "command_step": 0.3 + }, + "ticks": 10 + }, + { + "type": "origins:play_sound", + "sound": "entity.illusioner.cast_spell", + "volume": 1, + "pitch": 1 + }, + { + "type": "origins:spawn_particles", + "particle": "dragon_breath", + "count": 800, + "speed": 0.1, + "force": true, + "spread": { + "x": 0.5, + "y": 0.5, + "z": 0.5 + }, + "offset_y": 0.5 + } + ] + }, + "cooldown": 3000, + "hud_render": { + "sprite_location": "origins:textures/gui/community/huang/resource_bar_01.png", + "bar_index": "19" + }, + "key": { + "key": "secondary" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/latopowers/water_vulnerability.json b/src/main/resources/data/gamerorigins/powers/latopowers/water_vulnerability.json new file mode 100755 index 0000000..a6ac18b --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/latopowers/water_vulnerability.json @@ -0,0 +1,28 @@ +{ + "type": "origins:damage_over_time", + "interval": 15, + "onset_delay": 60, + "damage": 1, + "damage_easy": 1, + "damage_source": { + "name": "boil_in_water", + "unblockable": true, + "bypasses_armor": true + }, + "protection_enchantment": "origins:water_protection", + "protection_effectiveness": 1.5, + "condition": { + "type": "origins:or", + "conditions": [ + { + "type": "origins:fluid_height", + "fluid": "minecraft:water", + "comparison": ">", + "compare_to": 0.0 + }, + { + "type": "origins:in_rain" + } + ] + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/monarchpowers/hyperefficient_blood.json b/src/main/resources/data/gamerorigins/powers/monarchpowers/hyperefficient_blood.json new file mode 100644 index 0000000..a33325a --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/monarchpowers/hyperefficient_blood.json @@ -0,0 +1,10 @@ +{ + "type": "origins:effect_immunity", + "effects": [ + "minecraft:wither", + "minecraft:poison", + "minecraft:instant_damage", + "minecraft:hunger" + ] + } + \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/monarchpowers/instant_transmission.json b/src/main/resources/data/gamerorigins/powers/monarchpowers/instant_transmission.json new file mode 100644 index 0000000..e280199 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/monarchpowers/instant_transmission.json @@ -0,0 +1,66 @@ +{ + "condition": { + "type": "origins:resource", + "resource": "gamerorigins:monarchpowers/solar_energy", + "comparison": ">=", + "compare_to": 50 + }, + "type": "origins:active_self", + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:delay", + "action": { + "type": "origins:raycast", + "distance": 20, + "block": true, + "entity": true, + "shape_type": "visual", + "fluid_handling": "any", + "miss_action": { + "type": "origins:nothing" + }, + "command_at_hit": "tp @s ~ ~ ~", + "command_along_ray": "/particle smoke ~ ~ ~ 0 0 0 0 10", + "command_step": 0.3 + }, + "ticks": 0 + }, + { + "type": "origins:play_sound", + "sound": "entity.illusioner.cast_spell", + "volume": 1, + "pitch": 1 + }, + { + "type": "origins:spawn_particles", + "particle": "instant_effect", + "count": 800, + "speed": 0.1, + "force": true, + "spread": { + "x": 0.5, + "y": 0.5, + "z": 0.5 + }, + "offset_y": 0.5 + }, + { + "type": "origins:change_resource", + "resource": "gamerorigins:monarchpowers/solar_energy", + "change": -50, + "operation": "add" + } + + ] + }, + "cooldown": 0, + "hud_render": { + "sprite_location": "origins:textures/gui/community/huang/resource_bar_01.png", + "bar_index": "19" + }, + "key": { + "key": "secondary" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/monarchpowers/nuclear_rush.json b/src/main/resources/data/gamerorigins/powers/monarchpowers/nuclear_rush.json new file mode 100644 index 0000000..69ea111 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/monarchpowers/nuclear_rush.json @@ -0,0 +1,55 @@ +{ + "condition": { + "type": "origins:resource", + "resource": "gamerorigins:monarchpowers/solar_energy", + "comparison": ">=", + "compare_to": 100 + }, + "type": "origins:active_self", + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:strength", + "duration": 200, + "amplifier": 4 + } + }, + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:speed", + "duration": 200, + "amplifier": 3 + } + }, + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:resistance", + "duration": 200, + "amplifier": 3 + } + }, + { + "type": "origins:change_resource", + "resource": "gamerorigins:monarchpowers/solar_energy", + "change": -100, + "operation": "add" + }, + { + "type": "origins:exhaust", + "amount": 2 + } + ] + + }, + "cooldown": 2200, + "hud_render": { + "sprite_location": "origins:textures/gui/community/huang/resource_bar_01.png", + "bar_index": "7" + }, + "key": "primary" + } \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/monarchpowers/nyctophobia.json b/src/main/resources/data/gamerorigins/powers/monarchpowers/nyctophobia.json new file mode 100644 index 0000000..1a3938b --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/monarchpowers/nyctophobia.json @@ -0,0 +1,31 @@ +{ + "type": "origins:action_over_time", + "condition": { + "type": "origins:daytime", + "inverted": true + }, + "entity_action": { + "type": "origins:and", + "actions": [{ + "type": "origins:apply_effect", + "effects": [{ + "effect": "minecraft:slowness", + "amplifier": 0, + "duration": 35, + "show_particles": false, + "show_icon": false + }, + { + "effect": "minecraft:weakness", + "amplifier": 2, + "duration": 35, + "show_particles": false, + "show_icon": false + } + ] + } + ] + }, + "update_health": true + } + \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/monarchpowers/shining.json b/src/main/resources/data/gamerorigins/powers/monarchpowers/shining.json new file mode 100644 index 0000000..5ea6e92 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/monarchpowers/shining.json @@ -0,0 +1,6 @@ +{ + "type": "origins:model_color", + "blue": 0.5, + "red": 1, + "green": 1 +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/monarchpowers/solar_energy.json b/src/main/resources/data/gamerorigins/powers/monarchpowers/solar_energy.json new file mode 100644 index 0000000..1010b8a --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/monarchpowers/solar_energy.json @@ -0,0 +1,11 @@ +{ + "type": "origins:resource", + "min": 0, + "max": 400, + "start_value": 10, + "hud_render": { + "should_render": true, + "sprite_location": "origins:textures/gui/community/huang/resource_bar_01.png", + "bar_index": 14 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/monarchpowers/sun_fueled.json b/src/main/resources/data/gamerorigins/powers/monarchpowers/sun_fueled.json new file mode 100644 index 0000000..373aad6 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/monarchpowers/sun_fueled.json @@ -0,0 +1,13 @@ +{ +"condition": { + "type": "origins:daytime" + }, + "type": "origins:action_over_time", + "interval": 40, + "entity_action": { + "type": "origins:change_resource", + "resource": "gamerorigins:monarchpowers/solar_energy", + "change": 10, + "operation": "add" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/muspowers/closedeyes.json b/src/main/resources/data/gamerorigins/powers/muspowers/closedeyes.json new file mode 100644 index 0000000..997650b --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/muspowers/closedeyes.json @@ -0,0 +1,71 @@ +{ + "type": "origins:multiple", + "hidden": true, + "eyesclosed": { + "type": "origins:action_over_time", + "interval": 10, + "condition": { + "type": "origins:power_active", + "power": "gamerorigins:mus/closeeyes" + }, + "entity_action": { + "type": "origins:change_resource", + "resource": "gamerorigins:mus/fascination", + "change": 1 + } + }, + "eyesclosedshader": { + "type": "origins:shader", + "condition": { + "type": "origins:power_active", + "power": "gamerorigins:mus/closeeyes" + }, + "shader": "minecraft:shaders/post/sobel.json", + "toggleable": false + }, + "eyesclosedblindness": { + "type": "origins:action_over_time", + "interval": 1, + "entity_action": { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:blindness", + "duration": 1000000, + "amplifier": 0, + "show_particles": false, + "show_icon": false + } + }, + "condition": { + "type": "origins:power_active", + "power": "gamerorigins:mus/closeeyes" + } + }, + "eyesopenvision": { + "type": "origins:action_over_time", + "interval": 1, + "entity_action": { + "type": "origins:clear_effect", + "effect": "minecraft:blindness" + }, + "condition": { + "type": "origins:power_active", + "power": "gamerorigins:mus/closeeyes", + "inverted": true + } + }, + "eyesopen": { + "type": "origins:action_over_time", + "interval": 20, + "condition": { + "type": "origins:power_active", + "power": "gamerorigins:mus/closeeyes", + "inverted": true + }, + "entity_action": { + "type": "origins:change_resource", + "resource": "gamerorigins:mus/reason", + "change": 1 + } + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/muspowers/closeeyes.json b/src/main/resources/data/gamerorigins/powers/muspowers/closeeyes.json new file mode 100644 index 0000000..49ef7d9 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/muspowers/closeeyes.json @@ -0,0 +1,7 @@ +{ + "type": "origins:toggle", + "active_by_default": false, + "key": { + "key": "key.origins.primary_active" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/muspowers/fascination.json b/src/main/resources/data/gamerorigins/powers/muspowers/fascination.json new file mode 100644 index 0000000..f7e86f3 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/muspowers/fascination.json @@ -0,0 +1,11 @@ +{ + "type": "origins:resource", + "min": 0, + "max": 100, + "start_value": 0, + "hud_render": { + "should_render": true, + "sprite_location": "origins:textures/gui/community/spiderkolo/resource_bar_02.png", + "bar_index": 24 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/muspowers/fascinationeffects.json b/src/main/resources/data/gamerorigins/powers/muspowers/fascinationeffects.json new file mode 100644 index 0000000..5dd24ee --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/muspowers/fascinationeffects.json @@ -0,0 +1,152 @@ +{ + "type": "origins:multiple", + "fascinationstrengthtwo": { + "condition": { + "type": "origins:resource", + "resource": "gamerorigins:mus/fascination", + "comparison": ">", + "compare_to": 75 + }, + "type": "origins:action_over_time", + "interval": 5, + "entity_action": { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:strength", + "duration": 10, + "amplifier": 1, + "show_particles": false, + "show_icon": false + } + } + }, + "fascinationstrength": { + "condition": { + "type": "origins:resource", + "resource": "gamerorigins:mus/fascination", + "comparison": ">", + "compare_to": 50 + }, + "type": "origins:action_over_time", + "interval": 5, + "entity_action": { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:strength", + "duration": 10, + "amplifier": 0, + "show_particles": false, + "show_icon": false + } + } + }, + "fascinationweakness": { + "condition": { + "type": "origins:resource", + "resource": "gamerorigins:mus/fascination", + "comparison": "<", + "compare_to": 26 + }, + "type": "origins:action_over_time", + "interval": 5, + "entity_action": { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:weakness", + "duration": 10, + "amplifier": 0, + "show_particles": false, + "show_icon": false + } + } + }, + "reasononeshader": { + "condition": { + "type": "origins:and", + "conditions": [ + { + "type": "origins:resource", + "resource": "gamerorigins:mus/reason", + "comparison": ">", + "compare_to": 25 + }, + { + "type": "origins:resource", + "resource": "gamerorigins:mus/fascination", + "comparison": "<", + "compare_to": 26 + }, + { + "type": "origins:power_active", + "power": "gamerorigins:mus/closeeyes", + "inverted": true + } + ] + }, + "type": "origins:shader", + "shader": "minecraft:shaders/post/desaturate.json", + "toggleable": false + }, + "fascinationglow": { + "condition": { + "type": "origins:and", + "conditions": [ + { + "type": "origins:resource", + "resource": "gamerorigins:mus/fascination", + "comparison": ">", + "compare_to": 75 + }, + { + "type": "origins:power_active", + "power": "gamerorigins:mus/closeeyes" + } + ] + }, + "type": "origins:entity_glow", + "use_teams": false + }, + "fascinationvision": { + "condition": { + "type": "origins:resource", + "resource": "gamerorigins:mus/fascination", + "comparison": ">", + "compare_to": 75 + }, + "type": "origins:action_over_time", + "interval": 5, + "entity_action": { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:night_vision", + "duration": 1000000, + "amplifier": 0, + "show_particles": false, + "show_icon": false + } + } + }, + "fascinationshake": { + "condition": { + "type": "origins:resource", + "resource": "gamerorigins:mus/fascination", + "comparison": ">", + "compare_to": 75 + }, + "type": "origins:shaking" + }, + "lowfascinationantivision": { + "type": "origins:action_over_time", + "interval": 1, + "entity_action": { + "type": "origins:clear_effect", + "effect": "minecraft:night_vision" + }, + "condition": { + "type": "origins:resource", + "resource": "gamerorigins:mus/fascination", + "comparison": "<", + "compare_to": 75 + } + } +} diff --git a/src/main/resources/data/gamerorigins/powers/muspowers/flexibility.json b/src/main/resources/data/gamerorigins/powers/muspowers/flexibility.json new file mode 100644 index 0000000..fd5a80f --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/muspowers/flexibility.json @@ -0,0 +1,23 @@ +{ + "type": "origins:restrict_armor", + "head": { + "type": "origins:armor_value", + "comparison": ">", + "compare_to": 2 + }, + "chest": { + "type": "origins:armor_value", + "comparison": ">", + "compare_to": 5 + }, + "legs": { + "type": "origins:armor_value", + "comparison": ">", + "compare_to": 4 + }, + "feet": { + "type": "origins:armor_value", + "comparison": ">", + "compare_to": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/muspowers/lookwithin.json b/src/main/resources/data/gamerorigins/powers/muspowers/lookwithin.json new file mode 100644 index 0000000..2809c3f --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/muspowers/lookwithin.json @@ -0,0 +1,72 @@ +{ + "type": "origins:active_self", + "condition": { + "type": "origins:equipped_item", + "equipment_slot": "mainhand", + "item_condition": { + "type": "origins:ingredient", + "ingredient": { + "tag": "gamerorigins:blades" + } + } + }, + "cooldown": 200, + "hud_render": { + "should_render": true, + "sprite_location": "origins:textures/gui/community/spiderkolo/resource_bar_02.png", + "bar_index": 1 + }, + "key": "key.origins.secondary_active", + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:play_sound", + "sound": "entity.goat.horn_break", + "volume": 1, + "pitch": 1 + }, + { + "type": "origins:play_sound", + "sound": "entity.goat.ram_impact", + "volume": 1, + "pitch": 1 + }, + { + "type": "origins:play_sound", + "sound": "entity.slime.squish", + "volume": 2, + "pitch": 0 + }, + { + "type": "origins:change_resource", + "resource": "gamerorigins:mus/reason", + "change": -25 + }, + { + "type": "origins:change_resource", + "resource": "gamerorigins:mus/fascination", + "change": 25 + }, + { + "type": "origins:damage", + "amount": 10, + "source": { + "name": "generic", + "bypasses_armor": true, + "unblockable": true + } + }, + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:slowness", + "duration": 60, + "amplifier": 4, + "show_icon": false, + "show_particles": false + } + } + ] + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/muspowers/mus_natural_armor.json b/src/main/resources/data/gamerorigins/powers/muspowers/mus_natural_armor.json new file mode 100644 index 0000000..2537231 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/muspowers/mus_natural_armor.json @@ -0,0 +1,9 @@ +{ + "type": "origins:attribute", + "modifier": { + "name": "Natural Armor health bonus", + "attribute": "minecraft:generic.armor", + "value": 8.0, + "operation": "addition" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/muspowers/no_villager.json b/src/main/resources/data/gamerorigins/powers/muspowers/no_villager.json new file mode 100644 index 0000000..863be1e --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/muspowers/no_villager.json @@ -0,0 +1,17 @@ +{ + "type": "origins:prevent_entity_use", + "bientity_action": { + "type": "origins:actor_action", + "action": { + "type": "origins:execute_command", + "command": "title @s actionbar {\"text\": \"Their INSOLENCE is UNBEARABLE.\", \"color\": \"white\"}" + } + }, + "bientity_condition": { + "type": "origins:target_condition", + "condition": { + "type": "origins:entity_type", + "entity_type": "minecraft:villager" + } + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/muspowers/reason.json b/src/main/resources/data/gamerorigins/powers/muspowers/reason.json new file mode 100644 index 0000000..0f514ac --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/muspowers/reason.json @@ -0,0 +1,11 @@ +{ + "type": "origins:resource", + "min": 0, + "max": 100, + "start_value": 100, + "hud_render": { + "should_render": true, + "sprite_location": "origins:textures/gui/community/spiderkolo/resource_bar_02.png", + "bar_index": 7 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/muspowers/reasoneffects.json b/src/main/resources/data/gamerorigins/powers/muspowers/reasoneffects.json new file mode 100644 index 0000000..f9ebb3a --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/muspowers/reasoneffects.json @@ -0,0 +1,212 @@ +{ + "type": "origins:multiple", + "hidden": true, + "reasonfour": { + "condition": { + "type": "origins:and", + "conditions": [ + { + "type": "origins:resource", + "resource": "gamerorigins:mus/reason", + "comparison": ">", + "compare_to": 75 + }, + { + "type": "origins:power_active", + "power": "gamerorigins:mus/closeeyes", + "inverted": true + } + ] + }, + "type": "origins:action_over_time", + "interval": 5, + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:change_resource", + "resource": "gamerorigins:mus/fascination", + "change": -1 + }, + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:jump_boost", + "duration": 10, + "amplifier": 1, + "show_particles": false, + "show_icon": false + } + }, + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:speed", + "duration": 10, + "amplifier": 1, + "show_particles": false, + "show_icon": false + } + } + ] + } + }, + "reasonthree": { + "condition": { + "type": "origins:and", + "conditions": [ + { + "type": "origins:resource", + "resource": "gamerorigins:mus/reason", + "comparison": ">", + "compare_to": 50 + }, + { + "type": "origins:resource", + "resource": "gamerorigins:mus/reason", + "comparison": "<", + "compare_to": 76 + }, + { + "type": "origins:power_active", + "power": "gamerorigins:mus/closeeyes", + "inverted": true + } + ] + }, + "type": "origins:action_over_time", + "interval": 10, + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:change_resource", + "resource": "gamerorigins:mus/fascination", + "change": -1 + } + ] + } + }, + "reasontwo": { + "condition": { + "type": "origins:and", + "conditions": [ + { + "type": "origins:resource", + "resource": "gamerorigins:mus/reason", + "comparison": ">", + "compare_to": 25 + }, + { + "type": "origins:resource", + "resource": "gamerorigins:mus/reason", + "comparison": "<", + "compare_to": 51 + }, + { + "type": "origins:power_active", + "power": "gamerorigins:mus/closeeyes", + "inverted": true + } + ] + }, + "type": "origins:action_over_time", + "interval": 20, + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:change_resource", + "resource": "gamerorigins:mus/fascination", + "change": -1 + } + ] + } + }, + "reasonone": { + "condition": { + "type": "origins:and", + "conditions": [ + { + "type": "origins:resource", + "resource": "gamerorigins:mus/reason", + "comparison": "<", + "compare_to": 26 + }, + { + "type": "origins:power_active", + "power": "gamerorigins:mus/closeeyes", + "inverted": true + } + ] + }, + "type": "origins:action_over_time", + "interval": 5, + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:slowness", + "duration": 10, + "amplifier": 0, + "show_particles": false, + "show_icon": false + } + } + ] + } + }, + "reasononeshader": { + "condition": { + "type": "origins:and", + "conditions": [ + { + "type": "origins:resource", + "resource": "gamerorigins:mus/reason", + "comparison": "<", + "compare_to": 26 + }, + { + "type": "origins:power_active", + "power": "gamerorigins:mus/closeeyes", + "inverted": true + } + ] + }, + "type": "origins:shader", + "shader": "minecraft:shaders/post/deconverge.json", + "toggleable": false + }, + "reasonspeed": { + "condition": { + "type": "origins:and", + "conditions": [ + { + "type": "origins:resource", + "resource": "gamerorigins:mus/reason", + "comparison": ">", + "compare_to": 50 + }, + { + "type": "origins:power_active", + "power": "gamerorigins:mus/closeeyes", + "inverted": true + } + ] + }, + "type": "origins:action_over_time", + "interval": 5, + "entity_action": { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:speed", + "duration": 10, + "amplifier": 0, + "show_particles": false, + "show_icon": false + } + } + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/myncpowers/mync_blind.json b/src/main/resources/data/gamerorigins/powers/myncpowers/mync_blind.json new file mode 100644 index 0000000..e3e7dd3 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/myncpowers/mync_blind.json @@ -0,0 +1,34 @@ +{ + "type": "origins:stacking_status_effect", + "min_stacks": 0, + "max_stacks": 1, + "duration_per_stack": 35, + "effect": { + "effect": "blindness", + "duration": 35, + "amplifier": 2, + "is_abient": true, + "show_particles": false, + "show_icon": false + }, + "interval": 60, + "condition": { + "type": "origins:and", + "conditions": [ + { + "type": "origins:block_in_radius", + "radius": 1, + "inverted": true, + "block_condition": { + "type": "origins:in_tag", + "tag": "gamerorigins:mushrooms" + } + }, + { + "type": "origins:status_effect", + "effect": "minecraft:night_vision", + "inverted": true + } + ] + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/myncpowers/mync_echolocate.json b/src/main/resources/data/gamerorigins/powers/myncpowers/mync_echolocate.json new file mode 100644 index 0000000..5f66876 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/myncpowers/mync_echolocate.json @@ -0,0 +1,94 @@ +{ + "type": "origins:active_self", + "cooldown": 600, + "hud_render": { + "should_render":true, + "sprite_location":"origins:textures/gui/community/spiderkolo/resource_bar_02.png", + "bar_index": 7 + }, + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:if_else", + "condition": { + "type": "origins:and", + "conditions": [ + { + "type": "origins:equipped_item", + "equipment_slot": "mainhand", + "item_condition": { + "type": "origins:ingredient", + "ingredient": { + "item": "minecraft:fermented_spider_eye" + } + } + } + ] + }, + + "if_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:execute_command", + "command": "effect give @s minecraft:night_vision 60 0 true", + "permission_level": 4 + }, + { + "type": "origins:execute_command", + "command": "clear @s minecraft:fermented_spider_eye 1", + "permission_level": 4 + }, + { + "type": "origins:execute_command", + "command": "playsound block.block.conduit.attack.target master @e[distance=..15] ~ ~ ~ 10 1 1", + "permission_level": 4 + } + ] + }, + + "else_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:execute_command", + "command": "playsound block.conduit.attack.target master @p[distance=..15] ~ ~ ~ 10 1 1", + "permission_level": 4 + }, + { + "type": "origins:execute_command", + "command": "effect give @p minecraft:night_vision 5 1 true", + "permission_level": 4 + } + ], + "cooldown": 20, + "hud_render": { + "should_render": false, + "sprite_location": "origins:textures/gui/resource_bar.png", + "bar_index": 4 + } + } + + } + ] + }, + "condition": { + "type": "origins:and", + "conditions": [ + { + "type": "origins:block_in_radius", + "radius": 4, + "inverted": true, + "block_condition": { + "type": "origins:in_tag", + "tag": "gamerorigins:wool" + } + } + ] + }, + "key": { + "key":"key.playerlist", + "continuous": false + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/myncpowers/mync_natural_armour.json b/src/main/resources/data/gamerorigins/powers/myncpowers/mync_natural_armour.json new file mode 100644 index 0000000..e7953b4 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/myncpowers/mync_natural_armour.json @@ -0,0 +1,9 @@ +{ + "type": "origins:attribute", + "modifier": { + "name": "Natural Armor health bonus", + "attribute": "minecraft:generic.armor", + "value": 12.0, + "operation": "addition" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/myncpowers/mync_rage.json b/src/main/resources/data/gamerorigins/powers/myncpowers/mync_rage.json new file mode 100755 index 0000000..3892832 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/myncpowers/mync_rage.json @@ -0,0 +1,25 @@ +{ + "type": "origins:active_self", + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:strength", + "duration": 400, + "amplifier": 3.23 + } + }, + { + "type": "origins:exhaust", + "amount": 1.2134563 + } + ] + }, + "cooldown": 2400, + "hud_render": { + "sprite_location": "gamerorigins:textures/gui/ability_bar.png", + "bar_index": "0" + } +} diff --git a/src/main/resources/data/gamerorigins/powers/myncpowers/mync_rage_addition.json b/src/main/resources/data/gamerorigins/powers/myncpowers/mync_rage_addition.json new file mode 100755 index 0000000..eb02281 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/myncpowers/mync_rage_addition.json @@ -0,0 +1,22 @@ +{ + "type": "origins:active_self", + "hidden": "true", + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:speed", + "duration": 400, + "amplifier": 1 + } + } + ] + }, + "cooldown": 2400, + "hud_render": { + "sprite_location": "gamerorigins:textures/gui/nothing.png", + "bar_index": "0" + } + } \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/myncpowers/mync_rage_dummy.json b/src/main/resources/data/gamerorigins/powers/myncpowers/mync_rage_dummy.json new file mode 100755 index 0000000..05d621b --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/myncpowers/mync_rage_dummy.json @@ -0,0 +1,22 @@ +{ + "type": "origins:active_self", + "hidden": "true", + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:instant_health", + "duration": 3, + "amplifier": 1 + } + } + ] + }, + "cooldown": 2400, + "hud_render": { + "sprite_location": "gamerorigins:textures/gui/nothing.png", + "bar_index": "0" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/myncpowers/mync_strong.json b/src/main/resources/data/gamerorigins/powers/myncpowers/mync_strong.json new file mode 100644 index 0000000..260b411 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/myncpowers/mync_strong.json @@ -0,0 +1,13 @@ +{ + "type": "origins:attribute", + "modifiers": + [ + { + "name": "Strong damage", + "attribute": "generic.attack_damage", + "value": 3.0, + "operation": "addition" + } + ] + +} diff --git a/src/main/resources/data/gamerorigins/powers/myncpowers/mync_tailwind.json b/src/main/resources/data/gamerorigins/powers/myncpowers/mync_tailwind.json new file mode 100644 index 0000000..6ba8f7c --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/myncpowers/mync_tailwind.json @@ -0,0 +1,9 @@ +{ + "type": "origins:attribute", + "modifier": { + "name": "Tailwind speed bonus", + "attribute": "minecraft:generic.movement_speed", + "value": 0.10, + "operation": "multiply_base" + } + } \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/myncpowers/mync_vision.json b/src/main/resources/data/gamerorigins/powers/myncpowers/mync_vision.json new file mode 100644 index 0000000..82f93b1 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/myncpowers/mync_vision.json @@ -0,0 +1,5 @@ +{ + "type": "origins:shader", + "shader": "gamerorigins:shaders/post/sobel.json", + "toggleable": false +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/pockets.json b/src/main/resources/data/gamerorigins/powers/pockets.json new file mode 100644 index 0000000..67bcd0a --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/pockets.json @@ -0,0 +1,6 @@ +{ + "type": "origins:inventory", + "container_type": "chest", + "title": "gamer.container.inventory_power", + "key": "quaternary" +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/teleport.json b/src/main/resources/data/gamerorigins/powers/teleport.json new file mode 100644 index 0000000..7880336 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/teleport.json @@ -0,0 +1,85 @@ +{ + "type": "origins:active_self", + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:delay", + "action": { + "type": "origins:raycast", + "distance": 50, + "block": true, + "entity": true, + "shape_type": "visual", + "fluid_handling": "any", + "hit_action": { + "type": "origins:set_fall_distance", + "fall_distance": 0.25 + }, + "miss_action": { + "type": "origins:play_sound", + "sound": "entity.elder_guardian.curse", + "volume": 1, + "pitch": 2 + }, + "command_at_hit": "tp @s ~0.1 ~2.9 ~-0.1", + "command_along_ray": "particle minecraft:electric_spark", + "command_step": 0.75 + }, + "ticks": 20 + }, + { + "type": "origins:apply_effect", + "effects": [ + { + "effect": "blindness", + "duration": 50, + "amplifier": 10, + "show_particles": false, + "show_icon": false + }, + { + "effect": "darkness", + "duration": 50, + "amplifier": 10, + "show_particles": false, + "show_icon": false + } + ] + }, + { + "type": "origins:delay", + "action": { + "type": "origins:execute_command", + "command": "tp @s ~0.5 ~0.5 ~0.5" + }, + "ticks": 15 + }, + { + "type": "origins:play_sound", + "sound": "entity.illusioner.cast_spell", + "volume": 1, + "pitch": 1 + }, + { + "type": "origins:delay", + "action": { + "type": "origins:play_sound", + "sound": "entity.illusioner.cast_spell", + "volume": 1, + "pitch": 2 + }, + "ticks": 20 + } + ] + }, + "cooldown": 40, + "hud_render": { + "should_render": true, + "sprite_location": "origins:textures/gui/community/huang/resource_bar_02.png", + "bar_index": 5 + }, + "key": { + "key": "secondary" + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/powers/water_vulnerability_ex.json b/src/main/resources/data/gamerorigins/powers/water_vulnerability_ex.json new file mode 100755 index 0000000..934a862 --- /dev/null +++ b/src/main/resources/data/gamerorigins/powers/water_vulnerability_ex.json @@ -0,0 +1,28 @@ +{ + "type": "origins:damage_over_time", + "interval": 10, + "onset_delay": 50, + "damage": 1.5, + "damage_easy": 1, + "damage_source": { + "name": "boil_in_water", + "unblockable": true, + "bypasses_armor": true + }, + "protection_enchantment": "origins:water_protection", + "protection_effectiveness": 0.5, + "condition": { + "type": "origins:or", + "conditions": [ + { + "type": "origins:fluid_height", + "fluid": "minecraft:water", + "comparison": ">", + "compare_to": 0.0 + }, + { + "type": "origins:in_rain" + } + ] + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/recipes/umbrella.json b/src/main/resources/data/gamerorigins/recipes/umbrella.json new file mode 100644 index 0000000..a1b116a --- /dev/null +++ b/src/main/resources/data/gamerorigins/recipes/umbrella.json @@ -0,0 +1,23 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + " # ", + "#P#", + " / " + ], + "key": { + "#": { + "item": "minecraft:leather" + }, + "/": { + "item": "minecraft:stick" + }, + "P": { + "item": "minecraft:netherite_scrap" + } + }, + "result": { + "item": "gamerorigins:umbrella", + "count": 1 + } + } \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/tags/blocks/bees.json b/src/main/resources/data/gamerorigins/tags/blocks/bees.json new file mode 100644 index 0000000..d73dac5 --- /dev/null +++ b/src/main/resources/data/gamerorigins/tags/blocks/bees.json @@ -0,0 +1,10 @@ +{ + "replace": false, + "values": + [ + "minecraft:bee_nest", + "minecraft:beehive", + "minecraft:honeycomb_block", + "minecraft:honey_block" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/tags/blocks/hexblade_unphaseable.json b/src/main/resources/data/gamerorigins/tags/blocks/hexblade_unphaseable.json new file mode 100644 index 0000000..97fb5ed --- /dev/null +++ b/src/main/resources/data/gamerorigins/tags/blocks/hexblade_unphaseable.json @@ -0,0 +1,10 @@ +{ + "replace": false, + "values": + [ + "minecraft:soul_sand", + "minecraft:soul_soil", + "minecraft:bedrock", + "minecraft:barrier" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/tags/blocks/hot_blocks.json b/src/main/resources/data/gamerorigins/tags/blocks/hot_blocks.json new file mode 100644 index 0000000..33beb94 --- /dev/null +++ b/src/main/resources/data/gamerorigins/tags/blocks/hot_blocks.json @@ -0,0 +1,12 @@ +{ + "replace": false, + "values": + [ + "minecraft:campfire", + "minecraft:soul_campfire", + "minecraft:lava", + "minecraft:magma_block", + "minecraft:fire", + "minecraft:soul_fire" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/tags/blocks/mushrooms.json b/src/main/resources/data/gamerorigins/tags/blocks/mushrooms.json new file mode 100644 index 0000000..efd53dd --- /dev/null +++ b/src/main/resources/data/gamerorigins/tags/blocks/mushrooms.json @@ -0,0 +1,19 @@ +{ + "replace": false, + "values": + [ + "minecraft:mycelium", + "minecraft:crimson_nylium", + "minecraft:warped_nylium", + "minecraft:brown_mushroom", + "minecraft:red_mushroom", + "minecraft:brown_mushroom_block", + "minecraft:red_mushroom_block", + "minecraft:mushroom_stem", + "minecraft:crimson_fungus", + "minecraft:warped_fungus", + "minecraft:nether_wart", + "minecraft:nether_wart_block", + "minecraft:warped_wart_block" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/tags/blocks/myceliums.json b/src/main/resources/data/gamerorigins/tags/blocks/myceliums.json new file mode 100644 index 0000000..4073d7e --- /dev/null +++ b/src/main/resources/data/gamerorigins/tags/blocks/myceliums.json @@ -0,0 +1,9 @@ +{ + "replace": false, + "values": + [ + "minecraft:mycelium", + "minecraft:crimson_nylium", + "minecraft:warped_nylium" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/tags/blocks/nature.json b/src/main/resources/data/gamerorigins/tags/blocks/nature.json new file mode 100644 index 0000000..ca2703f --- /dev/null +++ b/src/main/resources/data/gamerorigins/tags/blocks/nature.json @@ -0,0 +1,35 @@ +{ + "replace": false, + "values": + [ + "minecraft:oak_log", + "minecraft:spruce_log", + "minecraft:birch_log", + "minecraft:jungle_log", + "minecraft:acacia_log", + "minecraft:dark_oak_log", + "minecraft:stripped_oak_log", + "minecraft:stripped_spruce_log", + "minecraft:stripped_birch_log", + "minecraft:stripped_jungle_log", + "minecraft:stripped_acacia_log", + "minecraft:stripped_dark_oak_log", + "minecraft:oak_sapling", + "minecraft:spruce_sapling", + "minecraft:birch_sapling", + "minecraft:jungle_sapling", + "minecraft:acacia_sapling", + "minecraft:dark_oak_sapling", + "minecraft:oak_leaves", + "minecraft:spruce_leaves", + "minecraft:birch_leaves", + "minecraft:jungle_leaves", + "minecraft:acacia_leaves", + "minecraft:dark_oak_leaves", + "minecraft:bamboo", + "minecraft:grass_block", + "minecraft:lily_pad", + "minecraft:vine", + "minecraft:cactus" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/tags/blocks/non_solid.json b/src/main/resources/data/gamerorigins/tags/blocks/non_solid.json new file mode 100644 index 0000000..bc37559 --- /dev/null +++ b/src/main/resources/data/gamerorigins/tags/blocks/non_solid.json @@ -0,0 +1,62 @@ +{ + "replace": false, + "values": [ + "#minecraft:saplings", + "#minecraft:flowers", + "#minecraft:climbable", + "#minecraft:bee_growables", + "#minecraft:fire", + "#minecraft:rails", + "#minecraft:wool_carpets", + "#minecraft:underwater_bonemeals", + "#minecraft:buttons", + "minecraft:air", + "minecraft:water", + "minecraft:lava", + "minecraft:brown_mushroom", + "minecraft:red_mushroom", + "minecraft:sugar_cane", + "minecraft:nether_wart", + "minecraft:crimson_fungus", + "minecraft:warped_fungus", + "minecraft:grass", + "minecraft:tall_grass", + "minecraft:fern", + "minecraft:large_fern", + "minecraft:dead_bush", + "minecraft:crimson_roots", + "minecraft:warped_roots", + "minecraft:nether_sprouts", + "minecraft:tall_seagrass", + "minecraft:kelp_plant", + "minecraft:sea_pickle", + "minecraft:torch", + "minecraft:soul_torch", + "minecraft:wall_torch", + "minecraft:soul_wall_torch", + "minecraft:redstone_wire", + "minecraft:repeater", + "minecraft:comparator", + "minecraft:lever", + "minecraft:tripwire_hook", + "minecraft:tripwire", + "minecraft:snow", + "minecraft:dead_tube_coral", + "minecraft:dead_brain_coral", + "minecraft:dead_bubble_coral", + "minecraft:dead_fire_coral", + "minecraft:dead_horn_coral", + "minecraft:dead_tube_coral_fan", + "minecraft:dead_brain_coral_fan", + "minecraft:dead_bubble_coral_fan", + "minecraft:dead_fire_coral_fan", + "minecraft:dead_horn_coral_fan", + "minecraft:dead_tube_coral_wall_fan", + "minecraft:dead_brain_coral_wall_fan", + "minecraft:dead_bubble_coral_wall_fan", + "minecraft:dead_fire_coral_wall_fan", + "minecraft:dead_horn_coral_wall_fan", + "minecraft:bamboo_sapling", + "minecraft:moss_carpet" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/tags/blocks/ocean_monument.json b/src/main/resources/data/gamerorigins/tags/blocks/ocean_monument.json new file mode 100644 index 0000000..a08e3ec --- /dev/null +++ b/src/main/resources/data/gamerorigins/tags/blocks/ocean_monument.json @@ -0,0 +1,18 @@ +{ + "replace": false, + "values": + [ + "minecraft:prismarine", + "minecraft:dark_prismarine", + "minecraft:prismarine_bricks", + "minecraft:sea_lantern", + "minecraft:prismarine_bricks", + "minecraft:prismarine_stairs", + "minecraft:prismarine_brick_stairs", + "minecraft:dark_prismarine_stairs", + "minecraft:prismarine_wall", + "minecraft:prismarine_slab", + "minecraft:prismarine_brick_slab", + "minecraft:dark_prismarine_slab" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/tags/blocks/path_blocks.json b/src/main/resources/data/gamerorigins/tags/blocks/path_blocks.json new file mode 100644 index 0000000..d72689c --- /dev/null +++ b/src/main/resources/data/gamerorigins/tags/blocks/path_blocks.json @@ -0,0 +1,12 @@ +{ + "replace": false, + "values": + [ + "minecraft:dirt_path", + "minecraft:cobblestone", + "minecraft:gravel", + "minecraft:sandstone", + "minecraft:red_sandstone", + "minecraft:coarse_dirt" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/tags/blocks/stone_types.json b/src/main/resources/data/gamerorigins/tags/blocks/stone_types.json new file mode 100644 index 0000000..4ea11b3 --- /dev/null +++ b/src/main/resources/data/gamerorigins/tags/blocks/stone_types.json @@ -0,0 +1,11 @@ +{ + "replace": false, + "values": + [ + "minecraft:stone", + "minecraft:granite", + "minecraft:diorite", + "minecraft:andesite", + "minecraft:netherrack" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/tags/blocks/valuores.json b/src/main/resources/data/gamerorigins/tags/blocks/valuores.json new file mode 100644 index 0000000..f7d5389 --- /dev/null +++ b/src/main/resources/data/gamerorigins/tags/blocks/valuores.json @@ -0,0 +1,10 @@ +{ + "replace": false, + "values": + [ + "minecraft:diamond_ore", + "minecraft:ancient_debris", + "minecraft:emerald_ore", + "minecraft:gold_ore" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/tags/blocks/wool.json b/src/main/resources/data/gamerorigins/tags/blocks/wool.json new file mode 100644 index 0000000..f1e3e3e --- /dev/null +++ b/src/main/resources/data/gamerorigins/tags/blocks/wool.json @@ -0,0 +1,22 @@ +{ + "replace": false, + "values": + [ + "minecraft:white_wool", + "minecraft:orange_wool", + "minecraft:magenta_wool", + "minecraft:light_blue_wool", + "minecraft:yellow_wool", + "minecraft:lime_wool", + "minecraft:pink_wool", + "minecraft:gray_wool", + "minecraft:light_gray_wool", + "minecraft:cyan_wool", + "minecraft:purple_wool", + "minecraft:blue_wool", + "minecraft:brown_wool", + "minecraft:green_wool", + "minecraft:red_wool", + "minecraft:black_wool" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/tags/items/blades.json b/src/main/resources/data/gamerorigins/tags/items/blades.json new file mode 100644 index 0000000..ebe8b87 --- /dev/null +++ b/src/main/resources/data/gamerorigins/tags/items/blades.json @@ -0,0 +1,10 @@ +{ + "values": [ + "diamond_sword", + "netherite_sword", + "iron_sword", + "golden_sword", + "stone_sword", + "wooden_sword" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/tags/items/break.json b/src/main/resources/data/gamerorigins/tags/items/break.json new file mode 100644 index 0000000..b99c982 --- /dev/null +++ b/src/main/resources/data/gamerorigins/tags/items/break.json @@ -0,0 +1,20 @@ +{ + "replace": false, + "values": [ + "minecraft:wooden_sword", + "minecraft:wooden_pickaxe", + "minecraft:wooden_axe", + "minecraft:wooden_shovel", + "minecraft:wooden_hoe", + "minecraft:stone_sword", + "minecraft:stone_pickaxe", + "minecraft:stone_axe", + "minecraft:stone_shovel", + "minecraft:stone_hoe", + "minecraft:bow", + "minecraft:crossbow", + "minecraft:fishing_rod", + "minecraft:carrot_on_a_stick", + "minecraft:warped_fungus_on_a_stick" + ] +} diff --git a/src/main/resources/data/gamerorigins/tags/items/giweapons.json b/src/main/resources/data/gamerorigins/tags/items/giweapons.json new file mode 100644 index 0000000..5630de3 --- /dev/null +++ b/src/main/resources/data/gamerorigins/tags/items/giweapons.json @@ -0,0 +1,12 @@ +{ + "values": [ + "gameritems:omnium_sword", + "gameritems:orium_sword", + "gameritems:jeremium_sword", + "gameritems:stupidium_sword", + "gameritems:omnium_axe", + "gameritems:orium_axe", + "gameritems:jeremium_axe", + "gameritems:stupidium_axe" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/gamerorigins/tags/items/unobtainable.json b/src/main/resources/data/gamerorigins/tags/items/unobtainable.json new file mode 100755 index 0000000..6e01781 --- /dev/null +++ b/src/main/resources/data/gamerorigins/tags/items/unobtainable.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "values": [ + "origins:orb_of_origin" + ] +} diff --git a/src/main/resources/data/gamerorigins/tags/items/weapons.json b/src/main/resources/data/gamerorigins/tags/items/weapons.json new file mode 100644 index 0000000..bbaebaa --- /dev/null +++ b/src/main/resources/data/gamerorigins/tags/items/weapons.json @@ -0,0 +1,16 @@ +{ + "values": [ + "minecraft:wooden_sword", + "minecraft:stone_sword", + "minecraft:iron_sword", + "minecraft:golden_sword", + "minecraft:diamond_sword", + "minecraft:netherite_sword", + "minecraft:wooden_axe", + "minecraft:stone_axe", + "minecraft:iron_axe", + "minecraft:golden_axe", + "minecraft:diamond_axe", + "minecraft:netherite_axe" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/origins/origin_layers/origin.json b/src/main/resources/data/origins/origin_layers/origin.json new file mode 100644 index 0000000..ab77d78 --- /dev/null +++ b/src/main/resources/data/origins/origin_layers/origin.json @@ -0,0 +1,26 @@ +{ + "replace": false, + "origins": [ + "gamerorigins:mync", + "gamerorigins:lato", + "gamerorigins:immortal_human", + "gamerorigins:kefflade", + "gamerorigins:monarch", + "gamerorigins:mus", + { + "condition": { + "type": "origins:equipped_item", + "equipment_slot": "mainhand", + "item_condition": { + "type": "origins:ingredient", + "ingredient": { + "tag": "gamerorigins:unobtainable" + } + } + }, + "origins": [ + + ] + } + ] + } \ 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..435363c --- /dev/null +++ b/src/main/resources/fabric.mod.json @@ -0,0 +1,40 @@ +{ + "schemaVersion": 1, + "id": "gamerorigins", + "provides": [ + "extrakeybinds" + ], + "version": "${version}", + "name": "GamerOrigins", + "description": "Adds Gæmer origins", + "authors": [ + "Gæmer" + ], + "contact": { + "issues": "https://github.com/RyanTLG/GamerOrigins/issues", + "repo": "https://github.com/RyanTLG/GamerOrigins" + }, + "license": "Custom License", + "icon": "assets/dwayne.png", + "environment": "*", + "entrypoints": { + "main": [ + "net.arcmods.gamer.gamerorigins.Gamer" + ], + "client": [ + "net.arcmods.gamer.gamerorigins.client.GamerKeybinds", + "net.arcmods.gamer.gamerorigins.client.layerRenderer" + ] + }, + "mixins": [ + "gamer.mixins.json" + ], + "depends": { + "origins": ">=1.10.0", + "fabricloader": ">=0.14.0", + "fabric": "*", + "minecraft": "1.20.1" + }, + "conflicts": { + } +} diff --git a/src/main/resources/gamer.mixins.json b/src/main/resources/gamer.mixins.json new file mode 100644 index 0000000..e68cbb8 --- /dev/null +++ b/src/main/resources/gamer.mixins.json @@ -0,0 +1,13 @@ +{ + "required": true, + "minVersion": "0.8", + "package": "net.arcmods.gamer.gamerorigins.mixin", + "compatibilityLevel": "JAVA_16", + "mixins": [ + "PlayerConditionsMixin", + "PlayerEntityMixin" + ], + "injectors": { + "defaultRequire": 1 + } +} diff --git a/todo.md b/todo.md new file mode 100644 index 0000000..8bf0ff1 --- /dev/null +++ b/todo.md @@ -0,0 +1,8 @@ +# religion +# daevite religion + -Hates creation. (can't craft) + -Worshipper of the Daevas + -Blessing of the Daevas(higher health, natural armour etc.) + -Call to the Daevas(potion buffs, strength, speed etc.) + -Master of the dark arts (magic shit idk) + -Self Destruct(Nuclear scale explosion, becomes regular human) \ No newline at end of file