java.lang.Object
dev.thomasglasser.aliysium.rainbowoaks.world.level.block.RainbowOaksBlocks

public class RainbowOaksBlocks extends Object
  • Field Details

    • BLOCK_ITEM_FUNCTION

      public static final Function<RegistryObject<? extends net.minecraft.world.level.block.Block>,net.minecraft.world.item.BlockItem> BLOCK_ITEM_FUNCTION
    • BLOCKS

      public static final RegistrationProvider<net.minecraft.world.level.block.Block> BLOCKS
    • RAINBOW_LOG

      public static final RegistryObject<net.minecraft.world.level.block.RotatedPillarBlock> RAINBOW_LOG
    • RAINBOW_LEAVES

      public static final RegistryObject<net.minecraft.world.level.block.LeavesBlock> RAINBOW_LEAVES
    • RAINBOW_SAPLING

      public static final com.mojang.datafixers.util.Pair<RegistryObject<net.minecraft.world.level.block.SaplingBlock>,RegistryObject<net.minecraft.world.level.block.FlowerPotBlock>> RAINBOW_SAPLING
  • Constructor Details

    • RainbowOaksBlocks

      public RainbowOaksBlocks()
  • Method Details

    • registerBlockAndItemAndWrap

      public static <T extends net.minecraft.world.level.block.Block> RegistryObject<T> registerBlockAndItemAndWrap(String name, Supplier<T> blockFactory, List<net.minecraft.resources.ResourceKey<net.minecraft.world.item.CreativeModeTab>> tabs)
    • registerSaplingAndPottedAndItemAndWrap

      protected static com.mojang.datafixers.util.Pair<RegistryObject<net.minecraft.world.level.block.SaplingBlock>,RegistryObject<net.minecraft.world.level.block.FlowerPotBlock>> registerSaplingAndPottedAndItemAndWrap(String name, Supplier<net.minecraft.world.level.block.SaplingBlock> blockFactory, List<net.minecraft.resources.ResourceKey<net.minecraft.world.item.CreativeModeTab>> tabs)
    • init

      public static void init()