Package net.darkhax.bookshelf.impl.util
Class ConstructBuilderFabric
java.lang.Object
net.darkhax.bookshelf.impl.util.ConstructBuilderFabric
- All Implemented Interfaces:
IConstructHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends net.minecraft.world.level.block.entity.BlockEntity>
Supplier<net.minecraft.world.level.block.entity.BlockEntityType<T>>blockEntityType(BiFunction<net.minecraft.core.BlockPos, net.minecraft.world.level.block.state.BlockState, T> factory, net.minecraft.world.level.block.Block... validBlocks) <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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.darkhax.bookshelf.api.util.IConstructHelper
blockEntityType
-
Constructor Details
-
ConstructBuilderFabric
public ConstructBuilderFabric()
-
-
Method Details
-
blockEntityType
public <T extends net.minecraft.world.level.block.entity.BlockEntity> Supplier<net.minecraft.world.level.block.entity.BlockEntityType<T>> blockEntityType(BiFunction<net.minecraft.core.BlockPos, net.minecraft.world.level.block.state.BlockState, T> factory, net.minecraft.world.level.block.Block... validBlocks) - Specified by:
blockEntityTypein interfaceIConstructHelper
-
wrapDisplayGen
public net.minecraft.world.item.CreativeModeTab.DisplayItemsGenerator wrapDisplayGen(IDisplayGenerator displayGen) - Specified by:
wrapDisplayGenin interfaceIConstructHelper
-