File tree Expand file tree Collapse file tree
src/main/java/roadhog360/hogutils/api/event Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88import java .util .List ;
99
10- /// Fired when the game is registering OreDictionary values, so other mods can detect what HogUtils has tagged an item with .
11- /// If there's a custom OreDictionary tag you have a modern tag equivalent for you can hook into this event .
10+ /// Fired when HogUtils automatically applies HogTags to an item when it is registered through OreDictionary .
11+ /// The list is what HogTags will be added. It is immutable .
1212/// This event is {@link Cancelable}.
1313@ Cancelable
1414public class OreDictionaryToHogTagsEvent extends Event {
15- private final String oreDictTag ;
16- private final ItemStack stack ;
17- public final List <String > convertedTagsList ;
15+ public final String oreDictTag ;
16+ public final ItemStack stack ;
17+ public final List <String > autoHogTags ;
1818
1919 public OreDictionaryToHogTagsEvent (String oreDictTag , ItemStack stack , List <String > autoHogTags ) {
2020 this .oreDictTag = oreDictTag ;
2121 this .stack = stack ;
22- this .convertedTagsList = ImmutableList .copyOf (autoHogTags );
22+ this .autoHogTags = ImmutableList .copyOf (autoHogTags );
2323 }
2424}
You can’t perform that action at this time.
0 commit comments