Skip to content

Commit

Permalink
Commit 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Starexify committed Sep 1, 2024
1 parent 45ad275 commit 488e7d6
Show file tree
Hide file tree
Showing 79 changed files with 985 additions and 248 deletions.
5 changes: 1 addition & 4 deletions TEMPLATE_LICENSE.txt → LICENSE
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
MIT License

Copyright (c) 2023 NeoForged project

This license applies to the template files as supplied by github.com/NeoForged/MDK

Copyright (c) 2024 ImVeryBad

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
27 changes: 0 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +0,0 @@

Installation information
=======

This template repository can be directly cloned to get you started with a new
mod. Simply create a new repository cloned from this one, by following the
instructions at [github](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template).

Once you have your clone, simply open the repository in the IDE of your choice. The usual recommendation for an IDE is either IntelliJ IDEA or Eclipse.

> **Note**: For Eclipse, use tasks in `Launch Group` instead of ones founds in `Java Application`. A preparation task must run before launching the game. NeoGradle uses launch groups to do these subsequently.
If at any point you are missing libraries in your IDE, or you've run into problems you can
run `gradlew --refresh-dependencies` to refresh the local cache. `gradlew clean` to reset everything
{this does not affect your code} and then start the process again.

Mapping Names:
============
By default, the MDK is configured to use the official mapping names from Mojang for methods and fields
in the Minecraft codebase. These names are covered by a specific license. All modders should be aware of this
license. For the latest license text, refer to the mapping file itself, or the reference copy here:
https://github.com/NeoForged/NeoForm/blob/main/Mojang.md

Additional Resources:
==========
Community Documentation: https://docs.neoforged.net/
NeoForged Discord: https://discord.neoforged.net/
26 changes: 8 additions & 18 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,24 @@ neogradle.subsystems.parchment.mappingsVersion=2024.07.28
# Environment Properties
# You can find the latest versions here: https://projects.neoforged.net/neoforged/neoforge
# The Minecraft version must agree with the Neo version to get a valid artifact
minecraft_version=1.21
minecraft_version=1.21.1
# The Minecraft version range can use any release version of Minecraft as bounds.
# Snapshots, pre-releases, and release candidates are not guaranteed to sort properly
# as they do not follow standard versioning conventions.
minecraft_version_range=[1.21,1.21.1)
# The Neo version must agree with the Minecraft version to get a valid artifact
neo_version=21.0.167
neo_version=21.1.34
# The Neo version range can use any version of Neo as bounds
neo_version_range=[21.0.0-beta,)
# The loader version range can only use the major version of FML as bounds
loader_version_range=[4,)

## Mod Properties

# 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
# The human-readable display name for the mod.
mod_name=Example Mod
# 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_id=hexxit_gear
mod_name=Hexxit Gear R
mod_license=MIT
mod_version=1.0.0
# 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
# 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
# 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.
mod_group_id=net.nova.hexxit_gear
mod_authors=ImVeryBad
mod_description=
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "hexxit_gear:block/hexbiscus"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "hexxit_gear:block/potted_hexbiscus"
}
}
}
10 changes: 10 additions & 0 deletions src/generated/resources/assets/hexxit_gear/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"hexxit_gear.creativetab": "Hexxit Gear R",
"item.hexxit_gear.hexical_diamond": "Hexical Diamond",
"item.hexxit_gear.hexical_essence": "Hexical Essence",
"item.hexxit_gear.hexical_petal": "Hexical Petal",
"item.hexxit_gear.scale_boots": "Scale Boots",
"item.hexxit_gear.scale_chestguard": "Scale Chestguard",
"item.hexxit_gear.scale_helmet": "Scale Helmet",
"item.hexxit_gear.scale_leggings": "Scale Leggings"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parent": "minecraft:block/tinted_cross",
"render_type": "minecraft:cutout",
"textures": {
"cross": "hexxit_gear:block/hexbiscus"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parent": "minecraft:block/flower_pot_cross",
"render_type": "minecraft:cutout",
"textures": {
"plant": "hexxit_gear:block/hexbiscus"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "hexxit_gear:block/hexbiscus"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "hexxit_gear:item/hexical_diamond"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "hexxit_gear:item/hexical_essence"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "hexxit_gear:item/hexical_petal"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "hexxit_gear:item/scale_boots"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "hexxit_gear:item/scale_chestguard"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "hexxit_gear:item/scale_helmet"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "hexxit_gear:item/scale_leggings"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_hexical_petal": {
"conditions": {
"items": [
{
"items": "hexxit_gear:hexical_petal"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "hexxit_gear:hexical_diamond"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_hexical_petal"
]
],
"rewards": {
"recipes": [
"hexxit_gear:hexical_diamond"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_hexbiscus": {
"conditions": {
"items": [
{
"items": "hexxit_gear:hexbiscus"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "hexxit_gear:hexical_petal_from_hexbiscus"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_hexbiscus"
]
],
"rewards": {
"recipes": [
"hexxit_gear:hexical_petal_from_hexbiscus"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:any_of",
"terms": [
{
"condition": "minecraft:match_tool",
"predicate": {
"items": "minecraft:shears"
}
},
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
]
}
],
"name": "hexxit_gear:hexbiscus"
},
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"name": "hexxit_gear:hexical_petal"
}
]
}
],
"rolls": 1.0
}
],
"random_sequence": "hexxit_gear:blocks/hexbiscus"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:flower_pot"
}
],
"rolls": 1.0
},
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "hexxit_gear:hexbiscus"
}
],
"rolls": 1.0
}
],
"random_sequence": "hexxit_gear:blocks/potted_hexbiscus"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"#": {
"item": "minecraft:diamond"
},
"P": {
"item": "hexxit_gear:hexical_petal"
}
},
"pattern": [
" P ",
"P#P",
" P "
],
"result": {
"count": 1,
"id": "hexxit_gear:hexical_diamond"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"type": "minecraft:crafting_shapeless",
"category": "misc",
"group": "hexical_petal",
"ingredients": [
{
"item": "hexxit_gear:hexbiscus"
}
],
"result": {
"count": 1,
"id": "hexxit_gear:hexical_petal"
}
}
Loading

0 comments on commit 488e7d6

Please sign in to comment.