Skip to content

Commit

Permalink
Several fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
WillFP committed Jan 1, 2024
1 parent d53903b commit e053e7a
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 70 deletions.
1 change: 1 addition & 0 deletions docs/all-plugins/the-item-lookup-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Items can have modifiers applied to them in the key. For example, lets say you'r
- **Item Flags:** You can specify flags for the item to have, by dropping in any of [these values](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemFlag.html) (not case sensitive)
- **Unbreakable:** You can make an item unbreakable by having the word `unbreakable` in the flags
- **Custom Model Data:** You can specify custom model data with `custom-model-data:<id>`
- **Armor Trims:** You can specify armor trims with `trim:<material>:<pattern>`, e.g. `trim:emerald:snout`

So, lets say you have an EcoMobs mob, and you want it to drop a rare custom weapon with extra modifiers already applied. Without the Item Lookup system, this wouldn't be possible, but thanks to it, you can just do this: `ecoitems:enlightened_blade razor:4 unbreaking:3 criticals:2 fire_aspect:2 reforge:mighty unbreakable hide_attributes custom-model-data:2`

Expand Down
2 changes: 1 addition & 1 deletion docs/effects/all-effects/drop_item_slot.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Drops items from the player's inventory

# Example Config
```yaml
- id: drop_item
- id: drop_item_slot
args:
slot: hand # The slot to drop, can be any numeric slot, hand, or 'any' (Defaults to any)
amount: 1 # (Optional) The amount of items to drop, defaults to full stack
Expand Down
4 changes: 2 additions & 2 deletions docs/effects/all-effects/rotate.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
Spin around

# Example Config
```rotate
- id: traceback
```yaml
- id: rotate
args:
angle: 180 # The angle to rotate / spin (in degrees)
...other config (eg triggers, filters, mutators, etc)
Expand Down
9 changes: 9 additions & 0 deletions docs/effects/all-filters/is_passive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# `is_passive`

If the entity must be passive

# Example Config
```yaml
filters:
is_passive: true
```
Loading

0 comments on commit e053e7a

Please sign in to comment.