2nd test
							
								
								
									
										25
									
								
								HelicoBacterMod/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,25 @@
 | 
				
			|||||||
 | 
					# eclipse
 | 
				
			||||||
 | 
					bin
 | 
				
			||||||
 | 
					*.launch
 | 
				
			||||||
 | 
					.settings
 | 
				
			||||||
 | 
					.metadata
 | 
				
			||||||
 | 
					.classpath
 | 
				
			||||||
 | 
					.project
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# idea
 | 
				
			||||||
 | 
					out
 | 
				
			||||||
 | 
					*.ipr
 | 
				
			||||||
 | 
					*.iws
 | 
				
			||||||
 | 
					*.iml
 | 
				
			||||||
 | 
					.idea
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# gradle
 | 
				
			||||||
 | 
					build
 | 
				
			||||||
 | 
					.gradle
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# other
 | 
				
			||||||
 | 
					eclipse
 | 
				
			||||||
 | 
					run
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Files from Forge MDK
 | 
				
			||||||
 | 
					forge*changelog.txt
 | 
				
			||||||
							
								
								
									
										149
									
								
								HelicoBacterMod/build.gradle
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -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"
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										4
									
								
								HelicoBacterMod/gradle.properties
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -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
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								HelicoBacterMod/gradle/wrapper/gradle-wrapper.jar
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										5
									
								
								HelicoBacterMod/gradle/wrapper/gradle-wrapper.properties
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						@ -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
 | 
				
			||||||
							
								
								
									
										172
									
								
								HelicoBacterMod/gradlew
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						@ -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" "$@"
 | 
				
			||||||
							
								
								
									
										84
									
								
								HelicoBacterMod/gradlew.bat
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						@ -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
 | 
				
			||||||
@ -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);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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<Ingredient> repairMaterial;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    private GoldenItemTier(int harvestLevelIn, int maxUsesIn, float efficiencyIn, float attackDamageIn, int enchantabilityIn, Supplier<Ingredient> 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();
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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<Ingredient> repairMaterial;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    private PyloriArmorMaterial(String nameIn, int maxDamageFactorIn, int[] damageReductionAmountsIn, int enchantabilityIn, SoundEvent equipSoundIn, float toughnessIn, Supplier<Ingredient> 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;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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<Ingredient> repairMaterial;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    private PyloriItemTier(int harvestLevelIn, int maxUsesIn, float efficiencyIn, float attackDamageIn, int enchantabilityIn, Supplier<Ingredient> 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();
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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<Ingredient> repairMaterial;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    private UreaseArmorMaterial(String nameIn, int maxDamageFactorIn, int[] damageReductionAmountsIn, int enchantabilityIn, SoundEvent equipSoundIn, float toughnessIn, Supplier<Ingredient> 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;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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<Block> event) {
 | 
				
			||||||
 | 
					        event.getRegistry().registerAll(
 | 
				
			||||||
 | 
					                PyloriBlock,
 | 
				
			||||||
 | 
					                PyloriPlank,
 | 
				
			||||||
 | 
					                UreaseBlock,
 | 
				
			||||||
 | 
					                UreasePlank
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @SubscribeEvent
 | 
				
			||||||
 | 
					    public static void registerBlockItems(RegistryEvent.Register<Item> 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"))
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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<Item> 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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										31
									
								
								HelicoBacterMod/src/main/resources/META-INF/mods.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,31 @@
 | 
				
			|||||||
 | 
					modLoader="javafml"
 | 
				
			||||||
 | 
					loaderVersion="[28,)"
 | 
				
			||||||
 | 
					issueTrackerURL="http://my.issue.tracker/"
 | 
				
			||||||
 | 
					license = "<your license here>"
 | 
				
			||||||
 | 
					[[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"
 | 
				
			||||||
@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "variants": {
 | 
				
			||||||
 | 
					    "": { "model": "helicobactermod:block/pylori_block" }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "variants": {
 | 
				
			||||||
 | 
					    "": { "model": "helicobactermod:block/pylori_plank" }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "variants": {
 | 
				
			||||||
 | 
					    "": { "model": "helicobactermod:block/urease_block" }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "variants": {
 | 
				
			||||||
 | 
					    "": { "model": "helicobactermod:block/urease_plank" }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -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": "ウレアーゼに塗れたピロリ菌ブロック"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "block/cube_all",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "all": "helicobactermod:blocks/pylori_block"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "block/cube_all",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "all": "helicobactermod:blocks/pylori_plank"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "block/cube_all",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "all": "helicobactermod:blocks/urease_block"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "block/cube_all",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "all": "helicobactermod:blocks/urease_plank"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/generated",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/fermented_stomach"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/handheld",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/golden_pylori"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/generated",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/pylori"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/handheld",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/pylori_axe"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "helicobactermod:block/pylori_block"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/generated",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/pylori_boots"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/generated",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/pylori_chestplate"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/generated",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/pylori_helmet"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/handheld",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/pylori_hoe"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/generated",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/pylori_ingot"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/generated",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/pylori_leggings"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/generated",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/pylori_lump"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/handheld",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/pylori_pickaxe"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "helicobactermod:block/pylori_plank"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/handheld",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/pylori_shovel"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/generated",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/pylori_stick"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/handheld",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/pylori_sword"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/generated",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/stomach"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/generated",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/urease"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/handheld",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/urease_axe"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "helicobactermod:block/urease_block"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/generated",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/urease_boots"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/generated",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/urease_chestplate"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/generated",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/urease_helmet"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/handheld",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/urease_hoe"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/generated",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/urease_leggings"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/handheld",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/urease_pickaxe"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "helicobactermod:block/urease_plank"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/generated",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/urease_pylori"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/handheld",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/urease_shovel"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "parent": "item/handheld",
 | 
				
			||||||
 | 
					  "textures": {
 | 
				
			||||||
 | 
					    "layer0": "helicobactermod:items/urease_sword"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
		 After Width: | Height: | Size: 159 B  | 
| 
		 After Width: | Height: | Size: 211 B  | 
| 
		 After Width: | Height: | Size: 158 B  | 
| 
		 After Width: | Height: | Size: 211 B  | 
| 
		 After Width: | Height: | Size: 266 B  | 
| 
		 After Width: | Height: | Size: 371 B  | 
| 
		 After Width: | Height: | Size: 311 B  | 
| 
		 After Width: | Height: | Size: 240 B  | 
| 
		 After Width: | Height: | Size: 224 B  | 
| 
		 After Width: | Height: | Size: 234 B  | 
| 
		 After Width: | Height: | Size: 251 B  | 
| 
		 After Width: | Height: | Size: 213 B  | 
| 
		 After Width: | Height: | Size: 248 B  | 
| 
		 After Width: | Height: | Size: 216 B  | 
| 
		 After Width: | Height: | Size: 239 B  | 
| 
		 After Width: | Height: | Size: 234 B  | 
| 
		 After Width: | Height: | Size: 227 B  | 
| 
		 After Width: | Height: | Size: 199 B  | 
| 
		 After Width: | Height: | Size: 252 B  | 
| 
		 After Width: | Height: | Size: 371 B  | 
| 
		 After Width: | Height: | Size: 245 B  | 
| 
		 After Width: | Height: | Size: 213 B  | 
| 
		 After Width: | Height: | Size: 222 B  | 
| 
		 After Width: | Height: | Size: 238 B  | 
| 
		 After Width: | Height: | Size: 253 B  | 
| 
		 After Width: | Height: | Size: 207 B  | 
| 
		 After Width: | Height: | Size: 213 B  | 
| 
		 After Width: | Height: | Size: 218 B  | 
| 
		 After Width: | Height: | Size: 322 B  | 
| 
		 After Width: | Height: | Size: 210 B  | 
| 
		 After Width: | Height: | Size: 248 B  | 
| 
		 After Width: | Height: | Size: 381 B  |