diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2cadee0 --- /dev/null +++ b/LICENSE @@ -0,0 +1,12 @@ +do What The Fuck you want to Public License + +Version 1.0, March 2000 +Copyright (C) 2000 Banlu Kemiyatorn (]d). +136 Nives 7 Jangwattana 14 Laksi Bangkok +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + +Ok, the purpose of this license is simple +and you just + +DO WHAT THE FUCK YOU WANT TO. \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index a0ce20c..aaedef3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ # 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.jvmargs=-Xmx4G org.gradle.daemon=false @@ -42,18 +42,18 @@ mapping_version=1.20.1 # The unique mod identifier for the mod. Must be lowercase in English locale. Must fit the regex [a-z][a-z0-9_]{1,63} # Must match the String constant located in the main mod class annotated with @Mod. -mod_id=examplemod +mod_id=potionpills # The human-readable display name for the mod. -mod_name=Example Mod +mod_name=Potion Pills # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=All Rights Reserved # The mod version. See https://semver.org/ -mod_version=1.0.0 +mod_version=0.0.1 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html -mod_group_id=com.example.examplemod +mod_group_id=com.jenny.potionpills # The authors of the mod. This is a simple text string that is used for display purposes in the mod list. -mod_authors=YourNameHere, OtherNameHere +mod_authors=Jenny # The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list. -mod_description=Example mod description.\nNewline characters can be used and will be replaced properly. \ No newline at end of file +mod_description=Tired of drinking potions? Pop some Potion Pills! \ No newline at end of file diff --git a/src/main/java/com/example/examplemod/Config.java b/src/main/java/com/jenny/potionpills/Config.java similarity index 94% rename from src/main/java/com/example/examplemod/Config.java rename to src/main/java/com/jenny/potionpills/Config.java index 4601345..0f21048 100644 --- a/src/main/java/com/example/examplemod/Config.java +++ b/src/main/java/com/jenny/potionpills/Config.java @@ -1,4 +1,4 @@ -package com.example.examplemod; +package com.jenny.potionpills; import net.minecraft.resources.ResourceLocation; import net.minecraft.world.item.Item; @@ -8,14 +8,13 @@ import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.event.config.ModConfigEvent; import net.minecraftforge.registries.ForgeRegistries; -import java.util.Collections; import java.util.List; import java.util.Set; import java.util.stream.Collectors; // An example config class. This is not required, but it's a good idea to have one to keep your config organized. // Demonstrates how to use Forge's config APIs -@Mod.EventBusSubscriber(modid = ExampleMod.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) +@Mod.EventBusSubscriber(modid = PotionPills.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) public class Config { private static final ForgeConfigSpec.Builder BUILDER = new ForgeConfigSpec.Builder(); diff --git a/src/main/java/com/example/examplemod/ExampleMod.java b/src/main/java/com/jenny/potionpills/PotionPills.java similarity index 97% rename from src/main/java/com/example/examplemod/ExampleMod.java rename to src/main/java/com/jenny/potionpills/PotionPills.java index 990fd63..5bb2dfc 100644 --- a/src/main/java/com/example/examplemod/ExampleMod.java +++ b/src/main/java/com/jenny/potionpills/PotionPills.java @@ -1,4 +1,4 @@ -package com.example.examplemod; +package com.jenny.potionpills; import com.mojang.logging.LogUtils; import net.minecraft.client.Minecraft; @@ -30,11 +30,11 @@ import net.minecraftforge.registries.RegistryObject; import org.slf4j.Logger; // The value here should match an entry in the META-INF/mods.toml file -@Mod(ExampleMod.MODID) -public class ExampleMod +@Mod(PotionPills.MODID) +public class PotionPills { // Define mod id in a common place for everything to reference - public static final String MODID = "examplemod"; + public static final String MODID = "potionpills"; // Directly reference a slf4j logger private static final Logger LOGGER = LogUtils.getLogger(); // Create a Deferred Register to hold Blocks which will all be registered under the "examplemod" namespace @@ -61,7 +61,7 @@ public class ExampleMod output.accept(EXAMPLE_ITEM.get()); // Add the example item to the tab. For your own tabs, this method is preferred over the event }).build()); - public ExampleMod() + public PotionPills() { IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus();