Interface IForgeRawTagBuilder
- All Known Implementing Classes:
Tag.Builder
public interface IForgeRawTagBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondefault Tag.Builder
default Tag.Builder
Adds a tag entry to the remove list.default Tag.Builder
removeElement
(ResourceLocation elementID, String source) Adds a single-element entry to the remove list.default Tag.Builder
removeTag
(ResourceLocation tagID, String source) Adds a tag to the remove list.default void
serializeTagAdditions
(com.google.gson.JsonObject tagJson) internal, called when a raw builder is written to json to add forge additions (e.g.
-
Method Details
-
getRawBuilder
-
serializeTagAdditions
default void serializeTagAdditions(com.google.gson.JsonObject tagJson) internal, called when a raw builder is written to json to add forge additions (e.g. the remove list) -
remove
Adds a tag entry to the remove list.- Parameters:
tagEntry
- The tag entry to add to the remove listsource
- The source of the caller for logging purposes (generally a modid)- Returns:
- The builder for chaining purposes
-
removeElement
Adds a single-element entry to the remove list.- Parameters:
elementID
- The ID of the element to add to the remove listsource
- The source of the caller for logging purposes (generally a modid)- Returns:
- The builder for chaining purposes
-
removeTag
Adds a tag to the remove list.- Parameters:
tagID
- The ID of the tag to add to the remove listsource
- The source of the caller for logging purposes (generally a modid)- Returns:
- The builder for chaining purposes
-