Commit of all existing code.
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# https://help.github.com/articles/dealing-with-line-endings/
|
||||
#
|
||||
# Linux start script should use lf
|
||||
/gradlew text eol=lf
|
||||
|
||||
# These are Windows script files and should use crlf
|
||||
*.bat text eol=crlf
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
# Automatically build the project and run any configured tests for every push
|
||||
# and submitted pull request. This can help catch issues that only occur on
|
||||
# certain platforms or Java versions, and provides a first line of defence
|
||||
# against bad commits.
|
||||
|
||||
name: build
|
||||
on: [pull_request, push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
# Use these Java versions
|
||||
java: [
|
||||
21, # Current Java LTS
|
||||
]
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: validate gradle wrapper
|
||||
uses: gradle/wrapper-validation-action@v2
|
||||
- name: setup jdk ${{ matrix.java }}
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: ${{ matrix.java }}
|
||||
distribution: 'microsoft'
|
||||
- name: make gradle wrapper executable
|
||||
run: chmod +x ./gradlew
|
||||
- name: build
|
||||
run: ./gradlew build
|
||||
- name: capture build artifacts
|
||||
if: ${{ matrix.java == '21' }} # Only upload artifacts built from latest java
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Artifacts
|
||||
path: build/libs/
|
||||
@@ -0,0 +1,40 @@
|
||||
# gradle
|
||||
|
||||
.gradle/
|
||||
build/
|
||||
out/
|
||||
classes/
|
||||
|
||||
# eclipse
|
||||
|
||||
*.launch
|
||||
|
||||
# idea
|
||||
|
||||
.idea/
|
||||
*.iml
|
||||
*.ipr
|
||||
*.iws
|
||||
|
||||
# vscode
|
||||
|
||||
.settings/
|
||||
.vscode/
|
||||
bin/
|
||||
.classpath
|
||||
.project
|
||||
|
||||
# macos
|
||||
|
||||
*.DS_Store
|
||||
|
||||
# fabric
|
||||
|
||||
run/
|
||||
|
||||
# java
|
||||
|
||||
hs_err_*.log
|
||||
replay_*.log
|
||||
*.hprof
|
||||
*.jfr
|
||||
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2024 Big Duckie
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -0,0 +1,11 @@
|
||||
# Simple Hammers
|
||||
|
||||
Simple Hammers is a mod that adds new mining tools via Fabric. They make large quarries much easier.
|
||||
|
||||
This mod is a updated fork of Draylar's Vanilla Hammers.
|
||||
|
||||
## Installation
|
||||
|
||||
1. Install the Fabric Launcher from [Fabric MC](https://fabricmc.net/use/installer/)
|
||||
2. Install the Fabric API jar as a mod from [Modrinth](https://modrinth.com/mod/fabric-api)
|
||||
3. Install the latest version of Simple Hammers from [Modrinth](https://modrinth.com/simple-hammers)
|
||||
@@ -0,0 +1,123 @@
|
||||
plugins {
|
||||
id 'fabric-loom' version '1.8-SNAPSHOT'
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
version = "${project.mod_version}-${project.minecraft_version}"
|
||||
group = project.maven_group
|
||||
|
||||
base {
|
||||
archivesName = project.archives_base_name
|
||||
}
|
||||
|
||||
repositories {
|
||||
// Add repositories to retrieve artifacts from in here.
|
||||
// You should only use this when depending on other mods because
|
||||
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
|
||||
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
|
||||
// for more information about repositories.
|
||||
maven { url 'https://jitpack.io' }
|
||||
maven { url "https://maven.shedaniel.me/" }
|
||||
maven { url "https://maven.terraformersmc.com/" }
|
||||
maven { url "https://maven.bigduckie.dev/releases" }
|
||||
}
|
||||
|
||||
loom {
|
||||
splitEnvironmentSourceSets()
|
||||
|
||||
mods {
|
||||
"simple-hammers" {
|
||||
sourceSet sourceSets.main
|
||||
sourceSet sourceSets.client
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
fabricApi {
|
||||
configureDataGeneration()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// To change the versions see the gradle.properties file
|
||||
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
||||
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
|
||||
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
|
||||
|
||||
// Fabric API. This is technically optional, but you probably want it anyway.
|
||||
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
|
||||
|
||||
// Magna (https://github.com/Draylar/magna) for hammers
|
||||
include "dev.draylar:magna:${project.magna_version}"
|
||||
modImplementation("dev.draylar:magna:${project.magna_version}") {
|
||||
exclude group: "net.fabricmc"
|
||||
exclude group: "com.jamieswhiteshirt"
|
||||
exclude group: "me.shedaniel.cloth"
|
||||
exclude module: "omega-config-base"
|
||||
}
|
||||
|
||||
// Static Content (https://github.com/Draylar/static-content) for hammer loading and compat
|
||||
include "dev.bigduckie:static-content:${project.static_content_version}"
|
||||
modImplementation("dev.bigduckie:static-content:${project.static_content_version}") {
|
||||
exclude group: "net.fabricmc"
|
||||
exclude module: "omega-config-base"
|
||||
}
|
||||
|
||||
// Config solutions + Cloth Config for Magna
|
||||
modImplementation "dev.draylar.omega-config:omega-config-base:${project.omega_config_version}"
|
||||
include "dev.draylar.omega-config:omega-config-base:${project.omega_config_version}"
|
||||
modApi("me.shedaniel.cloth:cloth-config-fabric:${project.cloth_config_version}") {
|
||||
exclude(group: "net.fabricmc.fabric-api")
|
||||
}
|
||||
}
|
||||
|
||||
processResources {
|
||||
inputs.property "version", project.version
|
||||
|
||||
filesMatching("fabric.mod.json") {
|
||||
expand "version": project.version
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
it.options.release = 17
|
||||
}
|
||||
|
||||
java {
|
||||
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
|
||||
// if it is present.
|
||||
// If you remove this line, sources will not be generated.
|
||||
withSourcesJar()
|
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
jar {
|
||||
from("LICENSE") {
|
||||
rename { "${it}_${project.base.archivesName.get()}" }
|
||||
}
|
||||
}
|
||||
|
||||
// configure the maven publication
|
||||
publishing {
|
||||
publications {
|
||||
create("mavenJava", MavenPublication) {
|
||||
artifactId = project.archives_base_name
|
||||
version = "${project.mod_version}+${project.minecraft_version}"
|
||||
from components.java
|
||||
}
|
||||
}
|
||||
|
||||
// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
|
||||
repositories {
|
||||
maven {
|
||||
name = "personal"
|
||||
url = "https://maven.bigduckie.dev/releases"
|
||||
credentials {
|
||||
username = System.getenv("MAVEN_USERNAME")
|
||||
password = System.getenv("MAVEN_PASSWORD")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
# Done to increase the memory available to gradle.
|
||||
org.gradle.jvmargs=-Xmx1G
|
||||
org.gradle.parallel=true
|
||||
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/develop
|
||||
minecraft_version=1.20.1
|
||||
yarn_mappings=1.20.1+build.10
|
||||
loader_version=0.16.7
|
||||
|
||||
# Mod Properties
|
||||
mod_version=1.0.3
|
||||
maven_group=dev.bigduckie
|
||||
archives_base_name=simple-hammers
|
||||
|
||||
# Dependencies
|
||||
fabric_version=0.92.2+1.20.1
|
||||
|
||||
magna_version=1.10.1+1.20.1
|
||||
mod_menu_version=7.2.2
|
||||
libcd_version=3.0.3+1.16.3
|
||||
static_content_version=1.0.7+1.20.1
|
||||
maybe_data_version=1.3.2-1.19
|
||||
omega_config_version=1.4.1+1.20.1
|
||||
cloth_config_version=11.1.106
|
||||
@@ -0,0 +1,7 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
@@ -0,0 +1,252 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Copyright © 2015-2021 the original authors.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# https://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# Gradle start up script for POSIX generated by Gradle.
|
||||
#
|
||||
# Important for running:
|
||||
#
|
||||
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
|
||||
# noncompliant, but you have some other compliant shell such as ksh or
|
||||
# bash, then to run this script, type that shell name before the whole
|
||||
# command line, like:
|
||||
#
|
||||
# ksh Gradle
|
||||
#
|
||||
# Busybox and similar reduced shells will NOT work, because this script
|
||||
# requires all of these POSIX shell features:
|
||||
# * functions;
|
||||
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
||||
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
||||
# * compound commands having a testable exit status, especially «case»;
|
||||
# * various built-in commands including «command», «set», and «ulimit».
|
||||
#
|
||||
# Important for patching:
|
||||
#
|
||||
# (2) This script targets any POSIX shell, so it avoids extensions provided
|
||||
# by Bash, Ksh, etc; in particular arrays are avoided.
|
||||
#
|
||||
# The "traditional" practice of packing multiple parameters into a
|
||||
# space-separated string is a well documented source of bugs and security
|
||||
# problems, so this is (mostly) avoided, by progressively accumulating
|
||||
# options in "$@", and eventually passing that to Java.
|
||||
#
|
||||
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
|
||||
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
|
||||
# see the in-line comments for details.
|
||||
#
|
||||
# There are tweaks for specific operating systems such as AIX, CygWin,
|
||||
# Darwin, MinGW, and NonStop.
|
||||
#
|
||||
# (3) This script is generated from the Groovy template
|
||||
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# within the Gradle project.
|
||||
#
|
||||
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
# Attempt to set APP_HOME
|
||||
|
||||
# Resolve links: $0 may be a link
|
||||
app_path=$0
|
||||
|
||||
# Need this for daisy-chained symlinks.
|
||||
while
|
||||
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
|
||||
[ -h "$app_path" ]
|
||||
do
|
||||
ls=$( ls -ld "$app_path" )
|
||||
link=${ls#*' -> '}
|
||||
case $link in #(
|
||||
/*) app_path=$link ;; #(
|
||||
*) app_path=$APP_HOME$link ;;
|
||||
esac
|
||||
done
|
||||
|
||||
# This is normally unused
|
||||
# shellcheck disable=SC2034
|
||||
APP_BASE_NAME=${0##*/}
|
||||
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
||||
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
|
||||
' "$PWD" ) || exit
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD=maximum
|
||||
|
||||
warn () {
|
||||
echo "$*"
|
||||
} >&2
|
||||
|
||||
die () {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
} >&2
|
||||
|
||||
# OS specific support (must be 'true' or 'false').
|
||||
cygwin=false
|
||||
msys=false
|
||||
darwin=false
|
||||
nonstop=false
|
||||
case "$( uname )" in #(
|
||||
CYGWIN* ) cygwin=true ;; #(
|
||||
Darwin* ) darwin=true ;; #(
|
||||
MSYS* | MINGW* ) msys=true ;; #(
|
||||
NONSTOP* ) nonstop=true ;;
|
||||
esac
|
||||
|
||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
# IBM's JDK on AIX uses strange locations for the executables
|
||||
JAVACMD=$JAVA_HOME/jre/sh/java
|
||||
else
|
||||
JAVACMD=$JAVA_HOME/bin/java
|
||||
fi
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
else
|
||||
JAVACMD=java
|
||||
if ! command -v java >/dev/null 2>&1
|
||||
then
|
||||
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
fi
|
||||
|
||||
# Increase the maximum file descriptors if we can.
|
||||
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
||||
case $MAX_FD in #(
|
||||
max*)
|
||||
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
|
||||
# shellcheck disable=SC2039,SC3045
|
||||
MAX_FD=$( ulimit -H -n ) ||
|
||||
warn "Could not query maximum file descriptor limit"
|
||||
esac
|
||||
case $MAX_FD in #(
|
||||
'' | soft) :;; #(
|
||||
*)
|
||||
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
|
||||
# shellcheck disable=SC2039,SC3045
|
||||
ulimit -n "$MAX_FD" ||
|
||||
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
||||
esac
|
||||
fi
|
||||
|
||||
# Collect all arguments for the java command, stacking in reverse order:
|
||||
# * args from the command line
|
||||
# * the main class name
|
||||
# * -classpath
|
||||
# * -D...appname settings
|
||||
# * --module-path (only if needed)
|
||||
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
|
||||
|
||||
# For Cygwin or MSYS, switch paths to Windows format before running java
|
||||
if "$cygwin" || "$msys" ; then
|
||||
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
|
||||
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
|
||||
|
||||
JAVACMD=$( cygpath --unix "$JAVACMD" )
|
||||
|
||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||
for arg do
|
||||
if
|
||||
case $arg in #(
|
||||
-*) false ;; # don't mess with options #(
|
||||
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
|
||||
[ -e "$t" ] ;; #(
|
||||
*) false ;;
|
||||
esac
|
||||
then
|
||||
arg=$( cygpath --path --ignore --mixed "$arg" )
|
||||
fi
|
||||
# Roll the args list around exactly as many times as the number of
|
||||
# args, so each arg winds up back in the position where it started, but
|
||||
# possibly modified.
|
||||
#
|
||||
# NB: a `for` loop captures its iteration list before it begins, so
|
||||
# changing the positional parameters here affects neither the number of
|
||||
# iterations, nor the values presented in `arg`.
|
||||
shift # remove old arg
|
||||
set -- "$@" "$arg" # push replacement arg
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||
|
||||
# Collect all arguments for the java command:
|
||||
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
||||
# and any embedded shellness will be escaped.
|
||||
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
||||
# treated as '${Hostname}' itself on the command line.
|
||||
|
||||
set -- \
|
||||
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||
-classpath "$CLASSPATH" \
|
||||
org.gradle.wrapper.GradleWrapperMain \
|
||||
"$@"
|
||||
|
||||
# Stop when "xargs" is not available.
|
||||
if ! command -v xargs >/dev/null 2>&1
|
||||
then
|
||||
die "xargs is not available"
|
||||
fi
|
||||
|
||||
# Use "xargs" to parse quoted args.
|
||||
#
|
||||
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
||||
#
|
||||
# In Bash we could simply go:
|
||||
#
|
||||
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
|
||||
# set -- "${ARGS[@]}" "$@"
|
||||
#
|
||||
# but POSIX shell has neither arrays nor command substitution, so instead we
|
||||
# post-process each arg (as a line of input to sed) to backslash-escape any
|
||||
# character that might be a shell metacharacter, then use eval to reverse
|
||||
# that process (while maintaining the separation between arguments), and wrap
|
||||
# the whole thing up as a single "set" statement.
|
||||
#
|
||||
# This will of course break if any of these variables contains a newline or
|
||||
# an unmatched quote.
|
||||
#
|
||||
|
||||
eval "set -- $(
|
||||
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
|
||||
xargs -n1 |
|
||||
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
|
||||
tr '\n' ' '
|
||||
)" '"$@"'
|
||||
|
||||
exec "$JAVACMD" "$@"
|
||||
@@ -0,0 +1,94 @@
|
||||
@rem
|
||||
@rem Copyright 2015 the original author or authors.
|
||||
@rem
|
||||
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@rem you may not use this file except in compliance with the License.
|
||||
@rem You may obtain a copy of the License at
|
||||
@rem
|
||||
@rem https://www.apache.org/licenses/LICENSE-2.0
|
||||
@rem
|
||||
@rem Unless required by applicable law or agreed to in writing, software
|
||||
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
@rem See the License for the specific language governing permissions and
|
||||
@rem limitations under the License.
|
||||
@rem
|
||||
@rem SPDX-License-Identifier: Apache-2.0
|
||||
@rem
|
||||
|
||||
@if "%DEBUG%"=="" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%"=="" set DIRNAME=.
|
||||
@rem This is normally unused
|
||||
set APP_BASE_NAME=%~n0
|
||||
set APP_HOME=%DIRNAME%
|
||||
|
||||
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
|
||||
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
||||
|
||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if %ERRORLEVEL% equ 0 goto execute
|
||||
|
||||
echo. 1>&2
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
|
||||
echo. 1>&2
|
||||
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
||||
echo location of your Java installation. 1>&2
|
||||
|
||||
goto fail
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||
|
||||
if exist "%JAVA_EXE%" goto execute
|
||||
|
||||
echo. 1>&2
|
||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
|
||||
echo. 1>&2
|
||||
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
||||
echo location of your Java installation. 1>&2
|
||||
|
||||
goto fail
|
||||
|
||||
:execute
|
||||
@rem Setup the command line
|
||||
|
||||
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
||||
|
||||
|
||||
@rem Execute Gradle
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if %ERRORLEVEL% equ 0 goto mainEnd
|
||||
|
||||
:fail
|
||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||
rem the _cmd.exe /c_ return code!
|
||||
set EXIT_CODE=%ERRORLEVEL%
|
||||
if %EXIT_CODE% equ 0 set EXIT_CODE=1
|
||||
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
|
||||
exit /b %EXIT_CODE%
|
||||
|
||||
:mainEnd
|
||||
if "%OS%"=="Windows_NT" endlocal
|
||||
|
||||
:omega
|
||||
@@ -0,0 +1,10 @@
|
||||
pluginManagement {
|
||||
repositories {
|
||||
maven {
|
||||
name = 'Fabric'
|
||||
url = 'https://maven.fabricmc.net/'
|
||||
}
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
package dev.bigduckie.simplehammers;
|
||||
|
||||
import dev.bigduckie.staticcontent.StaticContent;
|
||||
import dev.draylar.magna.api.optional.MagnaOptionals;
|
||||
import draylar.omegaconfig.OmegaConfig;
|
||||
import dev.bigduckie.simplehammers.config.SimpleHammersConfig;
|
||||
import dev.bigduckie.simplehammers.data.HammerData;
|
||||
import dev.bigduckie.simplehammers.item.ExtendedHammerItem;
|
||||
import net.fabricmc.api.ModInitializer;
|
||||
import net.fabricmc.fabric.api.event.player.AttackEntityCallback;
|
||||
import net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroup;
|
||||
import net.minecraft.item.ItemGroup;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.registry.Registries;
|
||||
import net.minecraft.registry.Registry;
|
||||
import net.minecraft.registry.RegistryKey;
|
||||
import net.minecraft.registry.RegistryKeys;
|
||||
import net.minecraft.text.Text;
|
||||
import net.minecraft.util.ActionResult;
|
||||
import net.minecraft.util.Identifier;
|
||||
|
||||
public class SimpleHammers implements ModInitializer {
|
||||
|
||||
public static String MODID = "simple-hammers";
|
||||
public static SimpleHammersConfig CONFIG = OmegaConfig.register(SimpleHammersConfig.class);
|
||||
private static final RegistryKey<ItemGroup> ITEM_GROUP = RegistryKey.of(RegistryKeys.ITEM_GROUP, id("group"));
|
||||
|
||||
@Override
|
||||
public void onInitialize() {
|
||||
MagnaOptionals.optInForCurse();
|
||||
StaticContent.load(id("hammers"), HammerData.class);
|
||||
Registry.register(Registries.ITEM_GROUP, ITEM_GROUP, FabricItemGroup.builder()
|
||||
.displayName(Text.translatable("itemGroup.simple-hammers.group"))
|
||||
.icon(() -> new ItemStack(Registries.ITEM.get(id("diamond_hammer"))))
|
||||
.entries((context, entries) -> entries.addAll(HammerData.ENTRY_SET))
|
||||
.build()
|
||||
);
|
||||
registerCallbackHandlers();
|
||||
}
|
||||
|
||||
private void registerCallbackHandlers() {
|
||||
AttackEntityCallback.EVENT.register((playerEntity, world, hand, entity, entityHitResult) -> {
|
||||
ItemStack handStack = playerEntity.getMainHandStack();
|
||||
if (handStack.getItem() instanceof ExtendedHammerItem extendedHammerItem) {
|
||||
// set entity on fire if this hammer smelts blocks
|
||||
if (extendedHammerItem.getData().canSmelt()) {
|
||||
entity.setOnFireFor(4);
|
||||
}
|
||||
}
|
||||
|
||||
return ActionResult.PASS;
|
||||
});
|
||||
}
|
||||
|
||||
public static Identifier id(String name) {
|
||||
return new Identifier(MODID, name);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package dev.bigduckie.simplehammers.config;
|
||||
|
||||
import draylar.omegaconfig.api.Config;
|
||||
|
||||
public class SimpleHammersConfig implements Config {
|
||||
|
||||
public boolean enableExtraMaterials = true;
|
||||
public int durabilityModifier = 5;
|
||||
public double breakSpeedMultiplier = 1.0;
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "simple-hammers";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,142 @@
|
||||
package dev.bigduckie.simplehammers.data;
|
||||
|
||||
import dev.bigduckie.simplehammers.item.ExtendedHammerItem;
|
||||
import dev.bigduckie.simplehammers.material.CustomToolMaterial;
|
||||
import dev.bigduckie.staticcontent.api.ContentData;
|
||||
import net.fabricmc.fabric.api.registry.FuelRegistry;
|
||||
import net.minecraft.item.*;
|
||||
import net.minecraft.registry.Registries;
|
||||
import net.minecraft.registry.Registry;
|
||||
import net.minecraft.util.Identifier;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
public class HammerData implements ContentData {
|
||||
|
||||
private final String id;
|
||||
private final int miningLevel;
|
||||
private final int durability;
|
||||
private final float blockBreakSpeed;
|
||||
private final float attackDamage;
|
||||
private final float attackSpeed;
|
||||
private final int enchantability;
|
||||
private final Identifier repairIngredient;
|
||||
private final boolean isFireImmune;
|
||||
private final boolean smelts;
|
||||
private final int breakRadius;
|
||||
private final boolean isExtra;
|
||||
private final int burnTime;
|
||||
private final boolean hasExtraKnockback;
|
||||
|
||||
public static final Set<ItemStack> ENTRY_SET = ItemStackSet.create();
|
||||
|
||||
public HammerData(String id, int miningLevel, int durability, float blockBreakSpeed, float attackDamage, float attackSpeed, int enchantability, Identifier repairIngredient, boolean isFireImmune, boolean smelts, int breakRadius, boolean isExtra, int burnTime, boolean hasExtraKnockback, String group) {
|
||||
this.id = id;
|
||||
this.miningLevel = miningLevel;
|
||||
this.durability = durability;
|
||||
this.blockBreakSpeed = blockBreakSpeed;
|
||||
this.attackDamage = attackDamage;
|
||||
this.attackSpeed = attackSpeed;
|
||||
this.enchantability = enchantability;
|
||||
this.repairIngredient = repairIngredient;
|
||||
this.isFireImmune = isFireImmune;
|
||||
this.smelts = smelts;
|
||||
this.breakRadius = breakRadius;
|
||||
this.isExtra = isExtra;
|
||||
this.burnTime = burnTime;
|
||||
this.hasExtraKnockback = hasExtraKnockback;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void register(Identifier identifier) {
|
||||
// only register if the hammer is not extra (wood -> diamond), or if it is extra (lapis, emerald, ...) and the option is enabled
|
||||
if (!isExtra() || isExtra() && dev.bigduckie.simplehammers.SimpleHammers.CONFIG.enableExtraMaterials) {
|
||||
|
||||
// setup settings
|
||||
Item.Settings settings = new Item.Settings();
|
||||
if (isFireImmune()) {
|
||||
settings.fireproof();
|
||||
}
|
||||
|
||||
// check for hammer autosmelt
|
||||
// create hammer with settings
|
||||
ExtendedHammerItem hammerItem = new ExtendedHammerItem(
|
||||
CustomToolMaterial.from(this),
|
||||
0,
|
||||
getAttackSpeed() == 0 ? -2.4f : getAttackSpeed(),
|
||||
settings,
|
||||
getBreakRadius() == 0 ? 1 : getBreakRadius(),
|
||||
this
|
||||
);
|
||||
|
||||
// burn time for furnace fuel
|
||||
if (getBurnTime() > 0) {
|
||||
FuelRegistry.INSTANCE.add(hammerItem, getBurnTime());
|
||||
}
|
||||
|
||||
// add hammer to tag
|
||||
String path = getId() + "_hammer";
|
||||
Identifier registryID = path.contains(":") ? new Identifier(path) : dev.bigduckie.simplehammers.SimpleHammers.id(path);
|
||||
Registry.register(Registries.ITEM, registryID, hammerItem);
|
||||
|
||||
// add hammer to item group
|
||||
ENTRY_SET.add(hammerItem.getDefaultStack());
|
||||
}
|
||||
}
|
||||
|
||||
public boolean hasExtraKnockback() {
|
||||
return hasExtraKnockback;
|
||||
}
|
||||
|
||||
public boolean canSmelt() {
|
||||
return smelts;
|
||||
}
|
||||
|
||||
public int getBurnTime() {
|
||||
return burnTime;
|
||||
}
|
||||
|
||||
public boolean isExtra() {
|
||||
return isExtra;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public int getBreakRadius() {
|
||||
return breakRadius;
|
||||
}
|
||||
|
||||
public float getAttackSpeed() {
|
||||
return attackSpeed;
|
||||
}
|
||||
|
||||
public int getMiningLevel() {
|
||||
return miningLevel;
|
||||
}
|
||||
|
||||
public int getDurability() {
|
||||
return durability;
|
||||
}
|
||||
|
||||
public float getBlockBreakSpeed() {
|
||||
return blockBreakSpeed * (float) dev.bigduckie.simplehammers.SimpleHammers.CONFIG.breakSpeedMultiplier;
|
||||
}
|
||||
|
||||
public float getAttackDamage() {
|
||||
return attackDamage;
|
||||
}
|
||||
|
||||
public int getEnchantability() {
|
||||
return enchantability;
|
||||
}
|
||||
|
||||
public Identifier getRepairIngredient() {
|
||||
return repairIngredient;
|
||||
}
|
||||
|
||||
public boolean isFireImmune() {
|
||||
return isFireImmune;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package dev.bigduckie.simplehammers.item;
|
||||
|
||||
import dev.draylar.magna.api.BlockProcessor;
|
||||
import dev.draylar.magna.item.HammerItem;
|
||||
import dev.bigduckie.simplehammers.data.HammerData;
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import net.minecraft.inventory.SimpleInventory;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.ToolMaterial;
|
||||
import net.minecraft.recipe.RecipeType;
|
||||
import net.minecraft.recipe.SmeltingRecipe;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Optional;
|
||||
|
||||
public class ExtendedHammerItem extends HammerItem {
|
||||
|
||||
private final HammerData data;
|
||||
|
||||
public ExtendedHammerItem(ToolMaterial toolMaterial, int attackDamage, float attackSpeed, Settings settings, int breakRadius, HammerData data) {
|
||||
super(toolMaterial, attackDamage, attackSpeed, settings, breakRadius);
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public HammerData getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockProcessor getProcessor(World world, PlayerEntity player, BlockPos pos, ItemStack heldStack) {
|
||||
if (data.canSmelt()) {
|
||||
return (tool, input) -> {
|
||||
Optional<SmeltingRecipe> cooked = world.getRecipeManager().getFirstMatch(
|
||||
RecipeType.SMELTING,
|
||||
new SimpleInventory(input),
|
||||
world
|
||||
);
|
||||
|
||||
if (cooked.isPresent()) {
|
||||
return cooked.get().getOutput(world.getRegistryManager()).copy();
|
||||
}
|
||||
|
||||
return input;
|
||||
};
|
||||
} else {
|
||||
return super.getProcessor(world, player, pos, heldStack);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
package dev.bigduckie.simplehammers.material;
|
||||
|
||||
import dev.bigduckie.simplehammers.data.HammerData;
|
||||
import net.minecraft.item.ToolMaterial;
|
||||
import net.minecraft.recipe.Ingredient;
|
||||
import net.minecraft.registry.Registries;
|
||||
import net.minecraft.util.Identifier;
|
||||
|
||||
public class CustomToolMaterial implements ToolMaterial {
|
||||
|
||||
private final int enchantability;
|
||||
private final float miningSpeedMultiplier;
|
||||
private final int durability;
|
||||
private final float attackDamage;
|
||||
private final int miningLevel;
|
||||
private final Ingredient ingredient;
|
||||
|
||||
public CustomToolMaterial(int enchantability, float miningSpeedMultiplier, int durability, float attackDamage, int miningLevel, Ingredient ingredient) {
|
||||
this.enchantability = enchantability;
|
||||
this.miningSpeedMultiplier = miningSpeedMultiplier;
|
||||
this.durability = durability;
|
||||
this.attackDamage = attackDamage;
|
||||
this.miningLevel = miningLevel;
|
||||
this.ingredient = ingredient;
|
||||
}
|
||||
|
||||
public static CustomToolMaterial from(HammerData data) {
|
||||
return new CustomToolMaterial(
|
||||
data.getEnchantability() == 0 ? 15 : data.getEnchantability(),
|
||||
data.getBlockBreakSpeed() == 0 ? 1 : data.getBlockBreakSpeed(),
|
||||
(data.getDurability() == 0 ? 500 : data.getDurability()) * dev.bigduckie.simplehammers.SimpleHammers.CONFIG.durabilityModifier,
|
||||
data.getAttackDamage() == 0 ? 4 : data.getAttackDamage(),
|
||||
data.getMiningLevel(),
|
||||
Ingredient.ofItems(Registries.ITEM.get(data.getRepairIngredient() == null ? new Identifier("iron_ingot") : data.getRepairIngredient()))
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getDurability() {
|
||||
return durability;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getMiningSpeedMultiplier() {
|
||||
return miningSpeedMultiplier;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getAttackDamage() {
|
||||
return attackDamage;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMiningLevel() {
|
||||
return miningLevel;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getEnchantability() {
|
||||
return enchantability;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Ingredient getRepairIngredient() {
|
||||
return ingredient;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package dev.bigduckie.simplehammers.mixin;
|
||||
|
||||
import dev.bigduckie.simplehammers.item.ExtendedHammerItem;
|
||||
import net.minecraft.enchantment.EnchantmentHelper;
|
||||
import net.minecraft.entity.LivingEntity;
|
||||
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(EnchantmentHelper.class)
|
||||
public class HammerKnockbackMixin {
|
||||
|
||||
private static final int SLIME_KNOCKBACK_MODIFIER = 3;
|
||||
|
||||
@Inject(at = @At("HEAD"), method = "getKnockback", cancellable = true)
|
||||
private static void getKnockback(LivingEntity livingEntity, CallbackInfoReturnable<Integer> info) {
|
||||
ItemStack heldStack = livingEntity.getMainHandStack();
|
||||
if(heldStack.getItem() instanceof ExtendedHammerItem hammerItem) {
|
||||
// check data associated with hammer item for extra kb
|
||||
if(hammerItem.getData().hasExtraKnockback()) {
|
||||
info.setReturnValue(SLIME_KNOCKBACK_MODIFIER);
|
||||
info.cancel();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package dev.bigduckie.simplehammers.mixin;
|
||||
|
||||
import dev.bigduckie.simplehammers.item.ExtendedHammerItem;
|
||||
import net.minecraft.enchantment.Enchantment;
|
||||
import net.minecraft.enchantment.EnchantmentTarget;
|
||||
import net.minecraft.enchantment.SilkTouchEnchantment;
|
||||
import net.minecraft.entity.EquipmentSlot;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
|
||||
@Mixin(SilkTouchEnchantment.class)
|
||||
public class SilkTouchEnchantmentMixin extends Enchantment {
|
||||
|
||||
public SilkTouchEnchantmentMixin(Rarity weight, EnchantmentTarget type, EquipmentSlot[] slotTypes) {
|
||||
super(weight, type, slotTypes);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAcceptableItem(ItemStack stack) {
|
||||
if (stack.getItem() instanceof ExtendedHammerItem item) {
|
||||
return !item.getData().canSmelt();
|
||||
}
|
||||
|
||||
return super.isAcceptableItem(stack);
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 230 B |
|
After Width: | Height: | Size: 6.0 KiB |
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"itemGroup.simple-hammers.group": "Simple Hammers",
|
||||
|
||||
"item.simple-hammers.wooden_hammer": "Wooden Hammer",
|
||||
"item.simple-hammers.stone_hammer": "Stone Hammer",
|
||||
"item.simple-hammers.iron_hammer": "Iron Hammer",
|
||||
"item.simple-hammers.golden_hammer": "Golden Hammer",
|
||||
"item.simple-hammers.diamond_hammer": "Diamond Hammer",
|
||||
"item.simple-hammers.netherite_hammer": "Netherite Hammer",
|
||||
"item.simple-hammers.emerald_hammer": "Emerald Hammer",
|
||||
"item.simple-hammers.obsidian_hammer": "Obsidian Hammer",
|
||||
"item.simple-hammers.lapis_hammer": "Lapis Lazuli Hammer",
|
||||
"item.simple-hammers.quartz_hammer": "Quartz Hammer",
|
||||
"item.simple-hammers.tater_hammer": "Lil Tater Hammer",
|
||||
"item.simple-hammers.fiery_hammer": "Fiery Hammer",
|
||||
"item.simple-hammers.prismarine_hammer": "Prismarine Hammer",
|
||||
"item.simple-hammers.slime_hammer": "Slime Hammer",
|
||||
"item.simple-hammers.ender_hammer": "Ender Hammer",
|
||||
|
||||
"item.simple-hammers.vibranium_hammer": "Vibranium Hammer",
|
||||
"item.simple-hammers.glowstone_hammer": "Glowstone Hammer",
|
||||
"item.simple-hammers.nether_hammer": "Nether Hammer",
|
||||
|
||||
"text.autoconfig.simple-hammers.option.enableExtraMaterials": "Extra Vanilla Material Hammers",
|
||||
"text.autoconfig.simple-hammers.option.enableTaterHammer": "Tater Hammer",
|
||||
"text.autoconfig.simple-hammers.option.durabilityModifier": "Hammer Durability Modifier",
|
||||
|
||||
"item.simple-hammers.dynagear_hammer": "%s Hammer",
|
||||
|
||||
"simple-hammers.advancements.root.title": "Vanilla Hammers",
|
||||
"simple-hammers.advancements.stone_hammer.title": "Rock Solid Hammer",
|
||||
"simple-hammers.advancements.slime_hammer.title": "Bouncy Weapon",
|
||||
"simple-hammers.advancements.lapis_hammer.title": "Budget Diamonds",
|
||||
"simple-hammers.advancements.iron_hammer.title": "Getting a (Hammer) Upgrade",
|
||||
"simple-hammers.advancements.prismarine_hammer.title": "Aquatic Alternatives",
|
||||
"simple-hammers.advancements.quartz_hammer.title": "Fiery Beginnings",
|
||||
"simple-hammers.advancements.golden_hammer.title": "Rich Mining Solutions",
|
||||
"simple-hammers.advancements.diamond_hammer.title": "Prestigious Hammer",
|
||||
"simple-hammers.advancements.netherite_hammer.title": "Eternal Fiery Conquest",
|
||||
"simple-hammers.advancements.emerald_hammer.title": "Hammer of the Trader",
|
||||
"simple-hammers.advancements.fiery_hammer.title": "Fiery Ends",
|
||||
"simple-hammers.advancements.obsidian_hammer.title": "Really Rock Solid Hammer",
|
||||
"simple-hammers.advancements.ender_hammer.title": "The Hammer Above All",
|
||||
|
||||
"simple-hammers.advancements.root.description": "How about a hammer instead?",
|
||||
"simple-hammers.advancements.stone_hammer.description": "Start with the basics and craft a Stone Hammer.",
|
||||
"simple-hammers.advancements.slime_hammer.description": "Craft a Slime Hammer... how about whacking something with it?",
|
||||
"simple-hammers.advancements.lapis_hammer.description": "It's a Diamond Hammer, not a Lapis Hammer!",
|
||||
"simple-hammers.advancements.iron_hammer.description": "Craft an Iron Hammer.",
|
||||
"simple-hammers.advancements.prismarine_hammer.description": "Craft a Prismarine Hammer with the material of the seas.",
|
||||
"simple-hammers.advancements.quartz_hammer.description": "Begin your fiery conquest with a Quartz Hammer.",
|
||||
"simple-hammers.advancements.golden_hammer.description": "The Golden Hammer doesn't work well, but it sure does look cool!",
|
||||
"simple-hammers.advancements.diamond_hammer.description": "Craft a Diamond Hammer.",
|
||||
"simple-hammers.advancements.netherite_hammer.description": "Craft a Netherite Hammer, forged with ancient gems from an unknown time.",
|
||||
"simple-hammers.advancements.emerald_hammer.description": "Showcase your uniqueness with a Emerald Hammer.",
|
||||
"simple-hammers.advancements.fiery_hammer.description": "Finalize your descent with a Fiery Hammer.",
|
||||
"simple-hammers.advancements.obsidian_hammer.description": "Craft an Obsidian Hammer and go mining for 17 hours without stopping.",
|
||||
"simple-hammers.advancements.ender_hammer.description": "Craft the Ender Hammer to end your mining woes.",
|
||||
|
||||
"simple-hammers.advancements.curse_of_gigantism.title": "The Curse of Gigantism",
|
||||
"simple-hammers.advancements.curse_of_gigantism.description": "Find the rare Curse of Gigantism book, which can be used to power up a hammer at the cost of speed."
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"item.simple-hammers.wooden_hammer": "Marteau en bois",
|
||||
"item.simple-hammers.stone_hammer": "Marteau en pierre",
|
||||
"item.simple-hammers.iron_hammer": "Marteau en fer",
|
||||
"item.simple-hammers.golden_hammer": "Marteau en or",
|
||||
"item.simple-hammers.diamond_hammer": "Marteau en diamant",
|
||||
"item.simple-hammers.emerald_hammer": "Marteau en émeraude",
|
||||
"item.simple-hammers.obsidian_hammer": "Marteau en obsidienne",
|
||||
"item.simple-hammers.lapis_hammer": "Marteau en lapis-lazuli",
|
||||
"item.simple-hammers.quartz_hammer": "Marteau en quartz",
|
||||
"item.simple-hammers.tater_hammer": "Marteau Lil Tater",
|
||||
"item.simple-hammers.fiery_hammer": "Marteau ardent",
|
||||
"item.simple-hammers.prismarine_hammer": "Marteau en prismarine",
|
||||
"item.simple-hammers.slime_hammer": "Marteau en slime",
|
||||
"item.simple-hammers.ender_hammer": "Marteau de l'Ender",
|
||||
|
||||
"item.simple-hammers.vibranium_hammer": "Marteau en vibranium",
|
||||
"item.simple-hammers.glowstone_hammer": "Marteau en pierre lumineuse",
|
||||
"item.simple-hammers.nether_hammer": "Marteau du Nether",
|
||||
|
||||
"text.autoconfig.simple-hammers.category.default": "Général",
|
||||
"text.autoconfig.simple-hammers.title": "Config de Vanilla Hammers",
|
||||
|
||||
"item.simple-hammers.dynagear_hammer": "Marteau en %s"
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"itemGroup.simple-hammers.group": "바닐라 망치",
|
||||
|
||||
"item.simple-hammers.wooden_hammer": "나무 망치",
|
||||
"item.simple-hammers.stone_hammer": "돌 망치",
|
||||
"item.simple-hammers.iron_hammer": "철 망치",
|
||||
"item.simple-hammers.golden_hammer": "금 망치",
|
||||
"item.simple-hammers.diamond_hammer": "다이아몬드 망치",
|
||||
"item.simple-hammers.netherite_hammer": "네더라이트 망치",
|
||||
"item.simple-hammers.emerald_hammer": "에메랄드 망치",
|
||||
"item.simple-hammers.obsidian_hammer": "흑요석 망치",
|
||||
"item.simple-hammers.lapis_hammer": "청금석 망치",
|
||||
"item.simple-hammers.quartz_hammer": "석영 망치",
|
||||
"item.simple-hammers.tater_hammer": "작은 감자 망치",
|
||||
"item.simple-hammers.fiery_hammer": "불타는 망치",
|
||||
"item.simple-hammers.prismarine_hammer": "프리즈머린 망치",
|
||||
"item.simple-hammers.slime_hammer": "슬라임 망치",
|
||||
"item.simple-hammers.ender_hammer": "엔더 망치",
|
||||
|
||||
"item.simple-hammers.vibranium_hammer": "비브라늄 망치",
|
||||
"item.simple-hammers.glowstone_hammer": "발광석 망치",
|
||||
"item.simple-hammers.nether_hammer": "네더 망치",
|
||||
|
||||
"text.autoconfig.simple-hammers.option.enableExtraMaterials": "엑스트라 바닐라 소재 망치",
|
||||
"text.autoconfig.simple-hammers.option.enableTaterHammer": "감자 망치",
|
||||
"text.autoconfig.simple-hammers.category.default": "보통",
|
||||
"text.autoconfig.simple-hammers.title": "바닐라 망치 환경설정",
|
||||
"text.autoconfig.simple-hammers.option.durabilityModifier": "망치 내구성 변경",
|
||||
|
||||
"item.simple-hammers.dynagear_hammer": "%s 망치",
|
||||
|
||||
"simple-hammers.advancements.root.title": "바닐라 망치",
|
||||
"simple-hammers.advancements.stone_hammer.title": "극도로 단단한 망치",
|
||||
"simple-hammers.advancements.slime_hammer.title": "탄력 있는 무기",
|
||||
"simple-hammers.advancements.lapis_hammer.title": "저렴한 다이아몬드",
|
||||
"simple-hammers.advancements.iron_hammer.title": "(망치) 갱신 받기",
|
||||
"simple-hammers.advancements.prismarine_hammer.title": "물에서의 대안",
|
||||
"simple-hammers.advancements.quartz_hammer.title": "불꽃튀는 시작",
|
||||
"simple-hammers.advancements.golden_hammer.title": "부유한 채굴의 해결책",
|
||||
"simple-hammers.advancements.diamond_hammer.title": "일류 망치",
|
||||
"simple-hammers.advancements.emerald_hammer.title": "상인의 망치",
|
||||
"simple-hammers.advancements.fiery_hammer.title": "불타는 끝",
|
||||
"simple-hammers.advancements.obsidian_hammer.title": "진짜 극도로 단단한 망치",
|
||||
"simple-hammers.advancements.ender_hammer.title": "무엇보다도 망치",
|
||||
|
||||
"simple-hammers.advancements.root.description": "대신 망치는 어때요?",
|
||||
"simple-hammers.advancements.stone_hammer.description": "기초부터 시작해서 돌 망치를 제작하세요.",
|
||||
"simple-hammers.advancements.slime_hammer.description": "슬라임 망치를 만들어요... 그걸로 뭘 좀 때리는 건 어때요?",
|
||||
"simple-hammers.advancements.lapis_hammer.description": "청금석 망치가 아니라 다이아몬드 망치입니다!",
|
||||
"simple-hammers.advancements.iron_hammer.description": "철 망치를 제작하세요.",
|
||||
"simple-hammers.advancements.prismarine_hammer.description": "프리즈머린 망치를 바다의 재료로 제작합니다.",
|
||||
"simple-hammers.advancements.quartz_hammer.description": "석영 망치로 불타는 정복을 시작하세요.",
|
||||
"simple-hammers.advancements.golden_hammer.description": "금 망치는 작업을 잘 못하지만, 정말 멋져 보여요!",
|
||||
"simple-hammers.advancements.diamond_hammer.description": "다이아몬드 망치를 제작하세요.",
|
||||
"simple-hammers.advancements.emerald_hammer.description": "에메랄드 망치로 독특함을 선보입니다.",
|
||||
"simple-hammers.advancements.fiery_hammer.description": "불타는 망치로 내리기를 마무리합니다.",
|
||||
"simple-hammers.advancements.obsidian_hammer.description": "흑요석 망치를 만들고 17시간 동안 쉬지 않고 채굴합니다.",
|
||||
"simple-hammers.advancements.ender_hammer.description": "엔더 망치를 제작하여 채굴 문제를 해결하세요.",
|
||||
|
||||
"simple-hammers.advancements.curse_of_gigantism.title": "거대증의 저주",
|
||||
"simple-hammers.advancements.curse_of_gigantism.description": "속도를 이용하여 망치를 작동시키는 데 사용할 수 있는 희귀한 거대증의 저주를 찾아야 합니다."
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"itemGroup.simple-hammers.group": "Martelo vanilla",
|
||||
|
||||
"item.simple-hammers.wooden_hammer": "Martelo de madeira",
|
||||
"item.simple-hammers.stone_hammer": "Martelo de pedra",
|
||||
"item.simple-hammers.iron_hammer": "Martelo de ferro",
|
||||
"item.simple-hammers.golden_hammer": "Martelo dourado",
|
||||
"item.simple-hammers.diamond_hammer": "Martelo de diamante",
|
||||
"item.simple-hammers.netherite_hammer": "Martelo de netherite",
|
||||
"item.simple-hammers.emerald_hammer": "Martelo de esmeralda",
|
||||
"item.simple-hammers.obsidian_hammer": "Martelo de obsidiana",
|
||||
"item.simple-hammers.lapis_hammer": "Martelo de lapis lazuli",
|
||||
"item.simple-hammers.quartz_hammer": "Martelo de quartzo",
|
||||
"item.simple-hammers.tater_hammer": "Martelo da batatinha",
|
||||
"item.simple-hammers.fiery_hammer": "Martelo de fogo",
|
||||
"item.simple-hammers.prismarine_hammer": "Martelo prismarino",
|
||||
"item.simple-hammers.slime_hammer": "Martelo de slime",
|
||||
"item.simple-hammers.ender_hammer": "Martelo do ender",
|
||||
|
||||
"item.simple-hammers.vibranium_hammer": "Martelod e vibranium",
|
||||
"item.simple-hammers.glowstone_hammer": "Martelo de pedra luminosa ",
|
||||
"item.simple-hammers.nether_hammer": "Martelo do nether",
|
||||
|
||||
"text.autoconfig.simple-hammers.option.enableExtraMaterials": "Materiais Vanillas extras para martelos",
|
||||
"text.autoconfig.simple-hammers.option.enableTaterHammer": "Martelo de batata",
|
||||
"text.autoconfig.simple-hammers.option.durabilityModifier": "Modificador de durabilidade do martelo",
|
||||
|
||||
"item.simple-hammers.dynagear_hammer": "%s Martelos",
|
||||
|
||||
"simple-hammers.advancements.root.title": "Martelos vanilla",
|
||||
"simple-hammers.advancements.stone_hammer.title": "Martelo de rocha solida",
|
||||
"simple-hammers.advancements.slime_hammer.title": "Arma saltitante",
|
||||
"simple-hammers.advancements.lapis_hammer.title": "Orçamento de Diamantes",
|
||||
"simple-hammers.advancements.iron_hammer.title": "ganhando uma melhoria(martelo)",
|
||||
"simple-hammers.advancements.prismarine_hammer.title": "Alternativas aquáticas",
|
||||
"simple-hammers.advancements.quartz_hammer.title": "Iniciantes impetuasos",
|
||||
"simple-hammers.advancements.golden_hammer.title": "Ricas soluções de mineração",
|
||||
"simple-hammers.advancements.diamond_hammer.title": "Martelo prestigioso",
|
||||
"simple-hammers.advancements.netherite_hammer.title": "Conquista impetuosa eterna",
|
||||
"simple-hammers.advancements.emerald_hammer.title": "martelo do comerciante",
|
||||
"simple-hammers.advancements.fiery_hammer.title": "Fim impetuoso",
|
||||
"simple-hammers.advancements.obsidian_hammer.title": "Martelo de rocha realmente solida",
|
||||
"simple-hammers.advancements.ender_hammer.title": "O martelo acima de tudo",
|
||||
|
||||
"simple-hammers.advancements.root.description": "Que tal um martelo em vez disso?",
|
||||
"simple-hammers.advancements.stone_hammer.description": "Comece com o basico e construa um martelo de pedra.",
|
||||
"simple-hammers.advancements.slime_hammer.description": "Construa um machado de slime... Que tal batem em algo com isso?",
|
||||
"simple-hammers.advancements.lapis_hammer.description": "É um um martelo de diamante, não um martelo de Lapis!",
|
||||
"simple-hammers.advancements.iron_hammer.description": "Construa um martelo de ferro.",
|
||||
"simple-hammers.advancements.prismarine_hammer.description": "Construa um martelo prismatico com o material dos mares.",
|
||||
"simple-hammers.advancements.quartz_hammer.description": "Comece a sua conquista impetuosa com um martelo de quartzo.",
|
||||
"simple-hammers.advancements.golden_hammer.description": "O martelo dourado não funciona muito bem, mas certamente te faz parecer bem descolado!",
|
||||
"simple-hammers.advancements.diamond_hammer.description": "Construa um martelo de diamante.",
|
||||
"simple-hammers.advancements.netherite_hammer.description": "Constrou um martelo de netherite, forjada com joias antigas de um tempo desconhecido.",
|
||||
"simple-hammers.advancements.emerald_hammer.description": " Mostre que você é unico com um martelo de esmeralda.",
|
||||
"simple-hammers.advancements.fiery_hammer.description": "Finalize sua descida com um martelo de fogo.",
|
||||
"simple-hammers.advancements.obsidian_hammer.description": "Construa um martelo de obsidiana e va minerar por 17 horas sem parar.",
|
||||
"simple-hammers.advancements.ender_hammer.description": "Construa o martelo do ender para acabar com os seus problemas de mineração.",
|
||||
|
||||
"simple-hammers.advancements.curse_of_gigantism.title": "A maldição do gigantismo",
|
||||
"simple-hammers.advancements.curse_of_gigantism.description": "Ache o raro livro da cura do gigantismo, isso pode ser usado para melhorar um marterlo em troca de velocidade."
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"item.simple-hammers.wooden_hammer": "Деревянный молот",
|
||||
"item.simple-hammers.stone_hammer": "Каменный молот",
|
||||
"item.simple-hammers.iron_hammer": "Железный молот",
|
||||
"item.simple-hammers.golden_hammer": "Золотой молот",
|
||||
"item.simple-hammers.diamond_hammer": "Алмазный молот",
|
||||
"item.simple-hammers.emerald_hammer": "Изумрудный молот",
|
||||
"item.simple-hammers.obsidian_hammer": "Обсидиановый молот",
|
||||
"item.simple-hammers.lapis_hammer": "Лазуритовый молот",
|
||||
"item.simple-hammers.quartz_hammer": "Кварцевый молот",
|
||||
"item.simple-hammers.tater_hammer": "Картофельный молот",
|
||||
"item.simple-hammers.fiery_hammer": "Огненный молот",
|
||||
"item.simple-hammers.prismarine_hammer": "Призмариновый молот",
|
||||
"item.simple-hammers.slime_hammer": "Слизневый молот",
|
||||
"item.simple-hammers.ender_hammer": "Эндер-молот",
|
||||
|
||||
"item.simple-hammers.vibranium_hammer": "Вибраниумовый молот",
|
||||
"item.simple-hammers.glowstone_hammer": "Светокаменный молот",
|
||||
"item.simple-hammers.nether_hammer": "Незерский молот",
|
||||
|
||||
"text.autoconfig.simple-hammers.category.default": "Основное",
|
||||
"text.autoconfig.simple-hammers.title": "Конфигурация Vanilla Hammers",
|
||||
|
||||
"item.simple-hammers.dynagear_hammer": "%s молот",
|
||||
|
||||
"simple-hammers.advancements.root.title": "Vanilla Hammers",
|
||||
"simple-hammers.advancements.stone_hammer.title": "Твердокаменный молот",
|
||||
"simple-hammers.advancements.slime_hammer.title": "Упругое оружие",
|
||||
"simple-hammers.advancements.lapis_hammer.title": "Бюджетные алмазы",
|
||||
"simple-hammers.advancements.iron_hammer.title": "Обновка молота!",
|
||||
"simple-hammers.advancements.prismarine_hammer.title": "Водная альтернатива",
|
||||
"simple-hammers.advancements.quartz_hammer.title": "Огненное начало",
|
||||
"simple-hammers.advancements.golden_hammer.title": "Богатое решение",
|
||||
"simple-hammers.advancements.diamond_hammer.title": "Престижный молот",
|
||||
"simple-hammers.advancements.emerald_hammer.title": "Молот торговца",
|
||||
"simple-hammers.advancements.fiery_hammer.title": "Огненный конец",
|
||||
"simple-hammers.advancements.obsidian_hammer.title": "Очень твердокаменный молот",
|
||||
"simple-hammers.advancements.ender_hammer.title": "Молот превыше всего",
|
||||
|
||||
"simple-hammers.advancements.root.description": "А как насчёт молота?",
|
||||
"simple-hammers.advancements.stone_hammer.description": "Начните с основ и создайте Каменный молот",
|
||||
"simple-hammers.advancements.slime_hammer.description": "Создайте Слизневый молот... как насчёт того, чтобы ударить им кого-нибудь?",
|
||||
"simple-hammers.advancements.lapis_hammer.description": "Это Алмазный молот, а не Лазуритовый!",
|
||||
"simple-hammers.advancements.iron_hammer.description": "Создайте Железный молот",
|
||||
"simple-hammers.advancements.prismarine_hammer.description": "Создайте Призмариновый молот из морских материалов",
|
||||
"simple-hammers.advancements.quartz_hammer.description": "Начните своё огненное завоевание с Кварцевого молота",
|
||||
"simple-hammers.advancements.golden_hammer.description": "Золотой молот не очень практичный, но выглядит круто!",
|
||||
"simple-hammers.advancements.diamond_hammer.description": "Создайте Алмазный молот",
|
||||
"simple-hammers.advancements.emerald_hammer.description": "Покажите свою уникальность с помощью Изумрудного молота",
|
||||
"simple-hammers.advancements.fiery_hammer.description": "Завершите своё нисхождение с помощью Огненного молота",
|
||||
"simple-hammers.advancements.obsidian_hammer.description": "Создайте Обсидиановый молот и продолжайте добывать руду 17 часов без остановок",
|
||||
"simple-hammers.advancements.ender_hammer.description": "Создайте Эндер-молот, чтобы покончить с трудностями добычи руд!",
|
||||
|
||||
"simple-hammers.advancements.curse_of_gigantism.title": "Проклятие гигантизма",
|
||||
"simple-hammers.advancements.curse_of_gigantism.description": "Найдите редкую книгу «Проклятие гигантизма», которую можно использовать для усиления молота ценой скорости"
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"itemGroup.simple-hammers.group": "原版材质锤",
|
||||
|
||||
"item.simple-hammers.wooden_hammer": "木锤",
|
||||
"item.simple-hammers.stone_hammer": "石锤",
|
||||
"item.simple-hammers.iron_hammer": "铁锤",
|
||||
"item.simple-hammers.golden_hammer": "金锤",
|
||||
"item.simple-hammers.diamond_hammer": "钻石锤",
|
||||
"item.simple-hammers.netherite_hammer": "下界合金锤",
|
||||
"item.simple-hammers.emerald_hammer": "绿宝石锤",
|
||||
"item.simple-hammers.obsidian_hammer": "黑曜石锤",
|
||||
"item.simple-hammers.lapis_hammer": "青金石锤",
|
||||
"item.simple-hammers.quartz_hammer": "石英锤",
|
||||
"item.simple-hammers.tater_hammer": "小土豆锤",
|
||||
"item.simple-hammers.fiery_hammer": "熔岩锤",
|
||||
"item.simple-hammers.prismarine_hammer": "海晶石锤",
|
||||
"item.simple-hammers.slime_hammer": "史莱姆锤",
|
||||
"item.simple-hammers.ender_hammer": "末影锤",
|
||||
|
||||
"item.simple-hammers.vibranium_hammer": "振金锤",
|
||||
"item.simple-hammers.glowstone_hammer": "萤石锤",
|
||||
"item.simple-hammers.nether_hammer": "下界锤",
|
||||
|
||||
"text.autoconfig.simple-hammers.option.enableExtraMaterials": "额外的原版材质锤",
|
||||
"text.autoconfig.simple-hammers.option.enableTaterHammer": "土豆锤",
|
||||
"text.autoconfig.simple-hammers.option.durabilityModifier": "锤子耐久修改器",
|
||||
|
||||
"item.simple-hammers.dynagear_hammer": "%s锤",
|
||||
|
||||
"simple-hammers.advancements.root.title": "原版材质锤",
|
||||
"simple-hammers.advancements.stone_hammer.title": "坚如磐石的锤子",
|
||||
"simple-hammers.advancements.slime_hammer.title": "有弹性的武器",
|
||||
"simple-hammers.advancements.lapis_hammer.title": "廉价的钻石",
|
||||
"simple-hammers.advancements.iron_hammer.title": "获得(锤子)升级e",
|
||||
"simple-hammers.advancements.prismarine_hammer.title": "水产品",
|
||||
"simple-hammers.advancements.quartz_hammer.title": "火热的开端",
|
||||
"simple-hammers.advancements.golden_hammer.title": "丰富的挖矿方案",
|
||||
"simple-hammers.advancements.diamond_hammer.title": "著名的锤子",
|
||||
"simple-hammers.advancements.netherite_hammer.title": "永远炽热的征服",
|
||||
"simple-hammers.advancements.emerald_hammer.title": "商人的锤子",
|
||||
"simple-hammers.advancements.fiery_hammer.title": "火热的结局",
|
||||
"simple-hammers.advancements.obsidian_hammer.title": "真正坚如磐石的锤子",
|
||||
"simple-hammers.advancements.ender_hammer.title": "锤子高于一切",
|
||||
|
||||
"simple-hammers.advancements.root.description": "用锤子代替怎么样?",
|
||||
"simple-hammers.advancements.stone_hammer.description": "从基础开始,制作石锤。",
|
||||
"simple-hammers.advancements.slime_hammer.description": "制作一个史莱姆锤……用它敲击一些东西怎么样?",
|
||||
"simple-hammers.advancements.lapis_hammer.description": "这是钻石锤,不是青金石锤!",
|
||||
"simple-hammers.advancements.iron_hammer.description": "制作铁锤。",
|
||||
"simple-hammers.advancements.prismarine_hammer.description": "用海洋材料制作海晶石锤。",
|
||||
"simple-hammers.advancements.quartz_hammer.description": "用石英锤开始你火热的征服。",
|
||||
"simple-hammers.advancements.golden_hammer.description": "虽然金锤并不好用,但确实看起来很酷!",
|
||||
"simple-hammers.advancements.diamond_hammer.description": "制作钻石锤。",
|
||||
"simple-hammers.advancements.netherite_hammer.description": "用来自未知时代的远古宝石制作下界合金锤。",
|
||||
"simple-hammers.advancements.emerald_hammer.description": "用绿宝石锤展示你的独特。",
|
||||
"simple-hammers.advancements.fiery_hammer.description": "用熔岩锤完成你的下界。",
|
||||
"simple-hammers.advancements.obsidian_hammer.description": "制作黑曜石锤并不停歇地挖矿17个小时。",
|
||||
"simple-hammers.advancements.ender_hammer.description": "制作末影锤来结束你的挖矿困境。",
|
||||
|
||||
"simple-hammers.advancements.curse_of_gigantism.title": "巨化诅咒",
|
||||
"simple-hammers.advancements.curse_of_gigantism.description": "找到稀有的《巨化诅咒》一书,它可以用来为锤子加大挖掘范围,但要以速度为代价。"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/handheld",
|
||||
"textures": {
|
||||
"layer0": "simple-hammers:item/diamond_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/handheld",
|
||||
"textures": {
|
||||
"layer0": "simple-hammers:item/emerald_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/handheld",
|
||||
"textures": {
|
||||
"layer0": "simple-hammers:item/ender_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/handheld",
|
||||
"textures": {
|
||||
"layer0": "simple-hammers:item/fiery_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/handheld",
|
||||
"textures": {
|
||||
"layer0": "simple-hammers:item/golden_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/handheld",
|
||||
"textures": {
|
||||
"layer0": "simple-hammers:item/iron_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/handheld",
|
||||
"textures": {
|
||||
"layer0": "simple-hammers:item/lapis_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/handheld",
|
||||
"textures": {
|
||||
"layer0": "simple-hammers:item/netherite_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/handheld",
|
||||
"textures": {
|
||||
"layer0": "simple-hammers:item/obsidian_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/handheld",
|
||||
"textures": {
|
||||
"layer0": "simple-hammers:item/prismarine_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/handheld",
|
||||
"textures": {
|
||||
"layer0": "simple-hammers:item/quartz_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/handheld",
|
||||
"textures": {
|
||||
"layer0": "simple-hammers:item/slime_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/handheld",
|
||||
"textures": {
|
||||
"layer0": "simple-hammers:item/stone_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/handheld",
|
||||
"textures": {
|
||||
"layer0": "simple-hammers:item/wooden_hammer"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 374 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
{
|
||||
"id": "simple-hammers:diamond_hammer",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"id": "simple-hammers:emerald_hammer",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"id": "simple-hammers:ender_hammer",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"id": "simple-hammers:fiery_hammer",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"id": "simple-hammers:golden_hammer",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"id": "simple-hammers:iron_hammer",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"id": "simple-hammers:lapis_hammer",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"id": "simple-hammers:netherite_hammer",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"id": "simple-hammers:obsidian_hammer",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"id": "simple-hammers:prismarine_hammer",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"id": "simple-hammers:quartz_hammer",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"id": "simple-hammers:slime_hammer",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"id": "simple-hammers:stone_hammer",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"id": "simple-hammers:wooden_hammer",
|
||||
"required": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"simple-hammers:golden_hammer"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"parent": "simple-hammers:hammers/root",
|
||||
"display": {
|
||||
"icon": {
|
||||
"item": "minecraft:enchanted_book"
|
||||
},
|
||||
"title": {
|
||||
"translate": "simple-hammers.advancements.curse_of_gigantism.title"
|
||||
},
|
||||
"description": {
|
||||
"translate": "simple-hammers.advancements.curse_of_gigantism.description"
|
||||
},
|
||||
"frame": "goal",
|
||||
"show_toast": true,
|
||||
"announce_to_chat": true,
|
||||
"hidden": true,
|
||||
"background": "minecraft:textures/gui/advancements/backgrounds/adventure.png"
|
||||
},
|
||||
"criteria": {
|
||||
"curse_of_gigantism": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"minecraft:enchanted_book"
|
||||
],
|
||||
"stored_enchantments": [
|
||||
{
|
||||
"enchantment": "magna:gigantism_curse"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"curse_of_gigantism"
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"parent": "simple-hammers:hammers/iron_hammer",
|
||||
"display": {
|
||||
"icon": {
|
||||
"item": "simple-hammers:diamond_hammer"
|
||||
},
|
||||
"title": {
|
||||
"translate": "simple-hammers.advancements.diamond_hammer.title"
|
||||
},
|
||||
"description": {
|
||||
"translate": "simple-hammers.advancements.diamond_hammer.description"
|
||||
},
|
||||
"frame": "goal",
|
||||
"show_toast": true,
|
||||
"announce_to_chat": true,
|
||||
"hidden": false,
|
||||
"background": "minecraft:textures/gui/advancements/backgrounds/adventure.png"
|
||||
},
|
||||
"criteria": {
|
||||
"diamond_hammer": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"simple-hammers:diamond_hammer"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"diamond_hammer"
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"parent": "simple-hammers:hammers/iron_hammer",
|
||||
"display": {
|
||||
"icon": {
|
||||
"item": "simple-hammers:emerald_hammer"
|
||||
},
|
||||
"title": {
|
||||
"translate": "simple-hammers.advancements.emerald_hammer.title"
|
||||
},
|
||||
"description": {
|
||||
"translate": "simple-hammers.advancements.emerald_hammer.description"
|
||||
},
|
||||
"frame": "goal",
|
||||
"show_toast": true,
|
||||
"announce_to_chat": false,
|
||||
"hidden": false,
|
||||
"background": "minecraft:textures/gui/advancements/backgrounds/adventure.png"
|
||||
},
|
||||
"criteria": {
|
||||
"emerald_hammer": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items":[ "simple-hammers:emerald_hammer"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"emerald_hammer"
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"parent": "simple-hammers:hammers/emerald_hammer",
|
||||
"display": {
|
||||
"icon": {
|
||||
"item": "simple-hammers:ender_hammer"
|
||||
},
|
||||
"title": {
|
||||
"translate": "simple-hammers.advancements.ender_hammer.title"
|
||||
},
|
||||
"description": {
|
||||
"translate": "simple-hammers.advancements.ender_hammer.description"
|
||||
},
|
||||
"frame": "challenge",
|
||||
"show_toast": true,
|
||||
"announce_to_chat": true,
|
||||
"hidden": false,
|
||||
"background": "minecraft:textures/gui/advancements/backgrounds/adventure.png"
|
||||
},
|
||||
"criteria": {
|
||||
"ender_hammer": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["simple-hammers:ender_hammer"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"ender_hammer"
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"parent": "simple-hammers:hammers/quartz_hammer",
|
||||
"display": {
|
||||
"icon": {
|
||||
"item": "simple-hammers:fiery_hammer"
|
||||
},
|
||||
"title": {
|
||||
"translate": "simple-hammers.advancements.fiery_hammer.title"
|
||||
},
|
||||
"description": {
|
||||
"translate": "simple-hammers.advancements.fiery_hammer.description"
|
||||
},
|
||||
"frame": "task",
|
||||
"show_toast": true,
|
||||
"announce_to_chat": false,
|
||||
"hidden": false,
|
||||
"background": "minecraft:textures/gui/advancements/backgrounds/adventure.png"
|
||||
},
|
||||
"criteria": {
|
||||
"fiery_hammer": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["simple-hammers:fiery_hammer"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"fiery_hammer"
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"parent": "simple-hammers:hammers/iron_hammer",
|
||||
"display": {
|
||||
"icon": {
|
||||
"item": "simple-hammers:golden_hammer"
|
||||
},
|
||||
"title": {
|
||||
"translate": "simple-hammers.advancements.golden_hammer.title"
|
||||
},
|
||||
"description": {
|
||||
"translate": "simple-hammers.advancements.golden_hammer.description"
|
||||
},
|
||||
"frame": "task",
|
||||
"show_toast": true,
|
||||
"announce_to_chat": false,
|
||||
"hidden": false,
|
||||
"background": "minecraft:textures/gui/advancements/backgrounds/adventure.png"
|
||||
},
|
||||
"criteria": {
|
||||
"golden_hammer": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["simple-hammers:golden_hammer"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"golden_hammer"
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"parent": "simple-hammers:hammers/stone_hammer",
|
||||
"display": {
|
||||
"icon": {
|
||||
"item": "simple-hammers:iron_hammer"
|
||||
},
|
||||
"title": {
|
||||
"translate": "simple-hammers.advancements.iron_hammer.title"
|
||||
},
|
||||
"description": {
|
||||
"translate": "simple-hammers.advancements.iron_hammer.description"
|
||||
},
|
||||
"frame": "task",
|
||||
"show_toast": true,
|
||||
"announce_to_chat": false,
|
||||
"hidden": false,
|
||||
"background": "minecraft:textures/gui/advancements/backgrounds/adventure.png"
|
||||
},
|
||||
"criteria": {
|
||||
"iron_hammer": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["simple-hammers:iron_hammer"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"iron_hammer"
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"when": [
|
||||
{ "libcd:item_exists": "simple-hammers:lapis_hammer" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"parent": "simple-hammers:hammers/diamond_hammer",
|
||||
"display": {
|
||||
"icon": {
|
||||
"item": "simple-hammers:netherite_hammer"
|
||||
},
|
||||
"title": {
|
||||
"translate": "simple-hammers.advancements.netherite_hammer.title"
|
||||
},
|
||||
"description": {
|
||||
"translate": "simple-hammers.advancements.netherite_hammer.description"
|
||||
},
|
||||
"frame": "challenge",
|
||||
"show_toast": true,
|
||||
"announce_to_chat": true,
|
||||
"hidden": false,
|
||||
"background": "minecraft:textures/gui/advancements/backgrounds/adventure.png"
|
||||
},
|
||||
"criteria": {
|
||||
"netherite_hammer": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["simple-hammers:netherite_hammer"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"netherite_hammer"
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"parent": "simple-hammers:hammers/diamond_hammer",
|
||||
"display": {
|
||||
"icon": {
|
||||
"item": "simple-hammers:obsidian_hammer"
|
||||
},
|
||||
"title": {
|
||||
"translate": "simple-hammers.advancements.obsidian_hammer.title"
|
||||
},
|
||||
"description": {
|
||||
"translate": "simple-hammers.advancements.obsidian_hammer.description"
|
||||
},
|
||||
"frame": "task",
|
||||
"show_toast": true,
|
||||
"announce_to_chat": false,
|
||||
"hidden": false,
|
||||
"background": "minecraft:textures/gui/advancements/backgrounds/adventure.png"
|
||||
},
|
||||
"criteria": {
|
||||
"obsidian_hammer": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["simple-hammers:obsidian_hammer"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"obsidian_hammer"
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"parent": "simple-hammers:hammers/stone_hammer",
|
||||
"display": {
|
||||
"icon": {
|
||||
"item": "simple-hammers:prismarine_hammer"
|
||||
},
|
||||
"title": {
|
||||
"translate": "simple-hammers.advancements.prismarine_hammer.title"
|
||||
},
|
||||
"description": {
|
||||
"translate": "simple-hammers.advancements.prismarine_hammer.description"
|
||||
},
|
||||
"frame": "task",
|
||||
"show_toast": true,
|
||||
"announce_to_chat": false,
|
||||
"hidden": false,
|
||||
"background": "minecraft:textures/gui/advancements/backgrounds/adventure.png"
|
||||
},
|
||||
"criteria": {
|
||||
"prismarine_hammer": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["simple-hammers:prismarine_hammer"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"prismarine_hammer"
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"parent": "simple-hammers:hammers/stone_hammer",
|
||||
"display": {
|
||||
"icon": {
|
||||
"item": "simple-hammers:quartz_hammer"
|
||||
},
|
||||
"title": {
|
||||
"translate": "simple-hammers.advancements.quartz_hammer.title"
|
||||
},
|
||||
"description": {
|
||||
"translate": "simple-hammers.advancements.quartz_hammer.description"
|
||||
},
|
||||
"frame": "task",
|
||||
"show_toast": true,
|
||||
"announce_to_chat": false,
|
||||
"hidden": false,
|
||||
"background": "minecraft:textures/gui/advancements/backgrounds/adventure.png"
|
||||
},
|
||||
"criteria": {
|
||||
"quartz_hammer": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["simple-hammers:quartz_hammer"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"quartz_hammer"
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"display": {
|
||||
"icon": {
|
||||
"item": "simple-hammers:wooden_hammer"
|
||||
},
|
||||
"title": {
|
||||
"translate": "simple-hammers.advancements.root.title"
|
||||
},
|
||||
"description": {
|
||||
"translate": "simple-hammers.advancements.root.description"
|
||||
},
|
||||
"frame": "task",
|
||||
"show_toast": true,
|
||||
"announce_to_chat": false,
|
||||
"hidden": false,
|
||||
"background": "minecraft:textures/gui/advancements/backgrounds/adventure.png"
|
||||
},
|
||||
"criteria": {
|
||||
"wooden_pickaxe": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"minecraft:wooden_pickaxe"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"wooden_pickaxe"
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"parent": "simple-hammers:hammers/root",
|
||||
"display": {
|
||||
"icon": {
|
||||
"item": "simple-hammers:slime_hammer"
|
||||
},
|
||||
"title": {
|
||||
"translate": "simple-hammers.advancements.slime_hammer.title"
|
||||
},
|
||||
"description": {
|
||||
"translate": "simple-hammers.advancements.slime_hammer.description"
|
||||
},
|
||||
"frame": "challenge",
|
||||
"show_toast": true,
|
||||
"announce_to_chat": true,
|
||||
"hidden": true,
|
||||
"background": "minecraft:textures/gui/advancements/backgrounds/adventure.png"
|
||||
},
|
||||
"criteria": {
|
||||
"slime_hammer": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["simple-hammers:slime_hammer"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"slime_hammer"
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"parent": "simple-hammers:hammers/root",
|
||||
"display": {
|
||||
"icon": {
|
||||
"item": "simple-hammers:stone_hammer"
|
||||
},
|
||||
"title": {
|
||||
"translate": "simple-hammers.advancements.stone_hammer.title"
|
||||
},
|
||||
"description": {
|
||||
"translate": "simple-hammers.advancements.stone_hammer.description"
|
||||
},
|
||||
"frame": "task",
|
||||
"show_toast": true,
|
||||
"announce_to_chat": false,
|
||||
"hidden": false,
|
||||
"background": "minecraft:textures/gui/advancements/backgrounds/adventure.png"
|
||||
},
|
||||
"criteria": {
|
||||
"stone_hammer": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": ["simple-hammers:stone_hammer"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"stone_hammer"
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"criteria": {
|
||||
"simple-hammers:stone_hammer": {
|
||||
"trigger": "minecraft:inventory_changed",
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"item": "minecraft:stone"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"rewards": {
|
||||
"recipes": ["simple-hammers:stone_hammer"]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"DdD",
|
||||
" s ",
|
||||
" s "
|
||||
],
|
||||
"key": {
|
||||
"D": {
|
||||
"item": "minecraft:diamond_block"
|
||||
},
|
||||
"d": {
|
||||
"item": "minecraft:diamond"
|
||||
},
|
||||
"s": {
|
||||
"item": "minecraft:stick"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "simple-hammers:diamond_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"DdD",
|
||||
" s ",
|
||||
" s "
|
||||
],
|
||||
"key": {
|
||||
"D": {
|
||||
"item": "minecraft:emerald_block"
|
||||
},
|
||||
"d": {
|
||||
"item": "minecraft:emerald"
|
||||
},
|
||||
"s": {
|
||||
"item": "minecraft:stick"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "simple-hammers:emerald_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"DdD",
|
||||
" s ",
|
||||
" s "
|
||||
],
|
||||
"key": {
|
||||
"D": {
|
||||
"item": "minecraft:end_stone_bricks"
|
||||
},
|
||||
"d": {
|
||||
"item": "minecraft:dragon_head"
|
||||
},
|
||||
"s": {
|
||||
"item": "minecraft:obsidian"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "simple-hammers:ender_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"DdD",
|
||||
" s ",
|
||||
" s "
|
||||
],
|
||||
"key": {
|
||||
"D": {
|
||||
"item": "minecraft:magma_block"
|
||||
},
|
||||
"d": {
|
||||
"item": "minecraft:magma_cream"
|
||||
},
|
||||
"s": {
|
||||
"item": "minecraft:obsidian"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "simple-hammers:fiery_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"DdD",
|
||||
" s ",
|
||||
" s "
|
||||
],
|
||||
"key": {
|
||||
"D": {
|
||||
"item": "minecraft:gold_block"
|
||||
},
|
||||
"d": {
|
||||
"item": "minecraft:gold_ingot"
|
||||
},
|
||||
"s": {
|
||||
"item": "minecraft:stick"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "simple-hammers:golden_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"DdD",
|
||||
" s ",
|
||||
" s "
|
||||
],
|
||||
"key": {
|
||||
"D": {
|
||||
"item": "minecraft:iron_block"
|
||||
},
|
||||
"d": {
|
||||
"item": "minecraft:iron_ingot"
|
||||
},
|
||||
"s": {
|
||||
"item": "minecraft:stick"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "simple-hammers:iron_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"DdD",
|
||||
" s ",
|
||||
" s "
|
||||
],
|
||||
"key": {
|
||||
"D": {
|
||||
"item": "minecraft:lapis_block"
|
||||
},
|
||||
"d": {
|
||||
"item": "minecraft:lapis_lazuli"
|
||||
},
|
||||
"s": {
|
||||
"item": "minecraft:stick"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "simple-hammers:lapis_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"type": "minecraft:smithing_transform",
|
||||
"template": {
|
||||
"item": "minecraft:netherite_upgrade_smithing_template"
|
||||
},
|
||||
"base": {
|
||||
"item": "simple-hammers:diamond_hammer"
|
||||
},
|
||||
"addition": {
|
||||
"item": "minecraft:netherite_ingot"
|
||||
},
|
||||
"result": {
|
||||
"item": "simple-hammers:netherite_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"DDD",
|
||||
"DsD",
|
||||
" s "
|
||||
],
|
||||
"key": {
|
||||
"D": {
|
||||
"item": "minecraft:obsidian"
|
||||
},
|
||||
"s": {
|
||||
"item": "minecraft:stick"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "simple-hammers:obsidian_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"DdD",
|
||||
" s ",
|
||||
" s "
|
||||
],
|
||||
"key": {
|
||||
"D": {
|
||||
"item": "minecraft:prismarine"
|
||||
},
|
||||
"d": {
|
||||
"item": "minecraft:prismarine_shard"
|
||||
},
|
||||
"s": {
|
||||
"item": "minecraft:stick"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "simple-hammers:prismarine_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"DdD",
|
||||
" s ",
|
||||
" s "
|
||||
],
|
||||
"key": {
|
||||
"D": {
|
||||
"item": "minecraft:quartz_block"
|
||||
},
|
||||
"d": {
|
||||
"item": "minecraft:quartz"
|
||||
},
|
||||
"s": {
|
||||
"item": "minecraft:stick"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "simple-hammers:quartz_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"DdD",
|
||||
" s ",
|
||||
" s "
|
||||
],
|
||||
"key": {
|
||||
"D": {
|
||||
"item": "minecraft:slime_block"
|
||||
},
|
||||
"d": {
|
||||
"item": "minecraft:slime_ball"
|
||||
},
|
||||
"s": {
|
||||
"item": "minecraft:stick"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "simple-hammers:slime_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"DdD",
|
||||
" s ",
|
||||
" s "
|
||||
],
|
||||
"key": {
|
||||
"D": {
|
||||
"item": "minecraft:stone"
|
||||
},
|
||||
"d": {
|
||||
"item": "minecraft:cobblestone"
|
||||
},
|
||||
"s": {
|
||||
"item": "minecraft:stick"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "simple-hammers:stone_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"DdD",
|
||||
" s ",
|
||||
" s "
|
||||
],
|
||||
"key": {
|
||||
"D": {
|
||||
"tag": "minecraft:logs"
|
||||
},
|
||||
"d": {
|
||||
"tag": "minecraft:planks"
|
||||
},
|
||||
"s": {
|
||||
"item": "minecraft:stick"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "simple-hammers:wooden_hammer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "simple-hammers",
|
||||
"version": "${version}",
|
||||
"name": "Simple Hammers",
|
||||
"description": "Adds hammers that break a 3x3 area. Forked from Draylar's Vanilla Hammers.",
|
||||
"authors": [
|
||||
"Big Duckie",
|
||||
"Draylar"
|
||||
],
|
||||
"contact": {
|
||||
"homepage": "https://bigduckie.dev/mc-mods/simple-hammers",
|
||||
"sources": "https://git.bigduckie.dev/big-duckie/simple-hammers"
|
||||
},
|
||||
"license": "MIT",
|
||||
"icon": "assets/simple-hammers/icon.png",
|
||||
"environment": "*",
|
||||
"entrypoints": {
|
||||
"main": [
|
||||
"dev.bigduckie.simplehammers.SimpleHammers"
|
||||
]
|
||||
},
|
||||
"mixins": [
|
||||
"simple-hammers.mixins.json"
|
||||
],
|
||||
"depends": {
|
||||
"fabricloader": ">=0.16.7",
|
||||
"minecraft": "~1.20.1",
|
||||
"java": ">=17",
|
||||
"fabric-api": "*"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"required": true,
|
||||
"package": "dev.bigduckie.simplehammers.mixin",
|
||||
"compatibilityLevel": "JAVA_17",
|
||||
"mixins": [
|
||||
"HammerKnockbackMixin",
|
||||
"SilkTouchEnchantmentMixin"
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "diamond",
|
||||
"miningLevel": 3,
|
||||
"durability": 1561,
|
||||
"blockBreakSpeed": 2.3,
|
||||
"attackDamage": 10,
|
||||
"attackSpeed": -3,
|
||||
"enchantability": 10,
|
||||
"repairIngredient": "minecraft:diamond"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"id": "emerald",
|
||||
"miningLevel": 3,
|
||||
"durability": 750,
|
||||
"blockBreakSpeed": 2.0,
|
||||
"attackDamage": 7,
|
||||
"attackSpeed": -3,
|
||||
"enchantability": 10,
|
||||
"repairIngredient": "minecraft:emerald",
|
||||
"isExtra": true
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"id": "ender",
|
||||
"miningLevel": 3,
|
||||
"durability": 1561,
|
||||
"blockBreakSpeed": 2.85,
|
||||
"attackDamage": 10,
|
||||
"attackSpeed": -3.3,
|
||||
"enchantability": 10,
|
||||
"repairIngredient": "minecraft:ender_pearl",
|
||||
"isExtra": true
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"id": "fiery",
|
||||
"miningLevel": 3,
|
||||
"durability": 750,
|
||||
"blockBreakSpeed": 2,
|
||||
"attackDamage": 6,
|
||||
"attackSpeed": -2.3,
|
||||
"enchantability": 15,
|
||||
"repairIngredient": "minecraft:magma_block",
|
||||
"isExtra": true,
|
||||
"isFireImmune": true,
|
||||
"smelts": true
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "golden",
|
||||
"miningLevel": 0,
|
||||
"durability": 100,
|
||||
"blockBreakSpeed": 3.5,
|
||||
"attackDamage": 5,
|
||||
"attackSpeed": -2.5,
|
||||
"enchantability": 22,
|
||||
"repairIngredient": "minecraft:gold_ingot"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "iron",
|
||||
"miningLevel": 2,
|
||||
"durability": 250,
|
||||
"blockBreakSpeed": 1.7,
|
||||
"attackDamage": 5,
|
||||
"attackSpeed": -2.8,
|
||||
"enchantability": 14,
|
||||
"repairIngredient": "minecraft:iron_ingot"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"id": "lapis",
|
||||
"miningLevel": 1,
|
||||
"durability": 220,
|
||||
"blockBreakSpeed": 1.7,
|
||||
"attackDamage": 5,
|
||||
"attackSpeed": -2,
|
||||
"enchantability": 30,
|
||||
"repairIngredient": "minecraft:lapis_lazuli",
|
||||
"isExtra": true
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"id": "netherite",
|
||||
"miningLevel": 4,
|
||||
"durability": 2031,
|
||||
"blockBreakSpeed": 2.6,
|
||||
"attackDamage": 11,
|
||||
"attackSpeed": -3.1,
|
||||
"enchantability": 15,
|
||||
"repairIngredient": "minecraft:netherite_ingot",
|
||||
"isFireImmune": true
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"id": "obsidian",
|
||||
"miningLevel": 2,
|
||||
"durability": 2048,
|
||||
"blockBreakSpeed": 1.4,
|
||||
"attackDamage": 7,
|
||||
"attackSpeed": -3.5,
|
||||
"enchantability": 5,
|
||||
"repairIngredient": "minecraft:obsidian",
|
||||
"isExtra": true
|
||||
}
|
||||