Class AltarMaterialProvider.Cap
java.lang.Object
com.github.minecraftschurlimods.easydatagenlib.api.AbstractDatapackRegistryProvider<T>
com.github.minecraftschurlimods.arsmagicalegacy.api.data.AbstractRegistryDataProvider<T>
com.github.minecraftschurlimods.arsmagicalegacy.api.data.AltarMaterialProvider<AltarCapMaterial>
com.github.minecraftschurlimods.arsmagicalegacy.api.data.AltarMaterialProvider.Cap
- Enclosing class:
- AltarMaterialProvider<T>
public abstract static non-sealed class AltarMaterialProvider.Cap
extends AltarMaterialProvider<AltarCapMaterial>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.github.minecraftschurlimods.arsmagicalegacy.api.data.AltarMaterialProvider
AltarMaterialProvider.Cap, AltarMaterialProvider.Structure -
Field Summary
Fields inherited from class com.github.minecraftschurlimods.easydatagenlib.api.AbstractDatapackRegistryProvider
namespace, registryKey -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCapMaterial(String id, net.minecraft.world.level.block.Block cap, int power) Adds a new cap material.protected voidaddCapMaterial(net.minecraft.world.level.block.Block cap, int power) Adds a new cap material.Methods inherited from class com.github.minecraftschurlimods.easydatagenlib.api.AbstractDatapackRegistryProvider
add, add, generate, getLookup, holder, holder, holder, optionalHolder, optionalTag, ownHolder, ownHolder, tag
-
Constructor Details
-
Cap
-
-
Method Details
-
addCapMaterial
protected void addCapMaterial(net.minecraft.world.level.block.Block cap, int power) Adds a new cap material.- Parameters:
cap- The block for the new cap material.power- The power of the new cap material.
-
addCapMaterial
Adds a new cap material.- Parameters:
id- The id of the new cap material.cap- The block for the new cap material.power- The power of the new cap material.
-