Class AltarMaterialProvider.Cap

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

    Modifier and Type
    Method
    Description
    protected void
    addCapMaterial(String id, net.minecraft.world.level.block.Block cap, int power)
    Adds a new cap material.
    protected void
    addCapMaterial(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

    Methods inherited from class java.lang.Object

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

    • Cap

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

      protected void addCapMaterial(String id, net.minecraft.world.level.block.Block cap, int power)
      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.