commit a93dcb177cbb007e40ea304ee39b8c22b960cbbc Author: RyanTLG Date: Tue Mar 1 13:30:19 2022 +0200 first commit diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100755 index 0000000..1fc365f --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,39 @@ +# 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: [ + 17, # Current Java LTS & minimum supported by Minecraft + ] + # and run on both Linux and Windows + os: [ubuntu-20.04, windows-2022] + runs-on: ${{ matrix.os }} + steps: + - name: checkout repository + uses: actions/checkout@v2 + - name: validate gradle wrapper + uses: gradle/wrapper-validation-action@v1 + - name: setup jdk ${{ matrix.java }} + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - name: make gradle wrapper executable + if: ${{ runner.os != 'Windows' }} + run: chmod +x ./gradlew + - name: build + run: ./gradlew build + - name: capture build artifacts + if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS + uses: actions/upload-artifact@v2 + with: + name: Artifacts + path: build/libs/ diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..09cd281 --- /dev/null +++ b/.gitignore @@ -0,0 +1,33 @@ +# gradle + +.gradle/ +build/ +out/ +classes/ + +# eclipse + +*.launch + +# idea + +.idea/ +*.iml +*.ipr +*.iws + +# vscode + +.settings/ +.vscode/ +bin/ +.classpath +.project + +# macos + +*.DS_Store + +# fabric + +run/ diff --git a/README.md b/README.md new file mode 100755 index 0000000..fd96346 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# Fabric Example Mod + +## Setup + +For setup instructions please see the [fabric wiki page](https://fabricmc.net/wiki/tutorial:setup) that relates to the IDE that you are using. + +## License + +This template is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects. diff --git a/build.gradle b/build.gradle new file mode 100755 index 0000000..20ff2ef --- /dev/null +++ b/build.gradle @@ -0,0 +1,76 @@ +plugins { + id 'fabric-loom' version '0.10-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 { + // 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' } + +} + +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}" + modImplementation "com.github.CrimsonDawn45:Fabric-Shield-Lib:v${project.fabric_shield_lib_version}" +} + +processResources { + inputs.property "version", project.version + + filesMatching("fabric.mod.json") { + expand "version": project.version + } +} + +tasks.withType(JavaCompile).configureEach { + // Minecraft 1.18 (1.18-pre2) upwards uses Java 17. + 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() +} + +jar { + from("LICENSE") { + rename { "${it}_${project.archivesBaseName}"} + } +} + +// configure the maven publication +publishing { + publications { + mavenJava(MavenPublication) { + from components.java + } + } + + // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing. + repositories { + // Add repositories to publish to here. + // Notice: This block does NOT have the same function as the block in the top level. + // The repositories here will be used for publishing your artifact, not for + // retrieving dependencies. + } +} diff --git a/gradle.properties b/gradle.properties new file mode 100755 index 0000000..a092f11 --- /dev/null +++ b/gradle.properties @@ -0,0 +1,17 @@ +# Done to increase the memory available to gradle. +org.gradle.jvmargs=-Xmx1G + +# Fabric Properties + # check these on https://fabricmc.net/develop + minecraft_version=1.18.1 + yarn_mappings=1.18.1+build.1 + loader_version=0.12.12 + +# Mod Properties + mod_version = 0.6.1 + maven_group = ryantlg.gamermod.mod + archives_base_name = GamerMod + +# Dependencies + fabric_version=0.46.0+1.18 + fabric_shield_lib_version=1.4.5-1.18 diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar new file mode 100755 index 0000000..7454180 Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties new file mode 100755 index 0000000..84d1f85 --- /dev/null +++ b/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew new file mode 100755 index 0000000..c53aefa --- /dev/null +++ b/gradlew @@ -0,0 +1,234 @@ +#!/bin/sh + +# +# Copyright © 2015-2021 the original authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +############################################################################## +# +# Gradle start up script for POSIX generated by Gradle. +# +# Important for running: +# +# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is +# noncompliant, but you have some other compliant shell such as ksh or +# bash, then to run this script, type that shell name before the whole +# command line, like: +# +# ksh Gradle +# +# Busybox and similar reduced shells will NOT work, because this script +# requires all of these POSIX shell features: +# * functions; +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». +# +# Important for patching: +# +# (2) This script targets any POSIX shell, so it avoids extensions provided +# by Bash, Ksh, etc; in particular arrays are avoided. +# +# The "traditional" practice of packing multiple parameters into a +# space-separated string is a well documented source of bugs and security +# problems, so this is (mostly) avoided, by progressively accumulating +# options in "$@", and eventually passing that to Java. +# +# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, +# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; +# see the in-line comments for details. +# +# There are tweaks for specific operating systems such as AIX, CygWin, +# Darwin, MinGW, and NonStop. +# +# (3) This script is generated from the Groovy template +# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# within the Gradle project. +# +# You can find Gradle at https://github.com/gradle/gradle/. +# +############################################################################## + +# Attempt to set APP_HOME + +# Resolve links: $0 may be a link +app_path=$0 + +# Need this for daisy-chained symlinks. +while + APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path + [ -h "$app_path" ] +do + ls=$( ls -ld "$app_path" ) + link=${ls#*' -> '} + case $link in #( + /*) app_path=$link ;; #( + *) app_path=$APP_HOME$link ;; + esac +done + +APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit + +APP_NAME="Gradle" +APP_BASE_NAME=${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 "$*" +} >&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 + 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" && ! "$darwin" && ! "$nonstop" ; then + case $MAX_FD in #( + max*) + MAX_FD=$( ulimit -H -n ) || + warn "Could not query maximum file descriptor limit" + esac + case $MAX_FD in #( + '' | soft) :;; #( + *) + 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 + +# Collect all arguments for the java command; +# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of +# shell script including quotes and variable substitutions, so put them in +# double quotes to make sure that they get re-expanded; and +# * put everything else in single quotes, so that it's not re-expanded. + +set -- \ + "-Dorg.gradle.appname=$APP_BASE_NAME" \ + -classpath "$CLASSPATH" \ + org.gradle.wrapper.GradleWrapperMain \ + "$@" + +# Use "xargs" to parse quoted args. +# +# With -n1 it outputs one arg per line, with the quotes and backslashes removed. +# +# In Bash we could simply go: +# +# readarray ARGS < <( xargs -n1 <<<"$var" ) && +# set -- "${ARGS[@]}" "$@" +# +# but POSIX shell has neither arrays nor command substitution, so instead we +# post-process each arg (as a line of input to sed) to backslash-escape any +# character that might be a shell metacharacter, then use eval to reverse +# that process (while maintaining the separation between arguments), and wrap +# the whole thing up as a single "set" statement. +# +# This will of course break if any of these variables contains a newline or +# an unmatched quote. +# + +eval "set -- $( + printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | + xargs -n1 | + sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | + tr '\n' ' ' + )" '"$@"' + +exec "$JAVACMD" "$@" diff --git a/gradlew.bat b/gradlew.bat new file mode 100755 index 0000000..107acd3 --- /dev/null +++ b/gradlew.bat @@ -0,0 +1,89 @@ +@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 execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/settings.gradle b/settings.gradle new file mode 100755 index 0000000..b02216b --- /dev/null +++ b/settings.gradle @@ -0,0 +1,10 @@ +pluginManagement { + repositories { + maven { + name = 'Fabric' + url = 'https://maven.fabricmc.net/' + } + mavenCentral() + gradlePluginPortal() + } +} diff --git a/src/main/java/net/fabricmc/ryantlg/BlockTags.java b/src/main/java/net/fabricmc/ryantlg/BlockTags.java new file mode 100755 index 0000000..fff8020 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/BlockTags.java @@ -0,0 +1,10 @@ +package net.fabricmc.ryantlg; + +import net.fabricmc.fabric.api.tag.TagFactory; +import net.minecraft.block.Block; +import net.minecraft.tag.Tag; +import net.minecraft.util.Identifier; + +public class BlockTags { + public static final Tag ORES = TagFactory.BLOCK.create(new Identifier("gamermod", "ores")); +} \ No newline at end of file diff --git a/src/main/java/net/fabricmc/ryantlg/armourMaterials/OmniumArmorMaterial.java b/src/main/java/net/fabricmc/ryantlg/armourMaterials/OmniumArmorMaterial.java new file mode 100755 index 0000000..4e62133 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/armourMaterials/OmniumArmorMaterial.java @@ -0,0 +1,59 @@ +package net.fabricmc.ryantlg.armourMaterials; + +import net.fabricmc.ryantlg.items.metalItems.omniumMetals; +import net.minecraft.entity.EquipmentSlot; +import net.minecraft.item.ArmorMaterial; +import net.minecraft.recipe.Ingredient; +import net.minecraft.sound.SoundEvent; +import net.minecraft.sound.SoundEvents; + +public class OmniumArmorMaterial implements ArmorMaterial { + // {boots, leggings, chestplate, helmet} + private static final int[] BASE_DURABILITY = new int[] {100, 110, 106, 101}; + private static final int[] PROTECTION_VALUES = new int[] {5, 10, 12, 5}; + + // In which A is helmet, B chestplate, C leggings and D boots. + // For reference, Leather uses {1, 2, 3, 1}, and Diamond/Netherite {3, 6, 8, 3} + // {A, C, B, D} + + @Override + public int getDurability(EquipmentSlot slot) { + return BASE_DURABILITY[slot.getEntitySlotId()] * 10; + } + + @Override + public int getProtectionAmount(EquipmentSlot slot) { + return PROTECTION_VALUES[slot.getEntitySlotId()]; + } + + @Override + public int getEnchantability() { + return 35; + } + + @Override + public SoundEvent getEquipSound() { + return SoundEvents.ITEM_ARMOR_EQUIP_NETHERITE; + } + + @Override + public Ingredient getRepairIngredient() { + return Ingredient.ofItems(omniumMetals.OMNIUM); + } + + @Override + public String getName() { + // Must be all lowercase + return "omnium"; + } + + @Override + public float getToughness() { + return 4.0F; + } + + @Override + public float getKnockbackResistance() { + return -1.0F; + } +} diff --git a/src/main/java/net/fabricmc/ryantlg/armourMaterials/OriumArmorMaterial.java b/src/main/java/net/fabricmc/ryantlg/armourMaterials/OriumArmorMaterial.java new file mode 100644 index 0000000..678bf6e --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/armourMaterials/OriumArmorMaterial.java @@ -0,0 +1,59 @@ +package net.fabricmc.ryantlg.armourMaterials; + +import net.fabricmc.ryantlg.items.metalItems.oriumMetals; +import net.minecraft.entity.EquipmentSlot; +import net.minecraft.item.ArmorMaterial; +import net.minecraft.recipe.Ingredient; +import net.minecraft.sound.SoundEvent; +import net.minecraft.sound.SoundEvents; + +public class OriumArmorMaterial implements ArmorMaterial { + // {boots, leggings, chestplate, helmet} + private static final int[] BASE_DURABILITY = new int[] {43, 60, 75, 49}; + private static final int[] PROTECTION_VALUES = new int[] {4, 7, 9, 4}; + + // In which A is helmet, B chestplate, C leggings and D boots. + // For reference, Leather uses {1, 2, 3, 1}, and Diamond/Netherite {3, 6, 8, 3} + // {A, C, B, D} + + @Override + public int getDurability(EquipmentSlot slot) { + return BASE_DURABILITY[slot.getEntitySlotId()] * 10; + } + + @Override + public int getProtectionAmount(EquipmentSlot slot) { + return PROTECTION_VALUES[slot.getEntitySlotId()]; + } + + @Override + public int getEnchantability() { + return 22; + } + + @Override + public SoundEvent getEquipSound() { + return SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND; + } + + @Override + public Ingredient getRepairIngredient() { + return Ingredient.ofItems(oriumMetals.ORIUM); + } + + @Override + public String getName() { + // Must be all lowercase + return "orium"; + } + + @Override + public float getToughness() { + return 2.0F; + } + + @Override + public float getKnockbackResistance() { + return 0.0F; + } +} \ No newline at end of file diff --git a/src/main/java/net/fabricmc/ryantlg/blockClasses/Damon.java b/src/main/java/net/fabricmc/ryantlg/blockClasses/Damon.java new file mode 100755 index 0000000..316fc67 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/blockClasses/Damon.java @@ -0,0 +1,34 @@ +package net.fabricmc.ryantlg.blockClasses; + +import net.minecraft.block.Block; +import net.fabricmc.ryantlg.sounds; +import net.minecraft.block.BlockState; +import net.minecraft.entity.player.PlayerEntity; +import net.minecraft.sound.SoundCategory; +import net.minecraft.util.ActionResult; +import net.minecraft.util.Hand; +import net.minecraft.util.hit.BlockHitResult; +import net.minecraft.util.math.BlockPos; +import net.minecraft.world.World; + +public class Damon extends Block{ + + public Damon(Settings settings) { + super(settings); + } + + @Override + public ActionResult onUse(BlockState blockState, World world, BlockPos blockPos, PlayerEntity placedBy, Hand hand, BlockHitResult blockHitResult) { + if (!world.isClient) { + world.playSound( + null, // Player - if non-null, will play sound for every nearby player *except* the specified player + blockPos, // The position of where the sound will come from + sounds.MATT_SOUND_EVENT, // The sound that will play + SoundCategory.BLOCKS, // This determines which of the volume sliders affect this sound + 1f, //Volume multiplier, 1 is normal, 0.5 is half volume, etc + 1f // Pitch multiplier, 1 is normal, 0.5 is half pitch, etc + ); + } + return ActionResult.FAIL; + } +} diff --git a/src/main/java/net/fabricmc/ryantlg/blockClasses/WeemCropBlock.java b/src/main/java/net/fabricmc/ryantlg/blockClasses/WeemCropBlock.java new file mode 100755 index 0000000..4ec63a0 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/blockClasses/WeemCropBlock.java @@ -0,0 +1,60 @@ +package net.fabricmc.ryantlg.blockClasses; + +import net.fabricmc.ryantlg.sounds; +import net.fabricmc.ryantlg.items.itemsByCrop.weemItems; +import net.minecraft.block.AbstractBlock; +import net.minecraft.block.Block; +import net.minecraft.block.BlockState; +import net.minecraft.block.CropBlock; +import net.minecraft.block.ShapeContext; +import net.minecraft.entity.player.PlayerEntity; +import net.minecraft.item.ItemConvertible; +import net.minecraft.sound.SoundCategory; +import net.minecraft.util.ActionResult; +import net.minecraft.util.Hand; +import net.minecraft.util.hit.BlockHitResult; +import net.minecraft.util.math.BlockPos; +import net.minecraft.util.shape.VoxelShape; +import net.minecraft.world.World; + +public class WeemCropBlock extends CropBlock { + private static final VoxelShape[] AGE_TO_SHAPE = new VoxelShape[]{Block.createCuboidShape(0.0D, 0.0D, 0.0D, 16.0D, 2.0D, 16.0D), + Block.createCuboidShape(0.0D, 0.0D, 0.0D, 16.0D, 3.0D, 16.0D), + Block.createCuboidShape(0.0D, 0.0D, 0.0D, 16.0D, 4.0D, 16.0D), + Block.createCuboidShape(0.0D, 0.0D, 0.0D, 16.0D, 5.0D, 16.0D), + Block.createCuboidShape(0.0D, 0.0D, 0.0D, 16.0D, 6.0D, 16.0D), + Block.createCuboidShape(0.0D, 0.0D, 0.0D, 16.0D, 7.0D, 16.0D), + Block.createCuboidShape(0.0D, 0.0D, 0.0D, 16.0D, 8.0D, 16.0D), + Block.createCuboidShape(0.0D, 0.0D, 0.0D, 16.0D, 9.0D, 16.0D) + }; + + public WeemCropBlock(AbstractBlock.Settings settings) { + super(settings); + } + + public ItemConvertible getSeedsItem() { + return weemItems.WEEM_SEEDS; + } + + public VoxelShape getOutlineShape(BlockState state, Block world, BlockPos pos, ShapeContext context) { + return AGE_TO_SHAPE[(Integer)state.get(this.getAgeProperty())]; + } + + @Override + public ActionResult onUse(BlockState blockState, World world, BlockPos blockPos, PlayerEntity placedBy, Hand hand, BlockHitResult blockHitResult) { + if (!world.isClient) { + world.playSound( + null, // Player - if non-null, will play sound for every nearby player *except* the specified player + blockPos, // The position of where the sound will come from + sounds.SNIFF_SOUND_EVENT, // The sound that will play + SoundCategory.BLOCKS, // This determines which of the volume sliders affect this sound + 1f, //Volume multiplier, 1 is normal, 0.5 is half volume, etc + 1f // Pitch multiplier, 1 is normal, 0.5 is half pitch, etc + ); + } + return ActionResult.FAIL; + + } +} + + \ No newline at end of file diff --git a/src/main/java/net/fabricmc/ryantlg/blockClasses/elon.java b/src/main/java/net/fabricmc/ryantlg/blockClasses/elon.java new file mode 100755 index 0000000..b96a7fd --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/blockClasses/elon.java @@ -0,0 +1,34 @@ +package net.fabricmc.ryantlg.blockClasses; + +import net.minecraft.block.Block; +import net.fabricmc.ryantlg.sounds; +import net.minecraft.block.BlockState; +import net.minecraft.entity.player.PlayerEntity; +import net.minecraft.sound.SoundCategory; +import net.minecraft.util.ActionResult; +import net.minecraft.util.Hand; +import net.minecraft.util.hit.BlockHitResult; +import net.minecraft.util.math.BlockPos; +import net.minecraft.world.World; + +public class elon extends Block{ + + public elon(Settings settings) { + super(settings); + } + + @Override + public ActionResult onUse(BlockState blockState, World world, BlockPos blockPos, PlayerEntity placedBy, Hand hand, BlockHitResult blockHitResult) { + if (!world.isClient) { + world.playSound( + null, // Player - if non-null, will play sound for every nearby player *except* the specified player + blockPos, // The position of where the sound will come from + sounds.ELON_SOUND_EVENT, // The sound that will play + SoundCategory.BLOCKS, // This determines which of the volume sliders affect this sound + 1f, //Volume multiplier, 1 is normal, 0.5 is half volume, etc + 1f // Pitch multiplier, 1 is normal, 0.5 is half pitch, etc + ); + } + return ActionResult.FAIL; + } +} diff --git a/src/main/java/net/fabricmc/ryantlg/blockClasses/oriumBlock.java b/src/main/java/net/fabricmc/ryantlg/blockClasses/oriumBlock.java new file mode 100644 index 0000000..78e8de4 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/blockClasses/oriumBlock.java @@ -0,0 +1,22 @@ +package net.fabricmc.ryantlg.blockClasses; + +import java.util.List; + +import net.minecraft.block.Block; +import net.minecraft.client.item.TooltipContext; +import net.minecraft.item.ItemStack; +import net.minecraft.text.Text; +import net.minecraft.text.TranslatableText; +import net.minecraft.util.Formatting; +import net.minecraft.world.BlockView; + +public class oriumBlock extends Block{ + + public oriumBlock(Settings settings) { + super(settings); + } + @Override +public void appendTooltip(ItemStack itemStack, BlockView world, List tooltip, TooltipContext tooltipContext) { + tooltip.add( new TranslatableText("block.gamermod.orium.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) ); +} +} diff --git a/src/main/java/net/fabricmc/ryantlg/blocks/CropBlocks.java b/src/main/java/net/fabricmc/ryantlg/blocks/CropBlocks.java new file mode 100755 index 0000000..1f5ab98 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/blocks/CropBlocks.java @@ -0,0 +1,21 @@ +package net.fabricmc.ryantlg.blocks; + +import net.fabricmc.ryantlg.gamermod; +import net.fabricmc.ryantlg.blockClasses.WeemCropBlock; +import net.minecraft.block.AbstractBlock; +import net.minecraft.block.CropBlock; +import net.minecraft.block.Material; +import net.minecraft.sound.BlockSoundGroup; +import net.minecraft.util.Identifier; +import net.minecraft.util.registry.Registry; + +public class CropBlocks { + public static final CropBlock WEEM_CROP_BLOCK = new WeemCropBlock(AbstractBlock.Settings.of(Material.PLANT).nonOpaque().noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP)); + + public static void register() { + + Registry.register(Registry.BLOCK, new Identifier("gamermod","weem_crop_block"), WEEM_CROP_BLOCK); + + gamermod.LOGGER.info("CropBlocks loaded"); + } +} diff --git a/src/main/java/net/fabricmc/ryantlg/blocks/FunnyBlocks.java b/src/main/java/net/fabricmc/ryantlg/blocks/FunnyBlocks.java new file mode 100755 index 0000000..dcb48af --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/blocks/FunnyBlocks.java @@ -0,0 +1,28 @@ +package net.fabricmc.ryantlg.blocks; + +import net.fabricmc.fabric.api.item.v1.FabricItemSettings; +import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings; +import net.fabricmc.ryantlg.gamermod; +import net.fabricmc.ryantlg.blockClasses.Damon; +import net.fabricmc.ryantlg.blockClasses.elon; +import net.minecraft.block.Block; +import net.minecraft.block.Material; +import net.minecraft.item.BlockItem; +import net.minecraft.util.Identifier; +import net.minecraft.util.registry.Registry; + +public class FunnyBlocks { + public static final Block MATT_DAMON = new Damon(FabricBlockSettings.of(Material.BARRIER).strength(4.0f, -1F)); + public static final Block ELON_MUSK = new elon(FabricBlockSettings.of(Material.BARRIER).strength(4.0f, -1F)); + + public static void register() { + + Registry.register(Registry.BLOCK, new Identifier("gamermod", "matt_damon"), MATT_DAMON); + Registry.register(Registry.ITEM, new Identifier("gamermod", "matt_damon"), new BlockItem(MATT_DAMON, new FabricItemSettings().group(gamermod.FNUTS))); + + Registry.register(Registry.BLOCK, new Identifier("gamermod", "elon_musk"), ELON_MUSK); + Registry.register(Registry.ITEM, new Identifier("gamermod", "elon_musk"), new BlockItem(ELON_MUSK, new FabricItemSettings().group(gamermod.FNUTS))); + + gamermod.LOGGER.info("FunnyBlocks loaded"); + } +} diff --git a/src/main/java/net/fabricmc/ryantlg/blocks/omniumBlocks.java b/src/main/java/net/fabricmc/ryantlg/blocks/omniumBlocks.java new file mode 100755 index 0000000..884b4b9 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/blocks/omniumBlocks.java @@ -0,0 +1,25 @@ +package net.fabricmc.ryantlg.blocks; + +import net.fabricmc.fabric.api.item.v1.FabricItemSettings; +import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings; +import net.fabricmc.ryantlg.gamermod; +import net.minecraft.block.Block; +import net.minecraft.block.Material; +import net.minecraft.item.BlockItem; +import net.minecraft.util.Identifier; +import net.minecraft.util.registry.Registry; + +public class omniumBlocks { + public static final Block OMNIUM_ORE = new Block(FabricBlockSettings.of(Material.STONE).strength(4.0f).requiresTool()); + public static final Block OMNIUM_BLOCK = new Block(FabricBlockSettings.of(Material.METAL).strength(4.0f).requiresTool()); + + public static void register() { + + Registry.register(Registry.BLOCK, new Identifier("gamermod", "omnium_ore"), OMNIUM_ORE); + Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_ore"), new BlockItem(OMNIUM_ORE, new FabricItemSettings().group(gamermod.CHING))); + Registry.register(Registry.BLOCK, new Identifier("gamermod", "omnium_block"), OMNIUM_BLOCK); + Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_block"), new BlockItem(OMNIUM_BLOCK, new FabricItemSettings().group(gamermod.CHING))); + + gamermod.LOGGER.info("omniumBlocks loaded"); + } +} diff --git a/src/main/java/net/fabricmc/ryantlg/blocks/oriumBlocks.java b/src/main/java/net/fabricmc/ryantlg/blocks/oriumBlocks.java new file mode 100644 index 0000000..279e009 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/blocks/oriumBlocks.java @@ -0,0 +1,28 @@ +package net.fabricmc.ryantlg.blocks; + +import net.fabricmc.fabric.api.item.v1.FabricItemSettings; +import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings; +import net.fabricmc.ryantlg.gamermod; +import net.fabricmc.ryantlg.blockClasses.oriumBlock; +import net.minecraft.block.Block; +import net.minecraft.block.Material; +import net.minecraft.item.BlockItem; +import net.minecraft.util.Identifier; +import net.minecraft.util.Rarity; +import net.minecraft.util.registry.Registry; + +public class oriumBlocks { + public static final Block ORIUM_ORE = new oriumBlock(FabricBlockSettings.of(Material.STONE).strength(4.0f).requiresTool()); + public static final Block ORIUM_BLOCK = new oriumBlock(FabricBlockSettings.of(Material.METAL).strength(4.0f).requiresTool()); + + public static void register() { + + Registry.register(Registry.BLOCK, new Identifier("gamermod", "orium_ore"), ORIUM_ORE); + Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_ore"), new BlockItem(ORIUM_ORE, new FabricItemSettings().group(gamermod.CHING).rarity(Rarity.UNCOMMON))); + Registry.register(Registry.BLOCK, new Identifier("gamermod", "orium_block"), ORIUM_BLOCK); + Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_block"), new BlockItem(ORIUM_BLOCK, new FabricItemSettings().group(gamermod.CHING).rarity(Rarity.UNCOMMON))); + + gamermod.LOGGER.info("oriumBlocks loaded"); + } + +} diff --git a/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/generic/CSTAxeItem.java b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/generic/CSTAxeItem.java new file mode 100755 index 0000000..ea66b6f --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/generic/CSTAxeItem.java @@ -0,0 +1,10 @@ +package net.fabricmc.ryantlg.customToolItemClasses.generic; + +import net.minecraft.item.AxeItem; +import net.minecraft.item.ToolMaterial; + +public class CSTAxeItem extends AxeItem { + public CSTAxeItem(ToolMaterial material, int attackDamage, float attackSpeed, Settings settings) { + super(material, attackDamage, attackSpeed, settings); + } +} \ No newline at end of file diff --git a/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/generic/CSTHoeItem.java b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/generic/CSTHoeItem.java new file mode 100755 index 0000000..f46fb5b --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/generic/CSTHoeItem.java @@ -0,0 +1,11 @@ +package net.fabricmc.ryantlg.customToolItemClasses.generic; + +import net.minecraft.item.HoeItem; + +import net.minecraft.item.ToolMaterial; + +public class CSTHoeItem extends HoeItem { + public CSTHoeItem(ToolMaterial material, int attackDamage, float attackSpeed, Settings settings) { + super(material, attackDamage, attackSpeed, settings); + } +} \ No newline at end of file diff --git a/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/generic/CSTPickaxeItem.java b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/generic/CSTPickaxeItem.java new file mode 100755 index 0000000..b747801 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/generic/CSTPickaxeItem.java @@ -0,0 +1,10 @@ +package net.fabricmc.ryantlg.customToolItemClasses.generic; + +import net.minecraft.item.PickaxeItem; +import net.minecraft.item.ToolMaterial; + +public class CSTPickaxeItem extends PickaxeItem { + public CSTPickaxeItem(ToolMaterial material, int attackDamage, float attackSpeed, Settings settings) { + super(material, attackDamage, attackSpeed, settings); + } +} \ No newline at end of file diff --git a/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/omnium/OmniumAxeItem.java b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/omnium/OmniumAxeItem.java new file mode 100755 index 0000000..a593f78 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/omnium/OmniumAxeItem.java @@ -0,0 +1,12 @@ +package net.fabricmc.ryantlg.customToolItemClasses.omnium; + +import net.minecraft.item.AxeItem; +import net.minecraft.item.ToolMaterial; + +public class OmniumAxeItem extends AxeItem { + + public OmniumAxeItem(ToolMaterial material, float attackDamage, float attackSpeed, Settings settings) { + super(material, attackDamage, attackSpeed, settings); + } + +} diff --git a/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/omnium/OmniumHoeItem.java b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/omnium/OmniumHoeItem.java new file mode 100755 index 0000000..b93d29f --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/omnium/OmniumHoeItem.java @@ -0,0 +1,12 @@ +package net.fabricmc.ryantlg.customToolItemClasses.omnium; + +import net.minecraft.item.HoeItem; +import net.minecraft.item.ToolMaterial; + +public class OmniumHoeItem extends HoeItem{ + + public OmniumHoeItem(ToolMaterial material, int attackDamage, float attackSpeed, Settings settings) { + super(material, attackDamage, attackSpeed, settings); + } + +} diff --git a/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/omnium/OmniumPickaxeItem.java b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/omnium/OmniumPickaxeItem.java new file mode 100755 index 0000000..9f24b98 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/omnium/OmniumPickaxeItem.java @@ -0,0 +1,12 @@ +package net.fabricmc.ryantlg.customToolItemClasses.omnium; + +import net.minecraft.item.PickaxeItem; +import net.minecraft.item.ToolMaterial; + +public class OmniumPickaxeItem extends PickaxeItem{ + + public OmniumPickaxeItem(ToolMaterial material, int attackDamage, float attackSpeed, Settings settings) { + super(material, attackDamage, attackSpeed, settings); + } + +} diff --git a/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/omnium/OmniumShovelItem.java b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/omnium/OmniumShovelItem.java new file mode 100755 index 0000000..c6e413f --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/omnium/OmniumShovelItem.java @@ -0,0 +1,12 @@ +package net.fabricmc.ryantlg.customToolItemClasses.omnium; + +import net.minecraft.item.ShovelItem; +import net.minecraft.item.ToolMaterial; + +public class OmniumShovelItem extends ShovelItem{ + + public OmniumShovelItem(ToolMaterial material, float attackDamage, float attackSpeed, Settings settings) { + super(material, attackDamage, attackSpeed, settings); + } + +} diff --git a/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/omnium/OmniumSwordItem.java b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/omnium/OmniumSwordItem.java new file mode 100755 index 0000000..02df487 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/omnium/OmniumSwordItem.java @@ -0,0 +1,22 @@ +package net.fabricmc.ryantlg.customToolItemClasses.omnium; + +import java.util.List; + +import net.minecraft.client.item.TooltipContext; +import net.minecraft.item.ItemStack; +import net.minecraft.item.SwordItem; +import net.minecraft.item.ToolMaterial; +import net.minecraft.text.Text; +import net.minecraft.text.TranslatableText; +import net.minecraft.util.Formatting; +import net.minecraft.world.World; + +public class OmniumSwordItem extends SwordItem { + public OmniumSwordItem(ToolMaterial material, int attackDamage, float attackSpeed, Settings settings) { + super(material, attackDamage, attackSpeed, settings); + } + @Override + public void appendTooltip(ItemStack itemStack, World world, List tooltip, TooltipContext tooltipContext) { + tooltip.add( new TranslatableText("item.gamermod.omnium_sword.tooltip").formatted(Formatting.DARK_PURPLE, Formatting.ITALIC) ); +} +} diff --git a/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/orium/OriumAxeItem.java b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/orium/OriumAxeItem.java new file mode 100755 index 0000000..2299d1e --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/orium/OriumAxeItem.java @@ -0,0 +1,12 @@ +package net.fabricmc.ryantlg.customToolItemClasses.orium; + +import net.minecraft.item.AxeItem; +import net.minecraft.item.ToolMaterial; + +public class OriumAxeItem extends AxeItem { + + public OriumAxeItem(ToolMaterial material, float attackDamage, float attackSpeed, Settings settings) { + super(material, attackDamage, attackSpeed, settings); + } + +} diff --git a/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/orium/OriumHoeItem.java b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/orium/OriumHoeItem.java new file mode 100755 index 0000000..be2e2aa --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/orium/OriumHoeItem.java @@ -0,0 +1,12 @@ +package net.fabricmc.ryantlg.customToolItemClasses.orium; + +import net.minecraft.item.HoeItem; +import net.minecraft.item.ToolMaterial; + +public class OriumHoeItem extends HoeItem{ + + public OriumHoeItem(ToolMaterial material, int attackDamage, float attackSpeed, Settings settings) { + super(material, attackDamage, attackSpeed, settings); + } + +} diff --git a/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/orium/OriumPickaxeItem.java b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/orium/OriumPickaxeItem.java new file mode 100755 index 0000000..d64ac40 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/orium/OriumPickaxeItem.java @@ -0,0 +1,12 @@ +package net.fabricmc.ryantlg.customToolItemClasses.orium; + +import net.minecraft.item.PickaxeItem; +import net.minecraft.item.ToolMaterial; + +public class OriumPickaxeItem extends PickaxeItem{ + + public OriumPickaxeItem(ToolMaterial material, int attackDamage, float attackSpeed, Settings settings) { + super(material, attackDamage, attackSpeed, settings); + } + +} diff --git a/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/orium/OriumShovelItem.java b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/orium/OriumShovelItem.java new file mode 100755 index 0000000..c816599 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/orium/OriumShovelItem.java @@ -0,0 +1,12 @@ +package net.fabricmc.ryantlg.customToolItemClasses.orium; + +import net.minecraft.item.ShovelItem; +import net.minecraft.item.ToolMaterial; + +public class OriumShovelItem extends ShovelItem{ + + public OriumShovelItem(ToolMaterial material, float attackDamage, float attackSpeed, Settings settings) { + super(material, attackDamage, attackSpeed, settings); + } + +} diff --git a/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/orium/OriumSwordItem.java b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/orium/OriumSwordItem.java new file mode 100755 index 0000000..7f59d5b --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/customToolItemClasses/orium/OriumSwordItem.java @@ -0,0 +1,11 @@ +package net.fabricmc.ryantlg.customToolItemClasses.orium; + +import net.minecraft.item.SwordItem; +import net.minecraft.item.ToolMaterial; + +public class OriumSwordItem extends SwordItem { + public OriumSwordItem(ToolMaterial material, int attackDamage, float attackSpeed, Settings settings) { + super(material, attackDamage, attackSpeed, settings); + } + +} diff --git a/src/main/java/net/fabricmc/ryantlg/gamermod.java b/src/main/java/net/fabricmc/ryantlg/gamermod.java new file mode 100755 index 0000000..93f5e2f --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/gamermod.java @@ -0,0 +1,97 @@ +package net.fabricmc.ryantlg; + +import net.fabricmc.api.ModInitializer; + +import net.fabricmc.fabric.api.client.itemgroup.FabricItemGroupBuilder; +import net.fabricmc.ryantlg.blocks.CropBlocks; +import net.fabricmc.ryantlg.blocks.FunnyBlocks; +import net.fabricmc.ryantlg.blocks.omniumBlocks; +import net.fabricmc.ryantlg.blocks.oriumBlocks; +import net.fabricmc.ryantlg.items.armour.omniumArmour; +import net.fabricmc.ryantlg.items.armour.oriumArmour; +import net.fabricmc.ryantlg.items.itemsByCrop.weemItems; +import net.fabricmc.ryantlg.items.metalItems.jeremiumMetals; +import net.fabricmc.ryantlg.items.metalItems.omniumMetals; +import net.fabricmc.ryantlg.items.metalItems.oriumMetals; +import net.fabricmc.ryantlg.items.miscItems.FunnyItems; +import net.fabricmc.ryantlg.items.miscItems.OtherItems; +import net.fabricmc.ryantlg.items.miscItems.fabricOfReality; +import net.fabricmc.ryantlg.items.tools.omniumTools; +import net.fabricmc.ryantlg.items.tools.oriumTools; +import net.fabricmc.ryantlg.lootTables.grassVanillaWeem; +import net.fabricmc.ryantlg.worldGeneration.OmniumOreGen; +import net.fabricmc.ryantlg.worldGeneration.OriumOreGen; +import net.minecraft.item.ItemGroup; +import net.minecraft.item.ItemStack; +import net.minecraft.item.Items; +import net.minecraft.util.Identifier; + +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; + +public class gamermod implements ModInitializer { + + public static final Logger LOGGER = LogManager.getLogger("gamermod"); + + + public static final ItemGroup FNUTS = FabricItemGroupBuilder.build( + new Identifier("gamermod", "fuck"), + () -> new ItemStack(Items.NETHERITE_INGOT) + ); + + public static final ItemGroup CHING = FabricItemGroupBuilder.create( + new Identifier("gamermod", "things")) + .icon(() -> new ItemStack(FunnyItems.DEEZ_NUTS_ON_CHIN)) + .build(); + + public static final ItemGroup THING = FabricItemGroupBuilder.create( + new Identifier("gamermod", "armour_and_tools")) + .icon(() -> new ItemStack(omniumMetals.OMNIUM)) + .build(); + + // dims portals + //=================================================== + + // JUST FUCKING KIDDING THE FUCKING API AINT WORKING + // I WANT TO FUCKING KILL A CHILD WITH A RAZER SHARP + // FUCKING BLADE THAT WILL END THE FUCKING WORLD AND + // RIP THE FABRICS OF REALITY APART. DO YOU WANT TO + // SEE THE FABRICS OF REALITY? OF COURSE YOU DO + // THEN RUN /give @p gamermod:fabric_of_reality + + //end + //=================================================== + + @Override + public void onInitialize() { + LOGGER.info("Sup CUNT"); + + omniumMetals.register(); + omniumArmour.register(); + omniumTools.register(); + omniumBlocks.register(); + OmniumOreGen.register(); + + weemItems.register(); + + OtherItems.register(); + + FunnyBlocks.register(); + + FunnyItems.register(); + grassVanillaWeem.register(); + + oriumMetals.register(); + oriumBlocks.register(); + oriumArmour.register(); + oriumTools.register(); + OriumOreGen.register(); + + CropBlocks.register(); + + fabricOfReality.register(); + + jeremiumMetals.register(); + } + +} \ No newline at end of file diff --git a/src/main/java/net/fabricmc/ryantlg/gamermodClient.java b/src/main/java/net/fabricmc/ryantlg/gamermodClient.java new file mode 100644 index 0000000..906134f --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/gamermodClient.java @@ -0,0 +1,21 @@ +package net.fabricmc.ryantlg; + +import net.fabricmc.api.ClientModInitializer; +import net.fabricmc.api.EnvType; +import net.fabricmc.api.Environment; +import net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap; +import net.fabricmc.ryantlg.blocks.CropBlocks; +import net.minecraft.client.render.RenderLayer; + +@Environment(EnvType.CLIENT) +public class gamermodClient implements ClientModInitializer{ + + @Override + public void onInitializeClient() { + BlockRenderLayerMap.INSTANCE.putBlocks(RenderLayer.getCutout(), CropBlocks.WEEM_CROP_BLOCK); + + gamermod.LOGGER.info("Client only objects loaded"); + + } + +} diff --git a/src/main/java/net/fabricmc/ryantlg/itemClasses/BreemItem.java b/src/main/java/net/fabricmc/ryantlg/itemClasses/BreemItem.java new file mode 100755 index 0000000..49ae45a --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/itemClasses/BreemItem.java @@ -0,0 +1,24 @@ +package net.fabricmc.ryantlg.itemClasses; + +import java.util.List; + +import net.minecraft.client.item.TooltipContext; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.text.Text; +import net.minecraft.text.TranslatableText; +import net.minecraft.util.Formatting; +import net.minecraft.world.World; + +public class BreemItem extends Item { + + public BreemItem(Settings settings) { + super(settings); + } + + @Override + public void appendTooltip(ItemStack itemStack, World world, List tooltip, TooltipContext tooltipContext) { + + tooltip.add( new TranslatableText("item.gamermod.breem.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) ); +} +} diff --git a/src/main/java/net/fabricmc/ryantlg/itemClasses/FabricReality.java b/src/main/java/net/fabricmc/ryantlg/itemClasses/FabricReality.java new file mode 100644 index 0000000..aea233a --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/itemClasses/FabricReality.java @@ -0,0 +1,25 @@ +package net.fabricmc.ryantlg.itemClasses; + + +import java.util.List; + +import net.minecraft.client.item.TooltipContext; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.text.Text; +import net.minecraft.text.TranslatableText; +import net.minecraft.util.Formatting; +import net.minecraft.world.World; + +public class FabricReality extends Item{ + + public FabricReality(Settings settings) { + super(settings); + } + @Override + public void appendTooltip(ItemStack itemStack, World world, List tooltip, TooltipContext tooltipContext) { + + tooltip.add( new TranslatableText("item.gamermod.fabric_of_reality.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) ); + + } +} diff --git a/src/main/java/net/fabricmc/ryantlg/itemClasses/WeemItem.java b/src/main/java/net/fabricmc/ryantlg/itemClasses/WeemItem.java new file mode 100755 index 0000000..d356cae --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/itemClasses/WeemItem.java @@ -0,0 +1,24 @@ +package net.fabricmc.ryantlg.itemClasses; + +import java.util.List; + +import net.minecraft.client.item.TooltipContext; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.text.Text; +import net.minecraft.text.TranslatableText; +import net.minecraft.util.Formatting; +import net.minecraft.world.World; + +public class WeemItem extends Item { + + public WeemItem(Settings settings) { + super(settings); + } + + @Override + public void appendTooltip(ItemStack itemStack, World world, List tooltip, TooltipContext tooltipContext) { + + tooltip.add( new TranslatableText("item.gamermod.weem.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) ); +} +} diff --git a/src/main/java/net/fabricmc/ryantlg/itemClasses/oriumItem.java b/src/main/java/net/fabricmc/ryantlg/itemClasses/oriumItem.java new file mode 100644 index 0000000..ef46008 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/itemClasses/oriumItem.java @@ -0,0 +1,25 @@ +package net.fabricmc.ryantlg.itemClasses; + +import java.util.List; + +import net.minecraft.client.item.TooltipContext; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.text.Text; +import net.minecraft.text.TranslatableText; +import net.minecraft.util.Formatting; +import net.minecraft.world.World; + +public class oriumItem extends Item{ + + public oriumItem(Settings settings) { + super(settings); + } + + @Override + public void appendTooltip(ItemStack itemStack, World world, List tooltip, TooltipContext tooltipContext) { + + tooltip.add( new TranslatableText("item.gamermod.orium.tooltip").formatted(Formatting.LIGHT_PURPLE, Formatting.ITALIC) ); + + } +} diff --git a/src/main/java/net/fabricmc/ryantlg/items/armour/omniumArmour.java b/src/main/java/net/fabricmc/ryantlg/items/armour/omniumArmour.java new file mode 100755 index 0000000..043c076 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/items/armour/omniumArmour.java @@ -0,0 +1,31 @@ +package net.fabricmc.ryantlg.items.armour; + +import net.minecraft.util.registry.Registry; +import net.fabricmc.ryantlg.gamermod; +import net.fabricmc.ryantlg.armourMaterials.OmniumArmorMaterial; +import net.minecraft.entity.EquipmentSlot; +import net.minecraft.item.ArmorItem; +import net.minecraft.item.ArmorMaterial; +import net.minecraft.item.Item; +import net.minecraft.util.Identifier; +import net.minecraft.util.Rarity; + +public class omniumArmour { + + public static final ArmorMaterial OMNIUM_ARMOR_MATERIAL = new OmniumArmorMaterial(); + public static final Item OMNIUM_HELMET = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.HEAD, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC)); + public static final Item OMNIUM_CHESTPLATE = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.CHEST, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC)); + public static final Item OMNIUM_LEGGINGS = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.LEGS, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC)); + public static final Item OMNIUM_BOOTS = new ArmorItem(OMNIUM_ARMOR_MATERIAL, EquipmentSlot.FEET, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.EPIC)); + + public static void register() { + + Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_helmet"), OMNIUM_HELMET); + Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_chestplate"), OMNIUM_CHESTPLATE); + Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_leggings"), OMNIUM_LEGGINGS); + Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_boots"), OMNIUM_BOOTS); + + gamermod.LOGGER.info("omniumArmour loaded"); + } + +} diff --git a/src/main/java/net/fabricmc/ryantlg/items/armour/oriumArmour.java b/src/main/java/net/fabricmc/ryantlg/items/armour/oriumArmour.java new file mode 100644 index 0000000..50421e0 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/items/armour/oriumArmour.java @@ -0,0 +1,29 @@ +package net.fabricmc.ryantlg.items.armour; + +import net.minecraft.util.registry.Registry; +import net.fabricmc.ryantlg.gamermod; +import net.fabricmc.ryantlg.armourMaterials.OriumArmorMaterial; +import net.minecraft.entity.EquipmentSlot; +import net.minecraft.item.ArmorItem; +import net.minecraft.item.ArmorMaterial; +import net.minecraft.item.Item; +import net.minecraft.util.Identifier; +import net.minecraft.util.Rarity; + +public class oriumArmour { + public static final ArmorMaterial ORIUM_ARMOR_MATERIAL = new OriumArmorMaterial(); + public static final Item ORIUM_HELMET = new ArmorItem(ORIUM_ARMOR_MATERIAL, EquipmentSlot.HEAD, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.RARE)); + public static final Item ORIUM_CHESTPLATE = new ArmorItem(ORIUM_ARMOR_MATERIAL, EquipmentSlot.CHEST, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.RARE)); + public static final Item ORIUM_LEGGINGS = new ArmorItem(ORIUM_ARMOR_MATERIAL, EquipmentSlot.LEGS, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.RARE)); + public static final Item ORIUM_BOOTS = new ArmorItem(ORIUM_ARMOR_MATERIAL, EquipmentSlot.FEET, new Item.Settings().group(gamermod.THING).fireproof().rarity(Rarity.RARE)); + + public static void register() { + + Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_helmet"), ORIUM_HELMET); + Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_chestplate"), ORIUM_CHESTPLATE); + Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_leggings"), ORIUM_LEGGINGS); + Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_boots"), ORIUM_BOOTS); + + gamermod.LOGGER.info("oriumArmour loaded"); + } +} diff --git a/src/main/java/net/fabricmc/ryantlg/items/itemsByCrop/weemItems.java b/src/main/java/net/fabricmc/ryantlg/items/itemsByCrop/weemItems.java new file mode 100755 index 0000000..dc4f28a --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/items/itemsByCrop/weemItems.java @@ -0,0 +1,71 @@ +package net.fabricmc.ryantlg.items.itemsByCrop; + +import net.fabricmc.fabric.api.item.v1.FabricItemSettings; +import net.fabricmc.ryantlg.gamermod; +import net.fabricmc.ryantlg.itemClasses.BreemItem; +import net.fabricmc.ryantlg.itemClasses.WeemItem; +import net.minecraft.entity.effect.StatusEffectInstance; +import net.minecraft.entity.effect.StatusEffects; +import net.minecraft.item.FoodComponent; +import net.minecraft.item.Item; +import net.minecraft.util.Identifier; +import net.minecraft.util.registry.Registry; +import net.fabricmc.ryantlg.blocks.CropBlocks; +import net.minecraft.item.AliasedBlockItem; + +public class weemItems { + +//main items +//================================================================================================================ + public static final Item WEEM = new Item(new Item.Settings().group(gamermod.CHING).maxCount(64)); + +// foods +//================================================================================================================ + public static final Item BREEM = new BreemItem(new FabricItemSettings().group(gamermod.CHING) + .food( + new FoodComponent + .Builder() + .hunger(11) + .saturationModifier(013f) + .alwaysEdible() + .meat() + .snack() + .statusEffect(new StatusEffectInstance(StatusEffects.LEVITATION, 20*7), 1f) + .statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 20*8), 1f) + .build() + )); + + public static final Item WEEM_APPLE = new WeemItem(new FabricItemSettings().group(gamermod.CHING) + .food( + new FoodComponent + .Builder() + .hunger(11) + .saturationModifier(013f) + .alwaysEdible() + .statusEffect(new StatusEffectInstance(StatusEffects.LEVITATION, 20*9), 1f) + .statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 20*30, 3), 1f) + .statusEffect(new StatusEffectInstance(StatusEffects.STRENGTH, 20*150, 2), 1f) + .statusEffect(new StatusEffectInstance(StatusEffects.RESISTANCE, 20*150, 2), 1f) + .statusEffect(new StatusEffectInstance(StatusEffects.ABSORPTION, 20*160, 3), 1f) + .statusEffect(new StatusEffectInstance(StatusEffects.FIRE_RESISTANCE, 20*160), 1f) + .build() + )); +//================================================================================================================ + +//seeds +//================================================================================================================ + public static final Item WEEM_SEEDS = new AliasedBlockItem(CropBlocks.WEEM_CROP_BLOCK, new Item.Settings().group(gamermod.CHING)); + + + public static void register() { + + Registry.register(Registry.ITEM, new Identifier("gamermod", "breem"), BREEM); + Registry.register(Registry.ITEM, new Identifier("gamermod", "weem_apple"), WEEM_APPLE); + + Registry.register(Registry.ITEM, new Identifier("gamermod","weem_seeds"), WEEM_SEEDS); + Registry.register(Registry.ITEM, new Identifier("gamermod", "weem"), WEEM); + + gamermod.LOGGER.info("weemItems loaded"); + } + +} diff --git a/src/main/java/net/fabricmc/ryantlg/items/metalItems/jeremiumMetals.java b/src/main/java/net/fabricmc/ryantlg/items/metalItems/jeremiumMetals.java new file mode 100644 index 0000000..c516d1b --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/items/metalItems/jeremiumMetals.java @@ -0,0 +1,19 @@ +package net.fabricmc.ryantlg.items.metalItems; + +import net.fabricmc.ryantlg.gamermod; +import net.minecraft.item.Item; +import net.minecraft.util.Identifier; +import net.minecraft.util.Rarity; +import net.minecraft.util.registry.Registry; + +public class jeremiumMetals { + + public static final Item JEREMIUM = new Item(new Item.Settings().fireproof().group(gamermod.CHING).maxCount(128).rarity(Rarity.EPIC)); + + public static void register() { + Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_ingot"), JEREMIUM); + + gamermod.LOGGER.info("jeremiumMetals loaded"); + } + +} diff --git a/src/main/java/net/fabricmc/ryantlg/items/metalItems/omniumMetals.java b/src/main/java/net/fabricmc/ryantlg/items/metalItems/omniumMetals.java new file mode 100755 index 0000000..d0c6351 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/items/metalItems/omniumMetals.java @@ -0,0 +1,20 @@ +package net.fabricmc.ryantlg.items.metalItems; + +import net.fabricmc.ryantlg.gamermod; +import net.minecraft.item.Item; +import net.minecraft.util.Identifier; +import net.minecraft.util.Rarity; +import net.minecraft.util.registry.Registry; + +public class omniumMetals { + + public static final Item OMNIUM = new Item(new Item.Settings().group(gamermod.CHING).maxCount(64).fireproof().rarity(Rarity.RARE)); + public static final Item RAW_OMNIUM = new Item(new Item.Settings().group(gamermod.CHING).maxCount(64).fireproof().rarity(Rarity.RARE)); + + public static void register() { + Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_ingot"), OMNIUM); + Registry.register(Registry.ITEM, new Identifier("gamermod", "raw_omnium"), RAW_OMNIUM); + + gamermod.LOGGER.info("omniumMetals loaded"); + } +} diff --git a/src/main/java/net/fabricmc/ryantlg/items/metalItems/oriumMetals.java b/src/main/java/net/fabricmc/ryantlg/items/metalItems/oriumMetals.java new file mode 100644 index 0000000..f165084 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/items/metalItems/oriumMetals.java @@ -0,0 +1,21 @@ +package net.fabricmc.ryantlg.items.metalItems; + +import net.fabricmc.ryantlg.gamermod; +import net.fabricmc.ryantlg.itemClasses.oriumItem; +import net.minecraft.item.Item; +import net.minecraft.util.Identifier; +import net.minecraft.util.Rarity; +import net.minecraft.util.registry.Registry; + +public class oriumMetals { + + public static final Item ORIUM = new oriumItem(new Item.Settings().group(gamermod.CHING).maxCount(64).fireproof().rarity(Rarity.UNCOMMON)); + public static final Item RAW_ORIUM = new oriumItem(new Item.Settings().group(gamermod.CHING).maxCount(64).fireproof().rarity(Rarity.UNCOMMON)); + + public static void register() { + Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_ingot"), ORIUM); + Registry.register(Registry.ITEM, new Identifier("gamermod", "raw_orium"), RAW_ORIUM); + + gamermod.LOGGER.info("oriumMetals loaded"); + } +} \ No newline at end of file diff --git a/src/main/java/net/fabricmc/ryantlg/items/miscItems/FunnyItems.java b/src/main/java/net/fabricmc/ryantlg/items/miscItems/FunnyItems.java new file mode 100755 index 0000000..3349789 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/items/miscItems/FunnyItems.java @@ -0,0 +1,36 @@ +package net.fabricmc.ryantlg.items.miscItems; + +import net.fabricmc.ryantlg.gamermod; +import net.fabricmc.ryantlg.toolMaterials.deezToolMaterial; +import net.fabricmc.ryantlg.toolMaterials.dragchinToolMaterial; +import net.minecraft.item.Item; +import net.minecraft.item.SwordItem; +import net.minecraft.item.ToolItem; +import net.minecraft.util.Identifier; +import net.minecraft.util.registry.Registry; + +public class FunnyItems { + public static final Item CHIN = new Item(new Item.Settings().group(gamermod.FNUTS).maxCount(4)); + public static final Item NUTS = new Item(new Item.Settings().group(gamermod.FNUTS).maxCount(4)); + public static final Item DEEZ = new Item(new Item.Settings().group(gamermod.FNUTS).maxCount(4)); + public static final Item DEEZ_NUTS = new Item(new Item.Settings().group(gamermod.FNUTS).maxCount(4)); + public static ToolItem DEEZ_NUTS_ON_CHIN = new SwordItem(deezToolMaterial.INSTANCE, 1, -1.0F, new Item.Settings().group(gamermod.FNUTS)); + public static final Item DRAG = new Item(new Item.Settings().group(gamermod.FNUTS).maxCount(4)); + public static ToolItem DRAG_DEEZ_NUTS_ON_CHIN = new SwordItem(dragchinToolMaterial.INSTANCE, 1, -1.0F, new Item.Settings().group(gamermod.FNUTS)); + public static final Item YOUR_MOTHER = new Item(new Item.Settings().group(gamermod.FNUTS).maxCount(1)); + + + public static void register() { + + Registry.register(Registry.ITEM, new Identifier("gamermod", "chin"), CHIN); + Registry.register(Registry.ITEM, new Identifier("gamermod", "nuts"), NUTS); + Registry.register(Registry.ITEM, new Identifier("gamermod", "deez"), DEEZ); + Registry.register(Registry.ITEM, new Identifier("gamermod", "deez_nuts"), DEEZ_NUTS); + Registry.register(Registry.ITEM, new Identifier("gamermod", "deez_nuts_on_your_chin"), DEEZ_NUTS_ON_CHIN); + Registry.register(Registry.ITEM, new Identifier("gamermod", "drag"), DRAG); + Registry.register(Registry.ITEM, new Identifier("gamermod", "drag_deez_nuts_on_your_chin"), DRAG_DEEZ_NUTS_ON_CHIN); + Registry.register(Registry.ITEM, new Identifier("gamermod", "your_mother"), YOUR_MOTHER); + + gamermod.LOGGER.info("FunnyItems loaded"); + } +} diff --git a/src/main/java/net/fabricmc/ryantlg/items/miscItems/OtherItems.java b/src/main/java/net/fabricmc/ryantlg/items/miscItems/OtherItems.java new file mode 100755 index 0000000..59a2a2e --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/items/miscItems/OtherItems.java @@ -0,0 +1,19 @@ +package net.fabricmc.ryantlg.items.miscItems; + +import net.fabricmc.ryantlg.gamermod; +import net.minecraft.item.Item; +import net.minecraft.util.Identifier; +import net.minecraft.util.Rarity; +import net.minecraft.util.registry.Registry; + +public class OtherItems { + + public static final Item NETHERITE_STICK = new Item(new Item.Settings().group(gamermod.CHING).maxCount(64).fireproof().rarity(Rarity.EPIC)); + + public static void register() { + + Registry.register(Registry.ITEM, new Identifier("gamermod", "netherite_stick"), NETHERITE_STICK); + + gamermod.LOGGER.info("OtherItems loaded"); + } +} diff --git a/src/main/java/net/fabricmc/ryantlg/items/miscItems/fabricOfReality.java b/src/main/java/net/fabricmc/ryantlg/items/miscItems/fabricOfReality.java new file mode 100644 index 0000000..d9e3a2c --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/items/miscItems/fabricOfReality.java @@ -0,0 +1,19 @@ +package net.fabricmc.ryantlg.items.miscItems; + +import net.fabricmc.ryantlg.gamermod; +import net.fabricmc.ryantlg.itemClasses.FabricReality; +import net.minecraft.item.Item; +import net.minecraft.util.Identifier; +import net.minecraft.util.registry.Registry; + +public class fabricOfReality { + + public static final Item FABRIC_OF_REALITY = new FabricReality(new Item.Settings().fireproof()); + + public static void register() { + Registry.register(Registry.ITEM, new Identifier("gamermod", "fabric_of_reality"), FABRIC_OF_REALITY); + + gamermod.LOGGER.info("fabricOfReality loaded"); + } + +} diff --git a/src/main/java/net/fabricmc/ryantlg/items/tools/omniumTools.java b/src/main/java/net/fabricmc/ryantlg/items/tools/omniumTools.java new file mode 100755 index 0000000..d9d881d --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/items/tools/omniumTools.java @@ -0,0 +1,34 @@ +package net.fabricmc.ryantlg.items.tools; + +import net.fabricmc.ryantlg.gamermod; +import net.fabricmc.ryantlg.customToolItemClasses.omnium.OmniumAxeItem; +import net.fabricmc.ryantlg.customToolItemClasses.omnium.OmniumHoeItem; +import net.fabricmc.ryantlg.customToolItemClasses.omnium.OmniumPickaxeItem; +import net.fabricmc.ryantlg.customToolItemClasses.omnium.OmniumShovelItem; +import net.fabricmc.ryantlg.customToolItemClasses.omnium.OmniumSwordItem; +import net.fabricmc.ryantlg.toolMaterials.omniumToolMaterial; +import net.minecraft.item.Item; +import net.minecraft.item.ToolItem; +import net.minecraft.util.Identifier; +import net.minecraft.util.Rarity; +import net.minecraft.util.registry.Registry; + +public class omniumTools { + + public static ToolItem OMNIUM_SWORD = new OmniumSwordItem(omniumToolMaterial.INSTANCE, 3, -1.0F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC)); + public static ToolItem OMNIUM_PICKAXE = new OmniumPickaxeItem(omniumToolMaterial.INSTANCE, -9, -2.8F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC)); + public static ToolItem OMNIUM_SHOVEL = new OmniumShovelItem(omniumToolMaterial.INSTANCE, -10, -3.0F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC)); + public static ToolItem OMNIUM_AXE = new OmniumAxeItem(omniumToolMaterial.INSTANCE, 6, -1.9F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC)); + public static ToolItem OMNIUM_HOE = new OmniumHoeItem(omniumToolMaterial.INSTANCE, -11, -3.2F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC)); + + public static void register() { + + Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_sword"), OMNIUM_SWORD); + Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_pickaxe"), OMNIUM_PICKAXE); + Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_shovel"), OMNIUM_SHOVEL); + Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_axe"), OMNIUM_AXE); + Registry.register(Registry.ITEM, new Identifier("gamermod", "omnium_hoe"), OMNIUM_HOE); + + gamermod.LOGGER.info("omniumTools loaded"); + } +} diff --git a/src/main/java/net/fabricmc/ryantlg/items/tools/oriumTools.java b/src/main/java/net/fabricmc/ryantlg/items/tools/oriumTools.java new file mode 100755 index 0000000..e958f02 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/items/tools/oriumTools.java @@ -0,0 +1,34 @@ +package net.fabricmc.ryantlg.items.tools; + +import net.fabricmc.ryantlg.gamermod; +import net.fabricmc.ryantlg.customToolItemClasses.orium.OriumPickaxeItem; +import net.fabricmc.ryantlg.customToolItemClasses.orium.OriumShovelItem; +import net.fabricmc.ryantlg.customToolItemClasses.orium.OriumSwordItem; +import net.fabricmc.ryantlg.customToolItemClasses.orium.OriumAxeItem; +import net.fabricmc.ryantlg.customToolItemClasses.orium.OriumHoeItem; +import net.fabricmc.ryantlg.toolMaterials.oriumToolMaterial; +import net.minecraft.item.Item; +import net.minecraft.item.ToolItem; +import net.minecraft.util.Identifier; +import net.minecraft.util.Rarity; +import net.minecraft.util.registry.Registry; + +public class oriumTools { + + public static ToolItem ORIUM_SWORD = new OriumSwordItem(oriumToolMaterial.INSTANCE, 2, -2.2F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.RARE)); + public static ToolItem ORIUM_PICKAXE = new OriumPickaxeItem(oriumToolMaterial.INSTANCE, -3, -2.8F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.RARE)); + public static ToolItem ORIUM_SHOVEL = new OriumShovelItem(oriumToolMaterial.INSTANCE, -2.5F, -3.0F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.RARE)); + public static ToolItem ORIUM_AXE = new OriumAxeItem(oriumToolMaterial.INSTANCE, 4, -1.9F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.RARE)); + public static ToolItem ORIUM_HOE = new OriumHoeItem(oriumToolMaterial.INSTANCE, -8, -3.2F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.RARE)); + + public static void register() { + + Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_sword"), ORIUM_SWORD); + Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_pickaxe"), ORIUM_PICKAXE); + Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_shovel"), ORIUM_SHOVEL); + Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_axe"), ORIUM_AXE); + Registry.register(Registry.ITEM, new Identifier("gamermod", "orium_hoe"), ORIUM_HOE); + + gamermod.LOGGER.info("oriumTools loaded"); + } +} diff --git a/src/main/java/net/fabricmc/ryantlg/lootTables/grassVanillaWeem.java b/src/main/java/net/fabricmc/ryantlg/lootTables/grassVanillaWeem.java new file mode 100755 index 0000000..52e231b --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/lootTables/grassVanillaWeem.java @@ -0,0 +1,38 @@ +package net.fabricmc.ryantlg.lootTables; + +import net.fabricmc.fabric.api.loot.v1.FabricLootPoolBuilder; +import net.fabricmc.fabric.api.loot.v1.event.LootTableLoadingCallback; +import net.fabricmc.ryantlg.gamermod; +import net.fabricmc.ryantlg.items.itemsByCrop.weemItems; +import net.minecraft.loot.condition.RandomChanceLootCondition; +import net.minecraft.loot.entry.ItemEntry; +import net.minecraft.loot.function.SetCountLootFunction; +import net.minecraft.loot.provider.number.ConstantLootNumberProvider; +import net.minecraft.util.Identifier; + +public class grassVanillaWeem { + + private static final Identifier GRASS_LOOT_TABLE_ID = new Identifier("minecraft", "blocks/grass"); + + private static void modifyLootTables() { + LootTableLoadingCallback.EVENT.register(((resourceManager, manager, id, supplier, setter) -> { + + if (GRASS_LOOT_TABLE_ID.equals(id)) { + FabricLootPoolBuilder weemSeed = FabricLootPoolBuilder.builder() + .rolls(ConstantLootNumberProvider.create(1)) + .with(ItemEntry.builder(weemItems.WEEM_SEEDS)) + .withFunction(SetCountLootFunction.builder(ConstantLootNumberProvider.create(1.0f)).build()) + .conditionally(RandomChanceLootCondition.builder(0.04f)); + supplier.withPool(weemSeed.build()); + + } + + })); + } + + public static void register() { + modifyLootTables(); + + gamermod.LOGGER.info("grassVanillaWeem loaded"); + } +} diff --git a/src/main/java/net/fabricmc/ryantlg/mixin/GamerMixin.java b/src/main/java/net/fabricmc/ryantlg/mixin/GamerMixin.java new file mode 100755 index 0000000..87743b0 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/mixin/GamerMixin.java @@ -0,0 +1,16 @@ +package net.fabricmc.ryantlg.mixin; + +import net.fabricmc.ryantlg.gamermod; +import net.minecraft.client.gui.screen.TitleScreen; +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.injection.At; +import org.spongepowered.asm.mixin.injection.Inject; +import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; + +@Mixin(TitleScreen.class) +public class GamerMixin { + @Inject(at = @At("HEAD"), method = "init()V") + private void init(CallbackInfo info) { + gamermod.LOGGER.info("fuck you"); + } +} diff --git a/src/main/java/net/fabricmc/ryantlg/sounds.java b/src/main/java/net/fabricmc/ryantlg/sounds.java new file mode 100755 index 0000000..b72182c --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/sounds.java @@ -0,0 +1,24 @@ +package net.fabricmc.ryantlg; + +import net.minecraft.sound.SoundEvent; +import net.minecraft.util.Identifier; +import net.minecraft.util.registry.Registry; + +public class sounds { + + public static final Identifier SNIFF = new Identifier("gamermod:sniff"); + public static SoundEvent SNIFF_SOUND_EVENT = new SoundEvent(SNIFF); + public static final Identifier MATT = new Identifier("gamermod:matt"); + public static SoundEvent MATT_SOUND_EVENT = new SoundEvent(MATT); + public static final Identifier ELON = new Identifier("gamermod:elon"); + public static SoundEvent ELON_SOUND_EVENT = new SoundEvent(ELON); + + public static void register() { + gamermod.LOGGER.info("Sounds Loaded"); + + Registry.register(Registry.SOUND_EVENT, sounds.SNIFF, SNIFF_SOUND_EVENT); + Registry.register(Registry.SOUND_EVENT, sounds.MATT, MATT_SOUND_EVENT); + Registry.register(Registry.SOUND_EVENT, sounds.ELON, ELON_SOUND_EVENT); + } + +} diff --git a/src/main/java/net/fabricmc/ryantlg/todo.txt b/src/main/java/net/fabricmc/ryantlg/todo.txt new file mode 100755 index 0000000..5a9cb0a --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/todo.txt @@ -0,0 +1,9 @@ +make gremlinite +make gremlinite armour +make gremlinite tools +nokium +crafting recipes +advancements +argentine +geranine +jeremium \ No newline at end of file diff --git a/src/main/java/net/fabricmc/ryantlg/toolMaterials/deezToolMaterial.java b/src/main/java/net/fabricmc/ryantlg/toolMaterials/deezToolMaterial.java new file mode 100755 index 0000000..144d806 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/toolMaterials/deezToolMaterial.java @@ -0,0 +1,36 @@ +package net.fabricmc.ryantlg.toolMaterials; + +import net.fabricmc.ryantlg.items.miscItems.FunnyItems; +import net.minecraft.item.ToolMaterial; +import net.minecraft.recipe.Ingredient; + +public class deezToolMaterial implements ToolMaterial { + + public static final deezToolMaterial INSTANCE = new deezToolMaterial(); + + @Override + public int getDurability() { + return 42069; + } + @Override + public float getMiningSpeedMultiplier() { + return 5.0F; + } + @Override + public float getAttackDamage() { + return 42.0F; + } + @Override + public int getMiningLevel() { + return 3; + } + @Override + public int getEnchantability() { + return 22; + } + @Override + public Ingredient getRepairIngredient() { + return Ingredient.ofItems(FunnyItems.DEEZ); + } + +} \ No newline at end of file diff --git a/src/main/java/net/fabricmc/ryantlg/toolMaterials/dragchinToolMaterial.java b/src/main/java/net/fabricmc/ryantlg/toolMaterials/dragchinToolMaterial.java new file mode 100755 index 0000000..a0a5d43 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/toolMaterials/dragchinToolMaterial.java @@ -0,0 +1,36 @@ +package net.fabricmc.ryantlg.toolMaterials; + +import net.fabricmc.ryantlg.items.miscItems.FunnyItems; +import net.minecraft.item.ToolMaterial; +import net.minecraft.recipe.Ingredient; + +public class dragchinToolMaterial implements ToolMaterial { + + public static final dragchinToolMaterial INSTANCE = new dragchinToolMaterial(); + + @Override + public int getDurability() { + return 42069420; + } + @Override + public float getMiningSpeedMultiplier() { + return 5.0F; + } + @Override + public float getAttackDamage() { + return 69418.0F; + } + @Override + public int getMiningLevel() { + return 3; + } + @Override + public int getEnchantability() { + return 22; + } + @Override + public Ingredient getRepairIngredient() { + return Ingredient.ofItems(FunnyItems.DEEZ); + } + +} \ No newline at end of file diff --git a/src/main/java/net/fabricmc/ryantlg/toolMaterials/omniumToolMaterial.java b/src/main/java/net/fabricmc/ryantlg/toolMaterials/omniumToolMaterial.java new file mode 100755 index 0000000..f83214a --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/toolMaterials/omniumToolMaterial.java @@ -0,0 +1,36 @@ +package net.fabricmc.ryantlg.toolMaterials; + +import net.fabricmc.ryantlg.items.metalItems.omniumMetals; +import net.minecraft.item.ToolMaterial; +import net.minecraft.recipe.Ingredient; + +public class omniumToolMaterial implements ToolMaterial { + + public static final omniumToolMaterial INSTANCE = new omniumToolMaterial(); + + @Override + public int getDurability() { + return 1780; + } + @Override + public float getMiningSpeedMultiplier() { + return 12.0F; + } + @Override + public float getAttackDamage() { + return 13.0F; + } + @Override + public int getMiningLevel() { + return 4; + } + @Override + public int getEnchantability() { + return 25; + } + @Override + public Ingredient getRepairIngredient() { + return Ingredient.ofItems(omniumMetals.OMNIUM); + } + +} \ No newline at end of file diff --git a/src/main/java/net/fabricmc/ryantlg/toolMaterials/oriumToolMaterial.java b/src/main/java/net/fabricmc/ryantlg/toolMaterials/oriumToolMaterial.java new file mode 100755 index 0000000..6a4fb06 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/toolMaterials/oriumToolMaterial.java @@ -0,0 +1,36 @@ +package net.fabricmc.ryantlg.toolMaterials; + +import net.fabricmc.ryantlg.items.metalItems.oriumMetals; +import net.minecraft.item.ToolMaterial; +import net.minecraft.recipe.Ingredient; + +public class oriumToolMaterial implements ToolMaterial { + + public static final oriumToolMaterial INSTANCE = new oriumToolMaterial(); + + @Override + public int getDurability() { + return 950; + } + @Override + public float getMiningSpeedMultiplier() { + return 8.0F; + } + @Override + public float getAttackDamage() { + return 9.0F; + } + @Override + public int getMiningLevel() { + return 4; + } + @Override + public int getEnchantability() { + return 22; + } + @Override + public Ingredient getRepairIngredient() { + return Ingredient.ofItems(oriumMetals.ORIUM); + } + +} \ No newline at end of file diff --git a/src/main/java/net/fabricmc/ryantlg/worldGeneration/OmniumOreGen.java b/src/main/java/net/fabricmc/ryantlg/worldGeneration/OmniumOreGen.java new file mode 100755 index 0000000..e62ba6c --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/worldGeneration/OmniumOreGen.java @@ -0,0 +1,48 @@ +package net.fabricmc.ryantlg.worldGeneration; + +import net.fabricmc.fabric.api.biome.v1.BiomeModifications; +import net.fabricmc.fabric.api.biome.v1.BiomeSelectors; +import net.fabricmc.ryantlg.gamermod; +import net.fabricmc.ryantlg.blocks.omniumBlocks; +import net.minecraft.util.registry.RegistryKey; +import net.minecraft.world.gen.YOffset; +import net.minecraft.world.gen.GenerationStep; +import net.minecraft.world.gen.decorator.CountPlacementModifier; +import net.minecraft.world.gen.decorator.HeightRangePlacementModifier; +import net.minecraft.world.gen.decorator.SquarePlacementModifier; +import net.minecraft.world.gen.feature.ConfiguredFeature; +import net.minecraft.world.gen.feature.Feature; +import net.minecraft.world.gen.feature.OreConfiguredFeatures; +import net.minecraft.world.gen.feature.OreFeatureConfig; +import net.minecraft.world.gen.feature.PlacedFeature; +import net.minecraft.util.registry.BuiltinRegistries; +import net.minecraft.util.registry.Registry; +import net.minecraft.util.Identifier; + +public class OmniumOreGen { + + private static ConfiguredFeature OMNIUM_ORE_CONFIGURED_FEATURE = Feature.ORE.configure(new OreFeatureConfig( + OreConfiguredFeatures.STONE_ORE_REPLACEABLES, + omniumBlocks.OMNIUM_ORE.getDefaultState(), + 4)); // vein size + + public static PlacedFeature OMNIUM_ORE_PLACED_FEATURE = OMNIUM_ORE_CONFIGURED_FEATURE.withPlacement( + CountPlacementModifier.of(6), // number of veins per chunk + SquarePlacementModifier.of(), // spreading horizontally + HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(28))); // height + + + + public static void register() { + gamermod.LOGGER.info("OmniumOreGen loaded"); + + Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, + new Identifier("gamermod", "omnium_ore"), OMNIUM_ORE_CONFIGURED_FEATURE); + Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gamermod", "omnium_ore"), + OMNIUM_ORE_PLACED_FEATURE); + BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES, + RegistryKey.of(Registry.PLACED_FEATURE_KEY, + new Identifier("gamermod", "omnium_ore"))); + + } +} diff --git a/src/main/java/net/fabricmc/ryantlg/worldGeneration/OriumOreGen.java b/src/main/java/net/fabricmc/ryantlg/worldGeneration/OriumOreGen.java new file mode 100755 index 0000000..d9b6960 --- /dev/null +++ b/src/main/java/net/fabricmc/ryantlg/worldGeneration/OriumOreGen.java @@ -0,0 +1,48 @@ +package net.fabricmc.ryantlg.worldGeneration; + +import net.fabricmc.fabric.api.biome.v1.BiomeModifications; +import net.fabricmc.fabric.api.biome.v1.BiomeSelectors; +import net.fabricmc.ryantlg.gamermod; +import net.fabricmc.ryantlg.blocks.oriumBlocks; +import net.minecraft.util.registry.RegistryKey; +import net.minecraft.world.gen.YOffset; +import net.minecraft.world.gen.GenerationStep; +import net.minecraft.world.gen.decorator.CountPlacementModifier; +import net.minecraft.world.gen.decorator.HeightRangePlacementModifier; +import net.minecraft.world.gen.decorator.SquarePlacementModifier; +import net.minecraft.world.gen.feature.ConfiguredFeature; +import net.minecraft.world.gen.feature.Feature; +import net.minecraft.world.gen.feature.OreConfiguredFeatures; +import net.minecraft.world.gen.feature.OreFeatureConfig; +import net.minecraft.world.gen.feature.PlacedFeature; +import net.minecraft.util.registry.BuiltinRegistries; +import net.minecraft.util.registry.Registry; +import net.minecraft.util.Identifier; + +public class OriumOreGen { + + private static ConfiguredFeature ORIUM_ORE_CONFIGURED_FEATURE = Feature.ORE.configure(new OreFeatureConfig( + OreConfiguredFeatures.STONE_ORE_REPLACEABLES, + oriumBlocks.ORIUM_ORE.getDefaultState(), + 6)); // vein size + + public static PlacedFeature ORIUM_ORE_PLACED_FEATURE = ORIUM_ORE_CONFIGURED_FEATURE.withPlacement( + CountPlacementModifier.of(9), // number of veins per chunk + SquarePlacementModifier.of(), // spreading horizontally + HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(45))); // height + + + + public static void register() { + gamermod.LOGGER.info("OriumOreGen loaded"); + + Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, + new Identifier("gamermod", "orium_ore"), ORIUM_ORE_CONFIGURED_FEATURE); + Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gamermod", "orium_ore"), + ORIUM_ORE_PLACED_FEATURE); + BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES, + RegistryKey.of(Registry.PLACED_FEATURE_KEY, + new Identifier("gamermod", "orium_ore"))); + + } +} diff --git a/src/main/resources/assets/gamermod/blockstates/elon_musk.json b/src/main/resources/assets/gamermod/blockstates/elon_musk.json new file mode 100755 index 0000000..7232adc --- /dev/null +++ b/src/main/resources/assets/gamermod/blockstates/elon_musk.json @@ -0,0 +1,5 @@ +{ + "variants": { + "": { "model": "gamermod:block/elon_musk" } + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/blockstates/matt_damon.json b/src/main/resources/assets/gamermod/blockstates/matt_damon.json new file mode 100755 index 0000000..b7f345e --- /dev/null +++ b/src/main/resources/assets/gamermod/blockstates/matt_damon.json @@ -0,0 +1,5 @@ +{ + "variants": { + "": { "model": "gamermod:block/matt_damon" } + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/blockstates/omnium_block.json b/src/main/resources/assets/gamermod/blockstates/omnium_block.json new file mode 100755 index 0000000..e2c0ce7 --- /dev/null +++ b/src/main/resources/assets/gamermod/blockstates/omnium_block.json @@ -0,0 +1,5 @@ +{ + "variants": { + "": { "model": "gamermod:block/omnium_block" } + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/blockstates/omnium_ore.json b/src/main/resources/assets/gamermod/blockstates/omnium_ore.json new file mode 100755 index 0000000..8355abf --- /dev/null +++ b/src/main/resources/assets/gamermod/blockstates/omnium_ore.json @@ -0,0 +1,5 @@ +{ + "variants": { + "": { "model": "gamermod:block/omnium_ore" } + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/blockstates/orium_block.json b/src/main/resources/assets/gamermod/blockstates/orium_block.json new file mode 100644 index 0000000..1b23dc2 --- /dev/null +++ b/src/main/resources/assets/gamermod/blockstates/orium_block.json @@ -0,0 +1,5 @@ +{ + "variants": { + "": { "model": "gamermod:block/orium_block" } + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/blockstates/orium_ore.json b/src/main/resources/assets/gamermod/blockstates/orium_ore.json new file mode 100644 index 0000000..8fd9655 --- /dev/null +++ b/src/main/resources/assets/gamermod/blockstates/orium_ore.json @@ -0,0 +1,5 @@ +{ + "variants": { + "": { "model": "gamermod:block/orium_ore" } + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/blockstates/weem_crop_block.json b/src/main/resources/assets/gamermod/blockstates/weem_crop_block.json new file mode 100755 index 0000000..db9a58c --- /dev/null +++ b/src/main/resources/assets/gamermod/blockstates/weem_crop_block.json @@ -0,0 +1,28 @@ +{ + "variants": { + "age=0": { + "model": "gamermod:block/weem_crop_stage0" + }, + "age=1": { + "model": "gamermod:block/weem_crop_stage1" + }, + "age=2": { + "model": "gamermod:block/weem_crop_stage2" + }, + "age=3": { + "model": "gamermod:block/weem_crop_stage3" + }, + "age=4": { + "model": "gamermod:block/weem_crop_stage4" + }, + "age=5": { + "model": "gamermod:block/weem_crop_stage5" + }, + "age=6": { + "model": "gamermod:block/weem_crop_stage6" + }, + "age=7": { + "model": "gamermod:block/weem_crop_stage7" + } + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/icon.png b/src/main/resources/assets/gamermod/icon.png new file mode 100755 index 0000000..1cd5117 Binary files /dev/null and b/src/main/resources/assets/gamermod/icon.png differ diff --git a/src/main/resources/assets/gamermod/lang/en_us.json b/src/main/resources/assets/gamermod/lang/en_us.json new file mode 100755 index 0000000..feb865a --- /dev/null +++ b/src/main/resources/assets/gamermod/lang/en_us.json @@ -0,0 +1,53 @@ +{ + "item.gamermod.chin": "your chin", + "itemGroup.gamermod.fuck": "things that go on the chin", + "item.gamermod.nuts": "nuts", + "item.gamermod.deez": "deez", + "item.gamermod.deez_nuts": "deez nuts", + "item.gamermod.deez_nuts_on_your_chin": "deez nuts on your chin", + "item.gamermod.drag": "drag", + "item.gamermod.drag_deez_nuts_on_your_chin": "drag deez nuts on our chin", + "item.gamermod.omnium_ingot": "Omnium Ingot", + "block.gamermod.omnium_ore": "Omnium Ore", + "block.gamermod.omnium_block": "Omnium Block", + "item.gamermod.raw_omnium": "Raw Omnium", + "item.gamermod.your_mother": "your mother", + "block.gamermod.matt_damon": "matt damon", + "item.gamermod.omnium_sword": "Omnium Sword", + "item.gamermod.omnium_pickaxe": "Omnium Pickaxe", + "item.gamermod.omnium_helmet": "Omnium Helmet", + "item.gamermod.omnium_chestplate": "Omnium Chestplate", + "item.gamermod.omnium_leggings": "Omnium Leggings", + "item.gamermod.omnium_boots": "Omnium Boots", + "item.gamermod.omnium_shovel": "Omnium Shovel", + "item.gamermod.omnium_axe": "Omnium Axe", + "item.gamermod.omnium_hoe": "Omnium Hoe", + "item.gamermod.netherite_stick": "Netherite Stick", + "itemGroup.gamermod.things": "ueh, stuff", + "itemGroup.gamermod.armour_and_tools": "Armour, Weapons, and Tools", + "item.gamermod.omnium_sword.tooltip": "Surprisingly lightweight!", + "item.gamermod.weem": "Weem", + "item.gamermod.weem_seeds": "Weem Seeds", + "item.gamermod.breem": "Breem", + "item.gamermod.breem.tooltip": "High as a kite!", + "item.gamermod.weem.tooltip": "Higher than a kite!", + "item.gamermod.weem_apple": "Weem Apple", + "item.gamermod.orium.tooltip": "hahaha ore-ium", + "block.gamermod.orium.tooltip": "hahaha ore-ium", + "item.gamermod.raw_orium": "Raw Orium", + "item.gamermod.orium_ingot": "Orium Ingot", + "block.gamermod.orium_ore": "Orium Ore", + "block.gamermod.orium_block": "Orium Block", + "item.gamermod.orium_helmet": "Orium Helmet", + "item.gamermod.orium_chestplate": "Orium Chestplate", + "item.gamermod.orium_leggings": "Orium Leggings", + "item.gamermod.orium_boots": "Orium Boots", + "item.gamermod.orium_shovel": "Orium Shovel", + "item.gamermod.orium_axe": "Orium Axe", + "item.gamermod.orium_hoe": "Orium Hoe", + "item.gamermod.orium_sword": "Orium Sword", + "item.gamermod.orium_pickaxe": "Orium Pickaxe", + "item.gamermod.fabric_of_reality.tooltip": "Warning: has a chance to get §o§l§4RIPPED§r.", + "item.gamermod.fabric_of_reality": "Fabric of Reality" + +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/block/elon_musk.json b/src/main/resources/assets/gamermod/models/block/elon_musk.json new file mode 100755 index 0000000..541e63b --- /dev/null +++ b/src/main/resources/assets/gamermod/models/block/elon_musk.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cube_all", + "textures": { + "all": "gamermod:block/elon_musk" + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/block/matt_damon.json b/src/main/resources/assets/gamermod/models/block/matt_damon.json new file mode 100755 index 0000000..f863d13 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/block/matt_damon.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cube_all", + "textures": { + "all": "gamermod:block/matt_damon" + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/block/omnium_block.json b/src/main/resources/assets/gamermod/models/block/omnium_block.json new file mode 100755 index 0000000..0e884ac --- /dev/null +++ b/src/main/resources/assets/gamermod/models/block/omnium_block.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cube_all", + "textures": { + "all": "gamermod:block/omnium_block" + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/block/omnium_ore.json b/src/main/resources/assets/gamermod/models/block/omnium_ore.json new file mode 100755 index 0000000..677fcda --- /dev/null +++ b/src/main/resources/assets/gamermod/models/block/omnium_ore.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cube_all", + "textures": { + "all": "gamermod:block/omnium_ore" + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/block/orium_block.json b/src/main/resources/assets/gamermod/models/block/orium_block.json new file mode 100644 index 0000000..3836daf --- /dev/null +++ b/src/main/resources/assets/gamermod/models/block/orium_block.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cube_all", + "textures": { + "all": "gamermod:block/orium_block" + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/block/orium_ore.json b/src/main/resources/assets/gamermod/models/block/orium_ore.json new file mode 100644 index 0000000..f9717f4 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/block/orium_ore.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cube_all", + "textures": { + "all": "gamermod:block/orium_ore" + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/block/weem_crop_stage0.json b/src/main/resources/assets/gamermod/models/block/weem_crop_stage0.json new file mode 100755 index 0000000..d220f24 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/block/weem_crop_stage0.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/crop", + "textures": { + "crop": "gamermod:block/weem_stage0" + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/block/weem_crop_stage1.json b/src/main/resources/assets/gamermod/models/block/weem_crop_stage1.json new file mode 100755 index 0000000..fd620a6 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/block/weem_crop_stage1.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/crop", + "textures": { + "crop": "gamermod:block/weem_stage1" + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/block/weem_crop_stage2.json b/src/main/resources/assets/gamermod/models/block/weem_crop_stage2.json new file mode 100755 index 0000000..e767694 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/block/weem_crop_stage2.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/crop", + "textures": { + "crop": "gamermod:block/weem_stage2" + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/block/weem_crop_stage3.json b/src/main/resources/assets/gamermod/models/block/weem_crop_stage3.json new file mode 100755 index 0000000..bbc6c1f --- /dev/null +++ b/src/main/resources/assets/gamermod/models/block/weem_crop_stage3.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/crop", + "textures": { + "crop": "gamermod:block/weem_stage3" + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/block/weem_crop_stage4.json b/src/main/resources/assets/gamermod/models/block/weem_crop_stage4.json new file mode 100755 index 0000000..f36eced --- /dev/null +++ b/src/main/resources/assets/gamermod/models/block/weem_crop_stage4.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/crop", + "textures": { + "crop": "gamermod:block/weem_stage4" + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/block/weem_crop_stage5.json b/src/main/resources/assets/gamermod/models/block/weem_crop_stage5.json new file mode 100755 index 0000000..4fdd02d --- /dev/null +++ b/src/main/resources/assets/gamermod/models/block/weem_crop_stage5.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/crop", + "textures": { + "crop": "gamermod:block/weem_stage5" + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/block/weem_crop_stage6.json b/src/main/resources/assets/gamermod/models/block/weem_crop_stage6.json new file mode 100755 index 0000000..4cfd414 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/block/weem_crop_stage6.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/crop", + "textures": { + "crop": "gamermod:block/weem_stage6" + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/block/weem_crop_stage7.json b/src/main/resources/assets/gamermod/models/block/weem_crop_stage7.json new file mode 100755 index 0000000..5c1771e --- /dev/null +++ b/src/main/resources/assets/gamermod/models/block/weem_crop_stage7.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/crop", + "textures": { + "crop": "gamermod:block/weem_stage7" + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/breem.json b/src/main/resources/assets/gamermod/models/item/breem.json new file mode 100755 index 0000000..6d1dd2c --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/breem.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/breem" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/chin.json b/src/main/resources/assets/gamermod/models/item/chin.json new file mode 100755 index 0000000..bbaf592 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/chin.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/chin" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/deez.json b/src/main/resources/assets/gamermod/models/item/deez.json new file mode 100755 index 0000000..7db600e --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/deez.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/deez" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/deez_nuts.json b/src/main/resources/assets/gamermod/models/item/deez_nuts.json new file mode 100755 index 0000000..7a49067 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/deez_nuts.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/deez_nuts" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/deez_nuts_on_your_chin.json b/src/main/resources/assets/gamermod/models/item/deez_nuts_on_your_chin.json new file mode 100755 index 0000000..3bcf13c --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/deez_nuts_on_your_chin.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/deez_nuts_on_chin" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/drag.json b/src/main/resources/assets/gamermod/models/item/drag.json new file mode 100755 index 0000000..65d80df --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/drag.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/drag" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/drag_deez_nuts_on_your_chin.json b/src/main/resources/assets/gamermod/models/item/drag_deez_nuts_on_your_chin.json new file mode 100755 index 0000000..b3c4cad --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/drag_deez_nuts_on_your_chin.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/drag_deez_nuts_on_your_chin" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/elon_musk.json b/src/main/resources/assets/gamermod/models/item/elon_musk.json new file mode 100755 index 0000000..bb30e5b --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/elon_musk.json @@ -0,0 +1,3 @@ +{ + "parent": "gamermod:block/elon_musk" + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/fabric_of_reality.json b/src/main/resources/assets/gamermod/models/item/fabric_of_reality.json new file mode 100644 index 0000000..72f90f3 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/fabric_of_reality.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/fabric_of_reality" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/matt_damon.json b/src/main/resources/assets/gamermod/models/item/matt_damon.json new file mode 100755 index 0000000..2b1af03 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/matt_damon.json @@ -0,0 +1,3 @@ +{ + "parent": "gamermod:block/matt_damon" + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/netherite_stick.json b/src/main/resources/assets/gamermod/models/item/netherite_stick.json new file mode 100755 index 0000000..5ee4c4b --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/netherite_stick.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "gamermod:item/netherite_stick" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/nuts.json b/src/main/resources/assets/gamermod/models/item/nuts.json new file mode 100755 index 0000000..0b0bee5 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/nuts.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/nuts" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/omnium_axe.json b/src/main/resources/assets/gamermod/models/item/omnium_axe.json new file mode 100755 index 0000000..8461415 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/omnium_axe.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "gamermod:item/omnium_axe" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/omnium_block.json b/src/main/resources/assets/gamermod/models/item/omnium_block.json new file mode 100755 index 0000000..89a2662 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/omnium_block.json @@ -0,0 +1,3 @@ +{ + "parent": "gamermod:block/omnium_block" + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/omnium_boots.json b/src/main/resources/assets/gamermod/models/item/omnium_boots.json new file mode 100755 index 0000000..7c4bc3d --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/omnium_boots.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/omnium_boots" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/omnium_chestplate.json b/src/main/resources/assets/gamermod/models/item/omnium_chestplate.json new file mode 100755 index 0000000..71fcba4 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/omnium_chestplate.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/omnium_chestplate" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/omnium_helmet.json b/src/main/resources/assets/gamermod/models/item/omnium_helmet.json new file mode 100755 index 0000000..a96d0a2 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/omnium_helmet.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/omnium_helmet" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/omnium_hoe.json b/src/main/resources/assets/gamermod/models/item/omnium_hoe.json new file mode 100755 index 0000000..588db37 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/omnium_hoe.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "gamermod:item/omnium_hoe" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/omnium_ingot.json b/src/main/resources/assets/gamermod/models/item/omnium_ingot.json new file mode 100755 index 0000000..7a73840 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/omnium_ingot.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/omnium" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/omnium_leggings.json b/src/main/resources/assets/gamermod/models/item/omnium_leggings.json new file mode 100755 index 0000000..ebce18e --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/omnium_leggings.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/omnium_leggings" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/omnium_ore.json b/src/main/resources/assets/gamermod/models/item/omnium_ore.json new file mode 100755 index 0000000..21c08a5 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/omnium_ore.json @@ -0,0 +1,3 @@ +{ + "parent": "gamermod:block/omnium_ore" + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/omnium_pickaxe.json b/src/main/resources/assets/gamermod/models/item/omnium_pickaxe.json new file mode 100755 index 0000000..015ed7b --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/omnium_pickaxe.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "gamermod:item/omnium_pickaxe" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/omnium_shovel.json b/src/main/resources/assets/gamermod/models/item/omnium_shovel.json new file mode 100755 index 0000000..f26643f --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/omnium_shovel.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "gamermod:item/omnium_shovel" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/omnium_sword.json b/src/main/resources/assets/gamermod/models/item/omnium_sword.json new file mode 100755 index 0000000..3f5d06c --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/omnium_sword.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "gamermod:item/omnium_sword" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/orium_axe.json b/src/main/resources/assets/gamermod/models/item/orium_axe.json new file mode 100755 index 0000000..87cd740 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/orium_axe.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "gamermod:item/orium_axe" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/orium_block.json b/src/main/resources/assets/gamermod/models/item/orium_block.json new file mode 100644 index 0000000..20548b3 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/orium_block.json @@ -0,0 +1,3 @@ +{ + "parent": "gamermod:block/orium_block" + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/orium_boots.json b/src/main/resources/assets/gamermod/models/item/orium_boots.json new file mode 100644 index 0000000..db8e680 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/orium_boots.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/orium_boots" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/orium_chestplate.json b/src/main/resources/assets/gamermod/models/item/orium_chestplate.json new file mode 100644 index 0000000..b8e167d --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/orium_chestplate.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/orium_chestplate" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/orium_helmet.json b/src/main/resources/assets/gamermod/models/item/orium_helmet.json new file mode 100644 index 0000000..7c19cf0 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/orium_helmet.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/orium_helmet" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/orium_hoe.json b/src/main/resources/assets/gamermod/models/item/orium_hoe.json new file mode 100755 index 0000000..38c086e --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/orium_hoe.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "gamermod:item/orium_hoe" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/orium_ingot.json b/src/main/resources/assets/gamermod/models/item/orium_ingot.json new file mode 100644 index 0000000..29a30b4 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/orium_ingot.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/orium_ingot" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/orium_leggings.json b/src/main/resources/assets/gamermod/models/item/orium_leggings.json new file mode 100644 index 0000000..60bb3ee --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/orium_leggings.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/orium_leggings" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/orium_ore.json b/src/main/resources/assets/gamermod/models/item/orium_ore.json new file mode 100644 index 0000000..5482eee --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/orium_ore.json @@ -0,0 +1,3 @@ +{ + "parent": "gamermod:block/orium_ore" + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/orium_pickaxe.json b/src/main/resources/assets/gamermod/models/item/orium_pickaxe.json new file mode 100755 index 0000000..21cd7e5 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/orium_pickaxe.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "gamermod:item/orium_pickaxe" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/orium_shovel.json b/src/main/resources/assets/gamermod/models/item/orium_shovel.json new file mode 100755 index 0000000..fbca3a5 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/orium_shovel.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "gamermod:item/orium_shovel" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/orium_sword.json b/src/main/resources/assets/gamermod/models/item/orium_sword.json new file mode 100755 index 0000000..1c04dd3 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/orium_sword.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "gamermod:item/orium_sword" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/raw_omnium.json b/src/main/resources/assets/gamermod/models/item/raw_omnium.json new file mode 100755 index 0000000..deed2d0 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/raw_omnium.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/raw_omnium" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/raw_orium.json b/src/main/resources/assets/gamermod/models/item/raw_orium.json new file mode 100644 index 0000000..fd01e66 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/raw_orium.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/raw_orium" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/weem.json b/src/main/resources/assets/gamermod/models/item/weem.json new file mode 100755 index 0000000..8cc8f0a --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/weem.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/weem" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/weem_apple.json b/src/main/resources/assets/gamermod/models/item/weem_apple.json new file mode 100755 index 0000000..f122073 --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/weem_apple.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/weem_apple" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/weem_seeds.json b/src/main/resources/assets/gamermod/models/item/weem_seeds.json new file mode 100755 index 0000000..792367c --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/weem_seeds.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/weem_seeds" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/models/item/your_mother.json b/src/main/resources/assets/gamermod/models/item/your_mother.json new file mode 100755 index 0000000..b86907f --- /dev/null +++ b/src/main/resources/assets/gamermod/models/item/your_mother.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "gamermod:item/your_mother" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/sounds.json b/src/main/resources/assets/gamermod/sounds.json new file mode 100755 index 0000000..f6b2dea --- /dev/null +++ b/src/main/resources/assets/gamermod/sounds.json @@ -0,0 +1,17 @@ +{ + "sniff": { + "sounds": [ + "gamermod:sniff" + ] + }, + "matt": { + "sounds": [ + "gamermod:damon" + ] + }, + "elon": { + "sounds": [ + "gamermod:elon" + ] + } + } \ No newline at end of file diff --git a/src/main/resources/assets/gamermod/sounds/damon.ogg b/src/main/resources/assets/gamermod/sounds/damon.ogg new file mode 100755 index 0000000..a1391fe Binary files /dev/null and b/src/main/resources/assets/gamermod/sounds/damon.ogg differ diff --git a/src/main/resources/assets/gamermod/sounds/elon.ogg b/src/main/resources/assets/gamermod/sounds/elon.ogg new file mode 100755 index 0000000..a539684 Binary files /dev/null and b/src/main/resources/assets/gamermod/sounds/elon.ogg differ diff --git a/src/main/resources/assets/gamermod/sounds/sniff.ogg b/src/main/resources/assets/gamermod/sounds/sniff.ogg new file mode 100755 index 0000000..508e2f6 Binary files /dev/null and b/src/main/resources/assets/gamermod/sounds/sniff.ogg differ diff --git a/src/main/resources/assets/gamermod/textures/block/elon_musk.png b/src/main/resources/assets/gamermod/textures/block/elon_musk.png new file mode 100755 index 0000000..f3d212e Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/block/elon_musk.png differ diff --git a/src/main/resources/assets/gamermod/textures/block/matt_damon.png b/src/main/resources/assets/gamermod/textures/block/matt_damon.png new file mode 100755 index 0000000..221772c Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/block/matt_damon.png differ diff --git a/src/main/resources/assets/gamermod/textures/block/omnium_block.png b/src/main/resources/assets/gamermod/textures/block/omnium_block.png new file mode 100755 index 0000000..25cb287 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/block/omnium_block.png differ diff --git a/src/main/resources/assets/gamermod/textures/block/omnium_ore.png b/src/main/resources/assets/gamermod/textures/block/omnium_ore.png new file mode 100755 index 0000000..be21e0e Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/block/omnium_ore.png differ diff --git a/src/main/resources/assets/gamermod/textures/block/orium_block.png b/src/main/resources/assets/gamermod/textures/block/orium_block.png new file mode 100644 index 0000000..1717718 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/block/orium_block.png differ diff --git a/src/main/resources/assets/gamermod/textures/block/orium_ore.png b/src/main/resources/assets/gamermod/textures/block/orium_ore.png new file mode 100644 index 0000000..bb70308 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/block/orium_ore.png differ diff --git a/src/main/resources/assets/gamermod/textures/block/weem_stage0.png b/src/main/resources/assets/gamermod/textures/block/weem_stage0.png new file mode 100755 index 0000000..4958cf7 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/block/weem_stage0.png differ diff --git a/src/main/resources/assets/gamermod/textures/block/weem_stage1.png b/src/main/resources/assets/gamermod/textures/block/weem_stage1.png new file mode 100755 index 0000000..e93398f Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/block/weem_stage1.png differ diff --git a/src/main/resources/assets/gamermod/textures/block/weem_stage2.png b/src/main/resources/assets/gamermod/textures/block/weem_stage2.png new file mode 100755 index 0000000..31e0b7e Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/block/weem_stage2.png differ diff --git a/src/main/resources/assets/gamermod/textures/block/weem_stage3.png b/src/main/resources/assets/gamermod/textures/block/weem_stage3.png new file mode 100755 index 0000000..8b1d264 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/block/weem_stage3.png differ diff --git a/src/main/resources/assets/gamermod/textures/block/weem_stage4.png b/src/main/resources/assets/gamermod/textures/block/weem_stage4.png new file mode 100755 index 0000000..83b307f Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/block/weem_stage4.png differ diff --git a/src/main/resources/assets/gamermod/textures/block/weem_stage5.png b/src/main/resources/assets/gamermod/textures/block/weem_stage5.png new file mode 100755 index 0000000..8966e94 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/block/weem_stage5.png differ diff --git a/src/main/resources/assets/gamermod/textures/block/weem_stage6.png b/src/main/resources/assets/gamermod/textures/block/weem_stage6.png new file mode 100755 index 0000000..472f031 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/block/weem_stage6.png differ diff --git a/src/main/resources/assets/gamermod/textures/block/weem_stage7.png b/src/main/resources/assets/gamermod/textures/block/weem_stage7.png new file mode 100755 index 0000000..db8b269 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/block/weem_stage7.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/breem.png b/src/main/resources/assets/gamermod/textures/item/breem.png new file mode 100755 index 0000000..38bd35a Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/breem.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/chin.png b/src/main/resources/assets/gamermod/textures/item/chin.png new file mode 100755 index 0000000..5c19ba2 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/chin.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/deez.png b/src/main/resources/assets/gamermod/textures/item/deez.png new file mode 100755 index 0000000..415194f Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/deez.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/deez_nuts.png b/src/main/resources/assets/gamermod/textures/item/deez_nuts.png new file mode 100755 index 0000000..a463509 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/deez_nuts.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/deez_nuts_on_chin.png b/src/main/resources/assets/gamermod/textures/item/deez_nuts_on_chin.png new file mode 100755 index 0000000..b377f1a Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/deez_nuts_on_chin.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/drag.png b/src/main/resources/assets/gamermod/textures/item/drag.png new file mode 100755 index 0000000..5eb0cc2 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/drag.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/drag_deez_nuts_on_your_chin.png b/src/main/resources/assets/gamermod/textures/item/drag_deez_nuts_on_your_chin.png new file mode 100755 index 0000000..836de2b Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/drag_deez_nuts_on_your_chin.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/fabric_of_reality.png b/src/main/resources/assets/gamermod/textures/item/fabric_of_reality.png new file mode 100644 index 0000000..54c77a6 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/fabric_of_reality.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/netherite_stick.png b/src/main/resources/assets/gamermod/textures/item/netherite_stick.png new file mode 100755 index 0000000..38c5aeb Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/netherite_stick.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/nuts.png b/src/main/resources/assets/gamermod/textures/item/nuts.png new file mode 100755 index 0000000..293d1bc Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/nuts.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/omnium.png b/src/main/resources/assets/gamermod/textures/item/omnium.png new file mode 100755 index 0000000..aeaa347 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/omnium.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/omnium_axe.png b/src/main/resources/assets/gamermod/textures/item/omnium_axe.png new file mode 100755 index 0000000..01e65f3 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/omnium_axe.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/omnium_boots.png b/src/main/resources/assets/gamermod/textures/item/omnium_boots.png new file mode 100755 index 0000000..972a48e Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/omnium_boots.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/omnium_chestplate.png b/src/main/resources/assets/gamermod/textures/item/omnium_chestplate.png new file mode 100755 index 0000000..3ebe8b6 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/omnium_chestplate.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/omnium_helmet.png b/src/main/resources/assets/gamermod/textures/item/omnium_helmet.png new file mode 100755 index 0000000..2af09ed Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/omnium_helmet.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/omnium_hoe.png b/src/main/resources/assets/gamermod/textures/item/omnium_hoe.png new file mode 100755 index 0000000..387331d Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/omnium_hoe.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/omnium_leggings.png b/src/main/resources/assets/gamermod/textures/item/omnium_leggings.png new file mode 100755 index 0000000..b55824c Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/omnium_leggings.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/omnium_pickaxe.png b/src/main/resources/assets/gamermod/textures/item/omnium_pickaxe.png new file mode 100755 index 0000000..00c56a7 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/omnium_pickaxe.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/omnium_shovel.png b/src/main/resources/assets/gamermod/textures/item/omnium_shovel.png new file mode 100755 index 0000000..67e1d0c Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/omnium_shovel.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/omnium_sword.png b/src/main/resources/assets/gamermod/textures/item/omnium_sword.png new file mode 100755 index 0000000..ad551bd Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/omnium_sword.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/orium_axe.png b/src/main/resources/assets/gamermod/textures/item/orium_axe.png new file mode 100644 index 0000000..45280ed Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/orium_axe.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/orium_boots.png b/src/main/resources/assets/gamermod/textures/item/orium_boots.png new file mode 100644 index 0000000..4f1c89e Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/orium_boots.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/orium_chestplate.png b/src/main/resources/assets/gamermod/textures/item/orium_chestplate.png new file mode 100644 index 0000000..be12460 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/orium_chestplate.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/orium_helmet.png b/src/main/resources/assets/gamermod/textures/item/orium_helmet.png new file mode 100644 index 0000000..24db25e Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/orium_helmet.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/orium_hoe.png b/src/main/resources/assets/gamermod/textures/item/orium_hoe.png new file mode 100644 index 0000000..ce9308c Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/orium_hoe.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/orium_ingot.png b/src/main/resources/assets/gamermod/textures/item/orium_ingot.png new file mode 100644 index 0000000..d81fbc2 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/orium_ingot.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/orium_leggings.png b/src/main/resources/assets/gamermod/textures/item/orium_leggings.png new file mode 100644 index 0000000..b59e784 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/orium_leggings.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/orium_pickaxe.png b/src/main/resources/assets/gamermod/textures/item/orium_pickaxe.png new file mode 100644 index 0000000..4354a4e Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/orium_pickaxe.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/orium_shovel.png b/src/main/resources/assets/gamermod/textures/item/orium_shovel.png new file mode 100644 index 0000000..2565bc0 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/orium_shovel.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/orium_sword.png b/src/main/resources/assets/gamermod/textures/item/orium_sword.png new file mode 100644 index 0000000..bd02fda Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/orium_sword.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/raw_omnium.png b/src/main/resources/assets/gamermod/textures/item/raw_omnium.png new file mode 100755 index 0000000..a1b56a8 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/raw_omnium.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/raw_orium.png b/src/main/resources/assets/gamermod/textures/item/raw_orium.png new file mode 100644 index 0000000..0badfde Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/raw_orium.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/weem.png b/src/main/resources/assets/gamermod/textures/item/weem.png new file mode 100755 index 0000000..81b98a2 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/weem.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/weem_apple.png b/src/main/resources/assets/gamermod/textures/item/weem_apple.png new file mode 100755 index 0000000..08dcde8 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/weem_apple.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/weem_seeds.png b/src/main/resources/assets/gamermod/textures/item/weem_seeds.png new file mode 100755 index 0000000..eb9a429 Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/weem_seeds.png differ diff --git a/src/main/resources/assets/gamermod/textures/item/your_mother.png b/src/main/resources/assets/gamermod/textures/item/your_mother.png new file mode 100755 index 0000000..33c717a Binary files /dev/null and b/src/main/resources/assets/gamermod/textures/item/your_mother.png differ diff --git a/src/main/resources/assets/minecraft/textures/models/armor/omnium_layer_1.png b/src/main/resources/assets/minecraft/textures/models/armor/omnium_layer_1.png new file mode 100755 index 0000000..851ed09 Binary files /dev/null and b/src/main/resources/assets/minecraft/textures/models/armor/omnium_layer_1.png differ diff --git a/src/main/resources/assets/minecraft/textures/models/armor/omnium_layer_2.png b/src/main/resources/assets/minecraft/textures/models/armor/omnium_layer_2.png new file mode 100755 index 0000000..a2f981e Binary files /dev/null and b/src/main/resources/assets/minecraft/textures/models/armor/omnium_layer_2.png differ diff --git a/src/main/resources/assets/minecraft/textures/models/armor/orium_layer_1.png b/src/main/resources/assets/minecraft/textures/models/armor/orium_layer_1.png new file mode 100644 index 0000000..ca0658d Binary files /dev/null and b/src/main/resources/assets/minecraft/textures/models/armor/orium_layer_1.png differ diff --git a/src/main/resources/assets/minecraft/textures/models/armor/orium_layer_2.png b/src/main/resources/assets/minecraft/textures/models/armor/orium_layer_2.png new file mode 100644 index 0000000..f854a23 Binary files /dev/null and b/src/main/resources/assets/minecraft/textures/models/armor/orium_layer_2.png differ diff --git a/src/main/resources/data/fabric/tags/items/axes.json b/src/main/resources/data/fabric/tags/items/axes.json new file mode 100755 index 0000000..ebdc6a5 --- /dev/null +++ b/src/main/resources/data/fabric/tags/items/axes.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "gamermod:omnium_axe", + "gamermod:orium_axe" + ] + } \ No newline at end of file diff --git a/src/main/resources/data/fabric/tags/items/hoes.json b/src/main/resources/data/fabric/tags/items/hoes.json new file mode 100755 index 0000000..4b6b7c8 --- /dev/null +++ b/src/main/resources/data/fabric/tags/items/hoes.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "gamermod:omnium_hoe", + "gamermod:orium_hoe" + ] + } \ No newline at end of file diff --git a/src/main/resources/data/fabric/tags/items/pickaxes.json b/src/main/resources/data/fabric/tags/items/pickaxes.json new file mode 100755 index 0000000..02101e3 --- /dev/null +++ b/src/main/resources/data/fabric/tags/items/pickaxes.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "gamermod:omnium_pickaxe", + "gamermod:orium_pickaxe" + ] + } \ No newline at end of file diff --git a/src/main/resources/data/fabric/tags/items/shovels.json b/src/main/resources/data/fabric/tags/items/shovels.json new file mode 100755 index 0000000..811a0bf --- /dev/null +++ b/src/main/resources/data/fabric/tags/items/shovels.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "gamermod:omnium_shovel", + "gamermod:orium_shovel" + ] + } \ No newline at end of file diff --git a/src/main/resources/data/fabric/tags/items/swords.json b/src/main/resources/data/fabric/tags/items/swords.json new file mode 100755 index 0000000..f476828 --- /dev/null +++ b/src/main/resources/data/fabric/tags/items/swords.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "gamermod:omnium_sword", + "gamermod:orium_sword" + ] + } \ No newline at end of file diff --git a/src/main/resources/data/gamermod/advancements/gamermod.json b/src/main/resources/data/gamermod/advancements/gamermod.json new file mode 100755 index 0000000..dc24fe7 --- /dev/null +++ b/src/main/resources/data/gamermod/advancements/gamermod.json @@ -0,0 +1,18 @@ +{ + "display": { + "icon": { + "item": "gamermod:netherite_stick" + }, + "title": "GAMING", + "description": "OH no", + "frame": "task", + "show_toast": true, + "announce_to_chat": false, + "background": "gamermod:textures/block/omnium_ore.png" + }, + "criteria": { + "requirement": { + "trigger": "minecraft:tick" + } + } + } \ No newline at end of file diff --git a/src/main/resources/data/gamermod/advancements/raw_omnium.json b/src/main/resources/data/gamermod/advancements/raw_omnium.json new file mode 100755 index 0000000..c513c71 --- /dev/null +++ b/src/main/resources/data/gamermod/advancements/raw_omnium.json @@ -0,0 +1,27 @@ +{ + "display": { + "icon": { + "item": "gamermod:raw_omnium" + }, + "title": "greEN?", + "description": "Get a piece of raw Omnium", + "frame": "task", + "show_toast": true, + "announce_to_chat": true + }, + "parent": "gamermod:gamermod", + "criteria": { + "requirement": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "gamermod:raw_omnium" + ] + } + ] + } + } + } + } \ No newline at end of file diff --git a/src/main/resources/data/gamermod/dimension/alterworld.json b/src/main/resources/data/gamermod/dimension/alterworld.json new file mode 100644 index 0000000..73e9e24 --- /dev/null +++ b/src/main/resources/data/gamermod/dimension/alterworld.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:overworld", + "generator": { + "type": "minecraft:noise", + "seed": 841582595, + "settings": "minecraft:overworld", + "biome_source": { + "type": "minecraft:fixed", + "biome": "minecraft:plains" + } + } + } \ No newline at end of file diff --git a/src/main/resources/data/gamermod/loot_tables/blocks/matt_damon.json b/src/main/resources/data/gamermod/loot_tables/blocks/matt_damon.json new file mode 100755 index 0000000..1001011 --- /dev/null +++ b/src/main/resources/data/gamermod/loot_tables/blocks/matt_damon.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "gamermod:matt_damon" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] + } \ No newline at end of file diff --git a/src/main/resources/data/gamermod/loot_tables/blocks/omnium_block.json b/src/main/resources/data/gamermod/loot_tables/blocks/omnium_block.json new file mode 100755 index 0000000..951944a --- /dev/null +++ b/src/main/resources/data/gamermod/loot_tables/blocks/omnium_block.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "gamermod:omnium_block" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] + } \ No newline at end of file diff --git a/src/main/resources/data/gamermod/loot_tables/blocks/omnium_ore.json b/src/main/resources/data/gamermod/loot_tables/blocks/omnium_ore.json new file mode 100755 index 0000000..758145a --- /dev/null +++ b/src/main/resources/data/gamermod/loot_tables/blocks/omnium_ore.json @@ -0,0 +1,25 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "gamermod:raw_omnium", + "functions": [ + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:ore_drops" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] + } + ] +} diff --git a/src/main/resources/data/gamermod/loot_tables/blocks/orium_block.json b/src/main/resources/data/gamermod/loot_tables/blocks/orium_block.json new file mode 100755 index 0000000..51429ea --- /dev/null +++ b/src/main/resources/data/gamermod/loot_tables/blocks/orium_block.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "gamermod:orium_block" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] + } \ No newline at end of file diff --git a/src/main/resources/data/gamermod/loot_tables/blocks/orium_ore.json b/src/main/resources/data/gamermod/loot_tables/blocks/orium_ore.json new file mode 100755 index 0000000..98c53c3 --- /dev/null +++ b/src/main/resources/data/gamermod/loot_tables/blocks/orium_ore.json @@ -0,0 +1,25 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "gamermod:raw_orium", + "functions": [ + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:ore_drops" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] + } + ] +} diff --git a/src/main/resources/data/gamermod/loot_tables/blocks/weem_crop_block.json b/src/main/resources/data/gamermod/loot_tables/blocks/weem_crop_block.json new file mode 100755 index 0000000..afafb4b --- /dev/null +++ b/src/main/resources/data/gamermod/loot_tables/blocks/weem_crop_block.json @@ -0,0 +1,68 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "name": "gamermod:weem", + "conditions": [ + { + "condition": "minecraft:block_state_property", + "block": "gamermod:weem_crop_block", + "properties": { + "age": "7" + } + } + ] + }, + { + "type": "minecraft:item", + "name": "gamermod:weem_seeds" + } + ] + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "gamermod:weem_seeds", + "functions": [ + { + "function": "minecraft:apply_bonus", + "enchantment": "minecraft:fortune", + "formula": "minecraft:binomial_with_bonus_count", + "parameters": { + "extra": 3, + "probability": 0.5714286 + } + } + ] + } + ], + "conditions": [ + { + "condition": "minecraft:block_state_property", + "block": "gamermod:weem_crop_block", + "properties": { + "age": "7" + } + } + ] + } + ], + "functions": [ + { + "function": "minecraft:explosion_decay" + } + ] +} diff --git a/src/main/resources/data/gamermod/recipes/breem.json b/src/main/resources/data/gamermod/recipes/breem.json new file mode 100755 index 0000000..cc28a8a --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/breem.json @@ -0,0 +1,15 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "FFF" + ], + "key": { + "F": { + "item": "gamermod:weem" + } + }, + "result": { + "item": "gamermod:breem", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/deez_nuts.json b/src/main/resources/data/gamermod/recipes/deez_nuts.json new file mode 100755 index 0000000..4e20047 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/deez_nuts.json @@ -0,0 +1,15 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "gamermod:nuts" + }, + { + "item": "gamermod:deez" + } + ], + "result": { + "item": "gamermod:deez_nuts", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/deez_nuts_on_your_chin.json b/src/main/resources/data/gamermod/recipes/deez_nuts_on_your_chin.json new file mode 100755 index 0000000..7ee0606 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/deez_nuts_on_your_chin.json @@ -0,0 +1,15 @@ + { + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "gamermod:chin" + }, + { + "item": "gamermod:deez_nuts" + } + ], + "result": { + "item": "gamermod:deez_nuts_on_your_chin", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/drag_deez_nuts_on_your_chin.json b/src/main/resources/data/gamermod/recipes/drag_deez_nuts_on_your_chin.json new file mode 100755 index 0000000..a67894e --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/drag_deez_nuts_on_your_chin.json @@ -0,0 +1,15 @@ + { + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "gamermod:drag" + }, + { + "item": "gamermod:deez_nuts_on_your_chin" + } + ], + "result": { + "item": "gamermod:drag_deez_nuts_on_your_chin", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/netherite_stick.json b/src/main/resources/data/gamermod/recipes/netherite_stick.json new file mode 100755 index 0000000..6b53ab9 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/netherite_stick.json @@ -0,0 +1,23 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "S", + "E", + "X" + ], + "key": { + "E": { + "item": "minecraft:netherite_ingot" + }, + "S": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "gamermod:netherite_stick", + "count": 2 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/omnium_axe.json b/src/main/resources/data/gamermod/recipes/omnium_axe.json new file mode 100755 index 0000000..3f9eb99 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/omnium_axe.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "##", + "W#", + "W " + ], + "key": { + "#": { + "item": "gamermod:omnium_ingot" + }, + "W": { + "item": "gamermod:netherite_stick" + } + }, + "result": { + "item": "gamermod:omnium_axe", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/omnium_block.json b/src/main/resources/data/gamermod/recipes/omnium_block.json new file mode 100755 index 0000000..6390a60 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/omnium_block.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "FFF", + "FFF", + "FFF" + ], + "key": { + "F": { + "item": "gamermod:omnium_ingot" + } + }, + "result": { + "item": "gamermod:omnium_block", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/omnium_boots.json b/src/main/resources/data/gamermod/recipes/omnium_boots.json new file mode 100755 index 0000000..ab70b28 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/omnium_boots.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "FEF", + "F F" + ], + "key": { + "F": { + "item": "gamermod:omnium_ingot" + }, + "E": { + "item": "minecraft:netherite_ingot" + } + }, + "result": { + "item": "gamermod:omnium_boots", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/omnium_chestplate.json b/src/main/resources/data/gamermod/recipes/omnium_chestplate.json new file mode 100755 index 0000000..cb78615 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/omnium_chestplate.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "FEF", + "FFF", + "FFF" + ], + "key": { + "F": { + "item": "gamermod:omnium_ingot" + }, + "E": { + "item": "minecraft:netherite_ingot" + } + }, + "result": { + "item": "gamermod:omnium_chestplate", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/omnium_helmet.json b/src/main/resources/data/gamermod/recipes/omnium_helmet.json new file mode 100755 index 0000000..203c092 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/omnium_helmet.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "FFF", + "FEF" + ], + "key": { + "F": { + "item": "gamermod:omnium_ingot" + }, + "E": { + "item": "minecraft:netherite_ingot" + } + }, + "result": { + "item": "gamermod:omnium_helmet", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/omnium_hoe.json b/src/main/resources/data/gamermod/recipes/omnium_hoe.json new file mode 100755 index 0000000..0f552ed --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/omnium_hoe.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "##", + "W ", + "W " + ], + "key": { + "#": { + "item": "gamermod:omnium_ingot" + }, + "W": { + "item": "gamermod:netherite_stick" + } + }, + "result": { + "item": "gamermod:omnium_hoe", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/omnium_ingot.json b/src/main/resources/data/gamermod/recipes/omnium_ingot.json new file mode 100755 index 0000000..e24c34c --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/omnium_ingot.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "gamermod:omnium_block" + } + ], + "result": { + "item": "gamermod:omnium_ingot", + "count": 9 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/omnium_ingot_blast.json b/src/main/resources/data/gamermod/recipes/omnium_ingot_blast.json new file mode 100755 index 0000000..d711cf7 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/omnium_ingot_blast.json @@ -0,0 +1,9 @@ +{ + "type": "minecraft:blasting", + "ingredient": { + "item": "gamermod:raw_omnium" + }, + "result": "gamermod:omnium_ingot", + "experience": 1.0, + "cookingtime": 70 +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/omnium_ingot_furnace.json b/src/main/resources/data/gamermod/recipes/omnium_ingot_furnace.json new file mode 100755 index 0000000..47fee17 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/omnium_ingot_furnace.json @@ -0,0 +1,9 @@ +{ + "type": "minecraft:smelting", + "ingredient": { + "item": "gamermod:raw_omnium" + }, + "result": "gamermod:omnium_ingot", + "experience": 1, + "cookingtime": 200 +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/omnium_leggings.json b/src/main/resources/data/gamermod/recipes/omnium_leggings.json new file mode 100755 index 0000000..f7673d6 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/omnium_leggings.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "FFF", + "FEF", + "F F" + ], + "key": { + "F": { + "item": "gamermod:omnium_ingot" + }, + "E": { + "item": "minecraft:netherite_ingot" + } + }, + "result": { + "item": "gamermod:omnium_leggings", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/omnium_pickaxe.json b/src/main/resources/data/gamermod/recipes/omnium_pickaxe.json new file mode 100755 index 0000000..ddb165c --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/omnium_pickaxe.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + " W ", + " W " + ], + "key": { + "#": { + "item": "gamermod:omnium_ingot" + }, + "W": { + "item": "gamermod:netherite_stick" + } + }, + "result": { + "item": "gamermod:omnium_pickaxe", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/omnium_shovel.json b/src/main/resources/data/gamermod/recipes/omnium_shovel.json new file mode 100755 index 0000000..cbe8664 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/omnium_shovel.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "#", + "W", + "W" + ], + "key": { + "#": { + "item": "gamermod:omnium_ingot" + }, + "W": { + "item": "gamermod:netherite_stick" + } + }, + "result": { + "item": "gamermod:omnium_shovel", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/omnium_sword.json b/src/main/resources/data/gamermod/recipes/omnium_sword.json new file mode 100755 index 0000000..3e52c7a --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/omnium_sword.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + " # ", + " # ", + " W " + ], + "key": { + "#": { + "item": "gamermod:omnium_ingot" + }, + "W": { + "item": "gamermod:netherite_stick" + } + }, + "result": { + "item": "gamermod:omnium_sword", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/orium_axe.json b/src/main/resources/data/gamermod/recipes/orium_axe.json new file mode 100755 index 0000000..45c44ab --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/orium_axe.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "##", + "W#", + "W " + ], + "key": { + "#": { + "item": "gamermod:orium_ingot" + }, + "W": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "gamermod:orium_axe", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/orium_block.json b/src/main/resources/data/gamermod/recipes/orium_block.json new file mode 100755 index 0000000..634a5f1 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/orium_block.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "FFF", + "FFF", + "FFF" + ], + "key": { + "F": { + "item": "gamermod:orium_ingot" + } + }, + "result": { + "item": "gamermod:orium_block", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/orium_boots.json b/src/main/resources/data/gamermod/recipes/orium_boots.json new file mode 100755 index 0000000..2497606 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/orium_boots.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "F F", + "F F" + ], + "key": { + "F": { + "item": "gamermod:orium_ingot" + } + }, + "result": { + "item": "gamermod:orium_boots", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/orium_chestplate.json b/src/main/resources/data/gamermod/recipes/orium_chestplate.json new file mode 100755 index 0000000..d87463c --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/orium_chestplate.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "F F", + "FFF", + "FFF" + ], + "key": { + "F": { + "item": "gamermod:orium_ingot" + } + }, + "result": { + "item": "gamermod:orium_chestplate", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/orium_helmet.json b/src/main/resources/data/gamermod/recipes/orium_helmet.json new file mode 100755 index 0000000..dc4b951 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/orium_helmet.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "FFF", + "F F" + ], + "key": { + "F": { + "item": "gamermod:orium_ingot" + } + }, + "result": { + "item": "gamermod:orium_helmet", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/orium_hoe.json b/src/main/resources/data/gamermod/recipes/orium_hoe.json new file mode 100755 index 0000000..bc79025 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/orium_hoe.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "##", + "W ", + "W " + ], + "key": { + "#": { + "item": "gamermod:orium_ingot" + }, + "W": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "gamermod:orium_hoe", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/orium_ingot.json b/src/main/resources/data/gamermod/recipes/orium_ingot.json new file mode 100755 index 0000000..ea05da0 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/orium_ingot.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "gamermod:orium_block" + } + ], + "result": { + "item": "gamermod:orium_ingot", + "count": 9 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/orium_ingot_blast.json b/src/main/resources/data/gamermod/recipes/orium_ingot_blast.json new file mode 100755 index 0000000..6a06ee4 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/orium_ingot_blast.json @@ -0,0 +1,9 @@ +{ + "type": "minecraft:blasting", + "ingredient": { + "item": "gamermod:raw_orium" + }, + "result": "gamermod:orium_ingot", + "experience": 1.0, + "cookingtime": 70 +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/orium_ingot_furnace.json b/src/main/resources/data/gamermod/recipes/orium_ingot_furnace.json new file mode 100755 index 0000000..faeec39 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/orium_ingot_furnace.json @@ -0,0 +1,9 @@ +{ + "type": "minecraft:smelting", + "ingredient": { + "item": "gamermod:raw_orium" + }, + "result": "gamermod:orium_ingot", + "experience": 1, + "cookingtime": 200 +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/orium_leggings.json b/src/main/resources/data/gamermod/recipes/orium_leggings.json new file mode 100755 index 0000000..4aa3792 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/orium_leggings.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "FFF", + "F F", + "F F" + ], + "key": { + "F": { + "item": "gamermod:orium_ingot" + } + }, + "result": { + "item": "gamermod:orium_leggings", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/orium_pickaxe.json b/src/main/resources/data/gamermod/recipes/orium_pickaxe.json new file mode 100755 index 0000000..32b1d5b --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/orium_pickaxe.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + " W ", + " W " + ], + "key": { + "#": { + "item": "gamermod:orium_ingot" + }, + "W": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "gamermod:orium_pickaxe", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/orium_shovel.json b/src/main/resources/data/gamermod/recipes/orium_shovel.json new file mode 100755 index 0000000..617c119 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/orium_shovel.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "#", + "W", + "W" + ], + "key": { + "#": { + "item": "gamermod:orium_ingot" + }, + "W": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "gamermod:orium_shovel", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/orium_sword.json b/src/main/resources/data/gamermod/recipes/orium_sword.json new file mode 100755 index 0000000..9e1a024 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/orium_sword.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + " # ", + " # ", + " W " + ], + "key": { + "#": { + "item": "gamermod:orium_ingot" + }, + "W": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "gamermod:orium_sword", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/recipes/weem_apple.json b/src/main/resources/data/gamermod/recipes/weem_apple.json new file mode 100755 index 0000000..e72d196 --- /dev/null +++ b/src/main/resources/data/gamermod/recipes/weem_apple.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "WWW", + "W#W", + "WWW" + ], + "key": { + "#": { + "item": "minecraft:golden_apple" + }, + "W": { + "item": "gamermod:weem" + } + }, + "result": { + "item": "gamermod:weem_apple", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/gamermod/tags/blocks/ores.json b/src/main/resources/data/gamermod/tags/blocks/ores.json new file mode 100755 index 0000000..469f7b9 --- /dev/null +++ b/src/main/resources/data/gamermod/tags/blocks/ores.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "gamermod:omnium_ore", + "gamermod:orium_ore" + ] + } \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json b/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json new file mode 100755 index 0000000..96871d8 --- /dev/null +++ b/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json @@ -0,0 +1,9 @@ +{ + "replace": false, + "values": [ + "gamermod:omnium_block", + "gamermod:omnium_ore", + "gamermod:orium_block", + "gamermod:orium_ore" + ] + } \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/needs_diamond_tool.json b/src/main/resources/data/minecraft/tags/blocks/needs_diamond_tool.json new file mode 100755 index 0000000..96871d8 --- /dev/null +++ b/src/main/resources/data/minecraft/tags/blocks/needs_diamond_tool.json @@ -0,0 +1,9 @@ +{ + "replace": false, + "values": [ + "gamermod:omnium_block", + "gamermod:omnium_ore", + "gamermod:orium_block", + "gamermod:orium_ore" + ] + } \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/needs_netherite_tool.json b/src/main/resources/data/minecraft/tags/blocks/needs_netherite_tool.json new file mode 100755 index 0000000..96871d8 --- /dev/null +++ b/src/main/resources/data/minecraft/tags/blocks/needs_netherite_tool.json @@ -0,0 +1,9 @@ +{ + "replace": false, + "values": [ + "gamermod:omnium_block", + "gamermod:omnium_ore", + "gamermod:orium_block", + "gamermod:orium_ore" + ] + } \ No newline at end of file diff --git a/src/main/resources/fabric.mod copy.json b/src/main/resources/fabric.mod copy.json new file mode 100755 index 0000000..90318b3 --- /dev/null +++ b/src/main/resources/fabric.mod copy.json @@ -0,0 +1,38 @@ +{ + "schemaVersion": 1, + "id": "gamermod", + "version": "${version}", + + "name": "gamermod", + "description": "i fucked your mother", + "authors": [ + "RyanTLG" + ], + "contact": { + "homepage": "https://w/", + "sources": "https://github.com/FabricMC/fabric-example-mod" + }, + + "license": "CC0-1.0", + "icon": "assets/gamermod/icon.png", + + "environment": "*", + "entrypoints": { + "main": [ + "net.fabricmc.ryantlg.gamermod" + ] + }, + "mixins": [ + "gamermod.mixins.json" + ], + + "depends": { + "fabricloader": ">=0.11.3", + "fabric": "*", + "minecraft": "1.18.x", + "java": ">=17" + }, + "suggests": { + "another-mod": "*" + } +} diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json new file mode 100755 index 0000000..3d20a78 --- /dev/null +++ b/src/main/resources/fabric.mod.json @@ -0,0 +1,42 @@ +{ + "schemaVersion": 1, + "id": "gamermod", + "version": "${version}", + + "name": "GamerMod", + "description": "i fucked your mother", + "authors": [ + "RyanTLG" + ], + "gamermod": { + "links":{ + "Discord": "https://discord.com/invite/FtwJ5QtfA8" + } + }, + + "license": "MIT", + "icon": "assets/gamermod/icon.png", + + "environment": "*", + "entrypoints": { + "main": [ + "net.fabricmc.ryantlg.gamermod" + ], + "client": [ + "net.fabricmc.ryantlg.gamermodClient" + ] + }, + "mixins": [ + "gamermod.mixins.json" + ], + + "depends": { + "fabricloader": ">=0.11.3", + "fabric": "*", + "minecraft": "1.18.x", + "java": ">=17" + }, + "suggests": { + "another-mod": "*" + } +} diff --git a/src/main/resources/gamermod.mixins.json b/src/main/resources/gamermod.mixins.json new file mode 100755 index 0000000..03099a6 --- /dev/null +++ b/src/main/resources/gamermod.mixins.json @@ -0,0 +1,14 @@ +{ + "required": true, + "minVersion": "0.8", + "package": "net.fabricmc.ryantlg.mixin", + "compatibilityLevel": "JAVA_16", + "mixins": [ + ], + "client": [ + "GamerMixin" + ], + "injectors": { + "defaultRequire": 1 + } +}