Package dev.latvian.mods.kubejs.block
Class BlockModificationKubeEvent
java.lang.Object
dev.latvian.mods.kubejs.block.BlockModificationKubeEvent
- All Implemented Interfaces:
KubeEvent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record -
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
-
BlockModificationKubeEvent
public BlockModificationKubeEvent()
-
-
Method Details
-
modify
@Info("Modifies blocks that match the given predicate.\n\n**NOTE**: tag predicates are not supported at this time.\n") public void modify(BlockStatePredicate predicate, Consumer<BlockModificationKubeEvent.BlockModifications> c)
-