Skip to content

Commit

Permalink
Update javadoc header on modifier to mention modifier hooks
Browse files Browse the repository at this point in the history
I suspect addon devs will not be familiar with them, and by javadoc links might think they work just like interfaces
  • Loading branch information
KnightMiner committed Jun 7, 2023
1 parent 0d6e87c commit b0b4009
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@
import java.util.function.BiConsumer;

/**
* Interface representing both modifiers and traits.
* Any behavior special to either one is handled elsewhere.
* Class representing both modifiers and traits. Acts as a storage container for {@link ModifierHook} modules, which are used to implement various modifier behaviors.
* TODO 1.19: consider making {@link #registerHooks(Builder)} abstract as everyone is going to need it in the future.
* @see TinkerHooks
* @see #registerHooks(Builder)
*/
@SuppressWarnings("unused")
public class Modifier implements IHaveLoader<Modifier> {
Expand Down

0 comments on commit b0b4009

Please sign in to comment.