public class RegistryVerifier
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RegistryVerifier.Checker<T>
A util class ensuring human readable error messages for invalid values.
|
| Modifier and Type | Field and Description |
|---|---|
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
armorMaterial |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
armorTrimMaterial |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
armorTrimPattern |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
attributeModifier |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
bannerPattern |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
block |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
blockTag |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
damageTypeTag |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
enchantment |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
entityType |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
entityTypeTag |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
instrument |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
item |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
itemTag |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
jukeboxSong |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
mapDecorationType |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
potion |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
sound |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
statusEffect |
RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> |
statusEffectTag |
| Constructor and Description |
|---|
RegistryVerifier() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
verifyArmorMaterial(net.lenni0451.mcstructs.core.Identifier id)
Verify the armor material in the armor material registry.
|
boolean |
verifyArmorTrimMaterial(net.lenni0451.mcstructs.core.Identifier id)
Verify the armor trim material in the armor trim material registry.
|
boolean |
verifyArmorTrimPattern(net.lenni0451.mcstructs.core.Identifier id)
Verify the armor trim pattern in the armor trim pattern registry.
|
boolean |
verifyAttributeModifier(net.lenni0451.mcstructs.core.Identifier id)
Verify the attribute modifier in the attribute modifier registry.
|
boolean |
verifyBannerPattern(net.lenni0451.mcstructs.core.Identifier id)
Verify the banner pattern in the banner pattern registry.
|
boolean |
verifyBlock(net.lenni0451.mcstructs.core.Identifier id)
Verify the block in the block registry.
|
boolean |
verifyBlockState(net.lenni0451.mcstructs.core.Identifier id,
java.lang.String state)
Verify the block state of a block.
|
boolean |
verifyBlockTag(net.lenni0451.mcstructs.core.Identifier id)
Verify the block tag in the block tag registry.
|
boolean |
verifyDamageTypeTag(net.lenni0451.mcstructs.core.Identifier id)
Verify the damage type tag in the damage type tag registry.
|
boolean |
verifyEnchantment(net.lenni0451.mcstructs.core.Identifier id)
Verify the enchantment in the enchantment registry.
|
boolean |
verifyEntityType(net.lenni0451.mcstructs.core.Identifier id)
Verify the entity type in the entity type registry.
|
boolean |
verifyEntityTypeTag(net.lenni0451.mcstructs.core.Identifier id)
Verify the entity type tag in the entity type tag registry.
|
boolean |
verifyInstrument(net.lenni0451.mcstructs.core.Identifier id)
Verify the instrument in the instrument registry.
|
boolean |
verifyItem(net.lenni0451.mcstructs.core.Identifier id)
Verify the item in the item registry.
|
boolean |
verifyItemTag(net.lenni0451.mcstructs.core.Identifier id)
Verify the item tag in the item tag registry.
|
boolean |
verifyJukeboxSong(net.lenni0451.mcstructs.core.Identifier id)
Verify the song in the jukebox song registry.
|
boolean |
verifyMapDecorationType(net.lenni0451.mcstructs.core.Identifier id)
Verify the map decoration type in the map decoration type registry.
|
boolean |
verifyPotion(net.lenni0451.mcstructs.core.Identifier id)
Verify the potion in the potion registry.
|
boolean |
verifySound(net.lenni0451.mcstructs.core.Identifier id)
Verify the sound in the sound registry.
|
boolean |
verifyStatusEffect(net.lenni0451.mcstructs.core.Identifier id)
Verify the status effect in the status effect registry.
|
boolean |
verifyStatusEffectTag(net.lenni0451.mcstructs.core.Identifier id)
Verify the status effect tag in the status effect registry.
|
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> itemTag
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> item
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> blockTag
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> block
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> enchantment
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> statusEffectTag
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> statusEffect
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> mapDecorationType
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> bannerPattern
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> instrument
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> sound
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> attributeModifier
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> armorMaterial
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> armorTrimMaterial
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> armorTrimPattern
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> potion
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> jukeboxSong
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> entityTypeTag
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> entityType
public final RegistryVerifier.Checker<net.lenni0451.mcstructs.core.Identifier> damageTypeTag
public boolean verifyItemTag(net.lenni0451.mcstructs.core.Identifier id)
id - The item tag idpublic boolean verifyItem(net.lenni0451.mcstructs.core.Identifier id)
id - The item idpublic boolean verifyBlockTag(net.lenni0451.mcstructs.core.Identifier id)
id - The block tag idpublic boolean verifyBlock(net.lenni0451.mcstructs.core.Identifier id)
id - The block idpublic boolean verifyBlockState(net.lenni0451.mcstructs.core.Identifier id,
java.lang.String state)
id - The block idstate - The block statepublic boolean verifyEnchantment(net.lenni0451.mcstructs.core.Identifier id)
id - The enchantment idpublic boolean verifyStatusEffectTag(net.lenni0451.mcstructs.core.Identifier id)
id - The status effect tag idpublic boolean verifyStatusEffect(net.lenni0451.mcstructs.core.Identifier id)
id - The status effect idpublic boolean verifyMapDecorationType(net.lenni0451.mcstructs.core.Identifier id)
id - The map decoration type idpublic boolean verifyBannerPattern(net.lenni0451.mcstructs.core.Identifier id)
id - The banner pattern idpublic boolean verifyInstrument(net.lenni0451.mcstructs.core.Identifier id)
id - The instrument idpublic boolean verifySound(net.lenni0451.mcstructs.core.Identifier id)
id - The sound idpublic boolean verifyAttributeModifier(net.lenni0451.mcstructs.core.Identifier id)
id - The attribute modifier idpublic boolean verifyArmorMaterial(net.lenni0451.mcstructs.core.Identifier id)
id - The armor material idpublic boolean verifyArmorTrimMaterial(net.lenni0451.mcstructs.core.Identifier id)
id - The armor trim material idpublic boolean verifyArmorTrimPattern(net.lenni0451.mcstructs.core.Identifier id)
id - The armor trim pattern idpublic boolean verifyPotion(net.lenni0451.mcstructs.core.Identifier id)
id - The potion idpublic boolean verifyJukeboxSong(net.lenni0451.mcstructs.core.Identifier id)
id - The song idpublic boolean verifyEntityTypeTag(net.lenni0451.mcstructs.core.Identifier id)
id - The entity type tag idpublic boolean verifyEntityType(net.lenni0451.mcstructs.core.Identifier id)
id - The entity type idpublic boolean verifyDamageTypeTag(net.lenni0451.mcstructs.core.Identifier id)
id - The damage type tag id