Interface IForgeTagAppender<T>
- All Known Subinterfaces:
IForgeIntrinsicHolderTagAppender<T>
- All Known Implementing Classes:
IntrinsicHolderTagsProvider.IntrinsicTagAppender
,TagsProvider.TagAppender
public interface IForgeTagAppender<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TagsProvider.TagAppender<T>
default TagsProvider.TagAppender<T>
remove
(ResourceKey<T> resourceKey) Adds a resource key to the tag json's remove list.default TagsProvider.TagAppender<T>
remove
(ResourceKey<T> firstResourceKey, ResourceKey<T>... resourceKeys) Adds multiple resource keys to the tag json's remove list.default TagsProvider.TagAppender<T>
remove
(ResourceLocation location) Adds a single element's ID to the tag json's remove list.default TagsProvider.TagAppender<T>
remove
(ResourceLocation first, ResourceLocation... locations) Adds multiple elements' IDs to the tag json's remove list.default TagsProvider.TagAppender<T>
Adds a tag to the tag json's remove list.default TagsProvider.TagAppender<T>
Adds multiple tags to the tag json's remove list.default TagsProvider.TagAppender<T>
replace()
default TagsProvider.TagAppender<T>
replace
(boolean value) private TagsProvider.TagAppender<T>
self()
-
Method Details
-
self
-
addTags
-
replace
-
replace
-
remove
Adds a single element's ID to the tag json's remove list. Callable during datageneration.- Parameters:
location
- The ID of the element to remove- Returns:
- The builder for chaining
-
remove
Adds multiple elements' IDs to the tag json's remove list. Callable during datageneration.- Parameters:
locations
- The IDs of the elements to remove- Returns:
- The builder for chaining
-
remove
Adds a resource key to the tag json's remove list. Callable during datageneration.- Parameters:
resourceKey
- The resource key of the element to remove- Returns:
- The appender for chaining
-
remove
default TagsProvider.TagAppender<T> remove(ResourceKey<T> firstResourceKey, ResourceKey<T>... resourceKeys) Adds multiple resource keys to the tag json's remove list. Callable during datageneration.- Parameters:
resourceKeys
- The resource keys of the elements to remove- Returns:
- The appender for chaining
-
remove
Adds a tag to the tag json's remove list. Callable during datageneration.- Parameters:
tag
- The ID of the tag to remove- Returns:
- The builder for chaining
-
remove
Adds multiple tags to the tag json's remove list. Callable during datageneration.- Parameters:
tags
- The IDs of the tags to remove- Returns:
- The builder for chaining
-