use of net.minecraft.item.SignItem in project Biome-Makeover by Lemonszz.
the class WoodTypeInfo method sign.
public WoodTypeInfo sign(SignType type) {
SignBlock standing = new SignBlock(BMBlocks.settings(Material.WOOD, 1.0F).noCollision(), type);
WallSignBlock wall = new WallSignBlock(BMBlocks.settings(Material.WOOD, 1.0F).noCollision(), type);
set(Type.SIGN, standing);
set(Type.SIGN_WALL, wall);
set(Type.SIGN, new SignItem(BMItems.settings(), standing, wall));
((BlockEntityTypeAccessor) BlockEntityType.SIGN).bm_addBlockTypes(standing, wall);
return this;
}
Aggregations