Skip to content

Commit

Permalink
update: wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
sakurawald committed Jul 16, 2024
1 parent d4abbfc commit e20d569
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
2 changes: 1 addition & 1 deletion fuji-fabric.wiki
1 change: 0 additions & 1 deletion src/main/java/io/github/sakurawald/Fuji.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
// TODO: a generalized mixin plugin to dispatch text.

// TODO: sign module
// TODO: feature for chat module -> handle more chat types
// TODO: a program to generate module reference DAG

// TODO: nickname module -> luckperms
Expand Down
26 changes: 18 additions & 8 deletions src/main/java/io/github/sakurawald/config/model/ConfigModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -1035,26 +1035,36 @@ public class Realname {
@Documentation("""
This module provides some `numeric multiplier`.
Supported numeric types:
- damage
- experience
Supported `numeric types`:
- `damage`: damage to plaer
- `experience`: experience a player gained
---
Example 1
- Example 1
If you want to `doubled` the damage from zombie to a player.
You can set a meta by: `/lp group default meta set fuji.multiplier.damage.minecraft:zombie 2`
- Example 2
---
Example 2
If you want to cancel fall damage for all players. You can use `damage multiplier`.
You can set a meta by: `/lp group default meta set fuji.multiplier.damage.minecraft:fall 0`
- Example 3
---
Example 3
If you want to `doubled` all the damages to a player.
You can set a meta by: `/lp group default meta set fuji.multiplier.damage.all 2`
- Example 4
---
Example 4
If you want to `doubled` all the experience a player gained.
You can set a meta by: `/lp group default meta set fuji.multiplier.experience.all 2`
---
Example 5
If you want to `half` all the damages to a player.
You can set a meta by: `/lp group default meta set fuji.multiplier.damage.all 0.5`
""")
public class Multiplier {
public boolean enable = false;
Expand Down

0 comments on commit e20d569

Please sign in to comment.