Class AltarMaterialProvider.Structure
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<AltarStructureMaterial>
com.github.minecraftschurlimods.arsmagicalegacy.api.data.AltarMaterialProvider.Structure
- Enclosing class:
- AltarMaterialProvider<T>
public abstract static non-sealed class AltarMaterialProvider.Structure
extends AltarMaterialProvider<AltarStructureMaterial>
-
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 voidaddStructureMaterial(String id, net.minecraft.world.level.block.Block block, net.minecraft.world.level.block.StairBlock stair, int power) Adds a new structure material.protected voidaddStructureMaterial(net.minecraft.data.BlockFamily blockFamily, int power) Adds a new structure material.protected voidaddStructureMaterial(net.minecraft.world.level.block.Block block, net.minecraft.world.level.block.StairBlock stair, int power) Adds a new structure 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
-
Structure
-
-
Method Details
-
addStructureMaterial
protected void addStructureMaterial(net.minecraft.data.BlockFamily blockFamily, int power) Adds a new structure material.- Parameters:
blockFamily- The block family for the new structure material.power- The power of the new structure material.
-
addStructureMaterial
protected void addStructureMaterial(net.minecraft.world.level.block.Block block, net.minecraft.world.level.block.StairBlock stair, int power) Adds a new structure material.- Parameters:
block- The block for the new structure material.stair- The stair block for the new structure material.power- The power of the new structure material.
-
addStructureMaterial
protected void addStructureMaterial(String id, net.minecraft.world.level.block.Block block, net.minecraft.world.level.block.StairBlock stair, int power) Adds a new structure material.- Parameters:
id- The id of the new structure material.block- The block for the new structure material.stair- The stair block for the new structure material.power- The power of the new structure material.
-