-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fabric port + datapack * Forge & NeoForge
- Loading branch information
Showing
51 changed files
with
473 additions
and
667 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
common/src/main/java/fr/rakambda/fallingtree/common/config/IEnchantmentConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
package fr.rakambda.fallingtree.common.config; | ||
|
||
public interface IEnchantmentConfiguration{ | ||
boolean isRegisterEnchant(); | ||
|
||
boolean isRegisterSpecificEnchant(); | ||
|
||
boolean isRequireEnchantment(); | ||
|
||
boolean isHideEnchant(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"anvil_cost": 6, | ||
"description": { | ||
"translate": "enchantment.fallingtree.chopper", | ||
"fallback": "Chopper" | ||
}, | ||
"effects": { | ||
"minecraft:block_experience": [ | ||
{ | ||
"effect": { | ||
"type": "minecraft:set", | ||
"value": 0 | ||
} | ||
} | ||
] | ||
}, | ||
"max_cost": { | ||
"base": 65, | ||
"per_level_above_first": 0 | ||
}, | ||
"max_level": 1, | ||
"min_cost": { | ||
"base": 15, | ||
"per_level_above_first": 0 | ||
}, | ||
"slots": [ | ||
"mainhand" | ||
], | ||
"exclusive_set": "#fallingtree:exclusive_set/chopper", | ||
"supported_items": "#minecraft:enchantable/mining_loot", | ||
"weight": 1 | ||
} |
32 changes: 32 additions & 0 deletions
32
datapack/data/fallingtree/enchantment/tools/chopper_fall_all_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"anvil_cost": 6, | ||
"description": { | ||
"translate": "enchantment.fallingtree.chopper_fall_all_block", | ||
"fallback": "Chopper (fall all block)" | ||
}, | ||
"effects": { | ||
"minecraft:block_experience": [ | ||
{ | ||
"effect": { | ||
"type": "minecraft:set", | ||
"value": 0 | ||
} | ||
} | ||
] | ||
}, | ||
"max_cost": { | ||
"base": 65, | ||
"per_level_above_first": 0 | ||
}, | ||
"max_level": 1, | ||
"min_cost": { | ||
"base": 15, | ||
"per_level_above_first": 0 | ||
}, | ||
"slots": [ | ||
"mainhand" | ||
], | ||
"exclusive_set": "#fallingtree:exclusive_set/chopper", | ||
"supported_items": "#minecraft:enchantable/mining_loot", | ||
"weight": 1 | ||
} |
32 changes: 32 additions & 0 deletions
32
datapack/data/fallingtree/enchantment/tools/chopper_fall_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"anvil_cost": 6, | ||
"description": { | ||
"translate": "enchantment.fallingtree.chopper_fall_block", | ||
"fallback": "Chopper (fall block)" | ||
}, | ||
"effects": { | ||
"minecraft:block_experience": [ | ||
{ | ||
"effect": { | ||
"type": "minecraft:set", | ||
"value": 0 | ||
} | ||
} | ||
] | ||
}, | ||
"max_cost": { | ||
"base": 65, | ||
"per_level_above_first": 0 | ||
}, | ||
"max_level": 1, | ||
"min_cost": { | ||
"base": 15, | ||
"per_level_above_first": 0 | ||
}, | ||
"slots": [ | ||
"mainhand" | ||
], | ||
"exclusive_set": "#fallingtree:exclusive_set/chopper", | ||
"supported_items": "#minecraft:enchantable/mining_loot", | ||
"weight": 1 | ||
} |
32 changes: 32 additions & 0 deletions
32
datapack/data/fallingtree/enchantment/tools/chopper_fall_item.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"anvil_cost": 6, | ||
"description": { | ||
"translate": "enchantment.fallingtree.chopper_fall_item", | ||
"fallback": "Chopper (fall item)" | ||
}, | ||
"effects": { | ||
"minecraft:block_experience": [ | ||
{ | ||
"effect": { | ||
"type": "minecraft:set", | ||
"value": 0 | ||
} | ||
} | ||
] | ||
}, | ||
"max_cost": { | ||
"base": 65, | ||
"per_level_above_first": 0 | ||
}, | ||
"max_level": 1, | ||
"min_cost": { | ||
"base": 15, | ||
"per_level_above_first": 0 | ||
}, | ||
"slots": [ | ||
"mainhand" | ||
], | ||
"exclusive_set": "#fallingtree:exclusive_set/chopper", | ||
"supported_items": "#minecraft:enchantable/mining_loot", | ||
"weight": 1 | ||
} |
32 changes: 32 additions & 0 deletions
32
datapack/data/fallingtree/enchantment/tools/chopper_instantaneous.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"anvil_cost": 6, | ||
"description": { | ||
"translate": "enchantment.fallingtree.chopper_instantaneous", | ||
"fallback": "Chopper (instantaneous)" | ||
}, | ||
"effects": { | ||
"minecraft:block_experience": [ | ||
{ | ||
"effect": { | ||
"type": "minecraft:set", | ||
"value": 0 | ||
} | ||
} | ||
] | ||
}, | ||
"max_cost": { | ||
"base": 65, | ||
"per_level_above_first": 0 | ||
}, | ||
"max_level": 1, | ||
"min_cost": { | ||
"base": 15, | ||
"per_level_above_first": 0 | ||
}, | ||
"slots": [ | ||
"mainhand" | ||
], | ||
"exclusive_set": "#fallingtree:exclusive_set/chopper", | ||
"supported_items": "#minecraft:enchantable/mining_loot", | ||
"weight": 1 | ||
} |
32 changes: 32 additions & 0 deletions
32
datapack/data/fallingtree/enchantment/tools/chopper_shift_down.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"anvil_cost": 6, | ||
"description": { | ||
"translate": "enchantment.fallingtree.chopper_shift_down", | ||
"fallback": "Chopper (shift down)" | ||
}, | ||
"effects": { | ||
"minecraft:block_experience": [ | ||
{ | ||
"effect": { | ||
"type": "minecraft:set", | ||
"value": 0 | ||
} | ||
} | ||
] | ||
}, | ||
"max_cost": { | ||
"base": 65, | ||
"per_level_above_first": 0 | ||
}, | ||
"max_level": 1, | ||
"min_cost": { | ||
"base": 15, | ||
"per_level_above_first": 0 | ||
}, | ||
"slots": [ | ||
"mainhand" | ||
], | ||
"exclusive_set": "#fallingtree:exclusive_set/chopper", | ||
"supported_items": "#minecraft:enchantable/mining_loot", | ||
"weight": 1 | ||
} |
10 changes: 10 additions & 0 deletions
10
datapack/data/fallingtree/tags/enchantment/chopper_all.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"values": [ | ||
"fallingtree:tools/chopper", | ||
"fallingtree:tools/chopper_fall_all_block", | ||
"fallingtree:tools/chopper_fall_block", | ||
"fallingtree:tools/chopper_fall_item", | ||
"fallingtree:tools/chopper_instantaneous", | ||
"fallingtree:tools/chopper_shift_down" | ||
] | ||
} |
5 changes: 5 additions & 0 deletions
5
datapack/data/fallingtree/tags/enchantment/chopper_fall_all_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"values": [ | ||
"fallingtree:tools/chopper_fall_all_block" | ||
] | ||
} |
5 changes: 5 additions & 0 deletions
5
datapack/data/fallingtree/tags/enchantment/chopper_fall_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"values": [ | ||
"fallingtree:tools/chopper_fall_block" | ||
] | ||
} |
Oops, something went wrong.