Package net.darkhax.bookshelf.api.util
Interface IConstructHelper
- All Known Implementing Classes:
ConstructHelperNeoForge
public interface IConstructHelper
-
Field Summary
FieldsModifier and TypeFieldDescription -
Method Summary
Modifier and TypeMethodDescriptiondefault <T extends net.minecraft.world.level.block.entity.BlockEntity>
Supplier<net.minecraft.world.level.block.entity.BlockEntityType<T>>blockEntityType(Class<T> blockEntityClass, BiFunction<net.minecraft.core.BlockPos, net.minecraft.world.level.block.state.BlockState, T> factory, Supplier<Collection<net.minecraft.world.level.block.Block>> blocks) <T extends net.minecraft.world.level.block.entity.BlockEntity>
Supplier<net.minecraft.world.level.block.entity.BlockEntityType<T>>blockEntityType(Class<T> blockEntityClass, BiFunction<net.minecraft.core.BlockPos, net.minecraft.world.level.block.state.BlockState, T> factory, net.minecraft.world.level.block.Block... blocks) <T extends net.minecraft.world.inventory.AbstractContainerMenu>
net.minecraft.world.inventory.MenuType<T>menuType(org.apache.commons.lang3.function.TriFunction<Integer, net.minecraft.world.entity.player.Inventory, net.minecraft.network.FriendlyByteBuf, T> constructor) net.minecraft.world.item.CreativeModeTab.DisplayItemsGeneratorwrapDisplayGen(IDisplayGenerator displayGen)
-
Field Details
-
TYPE_CLASSES
-
-
Method Details
-
blockEntityType
default <T extends net.minecraft.world.level.block.entity.BlockEntity> Supplier<net.minecraft.world.level.block.entity.BlockEntityType<T>> blockEntityType(Class<T> blockEntityClass, BiFunction<net.minecraft.core.BlockPos, net.minecraft.world.level.block.state.BlockState, T> factory, Supplier<Collection<net.minecraft.world.level.block.Block>> blocks) -
blockEntityType
<T extends net.minecraft.world.level.block.entity.BlockEntity> Supplier<net.minecraft.world.level.block.entity.BlockEntityType<T>> blockEntityType(Class<T> blockEntityClass, BiFunction<net.minecraft.core.BlockPos, net.minecraft.world.level.block.state.BlockState, T> factory, net.minecraft.world.level.block.Block... blocks) -
wrapDisplayGen
net.minecraft.world.item.CreativeModeTab.DisplayItemsGenerator wrapDisplayGen(IDisplayGenerator displayGen)
-