-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
43 additions
and
82 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,92 +1,36 @@ | ||
# telekinesis | ||
|
||
This mod/plugin adds the telekinesis enchantment, allowing you to instantly move drops into your inventory: | ||
|
||
## Supported drops | ||
- block drops | ||
- mob drops | ||
- exp drops | ||
- shearing drops (fabric only) | ||
- vehicle drops (fabric only) | ||
- fishing drops (fabric only) | ||
|
||
## Compatibility | ||
The paper module of telekinesis is as of Minecraft version 1.20.2 discontinued cause of the lack of ability to | ||
register the enchantment (I will figure a way out when I have time to, but it seems like this step is linked with way more reflection than before.) | ||
This mod/plugin adds the telekinesis enchantment, allowing you to instantly move drops into your inventory. | ||
|
||
## Configuration | ||
|
||
The configuration file can be found in the client/server directory. | ||
The file differs cause of the supported drops between fabric and paper environments. | ||
|
||
-> mod configuration file: `/config/telekinesis.toml` | ||
<br> | ||
-> plugin configuration file: `/plugins/telekinesis.toml` | ||
-> configuration file: `/config/telekinesis.json` | ||
|
||
<details> | ||
<summary>telekinesis.toml</summary> | ||
|
||
<details> | ||
<summary>paper config</summary> | ||
|
||
```toml | ||
# Uncomment the following values if you want to change them: | ||
# | ||
# Decides whether telekinesis can be used without the enchantment. | ||
onByDefault = false | ||
# Uncomment this to block functionality for those who don't have the required permission. | ||
# onByDefaultPermissionRequirement = 'permission' | ||
# | ||
# Decides whether players should be required to sneak to use telekinesis. | ||
onlyOnSneak = false | ||
# Decides whether telekinesis can be used for block drops. | ||
blockDrops = true | ||
# blockDropsPermissionRequirement = 'permission' | ||
# | ||
# Decides whether telekinesis can be used for exp drops. | ||
expDrops = true | ||
# expDropsPermissionRequirement = 'permission' | ||
# | ||
# Decides whether telekinesis can be used for entity drops. | ||
entityDrops = true | ||
# entityDropsPermissionRequirement = 'permission' | ||
# | ||
# Decides whether to add the enchantment to the game. | ||
enchantment = true | ||
``` | ||
</details> | ||
|
||
<details> | ||
<summary>fabric config</summary> | ||
|
||
```toml | ||
# Uncomment the following values if you want to change them: | ||
# | ||
# Decides whether telekinesis can be used without the enchantment. | ||
onByDefault = false | ||
# Decides whether players should be required to sneak to use telekinesis. | ||
onlyOnSneak = false | ||
# Decides whether to add the enchantment to the game. | ||
enchantment = true | ||
# Decides whether telekinesis can be used for block drops. | ||
blockDrops = true | ||
# Decides whether telekinesis can be used for exp drops. | ||
expDrops = true | ||
# Decides whether telekinesis can be used for mob drops. | ||
mobDrops = true | ||
# Decides whether telekinesis can be used for vehicle drops. | ||
vehicleDrops = true | ||
# Decides whether telekinesis can be used for shearing drops. | ||
shearingDrops = true | ||
# Decides whether telekinesis can be used for fishing drops. | ||
fishingDrops = true | ||
```json | ||
{ | ||
"version": 1, // Only for migration purposes, just ignore this. | ||
"config": { | ||
"needEnchantment": true, // Defines, whether telekinesis should without or with the enchantment on the tool. | ||
"needSneak": false, // Defines. whether the player should have to sneak in order to use telekinesis. | ||
"expAllowed": true, // Enables the use of telekinesis for exp drops. | ||
"itemsAllowed": true // Enables the use of telekinesis for item drops. | ||
} | ||
} | ||
``` | ||
</details> | ||
|
||
</details> | ||
|
||
### Other | ||
⚠️ The development version is always the latest stable release of Minecraft. | ||
Therefore, new features will only be available for the current and following Minecraft versions. | ||
|
||
Currently supported versions are: 1.20.1, 1.20.4, 1.20.6 and 1.21. This can change in the future! | ||
|
||
If you need help with any of my mods, just join my [discord server](https://nyon.dev/discord) | ||
|
||
#### Paper Compatibility | ||
|
||
The paper module of telekinesis is as of Minecraft version 1.20.2 discontinued cause of the lack of ability to | ||
register the enchantment (When Paper's registry modification api is merged I will continue.) |
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 +1,4 @@ | ||
- support 1.20.1, 1.20.4, 1.20.6 | ||
- completely rework project | ||
- config is now in json and **NO** migration is applied! | ||
- now consists of fewer sections - see readme | ||
- telekinesis only applies to tools now |
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