Package dev.latvian.mods.kubejs.item
Class ItemModificationKubeEvent
java.lang.Object
dev.latvian.mods.kubejs.item.ItemModificationKubeEvent
- All Implemented Interfaces:
KubeEvent
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.latvian.mods.kubejs.event.KubeEvent
afterPosted, cancel, cancel, defaultExitValue, exit, exit, getExitValueType, mapExitValue, success, success
-
Constructor Details
-
ItemModificationKubeEvent
public ItemModificationKubeEvent()
-
-
Method Details
-
modify
@Info("Modifies items matching the given ingredient.\n\n**NOTE**: tag ingredients are not supported at this time.\n") public void modify(ItemPredicate in, Consumer<ItemModificationKubeEvent.ItemModifications> c)
-