Class TagKubeEvent
java.lang.Object
dev.latvian.mods.kubejs.server.tag.TagKubeEvent
- All Implemented Interfaces:
KubeEvent
- Direct Known Subclasses:
PreTagKubeEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal net.minecraft.resources.ResourceKey<?> static final Stringstatic final EventExceptionHandlerfinal Map<net.minecraft.resources.ResourceLocation, TagWrapper> intintfinal net.minecraft.core.Registry<?> -
Constructor Summary
ConstructorsConstructorDescriptionTagKubeEvent(net.minecraft.resources.ResourceKey<?> registryKey, net.minecraft.core.Registry<?> vr) -
Method Summary
Modifier and TypeMethodDescriptionprotected TagWrappercreateTagWrapper(net.minecraft.resources.ResourceLocation id) get(net.minecraft.resources.ResourceLocation id) Set<net.minecraft.resources.ResourceLocation> net.minecraft.resources.ResourceLocationgetType()removeAll(net.minecraft.resources.ResourceLocation tag) voidremoveAllTagsFrom(Object... ids) Methods 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
-
TAG_EVENT_HANDLER
-
SOURCE
- See Also:
-
registryKey
public final net.minecraft.resources.ResourceKey<?> registryKey -
vanillaRegistry
public final net.minecraft.core.Registry<?> vanillaRegistry -
tags
-
totalAdded
public int totalAdded -
totalRemoved
public int totalRemoved
-
-
Constructor Details
-
TagKubeEvent
public TagKubeEvent(net.minecraft.resources.ResourceKey<?> registryKey, net.minecraft.core.Registry<?> vr)
-
-
Method Details
-
getType
public net.minecraft.resources.ResourceLocation getType() -
get
-
createTagWrapper
-
add
-
remove
-
removeAll
-
removeAllTagsFrom
-
getElementIds
-