Begin updating to 1.19 and rename mod
This commit is contained in:
parent
26d6cd4d5e
commit
f3e94c68a7
52 changed files with 196 additions and 414 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -23,3 +23,5 @@ run
|
|||
|
||||
# Files from Forge MDK
|
||||
forge*changelog.txt
|
||||
|
||||
.private
|
47
.vscode/launch.json
vendored
Normal file
47
.vscode/launch.json
vendored
Normal file
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "java",
|
||||
"name": "runClient",
|
||||
"request": "launch",
|
||||
"mainClass": "cpw.mods.bootstraplauncher.BootstrapLauncher",
|
||||
"projectName": "OTEMod",
|
||||
"cwd": "${workspaceFolder}\\run",
|
||||
"vmArgs": "-Dforge.logging.console.level\u003ddebug -Dforge.logging.markers\u003dREGISTRIES -DlegacyClassPath.file\u003dH:\\repos\\OTEMod\\build\\classpath\\runClient_minecraftClasspath.txt -DignoreList\u003dbootstraplauncher,securejarhandler,asm-commons,asm-util,asm-analysis,asm-tree,asm,client-extra,fmlcore,javafmllanguage,lowcodelanguage,mclanguage,forge- -DnativesDirectory\u003dH:\\repos\\OTEMod\\build\\natives -DmergeModules\u003djna-5.10.0.jar,jna-platform-5.10.0.jar,java-objc-bridge-1.0.0.jar -Dforge.enabledGameTestNamespaces\u003dotemod -Dforge.enableGameTest\u003dtrue -p C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\cpw.mods\\bootstraplauncher\\1.1.1\\799d9d43d3d23976e53697da81811507704b48e0\\bootstraplauncher-1.1.1.jar;C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\cpw.mods\\securejarhandler\\2.0.3\\7656c533ae8e3ad65e9e01c2ed3618a3ac0c1bad\\securejarhandler-2.0.3.jar;C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\org.ow2.asm\\asm-commons\\9.3\\1f2a432d1212f5c352ae607d7b61dcae20c20af5\\asm-commons-9.3.jar;C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\org.ow2.asm\\asm-util\\9.3\\9595bc05510d0bd4b610188b77333fe4851a1975\\asm-util-9.3.jar;C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\org.ow2.asm\\asm-analysis\\9.3\\4b071f211b37c38e0e9f5998550197c8593f6ad8\\asm-analysis-9.3.jar;C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\org.ow2.asm\\asm-tree\\9.3\\78d2ecd61318b5a58cd04fb237636c0e86b77d97\\asm-tree-9.3.jar;C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\org.ow2.asm\\asm\\9.3\\8e6300ef51c1d801a7ed62d07cd221aca3a90640\\asm-9.3.jar --add-modules ALL-MODULE-PATH --add-opens java.base/java.util.jar\u003dcpw.mods.securejarhandler --add-exports java.base/sun.security.util\u003dcpw.mods.securejarhandler --add-exports jdk.naming.dns/com.sun.jndi.dns\u003djava.naming -XX:HeapDumpPath\u003dMojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump \"-Dos.name\u003dWindows 10\" -Dos.version\u003d10.0",
|
||||
"args": "--launchTarget forgeclientuserdev --version MOD_DEV --assetIndex 1.19 --assetsDir C:\\Users\\tyler\\.gradle\\caches\\forge_gradle\\assets --gameDir . --fml.forgeVersion 41.0.45 --fml.mcVersion 1.19 --fml.forgeGroup net.minecraftforge --fml.mcpVersion 20220607.102129",
|
||||
"env": {
|
||||
"MOD_CLASSES": "otemod%%${workspaceFolder}\\bin\\main;otemod%%${workspaceFolder}\\bin\\main",
|
||||
"MCP_MAPPINGS": "official_1.19"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "java",
|
||||
"name": "runData",
|
||||
"request": "launch",
|
||||
"mainClass": "cpw.mods.bootstraplauncher.BootstrapLauncher",
|
||||
"projectName": "OTEMod",
|
||||
"cwd": "${workspaceFolder}\\run",
|
||||
"vmArgs": "-Dforge.logging.console.level\u003ddebug -Dforge.logging.markers\u003dREGISTRIES -DlegacyClassPath.file\u003dH:\\repos\\OTEMod\\build\\classpath\\runData_minecraftClasspath.txt -DignoreList\u003dbootstraplauncher,securejarhandler,asm-commons,asm-util,asm-analysis,asm-tree,asm,client-extra,fmlcore,javafmllanguage,lowcodelanguage,mclanguage,forge- -DmergeModules\u003djna-5.10.0.jar,jna-platform-5.10.0.jar,java-objc-bridge-1.0.0.jar -p C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\cpw.mods\\bootstraplauncher\\1.1.1\\799d9d43d3d23976e53697da81811507704b48e0\\bootstraplauncher-1.1.1.jar;C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\cpw.mods\\securejarhandler\\2.0.3\\7656c533ae8e3ad65e9e01c2ed3618a3ac0c1bad\\securejarhandler-2.0.3.jar;C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\org.ow2.asm\\asm-commons\\9.3\\1f2a432d1212f5c352ae607d7b61dcae20c20af5\\asm-commons-9.3.jar;C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\org.ow2.asm\\asm-util\\9.3\\9595bc05510d0bd4b610188b77333fe4851a1975\\asm-util-9.3.jar;C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\org.ow2.asm\\asm-analysis\\9.3\\4b071f211b37c38e0e9f5998550197c8593f6ad8\\asm-analysis-9.3.jar;C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\org.ow2.asm\\asm-tree\\9.3\\78d2ecd61318b5a58cd04fb237636c0e86b77d97\\asm-tree-9.3.jar;C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\org.ow2.asm\\asm\\9.3\\8e6300ef51c1d801a7ed62d07cd221aca3a90640\\asm-9.3.jar --add-modules ALL-MODULE-PATH --add-opens java.base/java.util.jar\u003dcpw.mods.securejarhandler --add-exports java.base/sun.security.util\u003dcpw.mods.securejarhandler --add-exports jdk.naming.dns/com.sun.jndi.dns\u003djava.naming",
|
||||
"args": "--launchTarget forgedatauserdev --assetIndex 1.19 --assetsDir C:\\Users\\tyler\\.gradle\\caches\\forge_gradle\\assets --gameDir . --fml.forgeVersion 41.0.45 --fml.mcVersion 1.19 --fml.forgeGroup net.minecraftforge --fml.mcpVersion 20220607.102129 --mod otemod --all --output H:\\repos\\OTEMod\\src\\generated\\resources --existing H:\\repos\\OTEMod\\src\\main\\resources",
|
||||
"env": {
|
||||
"MOD_CLASSES": "otemod%%${workspaceFolder}\\bin\\main;otemod%%${workspaceFolder}\\bin\\main",
|
||||
"MCP_MAPPINGS": "official_1.19"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "java",
|
||||
"name": "runServer",
|
||||
"request": "launch",
|
||||
"mainClass": "cpw.mods.bootstraplauncher.BootstrapLauncher",
|
||||
"projectName": "OTEMod",
|
||||
"cwd": "${workspaceFolder}\\run",
|
||||
"vmArgs": "-Dforge.logging.console.level\u003ddebug -Dforge.logging.markers\u003dREGISTRIES -DlegacyClassPath.file\u003dH:\\repos\\OTEMod\\build\\classpath\\runServer_minecraftClasspath.txt -DignoreList\u003dbootstraplauncher,securejarhandler,asm-commons,asm-util,asm-analysis,asm-tree,asm,client-extra,fmlcore,javafmllanguage,lowcodelanguage,mclanguage,forge- -DmergeModules\u003djna-5.10.0.jar,jna-platform-5.10.0.jar,java-objc-bridge-1.0.0.jar -Dforge.enabledGameTestNamespaces\u003dotemod -Dforge.enableGameTest\u003dtrue -p C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\cpw.mods\\bootstraplauncher\\1.1.1\\799d9d43d3d23976e53697da81811507704b48e0\\bootstraplauncher-1.1.1.jar;C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\cpw.mods\\securejarhandler\\2.0.3\\7656c533ae8e3ad65e9e01c2ed3618a3ac0c1bad\\securejarhandler-2.0.3.jar;C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\org.ow2.asm\\asm-commons\\9.3\\1f2a432d1212f5c352ae607d7b61dcae20c20af5\\asm-commons-9.3.jar;C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\org.ow2.asm\\asm-util\\9.3\\9595bc05510d0bd4b610188b77333fe4851a1975\\asm-util-9.3.jar;C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\org.ow2.asm\\asm-analysis\\9.3\\4b071f211b37c38e0e9f5998550197c8593f6ad8\\asm-analysis-9.3.jar;C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\org.ow2.asm\\asm-tree\\9.3\\78d2ecd61318b5a58cd04fb237636c0e86b77d97\\asm-tree-9.3.jar;C:\\Users\\tyler\\.gradle\\caches\\modules-2\\files-2.1\\org.ow2.asm\\asm\\9.3\\8e6300ef51c1d801a7ed62d07cd221aca3a90640\\asm-9.3.jar --add-modules ALL-MODULE-PATH --add-opens java.base/java.util.jar\u003dcpw.mods.securejarhandler --add-exports java.base/sun.security.util\u003dcpw.mods.securejarhandler --add-exports jdk.naming.dns/com.sun.jndi.dns\u003djava.naming",
|
||||
"args": "--launchTarget forgeserveruserdev --gameDir . --fml.forgeVersion 41.0.45 --fml.mcVersion 1.19 --fml.forgeGroup net.minecraftforge --fml.mcpVersion 20220607.102129",
|
||||
"env": {
|
||||
"MOD_CLASSES": "otemod%%${workspaceFolder}\\bin\\main;otemod%%${workspaceFolder}\\bin\\main",
|
||||
"MCP_MAPPINGS": "official_1.19"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
55
build.gradle
55
build.gradle
|
@ -1,24 +1,14 @@
|
|||
buildscript {
|
||||
repositories {
|
||||
// These repositories are only for Gradle plugins, put any other repositories in the repository block further below
|
||||
maven { url = 'https://maven.minecraftforge.net' }
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true
|
||||
}
|
||||
}
|
||||
// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
|
||||
plugins {
|
||||
id 'eclipse'
|
||||
id 'maven-publish'
|
||||
id 'net.minecraftforge.gradle' version '5.1.+'
|
||||
}
|
||||
apply plugin: 'net.minecraftforge.gradle'
|
||||
|
||||
|
||||
version = '1.1.3'
|
||||
group = 'dev.zontreck.shapedaionresources' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
archivesBaseName = 'shapedaionresources'
|
||||
|
||||
version = '1.2.0'
|
||||
group = 'dev.zontreck.otemod' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
archivesBaseName = 'otemod'
|
||||
|
||||
// Mojang ships Java 17 to end users in 1.18+, so your mod should target Java 17.
|
||||
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
|
||||
|
@ -38,7 +28,7 @@ minecraft {
|
|||
//
|
||||
// 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: 'official', version: '1.18.2'
|
||||
mappings channel: 'official', version: '1.19'
|
||||
|
||||
// accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg') // Currently, this location cannot be changed from the default.
|
||||
|
||||
|
@ -61,10 +51,10 @@ minecraft {
|
|||
property 'forge.logging.console.level', 'debug'
|
||||
|
||||
// Comma-separated list of namespaces to load gametests from. Empty = all namespaces.
|
||||
property 'forge.enabledGameTestNamespaces', 'shapedaionresources'
|
||||
property 'forge.enabledGameTestNamespaces', 'otemod'
|
||||
|
||||
mods {
|
||||
shapedaionresources {
|
||||
otemod {
|
||||
source sourceSets.main
|
||||
}
|
||||
}
|
||||
|
@ -78,10 +68,10 @@ minecraft {
|
|||
property 'forge.logging.console.level', 'debug'
|
||||
|
||||
// Comma-separated list of namespaces to load gametests from. Empty = all namespaces.
|
||||
property 'forge.enabledGameTestNamespaces', 'examplemod'
|
||||
property 'forge.enabledGameTestNamespaces', 'otemod'
|
||||
|
||||
mods {
|
||||
shapedaionresources {
|
||||
otemod {
|
||||
source sourceSets.main
|
||||
}
|
||||
}
|
||||
|
@ -95,10 +85,10 @@ minecraft {
|
|||
property 'forge.logging.console.level', 'debug'
|
||||
|
||||
// Specify the modid for data generation, where to output the resulting resource, and where to look for existing resources.
|
||||
args '--mod', 'shapedaionresources', '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')
|
||||
args '--mod', 'otemod', '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')
|
||||
|
||||
mods {
|
||||
shapedaionresources {
|
||||
otemod {
|
||||
source sourceSets.main
|
||||
}
|
||||
}
|
||||
|
@ -117,14 +107,29 @@ repositories {
|
|||
// flatDir {
|
||||
// dir 'libs'
|
||||
// }
|
||||
|
||||
maven {
|
||||
// location of the maven that hosts JEI files
|
||||
name = "Progwml6 maven"
|
||||
url = "https://dvs1.progwml6.com/files/maven/"
|
||||
}
|
||||
maven {
|
||||
// location of a maven mirror for JEI files, as a fallback
|
||||
name = "ModMaven"
|
||||
url = "https://modmaven.dev"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// Specify the version of Minecraft to use. If this is any group other than 'net.minecraft', it is assumed
|
||||
// that the dep is a ForgeGradle 'patcher' dependency, and its 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.18.2-40.1.25'
|
||||
minecraft 'net.minecraftforge:forge:1.19-41.0.45'
|
||||
|
||||
// compile against the JEI API but do not include it at runtime
|
||||
compileOnly fg.deobf("mezz.jei:jei-${mc_version}-forge-api:${jei_version}")
|
||||
// at runtime, use the full JEI jar
|
||||
runtimeOnly fg.deobf("mezz.jei:jei-${mc_version}-forge:${jei_version}")
|
||||
// Real mod deobf dependency examples - these get remapped to your current mappings
|
||||
// compileOnly fg.deobf("mezz.jei:jei-${mc_version}:${jei_version}:api") // Adds JEI API as a compile dependency
|
||||
// runtimeOnly fg.deobf("mezz.jei:jei-${mc_version}:${jei_version}") // Adds the full JEI mod as a runtime dependency
|
||||
|
@ -142,9 +147,9 @@ dependencies {
|
|||
jar {
|
||||
manifest {
|
||||
attributes([
|
||||
"Specification-Title" : "shapedaionresources",
|
||||
"Specification-Title" : "otemod",
|
||||
"Specification-Vendor" : "Zontreck",
|
||||
"Specification-Version" : "1.0", // We are version 1 of ourselves
|
||||
"Specification-Version" : "1.2", // We are version 1 of ourselves
|
||||
"Implementation-Title" : project.name,
|
||||
"Implementation-Version" : project.jar.archiveVersion,
|
||||
"Implementation-Vendor" : "Zontreck",
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
# 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
|
||||
org.gradle.jvmargs=-Xmx8G
|
||||
org.gradle.daemon=false
|
||||
|
||||
mc_version=1.19
|
||||
jei_version=11.0.0.206
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -1,5 +1,5 @@
|
|||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
|
6
settings.gradle
Normal file
6
settings.gradle
Normal file
|
@ -0,0 +1,6 @@
|
|||
pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
maven { url = 'https://maven.minecraftforge.net/' }
|
||||
}
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
package dev.zontreck.shapedaionresources;
|
||||
package dev.zontreck.otemod;
|
||||
|
||||
import java.util.Set;
|
||||
import java.util.Map.Entry;
|
||||
|
@ -19,37 +19,35 @@ import net.minecraftforge.fml.ModLoadingContext;
|
|||
import net.minecraftforge.fml.common.Mod;
|
||||
import net.minecraftforge.fml.config.ModConfig;
|
||||
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
|
||||
import net.minecraftforge.event.RegistryEvent;
|
||||
import net.minecraftforge.event.entity.EntityJoinWorldEvent;
|
||||
import net.minecraftforge.event.server.ServerStartingEvent;
|
||||
import net.minecraftforge.event.world.BiomeLoadingEvent;
|
||||
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
|
||||
import org.slf4j.Logger;
|
||||
|
||||
import dev.zontreck.shapedaionresources.blocks.ModBlocks;
|
||||
import dev.zontreck.shapedaionresources.configs.SARServerConfig;
|
||||
import dev.zontreck.shapedaionresources.events.EventHandler;
|
||||
import dev.zontreck.shapedaionresources.items.ModItems;
|
||||
import dev.zontreck.shapedaionresources.ore.OreGenerator;
|
||||
import dev.zontreck.otemod.blocks.ModBlocks;
|
||||
import dev.zontreck.otemod.configs.OTEServerConfig;
|
||||
import dev.zontreck.otemod.events.EventHandler;
|
||||
import dev.zontreck.otemod.items.ModItems;
|
||||
import dev.zontreck.otemod.ore.OreGenerator;
|
||||
|
||||
// The value here should match an entry in the META-INF/mods.toml file
|
||||
@Mod(ShapedAionResources.MOD_ID)
|
||||
public class ShapedAionResources
|
||||
@Mod(OTEMod.MOD_ID)
|
||||
public class OTEMod
|
||||
{
|
||||
// Directly reference a slf4j logger
|
||||
public static final Logger LOGGER = LogUtils.getLogger();
|
||||
public static final String FIRST_JOIN_TAG = "dev.zontreck.shapedaionresources.firstjoin";
|
||||
public static final String MOD_ID = "shapedaionresources";
|
||||
public static final String FIRST_JOIN_TAG = "dev.zontreck.otemod.firstjoin";
|
||||
public static final String MOD_ID = "otemod";
|
||||
|
||||
|
||||
public ShapedAionResources()
|
||||
public OTEMod()
|
||||
{
|
||||
IEventBus bus = FMLJavaModLoadingContext.get().getModEventBus();
|
||||
// Register the setup method for modloading
|
||||
bus.addListener(this::setup);
|
||||
|
||||
|
||||
ModLoadingContext.get().registerConfig(ModConfig.Type.SERVER, SARServerConfig.SPEC, "aion-rss-server.toml");
|
||||
ModLoadingContext.get().registerConfig(ModConfig.Type.SERVER, OTEServerConfig.SPEC, "aion-rss-server.toml");
|
||||
|
||||
|
||||
|
||||
|
@ -105,7 +103,7 @@ public class ShapedAionResources
|
|||
|
||||
Set<String> tags = p.getTags();
|
||||
|
||||
if(tags.contains(ShapedAionResources.FIRST_JOIN_TAG)){
|
||||
if(tags.contains(OTEMod.FIRST_JOIN_TAG)){
|
||||
return false;
|
||||
}
|
||||
|
|
@ -1,15 +1,14 @@
|
|||
package dev.zontreck.shapedaionresources.blocks;
|
||||
package dev.zontreck.otemod.blocks;
|
||||
|
||||
import java.util.function.Supplier;
|
||||
|
||||
import dev.zontreck.shapedaionresources.ShapedAionResources;
|
||||
import dev.zontreck.shapedaionresources.items.ModItems;
|
||||
import dev.zontreck.otemod.OTEMod;
|
||||
import dev.zontreck.otemod.items.ModItems;
|
||||
import net.minecraft.world.item.BlockItem;
|
||||
import net.minecraft.world.item.CreativeModeTab;
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.Blocks;
|
||||
import net.minecraft.world.level.block.OreBlock;
|
||||
import net.minecraft.world.level.block.SoundType;
|
||||
import net.minecraft.world.level.block.state.BlockBehaviour;
|
||||
import net.minecraft.world.level.material.Material;
|
||||
|
@ -19,13 +18,13 @@ import net.minecraftforge.registries.ForgeRegistries;
|
|||
import net.minecraftforge.registries.RegistryObject;
|
||||
|
||||
public class ModBlocks {
|
||||
public static final DeferredRegister<Block> BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, ShapedAionResources.MOD_ID);
|
||||
public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, ShapedAionResources.MOD_ID);
|
||||
public static final DeferredRegister<Block> BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, OTEMod.MOD_ID);
|
||||
public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, OTEMod.MOD_ID);
|
||||
|
||||
public static void register(IEventBus bus){
|
||||
BLOCKS.register(bus);
|
||||
ITEMS.register(bus);
|
||||
ShapedAionResources.LOGGER.info("Registering all blocks...");
|
||||
OTEMod.LOGGER.info("Registering all blocks...");
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
package dev.zontreck.otemod.commands;
|
||||
|
||||
public class ModCommands {
|
||||
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
package dev.zontreck.shapedaionresources.configs;
|
||||
package dev.zontreck.otemod.configs;
|
||||
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
@ -9,7 +9,7 @@ import java.util.Map;
|
|||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraftforge.common.ForgeConfigSpec;
|
||||
|
||||
public class SARServerConfig {
|
||||
public class OTEServerConfig {
|
||||
public static final ForgeConfigSpec.Builder BUILDER = new ForgeConfigSpec.Builder();
|
||||
public static final ForgeConfigSpec SPEC;
|
||||
|
||||
|
@ -19,7 +19,7 @@ public class SARServerConfig {
|
|||
static {
|
||||
List<ItemStack> defaults = new ArrayList<ItemStack>();
|
||||
|
||||
BUILDER.push("Configuration for Shaped Aion Cubes Resources");
|
||||
BUILDER.push("Configuration for OTE Mod Resources");
|
||||
INITIAL_ITEMS_TO_GIVE_ON_FIRST_JOIN = BUILDER.comment("What items, identified by modid:item, to give to a brand new user on the server").define("New Player Gear", defaults);
|
||||
|
||||
BUILDER.pop();
|
|
@ -1,14 +1,14 @@
|
|||
package dev.zontreck.shapedaionresources.events;
|
||||
package dev.zontreck.otemod.events;
|
||||
|
||||
import dev.zontreck.shapedaionresources.ShapedAionResources;
|
||||
import dev.zontreck.shapedaionresources.ore.OreGenerator;
|
||||
import dev.zontreck.otemod.OTEMod;
|
||||
import dev.zontreck.otemod.ore.OreGenerator;
|
||||
import net.minecraftforge.event.world.BiomeLoadingEvent;
|
||||
import net.minecraftforge.eventbus.api.EventPriority;
|
||||
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
||||
import net.minecraftforge.fml.common.Mod;
|
||||
import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
|
||||
|
||||
@EventBusSubscriber(modid=ShapedAionResources.MOD_ID)
|
||||
@EventBusSubscriber(modid=OTEMod.MOD_ID)
|
||||
public class EventHandler {
|
||||
|
||||
|
17
src/main/java/dev/zontreck/otemod/integrations/JEI.java
Normal file
17
src/main/java/dev/zontreck/otemod/integrations/JEI.java
Normal file
|
@ -0,0 +1,17 @@
|
|||
package dev.zontreck.otemod.integrations;
|
||||
|
||||
import dev.zontreck.otemod.OTEMod;
|
||||
import mezz.jei.api.IModPlugin;
|
||||
import mezz.jei.api.JeiPlugin;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
|
||||
@JeiPlugin
|
||||
public class JEI implements IModPlugin
|
||||
{
|
||||
|
||||
@Override
|
||||
public ResourceLocation getPluginUid() {
|
||||
return new ResourceLocation(OTEMod.MOD_ID, "jei_plugin");
|
||||
}
|
||||
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
package dev.zontreck.shapedaionresources.items;
|
||||
package dev.zontreck.otemod.items;
|
||||
|
||||
import dev.zontreck.shapedaionresources.ShapedAionResources;
|
||||
import dev.zontreck.otemod.OTEMod;
|
||||
import net.minecraft.world.item.CreativeModeTab;
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.minecraftforge.eventbus.api.IEventBus;
|
||||
|
@ -9,7 +9,7 @@ import net.minecraftforge.registries.ForgeRegistries;
|
|||
import net.minecraftforge.registries.RegistryObject;
|
||||
|
||||
public class ModItems {
|
||||
public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, ShapedAionResources.MOD_ID);
|
||||
public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, OTEMod.MOD_ID);
|
||||
|
||||
public static final RegistryObject<Item> AION_FRAGMENT = ITEMS.register("aion_fragment", () -> new Item(new Item.Properties().tab(CreativeModeTab.TAB_MISC)));
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package dev.zontreck.shapedaionresources.ore;
|
||||
package dev.zontreck.otemod.ore;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
package dev.zontreck.shapedaionresources.ore;
|
||||
package dev.zontreck.otemod.ore;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import dev.zontreck.shapedaionresources.ShapedAionResources;
|
||||
import dev.zontreck.shapedaionresources.blocks.ModBlocks;
|
||||
import dev.zontreck.otemod.OTEMod;
|
||||
import dev.zontreck.otemod.blocks.ModBlocks;
|
||||
import net.minecraft.core.Holder;
|
||||
import net.minecraft.data.worldgen.features.FeatureUtils;
|
||||
import net.minecraft.data.worldgen.features.OreFeatures;
|
||||
|
@ -18,7 +18,6 @@ import net.minecraft.world.level.levelgen.feature.OreFeature;
|
|||
import net.minecraft.world.level.levelgen.feature.configurations.OreConfiguration;
|
||||
import net.minecraft.world.level.levelgen.placement.HeightRangePlacement;
|
||||
import net.minecraft.world.level.levelgen.placement.PlacedFeature;
|
||||
import net.minecraftforge.event.world.BiomeLoadingEvent;
|
||||
|
||||
public class OreGenerator {
|
||||
public static final List<ConfiguredFeature<OreConfiguration, OreFeature>> OVERWORLD_ORES = new ArrayList();
|
|
@ -1,5 +0,0 @@
|
|||
package dev.zontreck.shapedaionresources.commands;
|
||||
|
||||
public class ModCommands {
|
||||
|
||||
}
|
|
@ -15,13 +15,13 @@ license="GPL 2.0"
|
|||
# A list of mods - how many allowed here is determined by the individual mod loader
|
||||
[[mods]] #mandatory
|
||||
# The modid of the mod
|
||||
modId="shapedaionresources" #mandatory
|
||||
modId="otemod" #mandatory
|
||||
# The version number of the mod - there's a few well known ${} variables useable here or just hardcode it
|
||||
# ${file.jarVersion} will substitute the value of the Implementation-Version as read from the mod's JAR file metadata
|
||||
# see the associated build.gradle script for how to populate this completely automatically during a build
|
||||
version="${file.jarVersion}" #mandatory
|
||||
# A display name for the mod
|
||||
displayName="Shaped Aion Resources" #mandatory
|
||||
displayName="OTEMod Resources" #mandatory
|
||||
# A URL to query for updates for this mod. See the JSON update specification https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/
|
||||
#updateJSONURL="https://change.me.example.invalid/updates.json" #optional
|
||||
# A URL for the "homepage" for this mod, displayed in the mod UI
|
||||
|
@ -34,22 +34,22 @@ description='''
|
|||
The entire purpose of this mod is to add datapack resources that will be present on servers and single player worlds.
|
||||
'''
|
||||
# A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional.
|
||||
[[dependencies.shapedaionresources]] #optional
|
||||
[[dependencies.otemod]] #optional
|
||||
# the modid of the dependency
|
||||
modId="forge" #mandatory
|
||||
# Does this dependency have to exist - if not, ordering below must be specified
|
||||
mandatory=true #mandatory
|
||||
# The version range of the dependency
|
||||
versionRange="[40,)" #mandatory
|
||||
versionRange="[41,)" #mandatory
|
||||
# An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory
|
||||
ordering="NONE"
|
||||
# Side this dependency is applied on - BOTH, CLIENT or SERVER
|
||||
side="BOTH"
|
||||
# Here's another dependency
|
||||
[[dependencies.shapedaionresources]]
|
||||
[[dependencies.otemod]]
|
||||
modId="minecraft"
|
||||
mandatory=true
|
||||
# This version range declares a minimum of the current minecraft version up to but not including the next major version
|
||||
versionRange="[1.18.2,1.19)"
|
||||
versionRange="[1.19)"
|
||||
ordering="NONE"
|
||||
side="BOTH"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "shapedaionresources:block/aion_block"
|
||||
"model": "otemod:block/aion_block"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "shapedaionresources:block/aion_ore_block"
|
||||
"model": "otemod:block/aion_ore_block"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "shapedaionresources:block/deepslate_aion_ore_block"
|
||||
"model": "otemod:block/deepslate_aion_ore_block"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -3,15 +3,15 @@
|
|||
"itemGroup.refinedfabric.tools": "RefinedFabric Utilities",
|
||||
"itemGroup.refinedfabric.blocks": "RefinedFabric Blocks",
|
||||
|
||||
"item.shapedaionresources.aion_ore": "Raw Aion Ore",
|
||||
"item.shapedaionresources.aion_crystal": "Aion Crystal",
|
||||
"item.shapedaionresources.aion_crystal.levels": "Stored XP: ",
|
||||
"item.shapedaionresources.aion_crystal.empty": "* Crystal Is Empty *",
|
||||
"item.shapedaionresources.aion_crystal.need_repair": "Aion Crystal must now be repaired",
|
||||
"item.shapedaionresources.aion_crystal.durability": "Durability: ",
|
||||
"item.shapedaionresources.aion_fragment": "Fragmented Aion Crystal",
|
||||
"item.otemod.aion_ore": "Raw Aion Ore",
|
||||
"item.otemod.aion_crystal": "Aion Crystal",
|
||||
"item.otemod.aion_crystal.levels": "Stored XP: ",
|
||||
"item.otemod.aion_crystal.empty": "* Crystal Is Empty *",
|
||||
"item.otemod.aion_crystal.need_repair": "Aion Crystal must now be repaired",
|
||||
"item.otemod.aion_crystal.durability": "Durability: ",
|
||||
"item.otemod.aion_fragment": "Fragmented Aion Crystal",
|
||||
|
||||
"block.shapedaionresources.aion_ore_block": "Aion Ore",
|
||||
"block.shapedaionresources.deepslate_aion_ore_block": "Deepslate Aion Ore",
|
||||
"block.shapedaionresources.aion_block": "Aion Block"
|
||||
"block.otemod.aion_ore_block": "Aion Ore",
|
||||
"block.otemod.deepslate_aion_ore_block": "Deepslate Aion Ore",
|
||||
"block.otemod.aion_block": "Aion Block"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "shapedaionresources:block/aion_block"
|
||||
"all": "otemod:block/aion_block"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "shapedaionresources:block/aion_ore_block"
|
||||
"all": "otemod:block/aion_ore_block"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "shapedaionresources:block/deepslate_aion_ore_block"
|
||||
"all": "otemod:block/deepslate_aion_ore_block"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"parent": "shapedaionresources:block/aion_block"
|
||||
"parent": "otemod:block/aion_block"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "shapedaionresources:item/aion_crystal"
|
||||
"layer0": "otemod:item/aion_crystal"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "shapedaionresources:item/aion_fragment"
|
||||
"layer0": "otemod:item/aion_fragment"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "shapedaionresources:item/aion_ore"
|
||||
"layer0": "otemod:item/aion_ore"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"parent": "shapedaionresources:block/aion_ore_block"
|
||||
"parent": "otemod:block/aion_ore_block"
|
||||
}
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"parent": "shapedaionresources:block/deepslate_aion_ore_block"
|
||||
"parent": "otemod:block/deepslate_aion_ore_block"
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"origins": [
|
||||
"shapedaionresources:flutterling"
|
||||
],
|
||||
"enabled": true,
|
||||
"allow_random": true
|
||||
}
|
|
@ -7,14 +7,14 @@
|
|||
],
|
||||
"key": {
|
||||
"C": {
|
||||
"item": "shapedaionresources:aion_crystal"
|
||||
"item": "otemod:aion_crystal"
|
||||
},
|
||||
"N": {
|
||||
"item": "minecraft:nether_star"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "shapedaionresources:aion_block",
|
||||
"item": "otemod:aion_block",
|
||||
"count": 1
|
||||
}
|
||||
}
|
|
@ -7,14 +7,14 @@
|
|||
],
|
||||
"key": {
|
||||
"F": {
|
||||
"item": "shapedaionresources:aion_fragment"
|
||||
"item": "otemod:aion_fragment"
|
||||
},
|
||||
"G": {
|
||||
"item": "minecraft:emerald"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "shapedaionresources:aion_crystal",
|
||||
"item": "otemod:aion_crystal",
|
||||
"count": 1
|
||||
}
|
||||
}
|
17
src/main/resources/data/otemod/recipes/aion_fragment.json
Normal file
17
src/main/resources/data/otemod/recipes/aion_fragment.json
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": [
|
||||
{
|
||||
"item": "otemod:aion_ore"
|
||||
},
|
||||
{
|
||||
"item": "otemod:aion_ore_block"
|
||||
},
|
||||
{
|
||||
"item": "otemod:deepslate_aion_ore_block"
|
||||
}
|
||||
],
|
||||
"result": "otemod:aion_fragment",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 25
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
{
|
||||
"name": "Flutterling",
|
||||
"description": "Flutterlings are tiny, moth-like fae creatures that love living in the hollows of trees. While they are weak and fragile, they can easily climb or fly out of danger when faced with it.",
|
||||
"powers": [
|
||||
"shapedaionresources:flutter",
|
||||
"shapedaionresources:night_vision",
|
||||
"shapedaionresources:flight",
|
||||
"shapedaionresources:nocturnal",
|
||||
"shapedaionresources:soundeffect",
|
||||
"shapedaionresources:armor_allergy",
|
||||
"shapedaionresources:armor_weight",
|
||||
"shapedaionresources:fae_weakness",
|
||||
"shapedaionresources:soul_lantern_allergy",
|
||||
"shapedaionresources:tiny_fae",
|
||||
"extraorigins:nimble",
|
||||
"extraorigins:small_appetite",
|
||||
"origins:climbing"
|
||||
],
|
||||
"icon": {
|
||||
"item": "minecraft:feather"
|
||||
},
|
||||
"impact": 3
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
{
|
||||
"name": "Armor allergy",
|
||||
"description": "You are very small, and struggle to wear armor without being weighed down. Additionally, you are allergic to pure iron armor, and cannot wear it.",
|
||||
"hidden": true,
|
||||
"type": "origins:conditioned_restrict_armor",
|
||||
"head": {
|
||||
"type": "origins:ingredient",
|
||||
"ingredient": {
|
||||
"item": "minecraft:iron_helmet"
|
||||
}
|
||||
},
|
||||
"chest": {
|
||||
"type": "origins:ingredient",
|
||||
"ingredient": {
|
||||
"item": "minecraft:iron_chestplate"
|
||||
}
|
||||
},
|
||||
"legs": {
|
||||
"type": "origins:ingredient",
|
||||
"ingredient": {
|
||||
"item": "minecraft:iron_leggings"
|
||||
}
|
||||
},
|
||||
"feet": {
|
||||
"type": "origins:ingredient",
|
||||
"ingredient": {
|
||||
"item": "minecraft:iron_boots"
|
||||
}
|
||||
},
|
||||
"tick_rate": 80
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
{
|
||||
"name": "Armor Difficulties",
|
||||
"description": "You are very small, and struggle to wear armor without being weighed down. Additionally, you are allergic to pure iron armor, and cannot wear it.",
|
||||
"type": "origins:conditioned_restrict_armor",
|
||||
"head": {
|
||||
"type": "origins:armor_value",
|
||||
"comparison": ">",
|
||||
"compare_to": 2
|
||||
},
|
||||
"chest": {
|
||||
"type": "origins:armor_value",
|
||||
"comparison": ">",
|
||||
"compare_to": 6
|
||||
},
|
||||
"legs": {
|
||||
"type": "origins:armor_value",
|
||||
"comparison": ">",
|
||||
"compare_to": 5
|
||||
},
|
||||
"feet": {
|
||||
"type": "origins:armor_value",
|
||||
"comparison": ">",
|
||||
"compare_to": 2
|
||||
},
|
||||
"tick_rate": 80
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
{
|
||||
"name": "Fae Weakness",
|
||||
"description": "Your fae nature means that you are allergic to some variants of iron. The heat of fire within lanterns make you feel weak.",
|
||||
"condition": {
|
||||
"type": "origins:block_in_radius",
|
||||
"block_condition": {
|
||||
"type": "origins:block",
|
||||
"block": "minecraft:lantern"
|
||||
},
|
||||
"radius": 1,
|
||||
"shape": "cube",
|
||||
"comparison": ">=",
|
||||
"compare_to": 1
|
||||
},
|
||||
"type": "origins:action_over_time",
|
||||
"interval": 3,
|
||||
"entity_action": {
|
||||
"type": "origins:apply_effect",
|
||||
"effect": {
|
||||
"effect": "minecraft:mining_fatigue",
|
||||
"duration": 10,
|
||||
"amplifier": 1,
|
||||
"show_particles": false,
|
||||
"show_icon": false
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"name": "Weak Wings",
|
||||
"description": "While you can glide like the best of them, you can only fly with some effort, fluttering to slowly gain altitude while gliding.",
|
||||
"type": "origins:elytra_flight",
|
||||
"render_elytra": true,
|
||||
"texture_location": "shapedaionresources:textures/entity/elytra.png"
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
{
|
||||
"name": "flutter",
|
||||
"hidden": true,
|
||||
"type": "origins:active_self",
|
||||
"entity_action": {
|
||||
"type": "origins:add_velocity",
|
||||
"y": 0.3,
|
||||
"space": "world",
|
||||
"client": true,
|
||||
"server": true
|
||||
},
|
||||
"cooldown": 10,
|
||||
"hud_render": {
|
||||
"should_render": false
|
||||
},
|
||||
"key": {
|
||||
"key": "key.origins.secondary_active",
|
||||
"continuous": true
|
||||
}
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"name": "Night Vision",
|
||||
"description": "Your big eyes have adapted to see within dark spaces.",
|
||||
"hidden": true,
|
||||
"type": "origins:night_vision",
|
||||
"strength": 1
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
{
|
||||
"name": "Nocturnal",
|
||||
"description": "You are naturally nocturnal, and find yourself weaker when in the extreme brightness of sunlight. On the other hand, your adaptation to darkness means that you can see clearly even in pitch black.",
|
||||
"condition": {
|
||||
"type": "origins:and",
|
||||
"conditions": [
|
||||
{
|
||||
"type": "origins:exposed_to_sun"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": "origins:stacking_status_effect",
|
||||
"min_stacks": 0,
|
||||
"max_stacks": 2,
|
||||
"duration_per_stack": 30,
|
||||
"tick_rate": 10,
|
||||
"effects": [
|
||||
{
|
||||
"effect": "minecraft:weakness",
|
||||
"duration": 100,
|
||||
"amplifier": 0,
|
||||
"is_ambient": true,
|
||||
"show_particles": false,
|
||||
"show_icon": true
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
{
|
||||
"name": "lantern allergy",
|
||||
"description": "Your fae nature means that you are allergic to some variants of iron. The heat of fire within lanterns make you feel weak.",
|
||||
"hidden": true,
|
||||
"condition": {
|
||||
"type": "origins:block_in_radius",
|
||||
"block_condition": {
|
||||
"type": "origins:block",
|
||||
"block": "minecraft:soul_lantern"
|
||||
},
|
||||
"radius": 1,
|
||||
"shape": "cube",
|
||||
"comparison": ">=",
|
||||
"compare_to": 1
|
||||
},
|
||||
"type": "origins:action_over_time",
|
||||
"interval": 3,
|
||||
"entity_action": {
|
||||
"type": "origins:apply_effect",
|
||||
"effect": {
|
||||
"effect": "minecraft:mining_fatigue",
|
||||
"duration": 10,
|
||||
"amplifier": 1,
|
||||
"show_particles": false,
|
||||
"show_icon": false
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
{
|
||||
"hidden": true,
|
||||
"type": "origins:active_self",
|
||||
"entity_action": {
|
||||
"type": "origins:play_sound",
|
||||
"sound": "minecraft:entity.parrot.fly",
|
||||
"volume": 1,
|
||||
"pitch": 1
|
||||
},
|
||||
"cooldown": 10,
|
||||
"hud_render": {
|
||||
"should_render": false
|
||||
},
|
||||
"key": {
|
||||
"key": "key.origins.secondary_active",
|
||||
"continuous": true
|
||||
}
|
||||
}
|
|
@ -1,53 +0,0 @@
|
|||
{
|
||||
"name": "Tiny Faerie",
|
||||
"description": "You are tiny due to being a magical moth-like creature. You have only 5 hearts and less reach, and are only half a block tall.",
|
||||
|
||||
"type": "origins:multiple",
|
||||
"modify_size": {
|
||||
"type": "extraorigins:modify_size",
|
||||
"scale": 0.25
|
||||
},
|
||||
"attribute_modifiers": {
|
||||
"type": "origins:attribute",
|
||||
"modifiers": [
|
||||
{
|
||||
"name": "Origin modifier",
|
||||
"attribute": "minecraft:generic.max_health",
|
||||
"operation": "addition",
|
||||
"value": -10
|
||||
},
|
||||
{
|
||||
"name": "Origin modifier",
|
||||
"attribute": "minecraft:generic.attack_speed",
|
||||
"operation": "addition",
|
||||
"value": 0.5
|
||||
},
|
||||
{
|
||||
"name": "Origin modifier",
|
||||
"attribute": "minecraft:generic.movement_speed",
|
||||
"operation": "addition",
|
||||
"value": -0.015
|
||||
},
|
||||
{
|
||||
"name": "Origin modifier",
|
||||
"attribute": "reach-entity-attributes:attack_range",
|
||||
"operation": "addition",
|
||||
"value": -0.25
|
||||
},
|
||||
{
|
||||
"name": "Origin modifier",
|
||||
"attribute": "reach-entity-attributes:reach",
|
||||
"operation": "addition",
|
||||
"value": -1
|
||||
}
|
||||
]
|
||||
},
|
||||
"jump_modifier": {
|
||||
"type": "origins:modify_jump",
|
||||
"modifier": {
|
||||
"name": "Origin modifier",
|
||||
"operation": "multiply_total",
|
||||
"value": -0.3333
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": [
|
||||
{
|
||||
"item": "shapedaionresources:aion_ore"
|
||||
},
|
||||
{
|
||||
"item": "shapedaionresources:aion_ore_block"
|
||||
},
|
||||
{
|
||||
"item": "shapedaionresources:deepslate_aion_ore_block"
|
||||
}
|
||||
],
|
||||
"result": "shapedaionresources:aion_fragment",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 25
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"GGG",
|
||||
"GDG",
|
||||
"GGG"
|
||||
],
|
||||
"key": {
|
||||
"D": {
|
||||
"item": "minecraft:diamond"
|
||||
},
|
||||
"G": {
|
||||
"item": "minecraft:gold_ingot"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "origins:orb_of_origin",
|
||||
"count": 1
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"pack": {
|
||||
"description": "ShapedAionResources Modpack Resources",
|
||||
"description": "OTEMod Resources",
|
||||
"pack_format": 9
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue