Class Content

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    defineItems(net.darkhax.bookshelf.common.api.registry.adapters.GameRegistryAdapter<net.minecraft.world.item.Item> registry)
     
    void
    defineLoadConditions(net.darkhax.bookshelf.common.api.registry.adapters.GenericRegistryAdapter<com.mojang.serialization.MapCodec<? extends net.darkhax.bookshelf.common.api.data.conditions.ILoadCondition>> registry)
     
    void
    defineTrades(net.darkhax.bookshelf.common.impl.registry.adapter.VillagerTradeAdapter 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.ContentProvider

    canLoad, defineAttributes, defineBlockEntities, defineBlockRenderers, defineBlockRenderTypes, defineBlocks, defineBrews, defineCatVariants, defineCommandArguments, defineCommands, defineCreativeTabs, defineCriteriaTriggers, defineEnchantmentComponents, defineEntities, defineIngredientTypes, defineItemComponents, defineItemSubPredicates, defineLootConditions, defineLootDescriptions, defineLootEntryTypes, defineLootFunctions, defineLootPoolAdditions, defineMenuScreens, defineMenuType, defineMobEffects, definePackets, definePotions, definePotPatterns, defineRecipeSerializers, defineRecipeTypes
  • Constructor Details

    • Content

      public Content()
  • Method Details

    • defineItems

      public void defineItems(net.darkhax.bookshelf.common.api.registry.adapters.GameRegistryAdapter<net.minecraft.world.item.Item> registry)
      Specified by:
      defineItems in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
    • defineTrades

      public void defineTrades(net.darkhax.bookshelf.common.impl.registry.adapter.VillagerTradeAdapter registry)
      Specified by:
      defineTrades in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
    • defineLoadConditions

      public void defineLoadConditions(net.darkhax.bookshelf.common.api.registry.adapters.GenericRegistryAdapter<com.mojang.serialization.MapCodec<? extends net.darkhax.bookshelf.common.api.data.conditions.ILoadCondition>> registry)
      Specified by:
      defineLoadConditions in interface net.darkhax.bookshelf.common.api.registry.ContentProvider
    • namespace

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