Interface IForgeTagAppender<T>
- All Known Implementing Classes:
TagsProvider.TagAppender
public interface IForgeTagAppender<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TagsProvider.TagAppender<T>
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>
Adds a registry entry to the tag json's remove list.default TagsProvider.TagAppender<T>
Adds multiple registry entries 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 registry entry to the tag json's remove list. Callable during datageneration.- Parameters:
entry
- The entry to remove- Returns:
- The builder for chaining
-
remove
Adds multiple registry entries to the tag json's remove list. Callable during datageneration.- Parameters:
entries
- The entries to remove- Returns:
- The builder for chaining
-
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 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
-