Class SpellPartDataProvider
java.lang.Object
com.github.minecraftschurlimods.easydatagenlib.api.AbstractDataProvider<SpellPartDataProvider.Builder>
com.github.minecraftschurlimods.arsmagicalegacy.api.data.SpellPartDataProvider
- All Implemented Interfaces:
net.minecraft.data.DataProvider
public abstract class SpellPartDataProvider
extends com.github.minecraftschurlimods.easydatagenlib.api.AbstractDataProvider<SpellPartDataProvider.Builder>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.data.DataProvider
net.minecraft.data.DataProvider.Factory<T extends net.minecraft.data.DataProvider> -
Field Summary
Fields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, KEY_COMPARATOR, LOGGER -
Method Summary
Modifier and TypeMethodDescriptionbuilder(net.minecraft.core.Holder<? extends ISpellPart> spellPart, float manaCost) builder(net.minecraft.core.Holder<? extends ISpellPart> spellPart, float manaCost, float burnout) builder(net.minecraft.resources.ResourceKey<? extends ISpellPart> spellPart, float manaCost) builder(net.minecraft.resources.ResourceKey<? extends ISpellPart> spellPart, float manaCost, float burnout) builder(net.minecraft.resources.ResourceLocation spellPart, float manaCost) builder(net.minecraft.resources.ResourceLocation spellPart, float manaCost, float burnout) getName()run(net.minecraft.data.CachedOutput output) Methods inherited from class com.github.minecraftschurlimods.easydatagenlib.api.AbstractDataProvider
remove
-
Method Details
-
run
- Specified by:
runin interfacenet.minecraft.data.DataProvider- Overrides:
runin classcom.github.minecraftschurlimods.easydatagenlib.api.AbstractDataProvider<SpellPartDataProvider.Builder>
-
getName
- Specified by:
getNamein interfacenet.minecraft.data.DataProvider- Specified by:
getNamein classcom.github.minecraftschurlimods.easydatagenlib.api.AbstractDataProvider<SpellPartDataProvider.Builder>- Returns:
- The name of this data provider, for use in logging.
Should look something like this:return "TheThingsBeingDatagenned[" + namespace + "]";
-
builder
public SpellPartDataProvider.Builder builder(net.minecraft.resources.ResourceKey<? extends ISpellPart> spellPart, float manaCost) - Parameters:
spellPart- The id of the new spell part.manaCost- The mana cost for the new spell part.
-
builder
public SpellPartDataProvider.Builder builder(net.minecraft.resources.ResourceLocation spellPart, float manaCost) - Parameters:
spellPart- The id of the new spell part.manaCost- The mana cost for the new spell part.
-
builder
public SpellPartDataProvider.Builder builder(net.minecraft.core.Holder<? extends ISpellPart> spellPart, float manaCost) - Parameters:
spellPart- The new spell part.manaCost- The mana cost for the new spell part.
-
builder
public SpellPartDataProvider.Builder builder(net.minecraft.resources.ResourceKey<? extends ISpellPart> spellPart, float manaCost, float burnout) - Parameters:
spellPart- The id of the new spell part.manaCost- The mana cost for the new spell part.burnout- The burnout for the new spell part.
-
builder
public SpellPartDataProvider.Builder builder(net.minecraft.resources.ResourceLocation spellPart, float manaCost, float burnout) - Parameters:
spellPart- The id of the new spell part.manaCost- The mana cost for the new spell part.burnout- The burnout for the new spell part.
-
builder
public SpellPartDataProvider.Builder builder(net.minecraft.core.Holder<? extends ISpellPart> spellPart, float manaCost, float burnout) - Parameters:
spellPart- The new spell part.manaCost- The mana cost for the new spell part.burnout- The burnout for the new spell part.
-