Class PreTagKubeEvent
java.lang.Object
dev.latvian.mods.kubejs.server.tag.TagKubeEvent
dev.latvian.mods.kubejs.server.tag.PreTagKubeEvent
- All Implemented Interfaces:
KubeEvent
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal List<Consumer<TagKubeEvent>> booleanfinal Map<net.minecraft.resources.ResourceLocation, PreTagWrapper> Fields inherited from class dev.latvian.mods.kubejs.server.tag.TagKubeEvent
registryKey, SOURCE, TAG_EVENT_HANDLER, totalAdded, totalRemoved, vanillaRegistry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TagWrappercreateTagWrapper(net.minecraft.resources.ResourceLocation id) Set<net.minecraft.resources.ResourceLocation> static voidhandle(Map<net.minecraft.resources.ResourceKey<?>, PreTagKubeEvent> tagEventHolders) voidremoveAllTagsFrom(Object... ignored) Methods inherited from class dev.latvian.mods.kubejs.server.tag.TagKubeEvent
add, get, getType, remove, removeAllMethods 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
-
Field Details
-
tags
-
actions
-
invalid
public boolean invalid
-
-
Constructor Details
-
PreTagKubeEvent
public PreTagKubeEvent(net.minecraft.resources.ResourceKey<?> registryKey)
-
-
Method Details
-
handle
public static void handle(Map<net.minecraft.resources.ResourceKey<?>, PreTagKubeEvent> tagEventHolders) -
createTagWrapper
- Overrides:
createTagWrapperin classTagKubeEvent
-
removeAllTagsFrom
- Overrides:
removeAllTagsFromin classTagKubeEvent
-
getElementIds
- Overrides:
getElementIdsin classTagKubeEvent
-