mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
Upper case on title
parent
ee88d2731b
commit
d632ed0c10
1 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
## What is a material group
|
# Material Group
|
||||||
|
|
||||||
A material group is a named collection of bukkit material that can accept other material group to be "added" to the group policy. \
|
A material group is a named collection of bukkit material that can accept other material group to be "added" to the group policy. \
|
||||||
It is used in enchantment conflict (config wip)
|
It is used in enchantment conflict (config wip)
|
||||||
|
|
@ -6,7 +6,7 @@ It is used in enchantment conflict (config wip)
|
||||||
|
|
||||||
***
|
***
|
||||||
|
|
||||||
## Actual implementation of material group
|
## Actual Implementation of Material Group
|
||||||
|
|
||||||
The 2 implementation of material groups are IncludeGroup and ExcludeGroup. \
|
The 2 implementation of material groups are IncludeGroup and ExcludeGroup. \
|
||||||
It is recommended to use only IncludeGroup as it can be edited by admin at runtime via the gui.
|
It is recommended to use only IncludeGroup as it can be edited by admin at runtime via the gui.
|
||||||
|
|
@ -20,7 +20,7 @@ Adding a group to another group is not impacted by the type of group. For exampl
|
||||||
|
|
||||||
***
|
***
|
||||||
|
|
||||||
## Create and register material group
|
## Creating and Registering a Material Group
|
||||||
Here is an example of you could create a material group
|
Here is an example of you could create a material group
|
||||||
```java
|
```java
|
||||||
@EventHandler
|
@EventHandler
|
||||||
|
|
@ -59,7 +59,7 @@ It will be triggered almost instantly after every plugin have initialized.
|
||||||
|
|
||||||
|
|
||||||
***
|
***
|
||||||
## Removing a material group.
|
## Removing a Material Group.
|
||||||
You may want to remove a material group via MaterialGroupApi. But it is not recommended and current implementation: If the group is not in use everything should be fine, but if not the case then it is unspecified behavior. (but probably will still be used until restart by the required conflict and group) \
|
You may want to remove a material group via MaterialGroupApi. But it is not recommended and current implementation: If the group is not in use everything should be fine, but if not the case then it is unspecified behavior. (but probably will still be used until restart by the required conflict and group) \
|
||||||
A better version of these function will be implemented in the incoming update.
|
A better version of these function will be implemented in the incoming update.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue