类 VanillaItemTagsProvider.BlockToItemConverter
java.lang.Object
net.minecraft.data.tags.VanillaItemTagsProvider.BlockToItemConverter
- 所有已实现的接口:
TagAppender<Block,
,Block> ITagAppenderExtension<Block,
Block>
static class VanillaItemTagsProvider.BlockToItemConverter
extends Object
implements TagAppender<Block,Block>
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Add the givenentry
to the tag.addOptional
(Block p_422522_) addOptionalTag
(TagKey<Block> p_422609_) blockTagToItemTag
(TagKey<Block> p_421601_) Adds a tag to the tag json's remove list.Adds a resource key to the tag json's remove list.replace
(boolean value) Set whether this tag replaces previous entries.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.neoforged.neoforge.common.extensions.ITagAppenderExtension
addOptionalTags, addTags, remove, remove, replace
从接口继承的方法 net.minecraft.data.tags.TagAppender
add, addAll, addAll, map
-
字段详细资料
-
itemAppender
-
-
构造器详细资料
-
BlockToItemConverter
-
-
方法详细资料
-
add
- 指定者:
add
在接口中TagAppender<Block,
Block>
-
addOptional
- 指定者:
addOptional
在接口中TagAppender<Block,
Block>
-
blockTagToItemTag
-
addTag
- 指定者:
addTag
在接口中TagAppender<Block,
Block>
-
addOptionalTag
- 指定者:
addOptionalTag
在接口中TagAppender<Block,
Block>
-
add
从接口复制的说明:ITagAppenderExtension
Add the givenentry
to the tag.- 指定者:
add
在接口中ITagAppenderExtension<Block,
Block> - 参数:
entry
- the entry to add- 返回:
- The appender for chaining
-
replace
从接口复制的说明:ITagAppenderExtension
Set whether this tag replaces previous entries.- 指定者:
replace
在接口中ITagAppenderExtension<Block,
Block> - 参数:
value
- whether the tag replaces previous entries- 返回:
- The appender for chaining
-
remove
从接口复制的说明:ITagAppenderExtension
Adds a resource key to the tag json's remove list. Callable during datageneration.- 指定者:
remove
在接口中ITagAppenderExtension<Block,
Block> - 返回:
- The appender for chaining
-
remove
从接口复制的说明:ITagAppenderExtension
Adds a tag to the tag json's remove list. Callable during datageneration.- 指定者:
remove
在接口中ITagAppenderExtension<Block,
Block> - 参数:
tag
- The ID of the tag to remove- 返回:
- The builder for chaining
-