Package net.minecraftforge.registries
Class ForgeRegistryTag<V extends IForgeRegistryEntry<V>>
java.lang.Object
net.minecraftforge.registries.ForgeRegistryTag<V>
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
key
-
holderSet
-
contents
-
-
Constructor Details
-
ForgeRegistryTag
-
-
Method Details
-
getKey
- Specified by:
getKey
in interfaceITag<V extends IForgeRegistryEntry<V>>
-
iterator
- Specified by:
iterator
in interfaceIterable<V extends IForgeRegistryEntry<V>>
-
spliterator
- Specified by:
spliterator
in interfaceIterable<V extends IForgeRegistryEntry<V>>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceITag<V extends IForgeRegistryEntry<V>>
-
size
public int size()- Specified by:
size
in interfaceITag<V extends IForgeRegistryEntry<V>>
-
stream
- Specified by:
stream
in interfaceITag<V extends IForgeRegistryEntry<V>>
-
contains
- Specified by:
contains
in interfaceITag<V extends IForgeRegistryEntry<V>>
-
getRandomElement
- Specified by:
getRandomElement
in interfaceITag<V extends IForgeRegistryEntry<V>>
-
isBound
public boolean isBound()- Specified by:
isBound
in interfaceITag<V extends IForgeRegistryEntry<V>>
- Returns:
true
if this tag was loaded with a value (including empty), otherwise the tag is always empty and this returnsfalse
-
getContents
-
bind
-
toString
-