Class DeferredRegisterExtKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static <ITEM extends Item> ItemDefinition<ITEM> register(DeferredRegister.Items $self, String englishName, String name, Function1<Item.Properties, ITEM> supplier)
      final static <BLOCK extends Block> BlockDefinition<BLOCK> register(DeferredRegister.Blocks $self, String englishName, String name, Function0<BLOCK> supplier, DeferredRegister.Items itemRegistry, Function2<Block, Item.Properties, BlockItem> itemSupplier)
      final static <ENTITY extends AEBaseBlockEntity, BLOCK extends AEBaseEntityBlock<ENTITY>> DeferredBlockEntityType<ENTITY> registerType(DeferredRegister<BlockEntityType<?>> $self, String name, Function3<BlockEntityType<ENTITY>, BlockPos, BlockState, ENTITY> factory, BlockDefinition<BLOCK> deferredBlocks)
      final static <ENTITY extends AEBaseBlockEntity, TICKING extends Any> BlockEntityTicker<ENTITY> makeTicker(KClass<ENTITY> clazz, Function1<TICKING, Unit> tickerFuncRef)
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • register

         final static <ITEM extends Item> ItemDefinition<ITEM> register(DeferredRegister.Items $self, String englishName, String name, Function1<Item.Properties, ITEM> supplier)
      • register

         final static <BLOCK extends Block> BlockDefinition<BLOCK> register(DeferredRegister.Blocks $self, String englishName, String name, Function0<BLOCK> supplier, DeferredRegister.Items itemRegistry, Function2<Block, Item.Properties, BlockItem> itemSupplier)
      • registerType

         final static <ENTITY extends AEBaseBlockEntity, BLOCK extends AEBaseEntityBlock<ENTITY>> DeferredBlockEntityType<ENTITY> registerType(DeferredRegister<BlockEntityType<?>> $self, String name, Function3<BlockEntityType<ENTITY>, BlockPos, BlockState, ENTITY> factory, BlockDefinition<BLOCK> deferredBlocks)
      • makeTicker

         final static <ENTITY extends AEBaseBlockEntity, TICKING extends Any> BlockEntityTicker<ENTITY> makeTicker(KClass<ENTITY> clazz, Function1<TICKING, Unit> tickerFuncRef)