public override void Start(ModManagerSimple manager) { m = manager; }
public override void Start(ModManagerSimple manager) { m = manager; BlockTypeSimple empty = manager.CreateBlockType("Empty"); empty.SetDrawType(Packet_DrawTypeEnum.Empty); empty.SetWalkableType(Packet_WalkableTypeEnum.Empty); BlockTypeSimple stone = manager.CreateBlockType("Stone"); stone.SetDrawType(Packet_DrawTypeEnum.Solid); stone.SetWalkableType(Packet_WalkableTypeEnum.Solid); stone.SetAllTextures("Stone"); BlockTypeSimple dirt = manager.CreateBlockType("Dirt"); dirt.SetDrawType(Packet_DrawTypeEnum.Solid); dirt.SetWalkableType(Packet_WalkableTypeEnum.Solid); dirt.SetAllTextures("Dirt"); BlockTypeSimple grass = manager.CreateBlockType("Grass"); grass.SetDrawType(Packet_DrawTypeEnum.Solid); grass.SetWalkableType(Packet_WalkableTypeEnum.Solid); grass.SetTextureTop("Grass"); grass.SetTextureBack("GrassSide"); grass.SetTextureFront("GrassSide"); grass.SetTextureLeft("GrassSide"); grass.SetTextureRight("GrassSide"); grass.SetTextureBottom("Dirt"); BlockTypeSimple wood = manager.CreateBlockType("Wood"); wood.SetDrawType(Packet_DrawTypeEnum.Solid); wood.SetWalkableType(Packet_WalkableTypeEnum.Solid); wood.SetAllTextures("OakWood"); BlockTypeSimple brick = manager.CreateBlockType("Brick"); brick.SetDrawType(Packet_DrawTypeEnum.Solid); brick.SetWalkableType(Packet_WalkableTypeEnum.Solid); brick.SetAllTextures("Brick"); // special manager.CreateBlockType("Sponge"); manager.CreateBlockType("Trampoline"); BlockTypeSimple adminium = manager.CreateBlockType("Adminium"); adminium.SetDrawType(Packet_DrawTypeEnum.Solid); adminium.SetWalkableType(Packet_WalkableTypeEnum.Solid); adminium.SetAllTextures("Adminium"); manager.CreateBlockType("Compass"); manager.CreateBlockType("Ladder"); manager.CreateBlockType("EmptyHand"); manager.CreateBlockType("CraftingTable"); manager.CreateBlockType("Lava"); manager.CreateBlockType("StationaryLava"); manager.CreateBlockType("FillStart"); manager.CreateBlockType("Cuboid"); manager.CreateBlockType("FillArea"); manager.CreateBlockType("Minecart"); manager.CreateBlockType("Rail0"); }
public abstract void Start(ModManagerSimple manager);