From 332693c1a1f9e611fa439d040055a2f6a513a420 Mon Sep 17 00:00:00 2001 From: Sunskimmer822 <92886026+Sunskimmer822@users.noreply.github.com> Date: Tue, 22 Feb 2022 20:03:09 -0800 Subject: [PATCH] update shit --- LICENSE | 21 --------------------- build.gradle | 7 +++++++ src/main/java/net/test/mod/TestMod.java | 3 +-- 3 files changed, 8 insertions(+), 23 deletions(-) delete mode 100644 LICENSE diff --git a/LICENSE b/LICENSE deleted file mode 100644 index c9bfe44..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2019 kyrptonaught - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/build.gradle b/build.gradle index 27ac707..2a1deb8 100644 --- a/build.gradle +++ b/build.gradle @@ -18,6 +18,10 @@ repositories { // for more information about repositories. } +repositories { + maven {url = "https://maven.kyrptonaught.dev"} +} + dependencies { // To change the versions see the gradle.properties file minecraft "com.mojang:minecraft:${project.minecraft_version}" @@ -26,6 +30,9 @@ dependencies { // Fabric API. This is technically optional, but you probably want it anyway. modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" + + modImplementation 'net.kyrptonaught:customportalapi:0.0.1-beta47-1.18' + include 'net.kyrptonaught:customportalapi:0.0.1-beta47-1.18' } processResources { diff --git a/src/main/java/net/test/mod/TestMod.java b/src/main/java/net/test/mod/TestMod.java index 41448d9..ee1fda0 100644 --- a/src/main/java/net/test/mod/TestMod.java +++ b/src/main/java/net/test/mod/TestMod.java @@ -14,8 +14,7 @@ public class TestMod implements ModInitializer { public static final Item FABRIC_ITEM = new FabricItem(new Item.Settings().group(ItemGroup.MISC)); public static final Block FABRIC_BLOCK = new FabricBlock(); - - + @Override public void onInitialize() { Registry.register(Registry.ITEM, new Identifier("testmod", "fabric_item"), FABRIC_ITEM);