Update Mappings Add API Docs
This commit is contained in:
parent
516d7909f1
commit
963900a65d
@ -1,5 +1,9 @@
|
|||||||
### Changelog
|
### Changelog
|
||||||
|
|
||||||
|
**1.0.12**
|
||||||
|
* Update Mappings
|
||||||
|
* Add API Docs
|
||||||
|
|
||||||
**1.0.11**
|
**1.0.11**
|
||||||
* Allow Spells to Affect Blocks
|
* Allow Spells to Affect Blocks
|
||||||
* Add Cooling Spell
|
* Add Cooling Spell
|
||||||
|
13
README.md
13
README.md
@ -83,18 +83,18 @@ This removes the specified spell from the item in the player's main hand.
|
|||||||
1. Add Dependency to Gradle
|
1. Add Dependency to Gradle
|
||||||
```gradle
|
```gradle
|
||||||
repositories {
|
repositories {
|
||||||
maven { url 'https://jitpack.io' }
|
maven { url 'https://jitpack.io' }
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
modImplementation 'com.thebrokenrail:sorcerycraft:VERSION'
|
modImplementation 'com.thebrokenrail:sorcerycraft:VERSION'
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
2. Add Dependency to ```fabric.mod.json```
|
2. Add Dependency to ```fabric.mod.json```
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"depends": {
|
"depends": {
|
||||||
"sorcerycraft": "VERSION"
|
"sorcerycraft": "VERSION"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
3. Create a class extending ```com.thebrokenrail.sorcerycraft.spell.registry.Spell```
|
3. Create a class extending ```com.thebrokenrail.sorcerycraft.spell.registry.Spell```
|
||||||
@ -122,6 +122,7 @@ This removes the specified spell from the item in the player's main hand.
|
|||||||
@Override
|
@Override
|
||||||
public ItemStack getItemCost() {
|
public ItemStack getItemCost() {
|
||||||
// Return the item(s) required to make ExampleSpell in a Casting Table
|
// Return the item(s) required to make ExampleSpell in a Casting Table
|
||||||
|
// Return ItemStack.EMPTY if an item is not required
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -142,7 +143,7 @@ This removes the specified spell from the item in the player's main hand.
|
|||||||
5. Add Spell Translation
|
5. Add Spell Translation
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"spell.modid.example_spell": "Example"
|
"spell.modid.example_spell": "Example"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -6,11 +6,11 @@ org.gradle.jvmargs = -Xmx1G
|
|||||||
minecraft_version = 20w10a
|
minecraft_version = 20w10a
|
||||||
curseforge_id = 365308
|
curseforge_id = 365308
|
||||||
simple_minecraft_version = 1.16-Snapshot
|
simple_minecraft_version = 1.16-Snapshot
|
||||||
yarn_mappings = 20w10a+build.7
|
yarn_mappings = 20w10a+build.12
|
||||||
loader_version = 0.7.8+build.186
|
loader_version = 0.7.8+build.186
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = 1.0.11
|
mod_version = 1.0.12
|
||||||
maven_group = com.thebrokenrail
|
maven_group = com.thebrokenrail
|
||||||
archives_base_name = sorcerycraft
|
archives_base_name = sorcerycraft
|
||||||
|
|
||||||
|
@ -1,24 +1,24 @@
|
|||||||
{
|
{
|
||||||
"item.sorcerycraft.spell": "Spell",
|
"item.sorcerycraft.spell": "Spell",
|
||||||
"block.sorcerycraft.casting_table": "Casting Table",
|
"block.sorcerycraft.casting_table": "Casting Table",
|
||||||
"itemGroup.sorcerycraft.spells": "SorceryCraft",
|
"itemGroup.sorcerycraft.spells": "SorceryCraft",
|
||||||
"container.sorcerycraft.casting_table": "Casting Table",
|
"container.sorcerycraft.casting_table": "Casting Table",
|
||||||
"container.sorcerycraft.spells": "Spells",
|
"container.sorcerycraft.spells": "Spells",
|
||||||
"chat.sorcerycraft.new_spell": "%s has learned the spell %s",
|
"chat.sorcerycraft.new_spell": "%s has learned the spell %s",
|
||||||
"entity.sorcerycraft.spell": "Spell",
|
"entity.sorcerycraft.spell": "Spell",
|
||||||
"command.sorcerycraft.spell.cleared_spells": "All spells cleared from %s",
|
"command.sorcerycraft.spell.cleared_spells": "All spells cleared from %s",
|
||||||
"command.sorcerycraft.spell.listing_spells": "%s knows the following spells:",
|
"command.sorcerycraft.spell.listing_spells": "%s knows the following spells:",
|
||||||
"command.sorcerycraft.spell.unknown_spell": "Unknown spell: %s",
|
"command.sorcerycraft.spell.unknown_spell": "Unknown spell: %s",
|
||||||
"command.sorcerycraft.spell.not_holding_spell": "%s is not holding a Spell",
|
"command.sorcerycraft.spell.not_holding_spell": "%s is not holding a Spell",
|
||||||
"command.sorcerycraft.spell.applied_spell": "Applied Spell %s",
|
"command.sorcerycraft.spell.applied_spell": "Applied Spell %s",
|
||||||
"command.sorcerycraft.spell.removed_spell": "Removed Spell %s",
|
"command.sorcerycraft.spell.removed_spell": "Removed Spell %s",
|
||||||
"spell.sorcerycraft.damage_spell": "Damage",
|
"spell.sorcerycraft.damage_spell": "Damage",
|
||||||
"spell.sorcerycraft.heal_spell": "Heal",
|
"spell.sorcerycraft.heal_spell": "Heal",
|
||||||
"spell.sorcerycraft.dissolve_spell": "Dissolve",
|
"spell.sorcerycraft.dissolve_spell": "Dissolve",
|
||||||
"spell.sorcerycraft.steadfast_spell": "Steadfast",
|
"spell.sorcerycraft.steadfast_spell": "Steadfast",
|
||||||
"spell.sorcerycraft.flame_spell": "Flame",
|
"spell.sorcerycraft.flame_spell": "Flame",
|
||||||
"spell.sorcerycraft.levitate_spell": "Levitate",
|
"spell.sorcerycraft.levitate_spell": "Levitate",
|
||||||
"spell.sorcerycraft.teleport_spell": "Teleport",
|
"spell.sorcerycraft.teleport_spell": "Teleport",
|
||||||
"spell.sorcerycraft.inward_spell": "Inward",
|
"spell.sorcerycraft.inward_spell": "Inward",
|
||||||
"spell.sorcerycraft.cooling_spell": "Cooling"
|
"spell.sorcerycraft.cooling_spell": "Cooling"
|
||||||
}
|
}
|
@ -1,34 +1,34 @@
|
|||||||
{
|
{
|
||||||
"schemaVersion": 1,
|
"schemaVersion": 1,
|
||||||
"id": "sorcerycraft",
|
"id": "sorcerycraft",
|
||||||
"version": "${version}",
|
"version": "${version}",
|
||||||
"name": "SorceryCraft",
|
"name": "SorceryCraft",
|
||||||
"description": "Cast Spells in Minecraft!",
|
"description": "Cast Spells in Minecraft!",
|
||||||
"authors": [
|
"authors": [
|
||||||
"TheBrokenRail"
|
"TheBrokenRail"
|
||||||
],
|
|
||||||
"contact": {
|
|
||||||
"homepage": "https://thebrokenrail.com/",
|
|
||||||
"sources": "https://gitea.thebrokenrail.com/TheBrokenRail/SorceryCraft.git",
|
|
||||||
"issues": "https://gitea.thebrokenrail.com/TheBrokenRail/SorceryCraft/issues"
|
|
||||||
},
|
|
||||||
"license": "MIT",
|
|
||||||
"icon": "assets/sorcerycraft/textures/block/casting_table.png",
|
|
||||||
"environment": "*",
|
|
||||||
"entrypoints": {
|
|
||||||
"main": [
|
|
||||||
"com.thebrokenrail.sorcerycraft.SorceryCraft"
|
|
||||||
],
|
],
|
||||||
"client": [
|
"contact": {
|
||||||
"com.thebrokenrail.sorcerycraft.SorceryCraft"
|
"homepage": "https://thebrokenrail.com/",
|
||||||
]
|
"sources": "https://gitea.thebrokenrail.com/TheBrokenRail/SorceryCraft.git",
|
||||||
},
|
"issues": "https://gitea.thebrokenrail.com/TheBrokenRail/SorceryCraft/issues"
|
||||||
"mixins": [
|
},
|
||||||
"sorcerycraft.mixins.json"
|
"license": "MIT",
|
||||||
],
|
"icon": "assets/sorcerycraft/textures/block/casting_table.png",
|
||||||
"depends": {
|
"environment": "*",
|
||||||
"fabricloader": ">=0.7.4",
|
"entrypoints": {
|
||||||
"fabric": "*",
|
"main": [
|
||||||
"minecraft": "1.16.x"
|
"com.thebrokenrail.sorcerycraft.SorceryCraft"
|
||||||
}
|
],
|
||||||
|
"client": [
|
||||||
|
"com.thebrokenrail.sorcerycraft.SorceryCraft"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"mixins": [
|
||||||
|
"sorcerycraft.mixins.json"
|
||||||
|
],
|
||||||
|
"depends": {
|
||||||
|
"fabricloader": ">=0.7.4",
|
||||||
|
"fabric": "*",
|
||||||
|
"minecraft": "1.16.x"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"package": "com.thebrokenrail.sorcerycraft.mixin",
|
"package": "com.thebrokenrail.sorcerycraft.mixin",
|
||||||
"compatibilityLevel": "JAVA_8",
|
"compatibilityLevel": "JAVA_8",
|
||||||
"client": [
|
"client": [
|
||||||
"MixinClientPlayNetworkHandler"
|
"MixinClientPlayNetworkHandler"
|
||||||
],
|
],
|
||||||
"mixins": [
|
"mixins": [
|
||||||
"MixinPlayerEntity",
|
"MixinPlayerEntity",
|
||||||
"MixinServerPlayerEntity"
|
"MixinServerPlayerEntity"
|
||||||
],
|
],
|
||||||
"injectors": {
|
"injectors": {
|
||||||
"defaultRequire": 1
|
"defaultRequire": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user