Class RainbowOaksBlocks
java.lang.Object
dev.thomasglasser.aliysium.rainbowoaks.world.level.block.RainbowOaksBlocks
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Function<RegistryObject<? extends net.minecraft.world.level.block.Block>,net.minecraft.world.item.BlockItem> static final RegistrationProvider<net.minecraft.world.level.block.Block>static final RegistryObject<net.minecraft.world.level.block.LeavesBlock>static final RegistryObject<net.minecraft.world.level.block.RotatedPillarBlock>static final com.mojang.datafixers.util.Pair<RegistryObject<net.minecraft.world.level.block.SaplingBlock>,RegistryObject<net.minecraft.world.level.block.FlowerPotBlock>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidinit()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) 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)
-
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
-
RAINBOW_LOG
-
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()
-