Class ContentProvider

java.lang.Object
net.darkhax.pigpen.common.impl.ContentProvider
All Implemented Interfaces:
net.darkhax.bookshelf.common.api.registry.IContentProvider

public class ContentProvider extends Object implements net.darkhax.bookshelf.common.api.registry.IContentProvider
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    registerItems(net.darkhax.bookshelf.common.api.registry.register.Register<net.minecraft.world.item.Item> registry)
     
    void
    registerLoadConditions(net.darkhax.bookshelf.common.api.registry.register.Register<com.mojang.serialization.MapCodec<? extends net.darkhax.bookshelf.common.api.data.conditions.ILoadCondition>> registry)
     
    void
    registerTrades(net.darkhax.bookshelf.common.api.registry.register.RegisterVillagerTrades registry)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.darkhax.bookshelf.common.api.registry.IContentProvider

    registerAttributes, registerBlockEntities, registerBlocks, registerCommandArguments, registerCommands, registerEntities, registerItemComponents, registerLootConditions, registerLootFunctions, registerMenus, registerMobEffects, registerPackets, registerParticleFactories, registerParticleTypes, registerPotPatterns, registerRecipeSerializers, registerRecipeTypes
  • Constructor Details

    • ContentProvider

      public ContentProvider()
  • Method Details

    • registerItems

      public void registerItems(net.darkhax.bookshelf.common.api.registry.register.Register<net.minecraft.world.item.Item> registry)
      Specified by:
      registerItems in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
    • registerTrades

      public void registerTrades(net.darkhax.bookshelf.common.api.registry.register.RegisterVillagerTrades registry)
      Specified by:
      registerTrades in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
    • registerLoadConditions

      public void registerLoadConditions(net.darkhax.bookshelf.common.api.registry.register.Register<com.mojang.serialization.MapCodec<? extends net.darkhax.bookshelf.common.api.data.conditions.ILoadCondition>> registry)
      Specified by:
      registerLoadConditions in interface net.darkhax.bookshelf.common.api.registry.IContentProvider
    • contentNamespace

      public String contentNamespace()
      Specified by:
      contentNamespace in interface net.darkhax.bookshelf.common.api.registry.IContentProvider