Initial commit
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# Auto detect text files and perform LF normalization
|
||||||
|
* text=auto
|
||||||
25
.gitignore
vendored
Normal file
@@ -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
|
||||||
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"java.configuration.updateBuildConfiguration": "automatic"
|
||||||
|
}
|
||||||
24
CHANGELOG
Normal file
@@ -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
|
||||||
31
README.md
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
# GamerOrigins
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<a title="Fabric API" href="https://minecraft.curseforge.com/projects/fabric-api" target="_blank" rel="noopener noreferrer"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://i.imgur.com/Ol1Tcf8.png" alt="" width="150" height="50" /></a>
|
||||||
|
</p>
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://github.com/RyanTLG/GamerOrigins"><img src="https://github.com/RyanTLG/GamerItems/blob/1-18-1/unstable/badges/epic-gaming.svg" alt="epicgaming"/></a>
|
||||||
|
<a href="https://github.com/RyanTLG/GamerOrigins"><img src="https://github.com/RyanTLG/GamerItems/blob/1-18-1/unstable/badges/i-have-severe-depression.svg" alt="epicgaming"/></a>
|
||||||
|
</p>
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://github.com/RyanTLG/GamerOrigins"><img src="https://github.com/RyanTLG/GamerItems/blob/1-18-1/unstable/badges/i-want-die.svg" alt="epicgaming"/></a>
|
||||||
|
</p>
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://fabricmc.net/"><img src="https://img.shields.io/badge/modloader-Fabric-1976d2?style=flat-square&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDE4LTEyLTE2VDE2OjU0OjE3LTA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAxOS0wNy0yOFQyMToxNzo0OC0wNzowMCIgeG1wOk1ldGFkYXRhRGF0ZT0iMjAxOS0wNy0yOFQyMToxNzo0OC0wNzowMCIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowZWRiMWMyYy1mZjhjLWU0NDEtOTMxZi00OTVkNGYxNGM3NjAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MGVkYjFjMmMtZmY4Yy1lNDQxLTkzMWYtNDk1ZDRmMTRjNzYwIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6MGVkYjFjMmMtZmY4Yy1lNDQxLTkzMWYtNDk1ZDRmMTRjNzYwIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDowZWRiMWMyYy1mZjhjLWU0NDEtOTMxZi00OTVkNGYxNGM3NjAiIHN0RXZ0OndoZW49IjIwMTgtMTItMTZUMTY6NTQ6MTctMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4/HiGMAAAAtUlEQVRYw+XXrQqAMBQF4D2P2eBL+QIG8RnEJFaNBjEum+0+zMQLtwwv+wV3ZzhhMDgfJ0wUSinxZUQWgKos1JP/AbD4OneIDyQPwCFniA+EJ4CaXm4TxAXCC0BNHgLhAdAnx9hC8PwGSRtAFVMQjF7cNTWED8B1cgwW20yfJgAvrssAsZ1cB3g/xckAxr6FmCDU5N6f488BrpCQ4rQBJkiMYh4ACmLzwOQF0CExinkCsvw7vgGikl+OotaKRwAAAABJRU5ErkJggg==" alt="epicgaming"/></a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
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.
|
||||||
|
<br/>
|
||||||
|
<a title="forge bad" target="_blank" rel="noopener noreferrer"><img src="https://cammiescorner.dev/images/extras/no_forge.png" width="215" height="73"></a>
|
||||||
97
build.gradle
Normal file
@@ -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()
|
||||||
|
}
|
||||||
|
}
|
||||||
20
gradle.properties
Normal file
@@ -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
|
||||||
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Normal file
5
gradle/wrapper/gradle-wrapper.properties
vendored
Normal file
@@ -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
|
||||||
185
gradlew
vendored
Executable file
@@ -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" "$@"
|
||||||
104
gradlew.bat
vendored
Normal file
@@ -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
|
||||||
10
settings.gradle
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
pluginManagement {
|
||||||
|
repositories {
|
||||||
|
jcenter()
|
||||||
|
maven {
|
||||||
|
name = 'Fabric'
|
||||||
|
url = 'https://maven.fabricmc.net/'
|
||||||
|
}
|
||||||
|
gradlePluginPortal()
|
||||||
|
}
|
||||||
|
}
|
||||||
27
src/main/java/net/arcmods/gamer/gamerorigins/Gamer.java
Normal file
@@ -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");
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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<String> 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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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<ItemStack> getHandItems();
|
||||||
|
|
||||||
|
@Inject(method = "isBeingRainedOn", at = @At("HEAD"), cancellable = true)
|
||||||
|
private void isBeingRainedOn(CallbackInfoReturnable<Boolean> cir) {
|
||||||
|
Iterable<ItemStack> hands = this.getHandItems();
|
||||||
|
for (ItemStack stack : hands) {
|
||||||
|
if (stack.getItem() == umbrella.UMBRELLA)
|
||||||
|
cir.setReturnValue(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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<Boolean> 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<Boolean> cir) {
|
||||||
|
for (ItemStack stack : player.getHandItems()) {
|
||||||
|
if (stack.getItem().equals(umbrella.UMBRELLA) && stack.getDamage() < stack.getMaxDamage() - 1) {
|
||||||
|
cir.setReturnValue(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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<ItemStack> getHandItems();
|
||||||
|
|
||||||
|
@Shadow
|
||||||
|
public abstract PlayerInventory getInventory();
|
||||||
|
|
||||||
|
protected PlayerEntityMixin(EntityType<? extends LivingEntity> 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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
src/main/resources/assets/dwayne.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
138
src/main/resources/assets/gamerorigins/lang/en_us.json
Normal file
@@ -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."
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "gamerorigins:item/mync_eye"
|
||||||
|
}
|
||||||
|
}
|
||||||
292
src/main/resources/assets/gamerorigins/models/item/umbrella.json
Normal file
@@ -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]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"targets": [
|
||||||
|
"swap"
|
||||||
|
],
|
||||||
|
"passes": [
|
||||||
|
{
|
||||||
|
"name": "sobel",
|
||||||
|
"intarget": "minecraft:main",
|
||||||
|
"outtarget": "swap"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "blit",
|
||||||
|
"intarget": "swap",
|
||||||
|
"outtarget": "minecraft:main"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 117 B |
|
After Width: | Height: | Size: 479 B |
|
After Width: | Height: | Size: 517 B |
|
After Width: | Height: | Size: 460 B |
|
After Width: | Height: | Size: 746 B |
|
After Width: | Height: | Size: 900 B |
|
After Width: | Height: | Size: 117 B |
|
After Width: | Height: | Size: 292 B |
|
After Width: | Height: | Size: 117 B |
|
After Width: | Height: | Size: 409 B |
|
After Width: | Height: | Size: 710 B |
|
After Width: | Height: | Size: 478 B |
|
After Width: | Height: | Size: 611 B |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 117 B |
|
After Width: | Height: | Size: 3.6 KiB |
BIN
src/main/resources/assets/gamerorigins/textures/gui/nothing.png
Executable file
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 172 B |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 638 B |
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"powers": [
|
||||||
|
"gamerorigins:immortal_humanpowers/immortal",
|
||||||
|
"gamerorigins:immortal_humanpowers/pathetic"
|
||||||
|
],
|
||||||
|
"icon": "minecraft:air",
|
||||||
|
"order": 1001,
|
||||||
|
"impact": 3
|
||||||
|
}
|
||||||
44
src/main/resources/data/gamerorigins/origins/kefflade.json
Normal file
@@ -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
|
||||||
|
}
|
||||||
26
src/main/resources/data/gamerorigins/origins/lato.json
Executable file
@@ -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
|
||||||
|
}
|
||||||
|
|
||||||
15
src/main/resources/data/gamerorigins/origins/monarch.json
Normal file
@@ -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
|
||||||
|
}
|
||||||
|
|
||||||
26
src/main/resources/data/gamerorigins/origins/mus.json
Normal file
@@ -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
|
||||||
|
}
|
||||||
29
src/main/resources/data/gamerorigins/origins/mync.json
Normal file
@@ -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
|
||||||
|
}
|
||||||
64
src/main/resources/data/gamerorigins/powers/duelwield.json
Normal file
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
8
src/main/resources/data/gamerorigins/powers/fifteen_lives.json
Executable file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"type": "origins:attribute",
|
||||||
|
"modifier": {
|
||||||
|
"attribute": "minecraft:generic.max_health",
|
||||||
|
"value": 10.0,
|
||||||
|
"operation": "addition"
|
||||||
|
}
|
||||||
|
}
|
||||||
25
src/main/resources/data/gamerorigins/powers/furious.json
Executable file
@@ -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
|
||||||
|
}
|
||||||
22
src/main/resources/data/gamerorigins/powers/furious_dummy.json
Executable file
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"type": "origins:attribute",
|
||||||
|
"modifier": {
|
||||||
|
"name": "Natural Armor health bonus",
|
||||||
|
"attribute": "minecraft:generic.armor",
|
||||||
|
"value": 8.0,
|
||||||
|
"operation": "addition"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
@@ -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."
|
||||||
|
}
|
||||||
9
src/main/resources/data/gamerorigins/powers/latopowers/lato_blooded.json
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"type": "origins:effect_immunity",
|
||||||
|
"effects": [
|
||||||
|
"minecraft:wither",
|
||||||
|
"minecraft:poison",
|
||||||
|
"minecraft:instant_damage",
|
||||||
|
"minecraft:hunger"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"type": "origins:attribute",
|
||||||
|
"modifier": {
|
||||||
|
"name": "Natural Armor health bonus",
|
||||||
|
"attribute": "minecraft:generic.armor",
|
||||||
|
"value": 10.0,
|
||||||
|
"operation": "addition"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"type": "origins:toggle_night_vision",
|
||||||
|
"active_by_default": "true",
|
||||||
|
"strength": 0.3,
|
||||||
|
"key": "ternary"
|
||||||
|
}
|
||||||
25
src/main/resources/data/gamerorigins/powers/latopowers/rage.json
Executable file
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
22
src/main/resources/data/gamerorigins/powers/latopowers/rage_addition.json
Executable file
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
18
src/main/resources/data/gamerorigins/powers/latopowers/rage_dummy.json
Executable file
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"type": "origins:attribute",
|
||||||
|
"modifier": {
|
||||||
|
"attribute": "minecraft:generic.max_health",
|
||||||
|
"value": 14.0,
|
||||||
|
"operation": "addition"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"type": "origins:attribute",
|
||||||
|
"modifiers":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "Strong damage",
|
||||||
|
"attribute": "generic.attack_damage",
|
||||||
|
"value": 2.0,
|
||||||
|
"operation": "addition"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"type": "origins:attribute",
|
||||||
|
"modifier": {
|
||||||
|
"name": "Tailwind speed bonus",
|
||||||
|
"attribute": "minecraft:generic.movement_speed",
|
||||||
|
"value": 0.29,
|
||||||
|
"operation": "multiply_base"
|
||||||
|
}
|
||||||
|
}
|
||||||