Skip to content

ExpandVanillaFactory

youyihj edited this page Nov 15, 2020 · 3 revisions

ExpandVanillaFactory

ExpandVanillaFactory is a ZenExpansion of VanillaFactory.

Creating Expand Contents

VanillaFactory.createEnergyItem(String unlocalizedName, int capacity, int maxReceive, int maxExtract);
VanillaFactory.createExpandBlock(String unlocalizedName, IBlockMaterialDefinition blockMaterial);
VanillaFactory.createExpandItem(String unlocalizedName);
VanillaFactory.createActualTileEntity(int id);

They return a new EnergyItem, ExpandBlock, ExpandItem, TileEntity instance.

Clone this wiki locally