public static class UTileEntityType.UBuilder<T extends net.minecraft.tileentity.TileEntity>
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
UBuilder(java.lang.String name,
java.util.function.Supplier<? extends T> factory,
java.util.Set<net.minecraft.block.Block> validBlocks) |
Modifier and Type | Method and Description |
---|---|
UTileEntityType<T> |
build() |
static <T extends net.minecraft.tileentity.TileEntity> |
create(java.lang.String name,
java.util.function.Supplier<? extends T> factory,
net.minecraft.block.Block... validBlocks) |
UTileEntityType.UBuilder<T> |
setDataFixerType(com.mojang.datafixers.types.Type<?> dataFixerType) |
protected UBuilder(java.lang.String name, java.util.function.Supplier<? extends T> factory, java.util.Set<net.minecraft.block.Block> validBlocks)
public static <T extends net.minecraft.tileentity.TileEntity> UTileEntityType.UBuilder<T> create(java.lang.String name, java.util.function.Supplier<? extends T> factory, net.minecraft.block.Block... validBlocks)
public UTileEntityType.UBuilder<T> setDataFixerType(com.mojang.datafixers.types.Type<?> dataFixerType)
public UTileEntityType<T> build()