Class AltarMaterialProvider.Structure

java.lang.Object
com.github.minecraftschurlimods.easydatagenlib.api.AbstractDatapackRegistryProvider<T>
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
    Constructor
    Description
    Structure(String namespace)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    protected void
    addStructureMaterial(net.minecraft.data.BlockFamily blockFamily, int power)
    Adds a new structure material.
    protected void
    addStructureMaterial(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Structure

      public Structure(String namespace)
  • 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.