diff --git a/HelicoBacterMod/.gitignore b/HelicoBacterMod/.gitignore new file mode 100644 index 0000000..12f8644 --- /dev/null +++ b/HelicoBacterMod/.gitignore @@ -0,0 +1,25 @@ +# eclipse +bin +*.launch +.settings +.metadata +.classpath +.project + +# idea +out +*.ipr +*.iws +*.iml +.idea + +# gradle +build +.gradle + +# other +eclipse +run + +# Files from Forge MDK +forge*changelog.txt diff --git a/HelicoBacterMod/build.gradle b/HelicoBacterMod/build.gradle new file mode 100644 index 0000000..ba25c5e --- /dev/null +++ b/HelicoBacterMod/build.gradle @@ -0,0 +1,149 @@ +buildscript { + repositories { + maven { url = 'https://files.minecraftforge.net/maven' } + jcenter() + mavenCentral() + } + dependencies { + classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true + } +} +apply plugin: 'net.minecraftforge.gradle' +// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. +apply plugin: 'eclipse' +apply plugin: 'maven-publish' + +version = '1.14.4-1.0.1' +group = 'com.yourname.modid' // http://maven.apache.org/guides/mini/guide-naming-conventions.html +archivesBaseName = 'modid' + +sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' // Need this here so eclipse task generates correctly. + +minecraft { + // The mappings can be changed at any time, and must be in the following format. + // snapshot_YYYYMMDD Snapshot are built nightly. + // stable_# Stables are built at the discretion of the MCP team. + // Use non-default mappings at your own risk. they may not always work. + // Simply re-run your setup task after changing the mappings to update your workspace. + mappings channel: 'snapshot', version: '20190719-1.14.3' + // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable. + + // accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg') + + // Default run configurations. + // These can be tweaked, removed, or duplicated as needed. + runs { + client { + workingDirectory project.file('run') + + // Recommended logging data for a userdev environment + property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' + + // Recommended logging level for the console + property 'forge.logging.console.level', 'debug' + + mods { + examplemod { + source sourceSets.main + } + } + } + + server { + workingDirectory project.file('run') + + // Recommended logging data for a userdev environment + property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' + + // Recommended logging level for the console + property 'forge.logging.console.level', 'debug' + + mods { + examplemod { + source sourceSets.main + } + } + } + + data { + workingDirectory project.file('run') + + // Recommended logging data for a userdev environment + property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' + + // Recommended logging level for the console + property 'forge.logging.console.level', 'debug' + + args '--mod', 'examplemod', '--all', '--output', file('src/generated/resources/') + + mods { + examplemod { + source sourceSets.main + } + } + } + } +} + +dependencies { + // Specify the version of Minecraft to use, If this is any group other then 'net.minecraft' it is assumed + // that the dep is a ForgeGradle 'patcher' dependency. And it's patches will be applied. + // The userdev artifact is a special name and will get all sorts of transformations applied to it. + minecraft 'net.minecraftforge:forge:1.14.4-28.1.0' + + // You may put jars on which you depend on in ./libs or you may define them like so.. + // compile "some.group:artifact:version:classifier" + // compile "some.group:artifact:version" + + // Real examples + // compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env + // compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env + + // The 'provided' configuration is for optional dependencies that exist at compile-time but might not at runtime. + // provided 'com.mod-buildcraft:buildcraft:6.0.8:dev' + + // These dependencies get remapped to your current MCP mappings + // deobf 'com.mod-buildcraft:buildcraft:6.0.8:dev' + + // For more info... + // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html + // http://www.gradle.org/docs/current/userguide/dependency_management.html + +} + +// Example for how to get properties into the manifest for reading by the runtime.. +jar { + manifest { + attributes([ + "Specification-Title": "examplemod", + "Specification-Vendor": "examplemodsareus", + "Specification-Version": "1", // We are version 1 of ourselves + "Implementation-Title": project.name, + "Implementation-Version": "${version}", + "Implementation-Vendor" :"examplemodsareus", + "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ") + ]) + } +} + +// Example configuration to allow publishing using the maven-publish task +// we define a custom artifact that is sourced from the reobfJar output task +// and then declare that to be published +// Note you'll need to add a repository here +def reobfFile = file("$buildDir/reobfJar/output.jar") +def reobfArtifact = artifacts.add('default', reobfFile) { + type 'jar' + builtBy 'reobfJar' +} +publishing { + publications { + mavenJava(MavenPublication) { + artifact reobfArtifact + } + } + repositories { + maven { + url "file:///${project.projectDir}/mcmodsrepo" + } + } +} \ No newline at end of file diff --git a/HelicoBacterMod/gradle.properties b/HelicoBacterMod/gradle.properties new file mode 100644 index 0000000..878bf1f --- /dev/null +++ b/HelicoBacterMod/gradle.properties @@ -0,0 +1,4 @@ +# Sets default memory used for gradle commands. Can be overridden by user or command line properties. +# This is required to provide enough memory for the Minecraft decompilation process. +org.gradle.jvmargs=-Xmx3G +org.gradle.daemon=false \ No newline at end of file diff --git a/HelicoBacterMod/gradle/wrapper/gradle-wrapper.jar b/HelicoBacterMod/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000..7a3265e Binary files /dev/null and b/HelicoBacterMod/gradle/wrapper/gradle-wrapper.jar differ diff --git a/HelicoBacterMod/gradle/wrapper/gradle-wrapper.properties b/HelicoBacterMod/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..949819d --- /dev/null +++ b/HelicoBacterMod/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip diff --git a/HelicoBacterMod/gradlew b/HelicoBacterMod/gradlew new file mode 100644 index 0000000..cccdd3d --- /dev/null +++ b/HelicoBacterMod/gradlew @@ -0,0 +1,172 @@ +#!/usr/bin/env sh + +############################################################################## +## +## Gradle start up script for UN*X +## +############################################################################## + +# Attempt to set APP_HOME +# Resolve links: $0 may be a link +PRG="$0" +# Need this for relative symlinks. +while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >/dev/null +APP_HOME="`pwd -P`" +cd "$SAVED" >/dev/null + +APP_NAME="Gradle" +APP_BASE_NAME=`basename "$0"` + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS="" + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD="maximum" + +warn () { + echo "$*" +} + +die () { + echo + echo "$*" + echo + exit 1 +} + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "`uname`" in + CYGWIN* ) + cygwin=true + ;; + Darwin* ) + darwin=true + ;; + MINGW* ) + msys=true + ;; + NONSTOP* ) + nonstop=true + ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD="java" + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then + MAX_FD_LIMIT=`ulimit -H -n` + if [ $? -eq 0 ] ; then + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then + MAX_FD="$MAX_FD_LIMIT" + fi + ulimit -n $MAX_FD + if [ $? -ne 0 ] ; then + warn "Could not set maximum file descriptor limit: $MAX_FD" + fi + else + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin, switch paths to Windows format before running java +if $cygwin ; then + APP_HOME=`cygpath --path --mixed "$APP_HOME"` + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + JAVACMD=`cygpath --unix "$JAVACMD"` + + # We build the pattern for arguments to be converted via cygpath + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` + SEP="" + for dir in $ROOTDIRSRAW ; do + ROOTDIRS="$ROOTDIRS$SEP$dir" + SEP="|" + done + OURCYGPATTERN="(^($ROOTDIRS))" + # Add a user-defined pattern to the cygpath arguments + if [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" + fi + # Now convert the arguments - kludge to limit ourselves to /bin/sh + i=0 + for arg in "$@" ; do + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option + + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` + else + eval `echo args$i`="\"$arg\"" + fi + i=$((i+1)) + done + case $i in + (0) set -- ;; + (1) set -- "$args0" ;; + (2) set -- "$args0" "$args1" ;; + (3) set -- "$args0" "$args1" "$args2" ;; + (4) set -- "$args0" "$args1" "$args2" "$args3" ;; + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + esac +fi + +# Escape application args +save () { + for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done + echo " " +} +APP_ARGS=$(save "$@") + +# Collect all arguments for the java command, following the shell quoting and substitution rules +eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" + +# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong +if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then + cd "$(dirname "$0")" +fi + +exec "$JAVACMD" "$@" diff --git a/HelicoBacterMod/gradlew.bat b/HelicoBacterMod/gradlew.bat new file mode 100644 index 0000000..f955316 --- /dev/null +++ b/HelicoBacterMod/gradlew.bat @@ -0,0 +1,84 @@ +@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 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= + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windows variants + +if not "%OS%" == "Windows_NT" goto win9xME_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/HelicoBacterItemGroup.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/HelicoBacterItemGroup.java new file mode 100644 index 0000000..4d4dc66 --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/HelicoBacterItemGroup.java @@ -0,0 +1,21 @@ +package jp.qhrlhplhp.helicobactermod; + +import jp.qhrlhplhp.helicobactermod.lists.ItemList; +import net.minecraft.item.ItemGroup; +import net.minecraft.item.ItemStack; +import net.minecraftforge.api.distmarker.Dist; +import net.minecraftforge.api.distmarker.OnlyIn; + +public class HelicoBacterItemGroup extends ItemGroup { + public static final HelicoBacterItemGroup DEFAULT = new HelicoBacterItemGroup(); + + public HelicoBacterItemGroup() { + super("helicobactermod"); + } + + @Override + @OnlyIn(Dist.CLIENT) + public ItemStack createIcon() { + return new ItemStack(ItemList.Pylori); + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/HelicoBacterMod.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/HelicoBacterMod.java new file mode 100644 index 0000000..42426f9 --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/HelicoBacterMod.java @@ -0,0 +1,76 @@ +package jp.qhrlhplhp.helicobactermod; + +import net.minecraft.block.Block; +import net.minecraft.block.Blocks; +import net.minecraftforge.common.MinecraftForge; +import net.minecraftforge.event.RegistryEvent; +import net.minecraftforge.eventbus.api.SubscribeEvent; +import net.minecraftforge.fml.InterModComms; +import net.minecraftforge.fml.common.Mod; +import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent; +import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent; +import net.minecraftforge.fml.event.lifecycle.InterModEnqueueEvent; +import net.minecraftforge.fml.event.lifecycle.InterModProcessEvent; +import net.minecraftforge.fml.event.server.FMLServerStartingEvent; +import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; + +import java.util.stream.Collectors; + +// The value here should match an entry in the META-INF/mods.toml file +@Mod("helicobactermod") +public class HelicoBacterMod +{ + public static final String MOD_ID = "helicobactermod"; + private static final Logger LOGGER = LogManager.getLogger(); + + public HelicoBacterMod() { + // Register the setup method for modloading + FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup); + // Register the enqueueIMC method for modloading + FMLJavaModLoadingContext.get().getModEventBus().addListener(this::enqueueIMC); + // Register the processIMC method for modloading + FMLJavaModLoadingContext.get().getModEventBus().addListener(this::processIMC); + // Register the doClientStuff method for modloading + FMLJavaModLoadingContext.get().getModEventBus().addListener(this::doClientStuff); + + // Register ourselves for server and other game events we are interested in + MinecraftForge.EVENT_BUS.register(this); + } + + private void setup(final FMLCommonSetupEvent event) + { + // some preinit code + LOGGER.info("HELLO FROM PREINIT"); + LOGGER.info("DIRT BLOCK >> {}", Blocks.DIRT.getRegistryName()); + } + + private void doClientStuff(final FMLClientSetupEvent event) { + // do something that can only be done on the client + LOGGER.info("Got game settings {}", event.getMinecraftSupplier().get().gameSettings); + } + + private void enqueueIMC(final InterModEnqueueEvent event) + { + // some example code to dispatch IMC to another mod + InterModComms.sendTo("examplemod", "helloworld", () -> { LOGGER.info("Hello world from the MDK"); return "Hello world";}); + } + + private void processIMC(final InterModProcessEvent event) + { + // some example code to receive and process InterModComms from other mods + LOGGER.info("Got IMC {}", event.getIMCStream(). + map(m->m.getMessageSupplier().get()). + collect(Collectors.toList())); + } + // You can use SubscribeEvent and let the Event Bus discover methods to call + @SubscribeEvent + public void onServerStarting(FMLServerStartingEvent event) { + // do something when the server starts + LOGGER.info("HELLO from server starting"); + } + + // You can use EventBusSubscriber to automatically subscribe events on the contained class (this is subscribing to the MOD + // Event bus for receiving Registry Events) +} diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/GoldenItemTier.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/GoldenItemTier.java new file mode 100644 index 0000000..c74f864 --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/GoldenItemTier.java @@ -0,0 +1,54 @@ +package jp.qhrlhplhp.helicobactermod.items; + +import jp.qhrlhplhp.helicobactermod.lists.ItemList; +import net.minecraft.item.IItemTier; +import net.minecraft.item.crafting.Ingredient; +import net.minecraft.util.LazyLoadBase; + +import java.util.function.Supplier; + +public enum GoldenItemTier implements IItemTier { + GOLDEN(3, 1000000000, 1000000000000.0F, 1000000000000.0F, 1000000000, () -> { + return Ingredient.fromItems(ItemList.Pylori); + }); + + private final int harvestLevel; + private final int maxUses; + private final float efficiency; + private final float attackDamage; + private final int enchantability; + private final LazyLoadBase repairMaterial; + + private GoldenItemTier(int harvestLevelIn, int maxUsesIn, float efficiencyIn, float attackDamageIn, int enchantabilityIn, Supplier repairMaterialIn) { + this.harvestLevel = harvestLevelIn; + this.maxUses = maxUsesIn; + this.efficiency = efficiencyIn; + this.attackDamage = attackDamageIn; + this.enchantability = enchantabilityIn; + this.repairMaterial = new LazyLoadBase<>(repairMaterialIn); + } + + public int getMaxUses() { + return this.maxUses; + } + + public float getEfficiency() { + return this.efficiency; + } + + public float getAttackDamage() { + return this.attackDamage; + } + + public int getHarvestLevel() { + return this.harvestLevel; + } + + public int getEnchantability() { + return this.enchantability; + } + + public Ingredient getRepairMaterial() { + return this.repairMaterial.getValue(); + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemGoldenPylori.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemGoldenPylori.java new file mode 100644 index 0000000..1f9ab79 --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemGoldenPylori.java @@ -0,0 +1,9 @@ +package jp.qhrlhplhp.helicobactermod.items; + +import net.minecraft.item.SwordItem; + +public class ItemGoldenPylori extends SwordItem { + public ItemGoldenPylori(Properties properties) { + super(GoldenItemTier.GOLDEN, 1000000000, 1000000000000.0F, properties); + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemPyloriAxe.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemPyloriAxe.java new file mode 100644 index 0000000..e109cab --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemPyloriAxe.java @@ -0,0 +1,9 @@ +package jp.qhrlhplhp.helicobactermod.items; + +import net.minecraft.item.AxeItem; + +public class ItemPyloriAxe extends AxeItem { + public ItemPyloriAxe(Properties properties) { + super(PyloriItemTier.PYLORI, 5, -3.0F, properties); + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemPyloriHoe.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemPyloriHoe.java new file mode 100644 index 0000000..b32add7 --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemPyloriHoe.java @@ -0,0 +1,9 @@ +package jp.qhrlhplhp.helicobactermod.items; + +import net.minecraft.item.HoeItem; + +public class ItemPyloriHoe extends HoeItem { + public ItemPyloriHoe(Properties properties) { + super(PyloriItemTier.PYLORI, 0, properties); + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemPyloriPickaxe.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemPyloriPickaxe.java new file mode 100644 index 0000000..95bd475 --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemPyloriPickaxe.java @@ -0,0 +1,9 @@ +package jp.qhrlhplhp.helicobactermod.items; + +import net.minecraft.item.PickaxeItem; + +public class ItemPyloriPickaxe extends PickaxeItem { + public ItemPyloriPickaxe(Properties properties) { + super(PyloriItemTier.PYLORI, 3, -3.0F, properties); + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemPyloriShovel.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemPyloriShovel.java new file mode 100644 index 0000000..13ecfb4 --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemPyloriShovel.java @@ -0,0 +1,9 @@ +package jp.qhrlhplhp.helicobactermod.items; + +import net.minecraft.item.ShovelItem; + +public class ItemPyloriShovel extends ShovelItem { + public ItemPyloriShovel(Properties properties) { + super(PyloriItemTier.PYLORI, 3F, -3.0F, properties); + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemPyloriSword.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemPyloriSword.java new file mode 100644 index 0000000..68bf68e --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemPyloriSword.java @@ -0,0 +1,9 @@ +package jp.qhrlhplhp.helicobactermod.items; + +import net.minecraft.item.SwordItem; + +public class ItemPyloriSword extends SwordItem { + public ItemPyloriSword(Properties properties) { + super(PyloriItemTier.PYLORI, 7, -2.0F, properties); + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemUreaseAxe.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemUreaseAxe.java new file mode 100644 index 0000000..c41dd61 --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemUreaseAxe.java @@ -0,0 +1,9 @@ +package jp.qhrlhplhp.helicobactermod.items; + +import net.minecraft.item.AxeItem; + +public class ItemUreaseAxe extends AxeItem { + public ItemUreaseAxe(Properties properties) { + super(PyloriItemTier.PYLORI, 10, -3.0F, properties); + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemUreaseHoe.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemUreaseHoe.java new file mode 100644 index 0000000..8fcd767 --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemUreaseHoe.java @@ -0,0 +1,9 @@ +package jp.qhrlhplhp.helicobactermod.items; + +import net.minecraft.item.HoeItem; + +public class ItemUreaseHoe extends HoeItem { + public ItemUreaseHoe(Properties properties) { + super(PyloriItemTier.PYLORI, 0, properties); + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemUreasePickaxe.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemUreasePickaxe.java new file mode 100644 index 0000000..702e018 --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemUreasePickaxe.java @@ -0,0 +1,9 @@ +package jp.qhrlhplhp.helicobactermod.items; + +import net.minecraft.item.PickaxeItem; + +public class ItemUreasePickaxe extends PickaxeItem { + public ItemUreasePickaxe(Properties properties) { + super(PyloriItemTier.PYLORI, 6, -3.0F, properties); + } +} diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemUreaseShovel.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemUreaseShovel.java new file mode 100644 index 0000000..48fa2fb --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemUreaseShovel.java @@ -0,0 +1,9 @@ +package jp.qhrlhplhp.helicobactermod.items; + +import net.minecraft.item.ShovelItem; + +public class ItemUreaseShovel extends ShovelItem { + public ItemUreaseShovel(Properties properties) { + super(PyloriItemTier.PYLORI, 6F, -3.0F, properties); + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemUreaseSword.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemUreaseSword.java new file mode 100644 index 0000000..2f0519f --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/ItemUreaseSword.java @@ -0,0 +1,9 @@ +package jp.qhrlhplhp.helicobactermod.items; + +import net.minecraft.item.SwordItem; + +public class ItemUreaseSword extends SwordItem { + public ItemUreaseSword(Properties properties) { + super(PyloriItemTier.PYLORI, 14, -2.0F, properties); + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/PyloriArmorMaterial.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/PyloriArmorMaterial.java new file mode 100644 index 0000000..2d60b06 --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/PyloriArmorMaterial.java @@ -0,0 +1,68 @@ +package jp.qhrlhplhp.helicobactermod.items; + +import jp.qhrlhplhp.helicobactermod.HelicoBacterMod; +import jp.qhrlhplhp.helicobactermod.lists.ItemList; +import net.minecraft.inventory.EquipmentSlotType; +import net.minecraft.item.IArmorMaterial; +import net.minecraft.item.crafting.Ingredient; +import net.minecraft.util.LazyLoadBase; +import net.minecraft.util.SoundEvent; +import net.minecraft.util.SoundEvents; +import net.minecraftforge.api.distmarker.Dist; +import net.minecraftforge.api.distmarker.OnlyIn; + +import java.util.function.Supplier; + +public enum PyloriArmorMaterial implements IArmorMaterial { + PYLORI("pylori", 50, new int[]{3, 6, 7, 3}, 20, SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND, 2.0F, () -> { + return Ingredient.fromItems(ItemList.PyloriIngot); + }); + + private static final int[] MAX_DAMAGE_ARRAY = new int[]{11, 13, 14, 9}; + private final String name; + private final int maxDamageFactor; + private final int[] damageReductionAmountArray; + private final int enchantability; + private final SoundEvent soundEvent; + private final float toughness; + private final LazyLoadBase repairMaterial; + + private PyloriArmorMaterial(String nameIn, int maxDamageFactorIn, int[] damageReductionAmountsIn, int enchantabilityIn, SoundEvent equipSoundIn, float toughnessIn, Supplier repairMaterialSupplier) { + this.name = nameIn; + this.maxDamageFactor = maxDamageFactorIn; + this.damageReductionAmountArray = damageReductionAmountsIn; + this.enchantability = enchantabilityIn; + this.soundEvent = equipSoundIn; + this.toughness = toughnessIn; + this.repairMaterial = new LazyLoadBase<>(repairMaterialSupplier); + } + + public int getDurability(EquipmentSlotType slotIn) { + return MAX_DAMAGE_ARRAY[slotIn.getIndex()] * this.maxDamageFactor; + } + + public int getDamageReductionAmount(EquipmentSlotType slotIn) { + return this.damageReductionAmountArray[slotIn.getIndex()]; + } + + public int getEnchantability() { + return this.enchantability; + } + + public SoundEvent getSoundEvent() { + return this.soundEvent; + } + + public Ingredient getRepairMaterial() { + return this.repairMaterial.getValue(); + } + + @OnlyIn(Dist.CLIENT) + public String getName() { + return HelicoBacterMod.MOD_ID + ":" + this.name; + } + + public float getToughness() { + return this.toughness; + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/PyloriItemTier.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/PyloriItemTier.java new file mode 100644 index 0000000..cf3f069 --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/PyloriItemTier.java @@ -0,0 +1,54 @@ +package jp.qhrlhplhp.helicobactermod.items; + +import jp.qhrlhplhp.helicobactermod.lists.ItemList; +import net.minecraft.item.IItemTier; +import net.minecraft.item.crafting.Ingredient; +import net.minecraft.util.LazyLoadBase; + +import java.util.function.Supplier; + +public enum PyloriItemTier implements IItemTier { + PYLORI(2, 1000, 7.0F, 3.0F, 7, () -> { + return Ingredient.fromItems(ItemList.PyloriIngot); + }); + + private final int harvestLevel; + private final int maxUses; + private final float efficiency; + private final float attackDamage; + private final int enchantability; + private final LazyLoadBase repairMaterial; + + private PyloriItemTier(int harvestLevelIn, int maxUsesIn, float efficiencyIn, float attackDamageIn, int enchantabilityIn, Supplier repairMaterialIn) { + this.harvestLevel = harvestLevelIn; + this.maxUses = maxUsesIn; + this.efficiency = efficiencyIn; + this.attackDamage = attackDamageIn; + this.enchantability = enchantabilityIn; + this.repairMaterial = new LazyLoadBase<>(repairMaterialIn); + } + + public int getMaxUses() { + return this.maxUses; + } + + public float getEfficiency() { + return this.efficiency; + } + + public float getAttackDamage() { + return this.attackDamage; + } + + public int getHarvestLevel() { + return this.harvestLevel; + } + + public int getEnchantability() { + return this.enchantability; + } + + public Ingredient getRepairMaterial() { + return this.repairMaterial.getValue(); + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/UreaseArmorMaterial.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/UreaseArmorMaterial.java new file mode 100644 index 0000000..1bd93df --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/items/UreaseArmorMaterial.java @@ -0,0 +1,68 @@ +package jp.qhrlhplhp.helicobactermod.items; + +import jp.qhrlhplhp.helicobactermod.HelicoBacterMod; +import jp.qhrlhplhp.helicobactermod.lists.ItemList; +import net.minecraft.inventory.EquipmentSlotType; +import net.minecraft.item.IArmorMaterial; +import net.minecraft.item.crafting.Ingredient; +import net.minecraft.util.LazyLoadBase; +import net.minecraft.util.SoundEvent; +import net.minecraft.util.SoundEvents; +import net.minecraftforge.api.distmarker.Dist; +import net.minecraftforge.api.distmarker.OnlyIn; + +import java.util.function.Supplier; + +public enum UreaseArmorMaterial implements IArmorMaterial { + UREASE("urease", 50, new int[]{4, 7, 9, 4}, 20, SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND, 4.0F, () -> { + return Ingredient.fromItems(ItemList.PyloriIngot); + }); + + private static final int[] MAX_DAMAGE_ARRAY = new int[]{11, 13, 14, 9}; + private final String name; + private final int maxDamageFactor; + private final int[] damageReductionAmountArray; + private final int enchantability; + private final SoundEvent soundEvent; + private final float toughness; + private final LazyLoadBase repairMaterial; + + private UreaseArmorMaterial(String nameIn, int maxDamageFactorIn, int[] damageReductionAmountsIn, int enchantabilityIn, SoundEvent equipSoundIn, float toughnessIn, Supplier repairMaterialSupplier) { + this.name = nameIn; + this.maxDamageFactor = maxDamageFactorIn; + this.damageReductionAmountArray = damageReductionAmountsIn; + this.enchantability = enchantabilityIn; + this.soundEvent = equipSoundIn; + this.toughness = toughnessIn; + this.repairMaterial = new LazyLoadBase<>(repairMaterialSupplier); + } + + public int getDurability(EquipmentSlotType slotIn) { + return MAX_DAMAGE_ARRAY[slotIn.getIndex()] * this.maxDamageFactor; + } + + public int getDamageReductionAmount(EquipmentSlotType slotIn) { + return this.damageReductionAmountArray[slotIn.getIndex()]; + } + + public int getEnchantability() { + return this.enchantability; + } + + public SoundEvent getSoundEvent() { + return this.soundEvent; + } + + public Ingredient getRepairMaterial() { + return this.repairMaterial.getValue(); + } + + @OnlyIn(Dist.CLIENT) + public String getName() { + return HelicoBacterMod.MOD_ID + ":" + this.name; + } + + public float getToughness() { + return this.toughness; + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/lists/BlockList.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/lists/BlockList.java new file mode 100644 index 0000000..c997186 --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/lists/BlockList.java @@ -0,0 +1,82 @@ +package jp.qhrlhplhp.helicobactermod.lists; + +import jp.qhrlhplhp.helicobactermod.HelicoBacterItemGroup; +import jp.qhrlhplhp.helicobactermod.HelicoBacterMod; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.item.BlockItem; +import net.minecraft.item.Item; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.common.ToolType; +import net.minecraftforge.event.RegistryEvent; +import net.minecraftforge.eventbus.api.SubscribeEvent; +import net.minecraftforge.fml.common.Mod; + +@Mod.EventBusSubscriber(modid = HelicoBacterMod.MOD_ID, bus = Mod.EventBusSubscriber.Bus.MOD) + +public class BlockList { + public static Block PyloriBlock = new Block( + Block.Properties.create(Material.IRON) + .hardnessAndResistance(2.0f, 3.0f) + .lightValue(0) + .harvestLevel(1) + .harvestTool(ToolType.PICKAXE)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "pylori_block")); + + public static Block PyloriPlank = new Block( + Block.Properties.create(Material.IRON) + .hardnessAndResistance(1.0f, 2.0f) + .lightValue(0) + .harvestLevel(0) + .harvestTool(ToolType.SHOVEL)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "pylori_plank")); + + public static Block UreaseBlock = new Block( + Block.Properties.create(Material.IRON) + .hardnessAndResistance(2.0f, 3.0f) + .lightValue(10) + .harvestLevel(1) + .harvestTool(ToolType.PICKAXE)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "urease_block")); + + public static Block UreasePlank = new Block( + Block.Properties.create(Material.IRON) + .hardnessAndResistance(1.0f, 2.0f) + .lightValue(15) + .harvestLevel(0) + .harvestTool(ToolType.SHOVEL)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "urease_plank")); + + @SubscribeEvent + public static void registerBlocks(RegistryEvent.Register event) { + event.getRegistry().registerAll( + PyloriBlock, + PyloriPlank, + UreaseBlock, + UreasePlank + ); + } + + @SubscribeEvent + public static void registerBlockItems(RegistryEvent.Register event) { + event.getRegistry().registerAll( + new BlockItem(PyloriBlock, new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "pylori_block")) + ); + + event.getRegistry().registerAll( + new BlockItem(PyloriPlank, new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "pylori_plank")) + ); + + event.getRegistry().registerAll( + new BlockItem(UreaseBlock, new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "urease_block")) + ); + + event.getRegistry().registerAll( + new BlockItem(UreasePlank, new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "urease_plank")) + ); + } +} diff --git a/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/lists/ItemList.java b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/lists/ItemList.java new file mode 100644 index 0000000..32d46a7 --- /dev/null +++ b/HelicoBacterMod/src/main/java/jp/qhrlhplhp/helicobactermod/lists/ItemList.java @@ -0,0 +1,138 @@ +package jp.qhrlhplhp.helicobactermod.lists; + +import jp.qhrlhplhp.helicobactermod.HelicoBacterItemGroup; +import jp.qhrlhplhp.helicobactermod.HelicoBacterMod; +import jp.qhrlhplhp.helicobactermod.items.*; +import net.minecraft.inventory.EquipmentSlotType; +import net.minecraft.item.ArmorItem; +import net.minecraft.item.ArmorMaterial; +import net.minecraft.item.Item; +import net.minecraft.util.ResourceLocation; +import net.minecraftforge.event.RegistryEvent; +import net.minecraftforge.eventbus.api.SubscribeEvent; +import net.minecraftforge.fml.common.Mod; + +@Mod.EventBusSubscriber(modid = HelicoBacterMod.MOD_ID, bus = Mod.EventBusSubscriber.Bus.MOD) +public class ItemList { + + public static Item UreasePylori = new Item(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "urease_pylori")); + + public static Item Urease = new Item(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "urease")); + + public static Item Stomach = new Item(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "stomach")); + + public static Item FermentedStomach = new Item(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "fermented_stomach")); + + public static Item Pylori = new Item(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "pylori")); + + public static Item PyloriLump = new Item(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "pylori_lump")); + + public static Item PyloriStick = new Item(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "pylori_stick")); + + public static Item PyloriIngot = new Item(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "pylori_ingot")); + + public static Item ItemPyloriAxe = new ItemPyloriAxe(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "pylori_axe")); + + public static Item ItemPyloriHoe = new ItemPyloriHoe(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "pylori_hoe")); + + public static Item ItemPyloriPickaxe = new ItemPyloriPickaxe(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "pylori_pickaxe")); + + public static Item ItemPyloriShovel = new ItemPyloriShovel(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "pylori_shovel")); + + public static Item ItemPyloriSword = new ItemPyloriSword(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "pylori_sword")); + + public static Item ItemUreaseAxe = new ItemUreaseAxe(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "urease_axe")); + + public static Item ItemUreaseHoe = new ItemUreaseHoe(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "urease_hoe")); + + public static Item ItemUreasePickaxe = new ItemUreasePickaxe(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "urease_pickaxe")); + + public static Item ItemUreaseShovel = new ItemUreaseShovel(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "urease_shovel")); + + public static Item ItemUreaseSword = new ItemUreaseSword(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "urease_sword")); + + public static Item ItemGoldenPylori = new ItemGoldenPylori(new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "golden_pylori")); + + public static Item PyloriHelmet = new ArmorItem(PyloriArmorMaterial.PYLORI, EquipmentSlotType.HEAD, new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "pylori_helmet")); + + public static Item PyloriChestplate = new ArmorItem(PyloriArmorMaterial.PYLORI, EquipmentSlotType.CHEST, new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "pylori_chestplate")); + + public static Item PyloriLeggings = new ArmorItem(PyloriArmorMaterial.PYLORI, EquipmentSlotType.LEGS, new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "pylori_leggings")); + + public static Item PyloriBoots = new ArmorItem(PyloriArmorMaterial.PYLORI, EquipmentSlotType.FEET, new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "pylori_boots")); + + public static Item UreaseHelmet = new ArmorItem(UreaseArmorMaterial.UREASE, EquipmentSlotType.HEAD, new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "urease_helmet")); + + public static Item UreaseChestplate = new ArmorItem(UreaseArmorMaterial.UREASE, EquipmentSlotType.CHEST, new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "urease_chestplate")); + + public static Item UreaseLeggings = new ArmorItem(UreaseArmorMaterial.UREASE, EquipmentSlotType.LEGS, new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "urease_leggings")); + + public static Item UreaseBoots = new ArmorItem(UreaseArmorMaterial.UREASE, EquipmentSlotType.FEET, new Item.Properties().group(HelicoBacterItemGroup.DEFAULT)) + .setRegistryName(new ResourceLocation(HelicoBacterMod.MOD_ID, "urease_boots")); + + + @SubscribeEvent + public static void registerItems(RegistryEvent.Register event) { + event.getRegistry().registerAll( + UreasePylori, + Urease, + Stomach, + FermentedStomach, + Pylori, + PyloriLump, + PyloriStick, + PyloriIngot, + ItemPyloriAxe, + ItemPyloriHoe, + ItemPyloriPickaxe, + ItemPyloriShovel, + ItemPyloriSword, + ItemUreaseAxe, + ItemUreaseHoe, + ItemUreasePickaxe, + ItemUreaseShovel, + ItemUreaseSword, + ItemGoldenPylori, + PyloriHelmet, + PyloriChestplate, + PyloriLeggings, + PyloriBoots, + UreaseHelmet, + UreaseChestplate, + UreaseLeggings, + UreaseBoots + + ); + + + } + + +} + diff --git a/HelicoBacterMod/src/main/resources/META-INF/mods.toml b/HelicoBacterMod/src/main/resources/META-INF/mods.toml new file mode 100644 index 0000000..3ea8500 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/META-INF/mods.toml @@ -0,0 +1,31 @@ +modLoader="javafml" +loaderVersion="[28,)" +issueTrackerURL="http://my.issue.tracker/" +license = "" +[[mods]] +modId="helicobactermod" +version="${file.jarVersion}" +displayName="Helico Bacter Mod" +updateJSONURL="http://myurl.me/" +displayURL="https://twitter.com/popcorn_bomzone" +logoFile="logo.png" +credits="たくさんのピロリ菌たち" +authors="伊藤しえる" +description=''' +かわいいピロリ菌をたくさん追加するよ! +''' + +[[dependencies.helicobactermod]] + modId="forge" + mandatory=true + versionRange="[28,)" #mandatory + ordering="NONE" + + side="BOTH" + +[[dependencies.helicobactermod]] + modId="minecraft" + mandatory=true + versionRange="[1.14.4]" + ordering="NONE" + side="BOTH" diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/blockstates/pylori_block.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/blockstates/pylori_block.json new file mode 100644 index 0000000..d797a90 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/blockstates/pylori_block.json @@ -0,0 +1,5 @@ +{ + "variants": { + "": { "model": "helicobactermod:block/pylori_block" } + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/blockstates/pylori_plank.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/blockstates/pylori_plank.json new file mode 100644 index 0000000..723e2ac --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/blockstates/pylori_plank.json @@ -0,0 +1,5 @@ +{ + "variants": { + "": { "model": "helicobactermod:block/pylori_plank" } + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/blockstates/urease_block.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/blockstates/urease_block.json new file mode 100644 index 0000000..dbc2d58 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/blockstates/urease_block.json @@ -0,0 +1,5 @@ +{ + "variants": { + "": { "model": "helicobactermod:block/urease_block" } + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/blockstates/urease_plank.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/blockstates/urease_plank.json new file mode 100644 index 0000000..71f23ef --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/blockstates/urease_plank.json @@ -0,0 +1,5 @@ +{ + "variants": { + "": { "model": "helicobactermod:block/urease_plank" } + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/lang/en_us.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/lang/en_us.json new file mode 100644 index 0000000..21cec74 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/lang/en_us.json @@ -0,0 +1,34 @@ +{ + "itemGroup.helicobactermod": "HelicoBacter", + "item.helicobactermod.stomach": "Stomach", + "item.helicobactermod.fermented_stomach": "Fermented Stomach", + "item.helicobactermod.pylori": "Pylori", + "item.helicobactermod.urease_pylori": "Urease-covered Pylori", + "item.helicobactermod.urease": "Urease", + "item.helicobactermod.pylori_lump": "Compressed Pylori", + "item.helicobactermod.pylori_stick": "Helico stick", + "item.helicobactermod.pylori_ingot": "Pylori Ingot", + "item.helicobactermod.pylori_axe": "Pylori Axe", + "item.helicobactermod.pylori_hoe": "Pylori Hoe", + "item.helicobactermod.pylori_pickaxe": "Pylori Pickaxe", + "item.helicobactermod.pylori_shovel": "Pylori Shovel", + "item.helicobactermod.pylori_sword": "Pylori Sword", + "item.helicobactermod.urease_axe": "Urease-covered Pylori Axe", + "item.helicobactermod.urease_hoe": "Urease-covered Pylori Hoe", + "item.helicobactermod.urease_pickaxe": "Urease-covered Pylori Pickaxe", + "item.helicobactermod.urease_shovel": "Urease-covered Pylori Shovel", + "item.helicobactermod.urease_sword": "Urease-covered Pylori Sword", + "item.helicobactermod.golden_pylori": "Golden Pylori", + "item.helicobactermod.pylori_helmet": "Pylori Helmet", + "item.helicobactermod.pylori_chestplate": "Pylori Chestplate", + "item.helicobactermod.pylori_leggings": "Pylori Leggings", + "item.helicobactermod.pylori_boots": "Pylori boots", + "item.helicobactermod.urease_helmet": "Urease-covered Pylori Helmet", + "item.helicobactermod.urease_chestplate": "Urease-covered Pylori Chestplate", + "item.helicobactermod.urease_leggings": "Urease-covered Pylori Leggings", + "item.helicobactermod.urease_boots": "Urease-covered Pylori boots", + "block.helicobactermod.pylori_block": "Metal Block of Pylori", + "block.helicobactermod.pylori_plank": "Block of Pylori", + "block.helicobactermod.urease_block": "Urease-covered Metal Block of Pylori", + "block.helicobactermod.urease_plank": "Urease-covered Block of Pylori" +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/lang/ja_jp.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/lang/ja_jp.json new file mode 100644 index 0000000..4c87c07 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/lang/ja_jp.json @@ -0,0 +1,34 @@ +{ + "itemGroup.helicobactermod": "ヘリコバクテル", + "item.helicobactermod.stomach": "胃", + "item.helicobactermod.fermented_stomach": "発酵した胃", + "item.helicobactermod.pylori": "ピロリ菌", + "item.helicobactermod.urease_pylori": "ウレアーゼに塗れたピロリ菌", + "item.helicobactermod.urease": "ウレアーゼ", + "item.helicobactermod.pylori_lump": "圧縮されたピロリ菌", + "item.helicobactermod.pylori_stick": "らせん状の棒", + "item.helicobactermod.pylori_ingot": "ピロリ菌インゴッド", + "item.helicobactermod.pylori_axe": "ピロリ菌の斧", + "item.helicobactermod.pylori_hoe": "ピロリ菌のクワ", + "item.helicobactermod.pylori_pickaxe": "ピロリ菌のツルハシ", + "item.helicobactermod.pylori_shovel": "ピロリ菌のシャベル", + "item.helicobactermod.pylori_sword": "ピロリ菌の剣", + "item.helicobactermod.urease_axe": "ウレアーゼに塗れたピロリ菌の斧", + "item.helicobactermod.urease_hoe": "ウレアーゼに塗れたピロリ菌のクワ", + "item.helicobactermod.urease_pickaxe": "ウレアーゼに塗れたピロリ菌のツルハシ", + "item.helicobactermod.urease_shovel": "ウレアーゼに塗れたピロリ菌のシャベル", + "item.helicobactermod.urease_sword": "ウレアーゼに塗れたピロリ菌の剣", + "item.helicobactermod.golden_pylori": "黄金のピロリ菌", + "item.helicobactermod.pylori_helmet": "ピロリ菌のヘルメット", + "item.helicobactermod.pylori_chestplate": "ピロリ菌のチェストプレート", + "item.helicobactermod.pylori_leggings": "ピロリ菌のレギンス", + "item.helicobactermod.pylori_boots": "ピロリ菌のブーツ", + "item.helicobactermod.urease_helmet": "ウレアーゼに塗れたピロリ菌のヘルメット", + "item.helicobactermod.urease_chestplate": "ウレアーゼに塗れたピロリ菌のチェストプレート", + "item.helicobactermod.urease_leggings": "ウレアーゼに塗れたピロリ菌のレギンス", + "item.helicobactermod.urease_boots": "ウレアーゼに塗れたピロリ菌のブーツ", + "block.helicobactermod.pylori_block": "ピロリ菌硬質ブロック", + "block.helicobactermod.pylori_plank": "ピロリ菌ブロック", + "block.helicobactermod.urease_block": "ウレアーゼに塗れたピロリ菌硬質ブロック", + "block.helicobactermod.urease_plank": "ウレアーゼに塗れたピロリ菌ブロック" +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/block/pylori_block.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/block/pylori_block.json new file mode 100644 index 0000000..caa2b78 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/block/pylori_block.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cube_all", + "textures": { + "all": "helicobactermod:blocks/pylori_block" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/block/pylori_plank.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/block/pylori_plank.json new file mode 100644 index 0000000..c34caad --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/block/pylori_plank.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cube_all", + "textures": { + "all": "helicobactermod:blocks/pylori_plank" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/block/urease_block.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/block/urease_block.json new file mode 100644 index 0000000..3e28274 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/block/urease_block.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cube_all", + "textures": { + "all": "helicobactermod:blocks/urease_block" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/block/urease_plank.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/block/urease_plank.json new file mode 100644 index 0000000..cde80de --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/block/urease_plank.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cube_all", + "textures": { + "all": "helicobactermod:blocks/urease_plank" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/fermented_stomach.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/fermented_stomach.json new file mode 100644 index 0000000..fe565c7 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/fermented_stomach.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "helicobactermod:items/fermented_stomach" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/golden_pylori.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/golden_pylori.json new file mode 100644 index 0000000..af8baf1 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/golden_pylori.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "helicobactermod:items/golden_pylori" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori.json new file mode 100644 index 0000000..ac6d64d --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "helicobactermod:items/pylori" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_axe.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_axe.json new file mode 100644 index 0000000..ffce05c --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_axe.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "helicobactermod:items/pylori_axe" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_block.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_block.json new file mode 100644 index 0000000..d7a23fd --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_block.json @@ -0,0 +1,3 @@ +{ + "parent": "helicobactermod:block/pylori_block" +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_boots.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_boots.json new file mode 100644 index 0000000..a54cb9a --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_boots.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "helicobactermod:items/pylori_boots" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_chestplate.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_chestplate.json new file mode 100644 index 0000000..8ff5aa4 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_chestplate.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "helicobactermod:items/pylori_chestplate" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_helmet.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_helmet.json new file mode 100644 index 0000000..52afe4c --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_helmet.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "helicobactermod:items/pylori_helmet" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_hoe.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_hoe.json new file mode 100644 index 0000000..45dbdfb --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_hoe.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "helicobactermod:items/pylori_hoe" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_ingot.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_ingot.json new file mode 100644 index 0000000..c7fbcfd --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_ingot.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "helicobactermod:items/pylori_ingot" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_leggings.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_leggings.json new file mode 100644 index 0000000..fd1f300 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_leggings.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "helicobactermod:items/pylori_leggings" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_lump.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_lump.json new file mode 100644 index 0000000..95748de --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_lump.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "helicobactermod:items/pylori_lump" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_pickaxe.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_pickaxe.json new file mode 100644 index 0000000..dcab026 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_pickaxe.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "helicobactermod:items/pylori_pickaxe" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_plank.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_plank.json new file mode 100644 index 0000000..23b7596 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_plank.json @@ -0,0 +1,3 @@ +{ + "parent": "helicobactermod:block/pylori_plank" +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_shovel.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_shovel.json new file mode 100644 index 0000000..d583a09 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_shovel.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "helicobactermod:items/pylori_shovel" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_stick.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_stick.json new file mode 100644 index 0000000..3396c6d --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_stick.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "helicobactermod:items/pylori_stick" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_sword.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_sword.json new file mode 100644 index 0000000..fd80eba --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/pylori_sword.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "helicobactermod:items/pylori_sword" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/stomach.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/stomach.json new file mode 100644 index 0000000..27ad74f --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/stomach.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "helicobactermod:items/stomach" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease.json new file mode 100644 index 0000000..970db62 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "helicobactermod:items/urease" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_axe.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_axe.json new file mode 100644 index 0000000..ad0fe02 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_axe.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "helicobactermod:items/urease_axe" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_block.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_block.json new file mode 100644 index 0000000..8a7302b --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_block.json @@ -0,0 +1,3 @@ +{ + "parent": "helicobactermod:block/urease_block" +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_boots.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_boots.json new file mode 100644 index 0000000..bb5fe6a --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_boots.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "helicobactermod:items/urease_boots" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_chestplate.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_chestplate.json new file mode 100644 index 0000000..ade0fc2 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_chestplate.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "helicobactermod:items/urease_chestplate" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_helmet.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_helmet.json new file mode 100644 index 0000000..885b77a --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_helmet.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "helicobactermod:items/urease_helmet" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_hoe.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_hoe.json new file mode 100644 index 0000000..2a45870 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_hoe.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "helicobactermod:items/urease_hoe" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_leggings.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_leggings.json new file mode 100644 index 0000000..998393c --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_leggings.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "helicobactermod:items/urease_leggings" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_pickaxe.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_pickaxe.json new file mode 100644 index 0000000..2963961 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_pickaxe.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "helicobactermod:items/urease_pickaxe" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_plank.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_plank.json new file mode 100644 index 0000000..506414e --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_plank.json @@ -0,0 +1,3 @@ +{ + "parent": "helicobactermod:block/urease_plank" +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_pylori.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_pylori.json new file mode 100644 index 0000000..bf80601 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_pylori.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "helicobactermod:items/urease_pylori" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_shovel.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_shovel.json new file mode 100644 index 0000000..045334b --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_shovel.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "helicobactermod:items/urease_shovel" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_sword.json b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_sword.json new file mode 100644 index 0000000..8bc46f8 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/assets/helicobactermod/models/item/urease_sword.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "helicobactermod:items/urease_sword" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/blocks/pylori_block.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/blocks/pylori_block.png new file mode 100644 index 0000000..450651a Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/blocks/pylori_block.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/blocks/pylori_plank.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/blocks/pylori_plank.png new file mode 100644 index 0000000..a7e268f Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/blocks/pylori_plank.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/blocks/urease_block.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/blocks/urease_block.png new file mode 100644 index 0000000..e5cc5d6 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/blocks/urease_block.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/blocks/urease_plank.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/blocks/urease_plank.png new file mode 100644 index 0000000..211880d Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/blocks/urease_plank.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/fermented_stomach.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/fermented_stomach.png new file mode 100644 index 0000000..0177d87 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/fermented_stomach.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/golden_pylori.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/golden_pylori.png new file mode 100644 index 0000000..bb8cdf1 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/golden_pylori.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori.png new file mode 100644 index 0000000..a4eab28 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_axe.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_axe.png new file mode 100644 index 0000000..96af0f9 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_axe.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_boots.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_boots.png new file mode 100644 index 0000000..5b4b93f Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_boots.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_chestplate.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_chestplate.png new file mode 100644 index 0000000..4b8081a Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_chestplate.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_helmet.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_helmet.png new file mode 100644 index 0000000..5dfafb5 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_helmet.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_hoe.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_hoe.png new file mode 100644 index 0000000..693b6c3 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_hoe.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_ingot.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_ingot.png new file mode 100644 index 0000000..479ba9b Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_ingot.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_leggings.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_leggings.png new file mode 100644 index 0000000..ab4de11 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_leggings.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_lump.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_lump.png new file mode 100644 index 0000000..e5e7cb5 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_lump.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_pickaxe.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_pickaxe.png new file mode 100644 index 0000000..caf1626 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_pickaxe.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_shovel.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_shovel.png new file mode 100644 index 0000000..2ef938c Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_shovel.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_stick.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_stick.png new file mode 100644 index 0000000..bb1613f Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_stick.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_sword.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_sword.png new file mode 100644 index 0000000..e00cd8b Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/pylori_sword.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/stomach.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/stomach.png new file mode 100644 index 0000000..1538feb Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/stomach.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease.png new file mode 100644 index 0000000..5564421 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_axe.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_axe.png new file mode 100644 index 0000000..3d6506e Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_axe.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_boots.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_boots.png new file mode 100644 index 0000000..9f3bfc5 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_boots.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_chestplate.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_chestplate.png new file mode 100644 index 0000000..3406ccd Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_chestplate.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_helmet.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_helmet.png new file mode 100644 index 0000000..e56f29d Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_helmet.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_hoe.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_hoe.png new file mode 100644 index 0000000..c042e19 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_hoe.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_leggings.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_leggings.png new file mode 100644 index 0000000..2d0053c Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_leggings.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_pickaxe.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_pickaxe.png new file mode 100644 index 0000000..afcb411 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_pickaxe.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_pylori.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_pylori.png new file mode 100644 index 0000000..8445b36 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_pylori.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_shovel.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_shovel.png new file mode 100644 index 0000000..a69bbba Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_shovel.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_sword.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_sword.png new file mode 100644 index 0000000..656b81b Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/items/urease_sword.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/models/armor/pylori_layer_1.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/models/armor/pylori_layer_1.png new file mode 100644 index 0000000..7a598b9 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/models/armor/pylori_layer_1.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/models/armor/pylori_layer_2.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/models/armor/pylori_layer_2.png new file mode 100644 index 0000000..d491e66 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/models/armor/pylori_layer_2.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/models/armor/urease_layer_1.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/models/armor/urease_layer_1.png new file mode 100644 index 0000000..8848a92 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/models/armor/urease_layer_1.png differ diff --git a/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/models/armor/urease_layer_2.png b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/models/armor/urease_layer_2.png new file mode 100644 index 0000000..7f26ffd Binary files /dev/null and b/HelicoBacterMod/src/main/resources/assets/helicobactermod/textures/models/armor/urease_layer_2.png differ diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/loot_tables/blocks/pylori_block.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/loot_tables/blocks/pylori_block.json new file mode 100644 index 0000000..cacfcd2 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/loot_tables/blocks/pylori_block.json @@ -0,0 +1,14 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "helicobactermod:pylori_block" + } + ] + } + ] +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/loot_tables/blocks/pylori_plank.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/loot_tables/blocks/pylori_plank.json new file mode 100644 index 0000000..cbb0612 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/loot_tables/blocks/pylori_plank.json @@ -0,0 +1,14 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "helicobactermod:pylori_plank" + } + ] + } + ] +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/fermented_stomach.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/fermented_stomach.json new file mode 100644 index 0000000..a5bf11d --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/fermented_stomach.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "minecraft:sugar" + }, + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "helicobactermod:stomach" + } + ], + "result": { + "item": "helicobactermod:fermented_stomach" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/furnace/pylori_ingot.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/furnace/pylori_ingot.json new file mode 100644 index 0000000..b03d61c --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/furnace/pylori_ingot.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:smelting", + "ingredient": { + "item": "helicobactermod:pylori_lump" + }, + "result": { + "item": "helicobactermod:pylori_ingot" + }, + "experience": 0.5, + "cookingtime": 100 +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/furnace/urease.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/furnace/urease.json new file mode 100644 index 0000000..4b75caa --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/furnace/urease.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:smelting", + "ingredient": { + "item": "helicobactermod:urease_pylori" + }, + "result": { + "item": "helicobactermod:urease" + }, + "experience": 1.0, + "cookingtime": 100 +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/golden_pylori.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/golden_pylori.json new file mode 100644 index 0000000..873c1df --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/golden_pylori.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:gold_block" + }, + "X": { + "item": "helicobactermod:pylori" + } + }, + "result": { + "item": "helicobactermod:golden_pylori" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori.json new file mode 100644 index 0000000..21f0705 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "helicobactermod:stomach" + } + ], + "result": { + "item": "helicobactermod:pylori", + "count": 3 + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_axe.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_axe.json new file mode 100644 index 0000000..3d8534e --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_axe.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "## ", + "#X ", + " X " + ], + "key": { + "#": { + "item": "helicobactermod:pylori_ingot" + }, + "X": { + "item": "helicobactermod:pylori_stick" + } + }, + "result": { + "item": "helicobactermod:pylori_axe" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_block.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_block.json new file mode 100644 index 0000000..ede22c4 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_block.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "helicobactermod:pylori_ingot" + } + }, + "result": { + "item": "helicobactermod:pylori_block" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_boots.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_boots.json new file mode 100644 index 0000000..8a00154 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_boots.json @@ -0,0 +1,15 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "# #", + "# #" + ], + "key": { + "#": { + "item": "helicobactermod:pylori_ingot" + } + }, + "result": { + "item": "helicobactermod:pylori_boots" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_chest_plate.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_chest_plate.json new file mode 100644 index 0000000..56dfd9e --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_chest_plate.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "# #", + "###", + "###" + ], + "key": { + "#": { + "item": "helicobactermod:pylori_ingot" + } + }, + "result": { + "item": "helicobactermod:pylori_chestplate" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_from_pylori_block.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_from_pylori_block.json new file mode 100644 index 0000000..58d0297 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_from_pylori_block.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "helicobactermod:pylori_block" + } + ], + "result": { + "item": "helicobactermod:pylori_ingot", + "count": 9 + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_from_pylori_plank.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_from_pylori_plank.json new file mode 100644 index 0000000..8e07e31 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_from_pylori_plank.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "helicobactermod:pylori_plank" + } + ], + "result": { + "item": "helicobactermod:pylori", + "count": 9 + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_helmet.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_helmet.json new file mode 100644 index 0000000..d85ab10 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_helmet.json @@ -0,0 +1,15 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "# #" + ], + "key": { + "#": { + "item": "helicobactermod:pylori_ingot" + } + }, + "result": { + "item": "helicobactermod:pylori_helmet" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_hoe.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_hoe.json new file mode 100644 index 0000000..180b473 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_hoe.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "## ", + " X ", + " X " + ], + "key": { + "#": { + "item": "helicobactermod:pylori_ingot" + }, + "X": { + "item": "helicobactermod:pylori_stick" + } + }, + "result": { + "item": "helicobactermod:pylori_hoe" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_ingot.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_ingot.json new file mode 100644 index 0000000..1ae56ef --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_ingot.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "helicobactermod:pylori_block" + } + ], + "result": { + "item": "example_mod:pylori_ingot", + "count": 9 + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_leggings.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_leggings.json new file mode 100644 index 0000000..ab31228 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_leggings.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "# #", + "# #" + ], + "key": { + "#": { + "item": "helicobactermod:pylori_ingot" + } + }, + "result": { + "item": "helicobactermod:pylori_leggings" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_lump.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_lump.json new file mode 100644 index 0000000..bcab313 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_lump.json @@ -0,0 +1,15 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "helicobactermod:pylori" + } + }, + "result": { + "item": "helicobactermod:pylori_lump" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_pickaxe.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_pickaxe.json new file mode 100644 index 0000000..e269a0e --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_pickaxe.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + " X ", + " X " + ], + "key": { + "#": { + "item": "helicobactermod:pylori_ingot" + }, + "X": { + "item": "helicobactermod:pylori_stick" + } + }, + "result": { + "item": "helicobactermod:pylori_pickaxe" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_plank.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_plank.json new file mode 100644 index 0000000..efc67e2 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_plank.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "helicobactermod:pylori_lump" + } + }, + "result": { + "item": "helicobactermod:pylori_plank" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_shovel.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_shovel.json new file mode 100644 index 0000000..ddee92a --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_shovel.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "#", + "X", + "X" + ], + "key": { + "#": { + "item": "helicobactermod:pylori_ingot" + }, + "X": { + "item": "helicobactermod:pylori_stick" + } + }, + "result": { + "item": "helicobactermod:pylori_shovel" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_stick.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_stick.json new file mode 100644 index 0000000..4795d92 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_stick.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "#", + "#" + ], + "key": { + "#": { + "item": "helicobactermod:pylori_lump" + } + }, + "result": { + "item": "helicobactermod:pylori_stick", + "count": 4 + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_sword.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_sword.json new file mode 100644 index 0000000..b03ee78 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/pylori_sword.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "#", + "#", + "X" + ], + "key": { + "#": { + "item": "helicobactermod:pylori_ingot" + }, + "X": { + "item": "helicobactermod:pylori_stick" + } + }, + "result": { + "item": "helicobactermod:pylori_sword" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/stomach.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/stomach.json new file mode 100644 index 0000000..69ba6d6 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/stomach.json @@ -0,0 +1,28 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "#" + ], + "key": { + "#": [ + { + "item": "minecraft:beef" + }, + { + "item": "minecraft:porkchop" + }, + { + "item": "minecraft:chicken" + }, + { + "item": "minecraft:rabbit" + }, + { + "item": "minecraft:rotten_flesh" + } + ] + }, + "result": { + "item": "helicobactermod:stomach" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_axe.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_axe.json new file mode 100644 index 0000000..8679b4d --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_axe.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "helicobactermod:urease" + }, + "X": { + "item": "helicobactermod:pylori_axe" + } + }, + "result": { + "item": "helicobactermod:urease_axe" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_block.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_block.json new file mode 100644 index 0000000..569ecae --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_block.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "helicobactermod:urease" + }, + "X": { + "item": "helicobactermod:pylori_block" + } + }, + "result": { + "item": "helicobactermod:urease_block" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_boots.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_boots.json new file mode 100644 index 0000000..ee55da3 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_boots.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "helicobactermod:urease" + }, + "X": { + "item": "helicobactermod:pylori_boots" + } + }, + "result": { + "item": "helicobactermod:urease_boots" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_chestplate.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_chestplate.json new file mode 100644 index 0000000..9d0951e --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_chestplate.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "helicobactermod:urease" + }, + "X": { + "item": "helicobactermod:pylori_chestplate" + } + }, + "result": { + "item": "helicobactermod:urease_chestplate" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_helmet.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_helmet.json new file mode 100644 index 0000000..1036251 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_helmet.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "helicobactermod:urease" + }, + "X": { + "item": "helicobactermod:pylori_helmet" + } + }, + "result": { + "item": "helicobactermod:urease_helmet" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_hoe.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_hoe.json new file mode 100644 index 0000000..e919092 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_hoe.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "helicobactermod:urease" + }, + "X": { + "item": "helicobactermod:pylori_hoe" + } + }, + "result": { + "item": "helicobactermod:urease_hoe" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_leggings.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_leggings.json new file mode 100644 index 0000000..303b2c2 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_leggings.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "helicobactermod:urease" + }, + "X": { + "item": "helicobactermod:pylori_leggings" + } + }, + "result": { + "item": "helicobactermod:urease_leggings" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_pickaxe.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_pickaxe.json new file mode 100644 index 0000000..426ce2c --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_pickaxe.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "helicobactermod:urease" + }, + "X": { + "item": "helicobactermod:pylori_pickaxe" + } + }, + "result": { + "item": "helicobactermod:urease_pickaxe" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_plank.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_plank.json new file mode 100644 index 0000000..3387c00 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_plank.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "helicobactermod:urease" + }, + "X": { + "item": "helicobactermod:pylori_plank" + } + }, + "result": { + "item": "helicobactermod:urease_plank" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_pylori.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_pylori.json new file mode 100644 index 0000000..8360247 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_pylori.json @@ -0,0 +1,11 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "helicobactermod:fermented_stomach" + } + ], + "result": { + "item": "helicobactermod:urease_pylori" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_shovel.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_shovel.json new file mode 100644 index 0000000..a963ca0 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_shovel.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "helicobactermod:urease" + }, + "X": { + "item": "helicobactermod:pylori_shovel" + } + }, + "result": { + "item": "helicobactermod:urease_shovel" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_sword.json b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_sword.json new file mode 100644 index 0000000..f9986a4 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/data/helicobactermod/recipes/urease_sword.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "helicobactermod:urease" + }, + "X": { + "item": "helicobactermod:pylori_sword" + } + }, + "result": { + "item": "helicobactermod:urease_sword" + } +} \ No newline at end of file diff --git a/HelicoBacterMod/src/main/resources/logo.png b/HelicoBacterMod/src/main/resources/logo.png new file mode 100644 index 0000000..9e31370 Binary files /dev/null and b/HelicoBacterMod/src/main/resources/logo.png differ diff --git a/HelicoBacterMod/src/main/resources/pack.mcmeta b/HelicoBacterMod/src/main/resources/pack.mcmeta new file mode 100644 index 0000000..082ca52 --- /dev/null +++ b/HelicoBacterMod/src/main/resources/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "description": "examplemod resources", + "pack_format": 4, + } +} diff --git a/test.txt b/test.txt deleted file mode 100644 index 27706f8..0000000 --- a/test.txt +++ /dev/null @@ -1 +0,0 @@ -hello git! \ No newline at end of file diff --git a/text.txt b/text.txt deleted file mode 100644 index 27706f8..0000000 --- a/text.txt +++ /dev/null @@ -1 +0,0 @@ -hello git! \ No newline at end of file