Closed ApexModder closed 1 year ago
when using the following method, you are not given a reference to the current item being constructed in the callback.
https://github.com/tterrag1098/Registrate/blob/d5f97f5a105164276e2d287b08735659881ba3db/src/main/java/com/tterrag/registrate/builders/ItemBuilder.java#L138-L141
This means it is not possible to add the item to the creative mode tab via this callback.
Example showcasing attempt to add item to OP_BLOCKS tab only when player has permission, missing reference to be able to call the needed .accept() method.
OP_BLOCKS
.accept()
Merged
when using the following method, you are not given a reference to the current item being constructed in the callback.
https://github.com/tterrag1098/Registrate/blob/d5f97f5a105164276e2d287b08735659881ba3db/src/main/java/com/tterrag/registrate/builders/ItemBuilder.java#L138-L141
This means it is not possible to add the item to the creative mode tab via this callback.
Example showcasing attempt to add item to
OP_BLOCKS
tab only when player has permission, missing reference to be able to call the needed.accept()
method.